diff --git a/deployed_contracts.md b/deployed_contracts.md index 5a128e40..ef2bd429 100644 --- a/deployed_contracts.md +++ b/deployed_contracts.md @@ -1,3 +1,5 @@ fact registry: `0x7a5340bf1a500d94185cde6fc9cdc4b32c1159d1db5c056841d21bfb0d9c2bd` recursive,keccak: `0x0102a5157199bc7929c9f9502aac08b897606bac4e69ba45ecf088b6430e4d6d` recursive,blake2s: `0x035de2969a164e20bc3872502ff546f7ee190da1c7edf346b4221f869f48128e` +recursive_with_poseidon,keccak: `0x04351acfba77d94cd97bbed2276391ec0e7ffea39ccadb24d1cfd37695b7ab12` +recursive_with_poseidon,blake2s: `0x076eaf28eb342e438ddc80edbdd7ff0624aa5fb0f8068b4386e729d220b2420c` diff --git a/multicall/verifiers/recursive_with_poseidon/blake2s/deploy.toml b/multicall/verifiers/recursive_with_poseidon/blake2s/deploy.toml new file mode 100644 index 00000000..50095991 --- /dev/null +++ b/multicall/verifiers/recursive_with_poseidon/blake2s/deploy.toml @@ -0,0 +1,13 @@ +[[call]] +call_type = "deploy" +class_hash = "0x5cae9f970c8da62a83193d7faefdeac3b419ff698badd4f5d502d5b11beb74f" +inputs = [] +id = "contract_oods" +unique = false + +[[call]] +call_type = "deploy" +class_hash = "0x62fb4efbda30065e64706029e94a71ad7f28a969c9aea19d3f769e268c01b89" +inputs = ["0", "contract_oods"] +id = "cairo_verifier" +unique = false \ No newline at end of file diff --git a/multicall/verifiers/recursive_with_poseidon/blake2s/register.sh b/multicall/verifiers/recursive_with_poseidon/blake2s/register.sh new file mode 100644 index 00000000..f2dc6413 --- /dev/null +++ b/multicall/verifiers/recursive_with_poseidon/blake2s/register.sh @@ -0,0 +1,12 @@ +echo -n "FactRegistry address: " +read FACT_REGISTRY + +echo -n "Verifier address: " +read VERIFIER + +sncast \ + invoke \ + --fee-token eth \ + --contract-address $FACT_REGISTRY \ + --function "register_verifier" \ + --calldata "0x7265637572736976655f776974685f706f736569646f6e 0x626c616b653273 $VERIFIER" diff --git a/multicall/verifiers/recursive_with_poseidon/keccak/deploy.toml b/multicall/verifiers/recursive_with_poseidon/keccak/deploy.toml new file mode 100644 index 00000000..ca8f7e44 --- /dev/null +++ b/multicall/verifiers/recursive_with_poseidon/keccak/deploy.toml @@ -0,0 +1,13 @@ +[[call]] +call_type = "deploy" +class_hash = "0x05cae9f970c8da62a83193d7faefdeac3b419ff698badd4f5d502d5b11beb74f" +inputs = [] +id = "contract_oods" +unique = false + +[[call]] +call_type = "deploy" +class_hash = "0x3b08718c57d44a00507d4232eec0ec59f62c9d56b56b90316f1a9a8ed4f28bb" +inputs = ["0", "contract_oods"] +id = "cairo_verifier" +unique = false \ No newline at end of file diff --git a/multicall/verifiers/recursive_with_poseidon/keccak/register.sh b/multicall/verifiers/recursive_with_poseidon/keccak/register.sh new file mode 100644 index 00000000..0dc7b00c --- /dev/null +++ b/multicall/verifiers/recursive_with_poseidon/keccak/register.sh @@ -0,0 +1,12 @@ +echo -n "FactRegistry address: " +read FACT_REGISTRY + +echo -n "Verifier address: " +read VERIFIER + +sncast \ + invoke \ + --fee-token eth \ + --contract-address $FACT_REGISTRY \ + --function "register_verifier" \ + --calldata "0x7265637572736976655f776974685f706f736569646f6e 0x6b656363616b $VERIFIER"