Skip to content

Commit

Permalink
deployed to Sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
KohliSuraj committed Jun 25, 2024
1 parent e311893 commit 3f8a0b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 120 deletions.
5 changes: 5 additions & 0 deletions SolasPresentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ data: {
- Allow delegated attestations (Contract receives a signed attestation and attests onchain on behalf of user)
- Implement Revoke
- Implement option to refer an attestation

## Sepolia Deployment Addresses

SchemaRegistry: 0x067bdf6bf6f1b72315c541abdc443cdd55992ea29546933ddfec19cb200fce87
AttestationRegistry: 0x034f38c70a7d4b1bab0b919c923545e74b188f95915b92b5febf12b0dafe6686
119 changes: 0 additions & 119 deletions packages/nextjs/contracts/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,125 +5,6 @@

const deployedContracts = {
devnet: {
SchemaRegistry: {
address:
"0x00417a5d2dc2fe77a06f1b7efe316e789cf9fbfb2630c502d9907ed16994af67",
abi: [
{
type: "impl",
name: "SchemaRegistryImpl",
interface_name: "contracts::SchemaRegistry::ISchemaRegistry",
},
{
type: "struct",
name: "core::byte_array::ByteArray",
members: [
{
name: "data",
type: "core::array::Array::<core::bytes_31::bytes31>",
},
{
name: "pending_word",
type: "core::felt252",
},
{
name: "pending_word_len",
type: "core::integer::u32",
},
],
},
{
type: "enum",
name: "core::bool",
variants: [
{
name: "False",
type: "()",
},
{
name: "True",
type: "()",
},
],
},
{
type: "interface",
name: "contracts::SchemaRegistry::ISchemaRegistry",
items: [
{
type: "function",
name: "register",
inputs: [
{
name: "schema",
type: "core::byte_array::ByteArray",
},
{
name: "revocable",
type: "core::bool",
},
],
outputs: [
{
type: "core::integer::u128",
},
],
state_mutability: "external",
},
{
type: "function",
name: "get_schema",
inputs: [
{
name: "uid",
type: "core::integer::u128",
},
],
outputs: [
{
type: "(core::integer::u128, core::bool, core::byte_array::ByteArray)",
},
],
state_mutability: "view",
},
],
},
{
type: "event",
name: "contracts::SchemaRegistry::SchemaRegistry::Registered",
kind: "struct",
members: [
{
name: "uid",
type: "core::integer::u128",
kind: "key",
},
{
name: "caller",
type: "core::starknet::contract_address::ContractAddress",
kind: "data",
},
{
name: "schema_record",
type: "core::byte_array::ByteArray",
kind: "data",
},
],
},
{
type: "event",
name: "contracts::SchemaRegistry::SchemaRegistry::Event",
kind: "enum",
variants: [
{
name: "Registered",
type: "contracts::SchemaRegistry::SchemaRegistry::Registered",
kind: "nested",
},
],
},
],
},
AttestationRegistry: {
address:
"0x043a0fcd4152f67425ca045f81babfdf9d8a0ed7a3e4dda1f1a5bfc094a8d5da",
Expand Down
2 changes: 1 addition & 1 deletion packages/snfoundry/scripts-ts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const deployScript = async (): Promise<void> => {
await deployContract(
{
schema_registry_address:
"0x00417a5d2dc2fe77a06f1b7efe316e789cf9fbfb2630c502d9907ed16994af67", // the deployer address is the owner of the contract,
"0x067bdf6bf6f1b72315c541abdc443cdd55992ea29546933ddfec19cb200fce87", // the deployer address is the owner of the contract,
},
"AttestationRegistry"
);
Expand Down

0 comments on commit 3f8a0b4

Please sign in to comment.