diff --git a/.gitignore b/.gitignore index 80741b89..302d3223 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ on_chain_bytecode.txt /*.dvf.json .env tests/hardhat/package-lock.json +.dv_config.json diff --git a/Cargo.lock b/Cargo.lock index cb7012dc..2a916f47 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,7 +8,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", "bytes", "futures-core", "futures-sink", @@ -21,23 +21,23 @@ dependencies = [ [[package]] name = "actix-http" -version = "3.9.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48f96fc3003717aeb9856ca3d02a8c7de502667ad76eeacd830b48d2e91fac4" +checksum = "44dfe5c9e0004c623edc65391dfd51daa201e7e30ebd9c9bedf873048ec32bc2" dependencies = [ "actix-codec", "actix-rt", "actix-service", "actix-utils", - "ahash", - "base64 0.22.1", - "bitflags 2.7.0", + "base64", + "bitflags 2.9.0", "brotli", "bytes", "bytestring", - "derive_more 0.99.18", + "derive_more 2.0.1", "encoding_rs", "flate2", + "foldhash", "futures-core", "h2 0.3.26", "http 0.2.12", @@ -49,7 +49,7 @@ dependencies = [ "mime", "percent-encoding", "pin-project-lite", - "rand", + "rand 0.9.1", "sha1", "smallvec", "tokio", @@ -65,7 +65,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb" dependencies = [ "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -95,9 +95,9 @@ dependencies = [ [[package]] name = "actix-server" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ca2549781d8dd6d75c40cf6b6051260a2cc2f3c62343d761a969a0640646894" +checksum = "a65064ea4a457eaf07f2fba30b4c695bf43b721790e9530d26cb6f9019ff7502" dependencies = [ "actix-rt", "actix-service", @@ -112,12 +112,11 @@ dependencies = [ [[package]] name = "actix-service" -version = "2.0.2" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b894941f818cfdc7ccc4b9e60fa7e53b5042a2e8567270f9147d5591893373a" +checksum = "9e46f36bf0e5af44bdc4bdb36fbbd421aa98c79a9bce724e1edeb3894e10dc7f" dependencies = [ "futures-core", - "paste", "pin-project-lite", ] @@ -133,9 +132,9 @@ dependencies = [ [[package]] name = "actix-web" -version = "4.9.0" +version = "4.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9180d76e5cc7ccbc4d60a506f2c727730b154010262df5b910eb17dbe4b8cb38" +checksum = "a597b77b5c6d6a1e1097fddde329a83665e25c5437c696a3a9a4aa514a614dea" dependencies = [ "actix-codec", "actix-http", @@ -146,13 +145,13 @@ dependencies = [ "actix-service", "actix-utils", "actix-web-codegen", - "ahash", "bytes", "bytestring", "cfg-if", "cookie", - "derive_more 0.99.18", + "derive_more 2.0.1", "encoding_rs", + "foldhash", "futures-core", "futures-util", "impl-more", @@ -170,6 +169,7 @@ dependencies = [ "smallvec", "socket2", "time", + "tracing", "url", ] @@ -182,7 +182,7 @@ dependencies = [ "actix-router", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -213,12 +213,12 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" dependencies = [ "cfg-if", - "getrandom", + "getrandom 0.3.3", "once_cell", "version_check", "zerocopy", @@ -256,21 +256,21 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "alloy" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbcc41e8a11a4975b18ec6afba2cc48d591fa63336a4c526dacb50479a8d6b35" +checksum = "2b064bd1cea105e70557a258cd2b317731896753ec08edf51da2d1fced587b05" dependencies = [ - "alloy-consensus", + "alloy-consensus 0.15.11", "alloy-contract", "alloy-core", - "alloy-eips", - "alloy-genesis", + "alloy-eips 0.15.11", + "alloy-genesis 0.15.11", "alloy-network", "alloy-provider", "alloy-pubsub", "alloy-rpc-client", "alloy-rpc-types", - "alloy-serde", + "alloy-serde 0.15.11", "alloy-signer", "alloy-signer-local", "alloy-transport", @@ -281,11 +281,11 @@ dependencies = [ [[package]] name = "alloy-chains" -version = "0.1.55" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e39f295f876b61a1222d937e1dd31f965e4a1acc3bba98e448dd7e84b1a4566" +checksum = "7734aecfc58a597dde036e4c5cace2ae43e2f8bf3d406b022a1ef34da178dd49" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "num_enum", "serde", "strum", @@ -293,49 +293,71 @@ dependencies = [ [[package]] name = "alloy-consensus" -version = "0.9.2" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4138dc275554afa6f18c4217262ac9388790b2fc393c2dfe03c51d357abf013" +checksum = "c2179ba839ac532f50279f5da2a6c5047f791f03f6f808b4dfab11327b97902f" dependencies = [ - "alloy-eips", - "alloy-primitives", + "alloy-eips 0.14.0", + "alloy-primitives 1.1.0", "alloy-rlp", - "alloy-serde", "alloy-trie", - "arbitrary", + "auto_impl", + "derive_more 2.0.1", + "either", + "once_cell", + "thiserror 2.0.12", +] + +[[package]] +name = "alloy-consensus" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32c3f3bc4f2a6b725970cd354e78e9738ea1e8961a91898f57bf6317970b1915" +dependencies = [ + "alloy-eips 0.15.11", + "alloy-primitives 1.1.0", + "alloy-rlp", + "alloy-serde 0.15.11", + "alloy-trie", "auto_impl", "c-kzg", - "derive_more 1.0.0", + "derive_more 2.0.1", + "either", "k256", - "rand", + "once_cell", + "rand 0.8.5", + "secp256k1", "serde", + "serde_with", + "thiserror 2.0.12", ] [[package]] name = "alloy-consensus-any" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa04e1882c31288ce1028fdf31b6ea94cfa9eafa2e497f903ded631c8c6a42c" +checksum = "dda014fb5591b8d8d24cab30f52690117d238e52254c6fb40658e91ea2ccd6c3" dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", + "alloy-consensus 0.15.11", + "alloy-eips 0.15.11", + "alloy-primitives 1.1.0", "alloy-rlp", - "alloy-serde", + "alloy-serde 0.15.11", "serde", ] [[package]] name = "alloy-contract" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f21886c1fea0626f755a49b2ac653b396fb345233f6170db2da3d0ada31560c" +checksum = "9668ce1176f0b87a5e5fc805b3d198954f495de2e99b70a44bed691ba2b0a9d8" dependencies = [ + "alloy-consensus 0.15.11", "alloy-dyn-abi", - "alloy-json-abi", + "alloy-json-abi 1.1.0", "alloy-network", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-provider", "alloy-pubsub", "alloy-rpc-types-eth", @@ -343,34 +365,34 @@ dependencies = [ "alloy-transport", "futures", "futures-util", - "thiserror 2.0.11", + "thiserror 2.0.12", ] [[package]] name = "alloy-core" -version = "0.8.18" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0713007d14d88a6edb8e248cddab783b698dbb954a28b8eee4bab21cfb7e578" +checksum = "24b2817489e4391d8c0bdf043c842164855e3d697de7a8e9edf24aa30b153ac5" dependencies = [ "alloy-dyn-abi", - "alloy-json-abi", - "alloy-primitives", + "alloy-json-abi 1.1.0", + "alloy-primitives 1.1.0", "alloy-rlp", "alloy-sol-types", ] [[package]] name = "alloy-dyn-abi" -version = "0.8.19" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9138f4f0912793642d453523c3116bd5d9e11de73b70177aa7cb3e94b98ad2" +checksum = "4f90b63261b7744642f6075ed17db6de118eecbe9516ea6c6ffd444b80180b75" dependencies = [ - "alloy-json-abi", - "alloy-primitives", - "alloy-sol-type-parser", + "alloy-json-abi 1.1.0", + "alloy-primitives 1.1.0", + "alloy-sol-type-parser 1.1.0", "alloy-sol-types", "const-hex", - "derive_more 1.0.0", + "derive_more 2.0.1", "itoa", "serde", "serde_json", @@ -379,182 +401,283 @@ dependencies = [ [[package]] name = "alloy-eip2124" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "675264c957689f0fd75f5993a73123c2cc3b5c235a38f5b9037fe6c826bfb2c0" +checksum = "741bdd7499908b3aa0b159bba11e71c8cddd009a2c2eb7a06e825f1ec87900a5" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rlp", "crc", "serde", - "thiserror 2.0.11", + "thiserror 2.0.12", ] [[package]] name = "alloy-eip2930" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0069cf0642457f87a01a014f6dc29d5d893cd4fd8fddf0c3cdfad1bb3ebafc41" +checksum = "7b82752a889170df67bbb36d42ca63c531eb16274f0d7299ae2a680facba17bd" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rlp", - "arbitrary", - "rand", "serde", ] [[package]] name = "alloy-eip7702" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cabf647eb4650c91a9d38cb6f972bb320009e7e9d61765fb688a86f1563b33e8" +checksum = "804cefe429015b4244966c006d25bda5545fa9db5990e9c9079faf255052f50a" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rlp", - "arbitrary", - "derive_more 1.0.0", "k256", - "rand", "serde", + "thiserror 2.0.12", ] [[package]] name = "alloy-eips" -version = "0.9.2" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52dd5869ed09e399003e0e0ec6903d981b2a92e74c5d37e6b40890bad2517526" +checksum = "609515c1955b33af3d78d26357540f68c5551a90ef58fd53def04f2aa074ec43" dependencies = [ + "alloy-eip2124", "alloy-eip2930", "alloy-eip7702", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rlp", - "alloy-serde", - "arbitrary", + "alloy-serde 0.14.0", + "auto_impl", "c-kzg", - "derive_more 1.0.0", - "once_cell", + "derive_more 2.0.1", + "either", + "serde", + "sha2", +] + +[[package]] +name = "alloy-eips" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f7b2f7010581f29bcace81776cf2f0e022008d05a7d326884763f16f3044620" +dependencies = [ + "alloy-eip2124", + "alloy-eip2930", + "alloy-eip7702", + "alloy-primitives 1.1.0", + "alloy-rlp", + "alloy-serde 0.15.11", + "auto_impl", + "c-kzg", + "derive_more 2.0.1", + "either", "serde", "sha2", ] +[[package]] +name = "alloy-evm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caabd28657614cecc14d77fde0a630c5c177bfe432ce4ad99db0ad41d9219856" +dependencies = [ + "alloy-consensus 0.14.0", + "alloy-eips 0.14.0", + "alloy-hardforks", + "alloy-primitives 1.1.0", + "alloy-sol-types", + "auto_impl", + "derive_more 2.0.1", + "revm", + "thiserror 2.0.12", +] + +[[package]] +name = "alloy-genesis" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dfec8348d97bd624901c6a4b22bb4c24df8a3128fc3d5e42d24f7b79dfa8588" +dependencies = [ + "alloy-eips 0.14.0", + "alloy-primitives 1.1.0", + "alloy-serde 0.14.0", + "alloy-trie", + "serde", +] + [[package]] name = "alloy-genesis" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d2a7fe5c1a9bd6793829ea21a636f30fc2b3f5d2e7418ba86d96e41dd1f460" +checksum = "c7f723856b1c4ad5473f065650ab9be557c96fbc77e89180fbdac003e904a8d6" dependencies = [ - "alloy-eips", - "alloy-primitives", - "alloy-serde", + "alloy-eips 0.15.11", + "alloy-primitives 1.1.0", + "alloy-serde 0.15.11", "alloy-trie", "serde", ] +[[package]] +name = "alloy-hardforks" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d3b2243e2adfaea41da41982f91ecab8083fa51b240d0427955d709f65b1b4" +dependencies = [ + "alloy-chains", + "alloy-eip2124", + "alloy-primitives 1.1.0", + "auto_impl", + "dyn-clone", +] + +[[package]] +name = "alloy-json-abi" +version = "0.8.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe6beff64ad0aa6ad1019a3db26fef565aefeb011736150ab73ed3366c3cfd1b" +dependencies = [ + "alloy-primitives 0.8.25", + "alloy-sol-type-parser 0.8.25", + "serde", + "serde_json", +] + [[package]] name = "alloy-json-abi" -version = "0.8.19" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24acd2f5ba97c7a320e67217274bc81fe3c3174b8e6144ec875d9d54e760e278" +checksum = "0068ae277f5ee3153a95eaea8ff10e188ed8ccde9b7f9926305415a2c0ab2442" dependencies = [ - "alloy-primitives", - "alloy-sol-type-parser", + "alloy-primitives 1.1.0", + "alloy-sol-type-parser 1.1.0", "serde", "serde_json", ] [[package]] name = "alloy-json-rpc" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2008bedb8159a255b46b7c8614516eda06679ea82f620913679afbd8031fea72" +checksum = "ca1e31b50f4ed9a83689ae97263d366b15b935a67c4acb5dd46d5b1c3b27e8e6" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-sol-types", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.12", "tracing", ] [[package]] name = "alloy-network" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4556f01fe41d0677495df10a648ddcf7ce118b0e8aa9642a0e2b6dd1fb7259de" +checksum = "879afc0f4a528908c8fe6935b2ab0bc07f77221a989186f71583f7592831689e" dependencies = [ - "alloy-consensus", + "alloy-consensus 0.15.11", "alloy-consensus-any", - "alloy-eips", + "alloy-eips 0.15.11", "alloy-json-rpc", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rpc-types-any", "alloy-rpc-types-eth", - "alloy-serde", + "alloy-serde 0.15.11", "alloy-signer", "alloy-sol-types", "async-trait", "auto_impl", + "derive_more 2.0.1", "futures-utils-wasm", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.12", ] [[package]] name = "alloy-network-primitives" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31c3c6b71340a1d076831823f09cb6e02de01de5c6630a9631bdb36f947ff80" +checksum = "ec185bac9d32df79c1132558a450d48f6db0bfb5adef417dbb1a0258153f879b" dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-serde", + "alloy-consensus 0.15.11", + "alloy-eips 0.15.11", + "alloy-primitives 1.1.0", + "alloy-serde 0.15.11", "serde", ] [[package]] name = "alloy-node-bindings" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4520cd4bc5cec20c32c98e4bc38914c7fb96bf4a712105e44da186a54e65e3ba" +checksum = "e9c4bde7223db742a6cb2ab61d99bc37e741d1447b60dfe5fe87405aae96741f" dependencies = [ - "alloy-genesis", - "alloy-primitives", + "alloy-genesis 0.15.11", + "alloy-hardforks", + "alloy-network", + "alloy-primitives 1.1.0", + "alloy-signer", + "alloy-signer-local", "k256", - "rand", + "rand 0.8.5", "serde_json", "tempfile", - "thiserror 2.0.11", + "thiserror 2.0.12", "tracing", "url", ] [[package]] name = "alloy-primitives" -version = "0.8.19" +version = "0.8.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec878088ec6283ce1e90d280316aadd3d6ce3de06ff63d68953c855e7e447e92" +checksum = "8c77490fe91a0ce933a1f219029521f20fc28c2c0ca95d53fa4da9c00b8d9d4e" dependencies = [ "alloy-rlp", - "arbitrary", "bytes", "cfg-if", "const-hex", - "derive_arbitrary", - "derive_more 1.0.0", + "derive_more 2.0.1", + "foldhash", + "hashbrown 0.15.3", + "indexmap 2.9.0", + "itoa", + "k256", + "keccak-asm", + "paste", + "proptest", + "rand 0.8.5", + "ruint", + "rustc-hash", + "serde", + "sha3", + "tiny-keccak", +] + +[[package]] +name = "alloy-primitives" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a12fe11d0b8118e551c29e1a67ccb6d01cc07ef08086df30f07487146de6fa1" +dependencies = [ + "alloy-rlp", + "bytes", + "cfg-if", + "const-hex", + "derive_more 2.0.1", "foldhash", - "getrandom", - "hashbrown 0.15.2", - "indexmap 2.7.0", + "getrandom 0.3.3", + "hashbrown 0.15.3", + "indexmap 2.9.0", "itoa", "k256", "keccak-asm", "paste", "proptest", - "proptest-derive", - "rand", + "rand 0.9.1", "ruint", "rustc-hash", "serde", @@ -564,20 +687,26 @@ dependencies = [ [[package]] name = "alloy-provider" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22c4441b3ebe2d77fa9cf629ba68c3f713eb91779cff84275393db97eddd82" +checksum = "b2d918534afe9cc050eabd8309c107dafd161aa77357782eca4f218bef08a660" dependencies = [ "alloy-chains", - "alloy-consensus", - "alloy-eips", + "alloy-consensus 0.15.11", + "alloy-eips 0.15.11", "alloy-json-rpc", "alloy-network", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-pubsub", "alloy-rpc-client", + "alloy-rpc-types-anvil", + "alloy-rpc-types-debug", "alloy-rpc-types-eth", + "alloy-rpc-types-trace", + "alloy-rpc-types-txpool", + "alloy-signer", + "alloy-sol-types", "alloy-transport", "alloy-transport-http", "alloy-transport-ipc", @@ -586,16 +715,16 @@ dependencies = [ "async-trait", "auto_impl", "dashmap", + "either", "futures", "futures-utils-wasm", "lru", "parking_lot", "pin-project", "reqwest", - "schnellru", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.12", "tokio", "tracing", "url", @@ -604,28 +733,30 @@ dependencies = [ [[package]] name = "alloy-pubsub" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2269fd635f7b505f27c63a3cb293148cd02301efce4c8bdd9ff54fbfc4a20e23" +checksum = "9d77a92001c6267261a5e493d33db794b2206ebebf7c2dfbbe3825ebaec6a96d" dependencies = [ "alloy-json-rpc", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-transport", "bimap", "futures", + "parking_lot", "serde", "serde_json", "tokio", "tokio-stream", "tower", "tracing", + "wasmtimer", ] [[package]] name = "alloy-rlp" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f542548a609dca89fcd72b3b9f355928cf844d4363c5eed9c5273a3dd225e097" +checksum = "3d6c1d995bff8d011f7cd6c81820d51825e6e06d6db73914c1630ecf544d83d6" dependencies = [ "alloy-rlp-derive", "arrayvec", @@ -634,28 +765,29 @@ dependencies = [ [[package]] name = "alloy-rlp-derive" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a833d97bf8a5f0f878daf2c8451fff7de7f9de38baa5a45d936ec718d81255a" +checksum = "a40e1ef334153322fd878d07e86af7a529bcb86b2439525920a88eba87bcf943" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "alloy-rpc-client" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06a292b37e182e514903ede6e623b9de96420e8109ce300da288a96d88b7e4b" +checksum = "a15e30dcada47c04820b64f63de2423506c5c74f9ab59b115277ef5ad595a6fc" dependencies = [ "alloy-json-rpc", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-pubsub", "alloy-transport", "alloy-transport-http", "alloy-transport-ipc", "alloy-transport-ws", + "async-stream", "futures", "pin-project", "reqwest", @@ -665,203 +797,263 @@ dependencies = [ "tokio-stream", "tower", "tracing", + "tracing-futures", "url", "wasmtimer", ] [[package]] name = "alloy-rpc-types" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9383845dd924939e7ab0298bbfe231505e20928907d7905aa3bf112287305e06" +checksum = "4aa10e26554ad7f79a539a6a8851573aedec5289f1f03244aad0bdbc324bfe5c" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", + "alloy-rpc-types-anvil", "alloy-rpc-types-engine", "alloy-rpc-types-eth", - "alloy-serde", + "alloy-rpc-types-trace", + "alloy-rpc-types-txpool", + "alloy-serde 0.15.11", + "serde", +] + +[[package]] +name = "alloy-rpc-types-anvil" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6cd4346521aa1e2e76963bbf0c1d311223f6eb565269359a6f9232c9044d1f7" +dependencies = [ + "alloy-primitives 1.1.0", + "alloy-rpc-types-eth", + "alloy-serde 0.15.11", "serde", ] [[package]] name = "alloy-rpc-types-any" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca445cef0eb6c2cf51cfb4e214fbf1ebd00893ae2e6f3b944c8101b07990f988" +checksum = "7a5a8f1efd77116915dad61092f9ef9295accd0b0b251062390d9c4e81599344" dependencies = [ "alloy-consensus-any", "alloy-rpc-types-eth", - "alloy-serde", + "alloy-serde 0.15.11", +] + +[[package]] +name = "alloy-rpc-types-debug" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07c142af843da7422e5e979726dcfeb78064949fdc6cb651457cc95034806a52" +dependencies = [ + "alloy-primitives 1.1.0", + "serde", ] [[package]] name = "alloy-rpc-types-engine" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f821f30344862a0b6eb9a1c2eb91dfb2ff44c7489f37152a526cdcab79264" +checksum = "246c225f878dbcb8ad405949a30c403b3bb43bdf974f7f0331b276f835790a5e" dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", + "alloy-consensus 0.15.11", + "alloy-eips 0.15.11", + "alloy-primitives 1.1.0", "alloy-rlp", - "alloy-serde", - "derive_more 1.0.0", + "alloy-serde 0.15.11", + "derive_more 2.0.1", "jsonwebtoken", - "rand", + "rand 0.8.5", "serde", "strum", ] [[package]] name = "alloy-rpc-types-eth" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0938bc615c02421bd86c1733ca7205cc3d99a122d9f9bff05726bd604b76a5c2" +checksum = "bc1323310d87f9d950fb3ff58d943fdf832f5e10e6f902f405c0eaa954ffbaf1" dependencies = [ - "alloy-consensus", + "alloy-consensus 0.15.11", "alloy-consensus-any", - "alloy-eips", + "alloy-eips 0.15.11", "alloy-network-primitives", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rlp", - "alloy-serde", + "alloy-serde 0.15.11", "alloy-sol-types", - "itertools 0.13.0", + "itertools 0.14.0", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.12", ] [[package]] name = "alloy-rpc-types-trace" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd38207e056cc7d1372367fbb4560ddf9107cbd20731743f641246bf0dede149" +checksum = "d57f1b7da0af516ad2c02233ed1274527f9b0536dbda300acea2e8a1e7ac20c8" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rpc-types-eth", - "alloy-serde", + "alloy-serde 0.15.11", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.12", +] + +[[package]] +name = "alloy-rpc-types-txpool" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d4f4239235c4afdd8fa930a757ed81816799ddcc93d4e33cd0dae3b44f83f3e" +dependencies = [ + "alloy-primitives 1.1.0", + "alloy-rpc-types-eth", + "alloy-serde 0.15.11", + "serde", ] [[package]] name = "alloy-serde" -version = "0.9.2" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae0465c71d4dced7525f408d84873aeebb71faf807d22d74c4a426430ccd9b55" +checksum = "d4dba6ff08916bc0a9cbba121ce21f67c0b554c39cf174bc7b9df6c651bd3c3b" dependencies = [ - "alloy-primitives", - "arbitrary", + "alloy-primitives 1.1.0", + "serde", + "serde_json", +] + +[[package]] +name = "alloy-serde" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d05ace2ef3da874544c3ffacfd73261cdb1405d8631765deb991436a53ec6069" +dependencies = [ + "alloy-primitives 1.1.0", "serde", "serde_json", ] [[package]] name = "alloy-signer" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bfa395ad5cc952c82358d31e4c68b27bf4a89a5456d9b27e226e77dac50e4ff" +checksum = "67fdabad99ad3c71384867374c60bcd311fc1bb90ea87f5f9c779fd8c7ec36aa" dependencies = [ "alloy-dyn-abi", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-sol-types", "async-trait", "auto_impl", + "either", "elliptic-curve", "k256", - "thiserror 2.0.11", + "thiserror 2.0.12", ] [[package]] name = "alloy-signer-ledger" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b426789566a19252cb46b757d91543a6f8e70330c72f312b86c5878595d092ef" +checksum = "a3abc91dcedcdd72f950179df239ca838deaf74fe9ec5cd818c9ba682360325a" dependencies = [ - "alloy-consensus", + "alloy-consensus 0.15.11", "alloy-network", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-signer", "async-trait", "coins-ledger", "futures-util", - "semver 1.0.24", - "thiserror 2.0.11", + "semver 1.0.26", + "thiserror 2.0.12", "tracing", ] [[package]] name = "alloy-signer-local" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbdc63ce9eda1283fcbaca66ba4a414b841c0e3edbeef9c86a71242fc9e84ccc" +checksum = "acb3f4e72378566b189624d54618c8adf07afbcf39d5f368f4486e35a66725b3" dependencies = [ - "alloy-consensus", + "alloy-consensus 0.15.11", "alloy-network", - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-signer", "async-trait", "k256", - "rand", - "thiserror 2.0.11", + "rand 0.8.5", + "thiserror 2.0.12", ] [[package]] name = "alloy-sol-macro" -version = "0.8.19" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d039d267aa5cbb7732fa6ce1fd9b5e9e29368f580f80ba9d7a8450c794de4b2" +checksum = "5d3ef8e0d622453d969ba3cded54cf6800efdc85cb929fe22c5bdf8335666757" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "alloy-sol-macro-expander" -version = "0.8.19" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "620ae5eee30ee7216a38027dec34e0585c55099f827f92f50d11e3d2d3a4a954" +checksum = "f0e84bd0693c69a8fbe3ec0008465e029c6293494df7cb07580bf4a33eff52e1" dependencies = [ - "alloy-json-abi", + "alloy-json-abi 1.1.0", "alloy-sol-macro-input", "const-hex", "heck", - "indexmap 2.7.0", + "indexmap 2.9.0", "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", "syn-solidity", "tiny-keccak", ] [[package]] name = "alloy-sol-macro-input" -version = "0.8.19" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad9f7d057e00f8c5994e4ff4492b76532c51ead39353aa2ed63f8c50c0f4d52e" +checksum = "f3de663412dadf9b64f4f92f507f78deebcc92339d12cf15f88ded65d41c7935" dependencies = [ - "alloy-json-abi", + "alloy-json-abi 1.1.0", "const-hex", "dunce", "heck", + "macro-string", "proc-macro2", "quote", "serde_json", - "syn 2.0.96", + "syn 2.0.101", "syn-solidity", ] [[package]] name = "alloy-sol-type-parser" -version = "0.8.19" +version = "0.8.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d162f8524adfdfb0e4bd0505c734c985f3e2474eb022af32eef0d52a4f3935c" +dependencies = [ + "serde", + "winnow", +] + +[[package]] +name = "alloy-sol-type-parser" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74e60b084fe1aef8acecda2743ff2d93c18ff3eb67a2d3b12f62582a1e66ef5e" +checksum = "251273c5aa1abb590852f795c938730fa641832fc8fa77b5478ed1bf11b6097e" dependencies = [ "serde", "winnow", @@ -869,12 +1061,12 @@ dependencies = [ [[package]] name = "alloy-sol-types" -version = "0.8.19" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1382302752cd751efd275f4d6ef65877ddf61e0e6f5ac84ef4302b79a33a31a" +checksum = "5460a975434ae594fe2b91586253c1beb404353b78f0a55bf124abcd79557b15" dependencies = [ - "alloy-json-abi", - "alloy-primitives", + "alloy-json-abi 1.1.0", + "alloy-primitives 1.1.0", "alloy-sol-macro", "const-hex", "serde", @@ -882,17 +1074,20 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d17722a198f33bbd25337660787aea8b8f57814febb7c746bc30407bdfc39448" +checksum = "6964d85cd986cfc015b96887b89beed9e06d0d015b75ee2b7bfbd64341aab874" dependencies = [ "alloy-json-rpc", - "base64 0.22.1", - "futures-util", + "alloy-primitives 1.1.0", + "base64", + "derive_more 2.0.1", + "futures", "futures-utils-wasm", + "parking_lot", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.12", "tokio", "tower", "tracing", @@ -902,9 +1097,9 @@ dependencies = [ [[package]] name = "alloy-transport-http" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e1509599021330a31c4a6816b655e34bf67acb1cc03c564e09fd8754ff6c5de" +checksum = "ef7c5ea7bda4497abe4ea92dcb8c76e9f052c178f3c82aa6976bcb264675f73c" dependencies = [ "alloy-json-rpc", "alloy-transport", @@ -917,9 +1112,9 @@ dependencies = [ [[package]] name = "alloy-transport-ipc" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4da44bc9a5155ab599666d26decafcf12204b72a80eeaba7c5e234ee8ac205" +checksum = "7c506a002d77e522ccab7b7068089a16e24694ea04cb89c0bfecf3cc3603fccf" dependencies = [ "alloy-json-rpc", "alloy-pubsub", @@ -928,6 +1123,7 @@ dependencies = [ "futures", "interprocess", "pin-project", + "serde", "serde_json", "tokio", "tokio-util", @@ -936,14 +1132,14 @@ dependencies = [ [[package]] name = "alloy-transport-ws" -version = "0.9.2" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58011745b2f17b334db40df9077d75b181f78360a5bc5c35519e15d4bfce15e2" +checksum = "09ff1bb1182601fa5e7b0f8bac03dcd496441ed23859387731462b17511c6680" dependencies = [ "alloy-pubsub", "alloy-transport", "futures", - "http 1.2.0", + "http 1.3.1", "rustls", "serde_json", "tokio", @@ -954,14 +1150,14 @@ dependencies = [ [[package]] name = "alloy-trie" -version = "0.7.8" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6917c79e837aa7b77b7a6dae9f89cbe15313ac161c4d3cfaf8909ef21f3d22d8" +checksum = "983d99aa81f586cef9dae38443245e585840fcf0fc58b09aee0b1f27aed1d500" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rlp", "arrayvec", - "derive_more 1.0.0", + "derive_more 2.0.1", "nybbles", "serde", "smallvec", @@ -1035,11 +1231,12 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" dependencies = [ "anstyle", + "once_cell", "windows-sys 0.59.0", ] @@ -1052,6 +1249,50 @@ dependencies = [ "derive_arbitrary", ] +[[package]] +name = "ark-bls12-381" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" +dependencies = [ + "ark-ec", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", +] + +[[package]] +name = "ark-bn254" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d69eab57e8d2663efa5c63135b2af4f396d66424f88954c21104125ab6b3e6bc" +dependencies = [ + "ark-ec", + "ark-ff 0.5.0", + "ark-std 0.5.0", +] + +[[package]] +name = "ark-ec" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-poly", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.3", + "itertools 0.13.0", + "num-bigint", + "num-integer", + "num-traits", + "zeroize", +] + [[package]] name = "ark-ff" version = "0.3.0" @@ -1090,6 +1331,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" +dependencies = [ + "ark-ff-asm 0.5.0", + "ark-ff-macros 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "arrayvec", + "digest 0.10.7", + "educe", + "itertools 0.13.0", + "num-bigint", + "num-traits", + "paste", + "zeroize", +] + [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -1110,6 +1371,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-asm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" +dependencies = [ + "quote", + "syn 2.0.101", +] + [[package]] name = "ark-ff-macros" version = "0.3.0" @@ -1135,6 +1406,34 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "ark-poly" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.3", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -1157,13 +1456,37 @@ dependencies = [ ] [[package]] -name = "ark-std" -version = "0.3.0" +name = "ark-serialize" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" +dependencies = [ + "ark-serialize-derive", + "ark-std 0.5.0", + "arrayvec", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "ark-std" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", ] [[package]] @@ -1173,7 +1496,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", +] + +[[package]] +name = "ark-std" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" +dependencies = [ + "num-traits", + "rand 0.8.5", ] [[package]] @@ -1187,9 +1520,9 @@ dependencies = [ [[package]] name = "assert_cmd" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1835b7f27878de8525dc71410b5a31cdcc5f230aed5ba5df968e09c201b23d" +checksum = "2bd389a4b2970a01282ee455294913c0a43724daedcd1a24c3eb0ec1c1320b66" dependencies = [ "anstyle", "bstr", @@ -1220,18 +1553,18 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "async-trait" -version = "0.1.85" +version = "0.1.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f934833b4b7233644e5848f235df3f57ed8c80f1528a26c3dfa13d2147fa056" +checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -1253,9 +1586,9 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "aurora-engine-modexp" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aef7712851e524f35fbbb74fa6599c5cd8692056a1c36f9ca0d2001b670e7e5" +checksum = "518bc5745a6264b5fd7b09dffb9667e400ee9e2bbe18555fac75e1fe9afa0df9" dependencies = [ "hex", "num", @@ -1263,13 +1596,13 @@ dependencies = [ [[package]] name = "auto_impl" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" +checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -1280,9 +1613,9 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" dependencies = [ "addr2line", "cfg-if", @@ -1299,12 +1632,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64" version = "0.22.1" @@ -1313,9 +1640,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "base64ct" -version = "1.6.0" +version = "1.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" +checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" [[package]] name = "bigint" @@ -1335,18 +1662,34 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "bit-set" -version = "0.5.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" dependencies = [ "bit-vec", ] [[package]] name = "bit-vec" -version = "0.6.3" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + +[[package]] +name = "bitcoin-io" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf" + +[[package]] +name = "bitcoin_hashes" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16" +dependencies = [ + "bitcoin-io", + "hex-conservative", +] [[package]] name = "bitflags" @@ -1356,12 +1699,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.7.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1be3f42a67d6d345ecd59f675f3f012d6974981560836e938c22b424b85ce1be" -dependencies = [ - "serde", -] +checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" [[package]] name = "bitvec" @@ -1371,7 +1711,6 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", - "serde", "tap", "wyz", ] @@ -1387,9 +1726,9 @@ dependencies = [ [[package]] name = "blst" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4378725facc195f1a538864863f6de233b500a8862747e7f165078a419d5e874" +checksum = "47c79a94619fade3c0b887670333513a67ac28a6a7e653eb260bf0d4103db38d" dependencies = [ "cc", "glob", @@ -1399,9 +1738,9 @@ dependencies = [ [[package]] name = "brotli" -version = "6.0.0" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b" +checksum = "9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -1410,9 +1749,9 @@ dependencies = [ [[package]] name = "brotli-decompressor" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362" +checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -1420,9 +1759,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.11.3" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0" +checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4" dependencies = [ "memchr", "regex-automata 0.4.9", @@ -1431,15 +1770,15 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" [[package]] name = "byte-slice-cast" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" +checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" [[package]] name = "byteorder" @@ -1449,9 +1788,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" dependencies = [ "serde", ] @@ -1467,30 +1806,28 @@ dependencies = [ [[package]] name = "bzip2" -version = "0.4.4" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +checksum = "49ecfb22d906f800d4fe833b6282cf4dc1c298f5057ca0b5445e5c209735ca47" dependencies = [ "bzip2-sys", - "libc", ] [[package]] name = "bzip2-sys" -version = "0.1.11+1.0.8" +version = "0.1.13+1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14" dependencies = [ "cc", - "libc", "pkg-config", ] [[package]] name = "c-kzg" -version = "1.0.3" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0307f72feab3300336fb803a57134159f6e20139af1357f36c54cb90d8e8928" +checksum = "7318cfa722931cb5fe0838b98d3ce5621e75f6a6408abc21721d80de9223f2e4" dependencies = [ "blst", "cc", @@ -1503,9 +1840,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.9" +version = "1.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8293772165d9345bdaaa39b45b2109591e63fe5e6fbc23c6ff930a048aa310b" +checksum = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1" dependencies = [ "jobserver", "libc", @@ -1526,9 +1863,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" dependencies = [ "android-tzdata", "iana-time-zone", @@ -1536,7 +1873,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -1551,9 +1888,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.26" +version = "4.5.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783" +checksum = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000" dependencies = [ "clap_builder", "clap_derive", @@ -1561,9 +1898,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.26" +version = "4.5.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121" +checksum = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120" dependencies = [ "anstream", "anstyle", @@ -1573,14 +1910,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.24" +version = "4.5.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54b755194d6389280185988721fffba69495eed5ee9feeee9a599b53db80318c" +checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -1599,7 +1936,7 @@ dependencies = [ "byteorder", "cfg-if", "const-hex", - "getrandom", + "getrandom 0.2.16", "hidapi-rusb", "js-sys", "log", @@ -1629,9 +1966,9 @@ dependencies = [ [[package]] name = "console" -version = "0.15.10" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041b" +checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" dependencies = [ "encode_unicode", "libc", @@ -1660,22 +1997,36 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] -name = "constant_time_eq" -version = "0.3.1" +name = "const_format" +version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" +checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" +dependencies = [ + "const_format_proc_macros", +] [[package]] -name = "convert_case" -version = "0.4.0" +name = "const_format_proc_macros" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "constant_time_eq" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" [[package]] name = "convert_case" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +checksum = "bb402b8d4c85569410425650ce3eddc7d698ed96d39a73f941b08fb63082f1e7" dependencies = [ "unicode-segmentation", ] @@ -1719,18 +2070,18 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc" -version = "3.2.1" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" dependencies = [ "crc-catalog", ] @@ -1758,9 +2109,9 @@ checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" [[package]] name = "crossbeam-channel" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] @@ -1798,9 +2149,9 @@ checksum = "a2f4a431c5c9f662e1200b7c7f02c34e91361150e382089a8f2dec3ba680cbda" [[package]] name = "crunchy" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" [[package]] name = "crypto-bigint" @@ -1809,7 +2160,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array", - "rand_core", + "rand_core 0.6.4", "subtle", "zeroize", ] @@ -1838,18 +2189,18 @@ dependencies = [ [[package]] name = "csv-core" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5efa2b3d7902f4b634a20cae3c9c4e6209dc4779feb6863329607560143efa70" +checksum = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d" dependencies = [ "memchr", ] [[package]] name = "darling" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ "darling_core", "darling_macro", @@ -1857,27 +2208,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -1896,9 +2247,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.6.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" +checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" [[package]] name = "deflate64" @@ -1908,9 +2259,9 @@ checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b" [[package]] name = "der" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" dependencies = [ "const-oid", "zeroize", @@ -1918,9 +2269,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.11" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" dependencies = [ "powerfmt", "serde", @@ -1937,6 +2288,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-where" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e73f2692d4bd3cac41dca28934a39894200c9fabf49586d77d0e5954af1d7902" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "derive_arbitrary" version = "1.4.1" @@ -1945,7 +2307,7 @@ checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -1966,7 +2328,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -1976,29 +2338,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "derive_more" -version = "0.99.18" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" dependencies = [ - "convert_case 0.4.0", - "proc-macro2", - "quote", - "rustc_version 0.4.1", - "syn 2.0.96", + "derive_more-impl 1.0.0", ] [[package]] name = "derive_more" -version = "1.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678" dependencies = [ - "derive_more-impl", + "derive_more-impl 2.0.1", ] [[package]] @@ -2007,10 +2365,22 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ - "convert_case 0.6.0", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", + "unicode-xid", +] + +[[package]] +name = "derive_more-impl" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "syn 2.0.101", "unicode-xid", ] @@ -2043,9 +2413,9 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] @@ -2062,14 +2432,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", - "redox_users", - "windows-sys 0.48.0", + "redox_users 0.5.0", + "windows-sys 0.59.0", ] [[package]] @@ -2079,7 +2449,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users", + "redox_users 0.4.6", "winapi", ] @@ -2091,7 +2461,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -2126,7 +2496,7 @@ dependencies = [ "alloy", "alloy-chains", "alloy-dyn-abi", - "alloy-json-abi", + "alloy-json-abi 1.1.0", "alloy-node-bindings", "alloy-rpc-types", "alloy-rpc-types-trace", @@ -2149,20 +2519,20 @@ dependencies = [ "hex", "indicatif", "prettytable-rs", - "rand", + "rand 0.8.5", "regex", "reqwest", "reth-trie", "ruint", "rustc-hex", "scanf", - "semver 1.0.24", + "semver 1.0.26", "serde", "serde_json", "sha3", "substring", "tempfile", - "thiserror 2.0.11", + "thiserror 2.0.12", "time", "tiny-keccak", "tokio", @@ -2174,9 +2544,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.17" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" [[package]] name = "ecdsa" @@ -2193,11 +2563,26 @@ dependencies = [ "spki", ] +[[package]] +name = "educe" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" +dependencies = [ + "enum-ordinalize", + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +dependencies = [ + "serde", +] [[package]] name = "elliptic-curve" @@ -2212,7 +2597,7 @@ dependencies = [ "generic-array", "group", "pkcs8", - "rand_core", + "rand_core 0.6.4", "sec1", "serdect", "subtle", @@ -2234,6 +2619,26 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "enum-ordinalize" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "enumn" version = "0.1.14" @@ -2242,7 +2647,7 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -2257,28 +2662,28 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.6" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcaee3d8e3cfc3fd92428d477bc97fc29ec8716d180c0d74c643bb26166660e0" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" dependencies = [ "libc", "windows-sys 0.59.0", @@ -2324,11 +2729,11 @@ dependencies = [ [[package]] name = "ff" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" dependencies = [ - "rand_core", + "rand_core 0.6.4", "subtle", ] @@ -2339,16 +2744,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand", + "rand 0.8.5", "rustc-hex", "static_assertions", ] [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" dependencies = [ "crc32fast", "miniz_oxide", @@ -2362,9 +2767,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "foldhash" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "foreign-types" @@ -2392,15 +2797,15 @@ dependencies = [ [[package]] name = "foundry-block-explorers" -version = "0.9.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0faa449506113b4969029da2ac1df3a1b3201bf10c99a4a8e6d684977b80c938" +checksum = "7b06acca93a3370fe313ac1fd41bba512934aea60088b49656c1aa44205a9f62" dependencies = [ "alloy-chains", - "alloy-json-abi", - "alloy-primitives", + "alloy-json-abi 1.1.0", + "alloy-primitives 1.1.0", "reqwest", - "semver 1.0.24", + "semver 1.0.26", "serde", "serde_json", "thiserror 1.0.69", @@ -2409,12 +2814,12 @@ dependencies = [ [[package]] name = "foundry-compilers" -version = "0.12.9" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f67e3eab56847dcf269eb186226f95874b171e262952cff6c910da36b1469e10" +checksum = "7fcaa581a27896329bf8729b8090ede5d61ccd00c71c0dc6e2aff9a99973088c" dependencies = [ - "alloy-json-abi", - "alloy-primitives", + "alloy-json-abi 1.1.0", + "alloy-primitives 1.1.0", "auto_impl", "derive_more 1.0.0", "dirs", @@ -2422,16 +2827,16 @@ dependencies = [ "foundry-compilers-artifacts", "foundry-compilers-core", "home", - "itertools 0.13.0", - "md-5", + "itertools 0.14.0", "path-slash", "rayon", - "semver 1.0.24", + "semver 1.0.26", "serde", "serde_json", "solar-parse", + "solar-sema", "svm-rs", - "thiserror 2.0.11", + "thiserror 2.0.12", "tracing", "winnow", "yansi", @@ -2439,9 +2844,9 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts" -version = "0.12.9" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "865b00448dc2a5d56bae287c36fa716379ffcdd937aefb7758bd20b62024d234" +checksum = "04ff237fee0fc878cd0ad8d10d2bb268a16ff0390f8904a5155decb3c1e2749a" dependencies = [ "foundry-compilers-artifacts-solc", "foundry-compilers-artifacts-vyper", @@ -2449,21 +2854,20 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-solc" -version = "0.12.9" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668972ba511f80895ea12c75cd12fccd6627c26e64763799d83978b4e0916cae" +checksum = "0d84caa2898ebc62fcf61e684191f6ecf2d3393eaf4b2b5520e4e74d6b739620" dependencies = [ - "alloy-json-abi", - "alloy-primitives", + "alloy-json-abi 1.1.0", + "alloy-primitives 1.1.0", "foundry-compilers-core", - "md-5", "path-slash", "rayon", - "semver 1.0.24", + "semver 1.0.26", "serde", "serde_json", "serde_repr", - "thiserror 2.0.11", + "thiserror 2.0.12", "tracing", "walkdir", "yansi", @@ -2471,45 +2875,46 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-vyper" -version = "0.12.9" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a24f7f2a7458171e055c0cb33272f5eccaefbd96d791d74177d9a1fca048f74" +checksum = "93876d56f68788ab85019047ad71760d907aa8f7f004e30b64bab2b4bfcd3bfa" dependencies = [ - "alloy-json-abi", - "alloy-primitives", + "alloy-json-abi 1.1.0", + "alloy-primitives 1.1.0", "foundry-compilers-artifacts-solc", "foundry-compilers-core", "path-slash", - "semver 1.0.24", + "semver 1.0.26", "serde", ] [[package]] name = "foundry-compilers-core" -version = "0.12.9" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8005271a079bc6470c61d4145d2e390a827b1ccbb96abb7b69b088f17ffb95e0" +checksum = "f35645c3aa049c558a7ea643d45195e66d5444e6e55dd6cf62173fb668d62b1c" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "cfg-if", "dunce", "path-slash", "regex", - "semver 1.0.24", + "semver 1.0.26", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.12", "walkdir", + "xxhash-rust", ] [[package]] name = "fs4" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c29c30684418547d476f0b48e84f4821639119c483b1eccd566c8cd0cd05f521" +checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" dependencies = [ "rustix", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2574,7 +2979,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -2626,14 +3031,28 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" dependencies = [ "cfg-if", "js-sys", "libc", - "wasi", + "r-efi", + "wasi 0.14.2+wasi-0.2.4", "wasm-bindgen", ] @@ -2656,7 +3075,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core", + "rand_core 0.6.4", "subtle", ] @@ -2672,7 +3091,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.12", - "indexmap 2.7.0", + "indexmap 2.9.0", "slab", "tokio", "tokio-util", @@ -2681,17 +3100,17 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.7" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +checksum = "a9421a676d1b147b16b82c9225157dc629087ef8ec4d5e2960f9437a90dac0a5" dependencies = [ "atomic-waker", "bytes", "fnv", "futures-core", "futures-sink", - "http 1.2.0", - "indexmap 2.7.0", + "http 1.3.1", + "indexmap 2.9.0", "slab", "tokio", "tokio-util", @@ -2704,12 +3123,6 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" - [[package]] name = "hashbrown" version = "0.14.5" @@ -2722,9 +3135,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" dependencies = [ "allocator-api2", "equivalent", @@ -2746,9 +3159,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hermit-abi" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" +checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08" [[package]] name = "hex" @@ -2759,6 +3172,15 @@ dependencies = [ "serde", ] +[[package]] +name = "hex-conservative" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5313b072ce3c597065a808dbf612c4c8e8590bdbf8b579508bf7a762c5eae6cd" +dependencies = [ + "arrayvec", +] + [[package]] name = "hidapi-rusb" version = "1.3.3" @@ -2802,9 +3224,9 @@ dependencies = [ [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -2818,27 +3240,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.2.0", + "http 1.3.1", ] [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", - "http 1.2.0", + "futures-core", + "http 1.3.1", "http-body", "pin-project-lite", ] [[package]] name = "httparse" -version = "1.9.5" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "httpdate" @@ -2846,23 +3268,17 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" -version = "1.5.2" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.7", - "http 1.2.0", + "h2 0.4.10", + "http 1.3.1", "http-body", "httparse", "itoa", @@ -2879,7 +3295,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" dependencies = [ "futures-util", - "http 1.2.0", + "http 1.3.1", "hyper", "hyper-util", "rustls", @@ -2888,7 +3304,7 @@ dependencies = [ "tokio", "tokio-rustls", "tower-service", - "webpki-roots", + "webpki-roots 0.26.11", ] [[package]] @@ -2909,16 +3325,17 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "497bbc33a26fdd4af9ed9c70d63f61cf56a938375fbb32df34db9b1cd6d643f2" dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.2.0", + "http 1.3.1", "http-body", "hyper", + "libc", "pin-project-lite", "socket2", "tokio", @@ -2928,14 +3345,15 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", "windows-core", ] @@ -2951,21 +3369,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" dependencies = [ "displaydoc", "litemap", @@ -2974,31 +3393,11 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" dependencies = [ "displaydoc", "icu_collections", @@ -3006,67 +3405,54 @@ dependencies = [ "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "2549ca8c7241c82f59c80ba2a6f415d931c5b58d24fb8412caa1a1f02c49139a" dependencies = [ "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "potential_utf", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "8197e866e47b68f8f7d95249e172903bec06004b18b2937f1095d40a0c57de04" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", + "icu_locale_core", "stable_deref_trait", "tinystr", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -3086,9 +3472,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -3117,7 +3503,7 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -3145,21 +3531,20 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.7.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ - "arbitrary", "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.15.3", "serde", ] [[package]] name = "indicatif" -version = "0.17.9" +version = "0.17.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf675b85ed934d3c67b5c5469701eec7db22689d0a2139d856e0925fa28b281" +checksum = "183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235" dependencies = [ "console", "number_prefix", @@ -3170,18 +3555,18 @@ dependencies = [ [[package]] name = "inout" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" dependencies = [ "generic-array", ] [[package]] name = "interprocess" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "894148491d817cb36b6f778017b8ac46b17408d522dd90f539d677ea938362eb" +checksum = "d941b405bd2322993887859a8ee6ac9134945a24ec5ec763a8a962fc64dfec2d" dependencies = [ "doctest-file", "futures-core", @@ -3194,19 +3579,19 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "is-terminal" -version = "0.4.13" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" +checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" dependencies = [ - "hermit-abi 0.4.0", + "hermit-abi 0.5.1", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3234,17 +3619,51 @@ dependencies = [ ] [[package]] -name = "itoa" -version = "1.0.14" +name = "itertools" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] [[package]] -name = "jobserver" -version = "0.1.32" +name = "itoa" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jiff" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f02000660d30638906021176af16b17498bd0d12813dbfe7b276d8bc7f3c0806" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde", +] + +[[package]] +name = "jiff-static" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "f3c30758ddd7188629c6713fc45d1188af4f44c90582311d0c8d8c9907f60c48" dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "jobserver" +version = "0.1.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a" +dependencies = [ + "getrandom 0.3.3", "libc", ] @@ -3260,11 +3679,11 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "9.3.0" +version = "9.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ae10193d25051e74945f1ea2d0b42e03cc3b890f7e4cc5faa44997d808193f" +checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde" dependencies = [ - "base64 0.21.7", + "base64", "js-sys", "pem", "ring", @@ -3327,21 +3746,18 @@ name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" -dependencies = [ - "spin", -] [[package]] name = "libc" -version = "0.2.169" +version = "0.2.172" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" [[package]] name = "libm" -version = "0.2.11" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libredox" @@ -3349,7 +3765,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", "libc", ] @@ -3367,15 +3783,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.15" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" +checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" [[package]] name = "local-channel" @@ -3404,27 +3820,27 @@ dependencies = [ "scopeguard", ] -[[package]] -name = "lockfree-object-pool" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" - [[package]] name = "log" -version = "0.4.22" +version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "lru" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +checksum = "227748d55f2f0ab4735d87fd623798cb6b664512fe979705f829c9f81c934465" dependencies = [ - "hashbrown 0.15.2", + "hashbrown 0.15.3", ] +[[package]] +name = "lru-slab" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" + [[package]] name = "lzma-rs" version = "0.3.0" @@ -3436,18 +3852,25 @@ dependencies = [ ] [[package]] -name = "maili-consensus" -version = "0.1.5" +name = "lzma-sys" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51e7f5caf44d4b25169548ad75390a5f6a1afaf86a30af4a8849f10f30a000e" +checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27" dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "arbitrary", - "serde", + "cc", + "libc", + "pkg-config", +] + +[[package]] +name = "macro-string" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b27834086c65ec3f9387b096d66e99f221cf081c2b738042aa252bcd41204e3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", ] [[package]] @@ -3465,16 +3888,6 @@ dependencies = [ "regex-automata 0.1.10", ] -[[package]] -name = "md-5" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" -dependencies = [ - "cfg-if", - "digest 0.10.7", -] - [[package]] name = "memchr" version = "2.7.4" @@ -3491,22 +3904,38 @@ dependencies = [ ] [[package]] -name = "mime" -version = "0.3.17" +name = "metrics" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" +checksum = "25dea7ac8057892855ec285c440160265225438c3c45072613c25a4b26e98ef5" +dependencies = [ + "ahash", + "portable-atomic", +] [[package]] -name = "minimal-lexical" -version = "0.2.1" +name = "metrics-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3dbdd96ed57d565ec744cba02862d707acf373c5772d152abae6ec5c4e24f6c" +dependencies = [ + "proc-macro2", + "quote", + "regex", + "syn 2.0.101", +] + +[[package]] +name = "mime" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" dependencies = [ "adler2", ] @@ -3519,36 +3948,15 @@ checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", "log", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] -[[package]] -name = "modular-bitfield" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a53d79ba8304ac1c4f9eb3b9d281f21f7be9d4626f72ce7df4ad8fbde4f38a74" -dependencies = [ - "modular-bitfield-impl", - "static_assertions", -] - -[[package]] -name = "modular-bitfield-impl" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a7d5f7076603ebc68de2dc6a650ec331a062a13abaa346975be747bbfa4b789" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "native-tls" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" +checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" dependencies = [ "libc", "log", @@ -3576,12 +3984,11 @@ dependencies = [ [[package]] name = "nom" -version = "7.1.3" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" dependencies = [ "memchr", - "minimal-lexical", ] [[package]] @@ -3707,7 +4114,7 @@ checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -3740,58 +4147,33 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" dependencies = [ "critical-section", "portable-atomic", ] [[package]] -name = "op-alloy-consensus" -version = "0.9.4" +name = "once_map" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5361d1d0ff24e8ef9c9d03f93d3cd5bd4a70df011d383265360242ee66bd1f" +checksum = "7bd2cae3bec3936bbed1ccc5a3343b3738858182419f9c0522c7260c80c430b0" dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "arbitrary", - "derive_more 1.0.0", - "maili-consensus", - "serde", - "thiserror 2.0.11", -] - -[[package]] -name = "op-alloy-rpc-types" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5542fd205a7e7cda4be1edb63db2fcc6cc501e6b82d9dad71d0baa874becfdc9" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-network-primitives", - "alloy-primitives", - "alloy-rpc-types-eth", - "alloy-serde", - "derive_more 1.0.0", - "maili-consensus", - "op-alloy-consensus", - "serde", - "serde_json", + "ahash", + "hashbrown 0.15.3", + "parking_lot", + "stable_deref_trait", ] [[package]] name = "openssl" -version = "0.10.68" +version = "0.10.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" +checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", "cfg-if", "foreign-types", "libc", @@ -3808,20 +4190,20 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "openssl-probe" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" [[package]] name = "openssl-sys" -version = "0.9.104" +version = "0.9.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" +checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" dependencies = [ "cc", "libc", @@ -3843,28 +4225,30 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "c9fde3d0718baf5bc92f577d652001da0f8d54cd03a7974e118d04fc888dc23d" dependencies = [ "arrayvec", "bitvec", "byte-slice-cast", + "const_format", "impl-trait-for-tuples", "parity-scale-codec-derive", + "rustversion", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "581c837bb6b9541ce7faa9377c20616e4fb7650f6b0f68bc93c827ee504fb7b3" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.101", ] [[package]] @@ -3914,11 +4298,11 @@ dependencies = [ [[package]] name = "pem" -version = "3.0.4" +version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" +checksum = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3" dependencies = [ - "base64 0.22.1", + "base64", "serde", ] @@ -3930,12 +4314,12 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.15" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" +checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6" dependencies = [ "memchr", - "thiserror 2.0.11", + "thiserror 2.0.12", "ucd-trie", ] @@ -3951,22 +4335,22 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.8" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e2ec53ad785f4d35dac0adea7f7dc6f1bb277ad84a680c7afefeae05d1f5916" +checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.8" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56a66c0c55993aa927429d0f8a0abfd74f084e4d9c192cffed01e418d83eefb" +checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -3993,15 +4377,33 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "portable-atomic" -version = "1.10.0" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6" +checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" +dependencies = [ + "zerovec", +] [[package]] name = "powerfmt" @@ -4011,9 +4413,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -4072,9 +4474,9 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" +checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" dependencies = [ "toml_edit", ] @@ -4098,31 +4500,31 @@ dependencies = [ "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "proc-macro2" -version = "1.0.93" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" +checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" dependencies = [ "unicode-ident", ] [[package]] name = "proptest" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" +checksum = "14cae93065090804185d3b75f0bf93b8eeda30c7a9b4a33d3bdb3988d6229e50" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.7.0", + "bitflags 2.9.0", "lazy_static", "num-traits", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_xorshift", "regex-syntax 0.8.5", "rusty-fork", @@ -4130,17 +4532,6 @@ dependencies = [ "unarray", ] -[[package]] -name = "proptest-derive" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee1c9ac207483d5e7db4940700de86a9aae46ef90c48b57f99fe7edb8345e49" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - [[package]] name = "quick-error" version = "1.2.3" @@ -4149,37 +4540,40 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quinn" -version = "0.11.6" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" +checksum = "626214629cda6781b6dc1d316ba307189c85ba657213ce642d9c77670f8202c8" dependencies = [ "bytes", + "cfg_aliases", "pin-project-lite", "quinn-proto", "quinn-udp", "rustc-hash", "rustls", "socket2", - "thiserror 2.0.11", + "thiserror 2.0.12", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.11.9" +version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" +checksum = "49df843a9161c85bb8aae55f101bc0bac8bcafd637a620d9122fd7e0b2f7422e" dependencies = [ "bytes", - "getrandom", - "rand", + "getrandom 0.3.3", + "lru-slab", + "rand 0.9.1", "ring", "rustc-hash", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.11", + "thiserror 2.0.12", "tinyvec", "tracing", "web-time", @@ -4187,9 +4581,9 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "ee4e529991f949c5e25755532370b8af5d114acae52326361d68d47af64aa842" dependencies = [ "cfg_aliases", "libc", @@ -4201,13 +4595,19 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.38" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" + [[package]] name = "radium" version = "0.7.0" @@ -4221,8 +4621,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "serde", +] + +[[package]] +name = "rand" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", "serde", ] @@ -4233,7 +4644,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -4242,7 +4663,17 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.3", + "serde", ] [[package]] @@ -4251,7 +4682,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -4282,11 +4713,11 @@ checksum = "d3edd4d5d42c92f0a659926464d4cce56b562761267ecf0f469d85b7de384175" [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", ] [[package]] @@ -4295,11 +4726,22 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.16", "libredox", "thiserror 1.0.69", ] +[[package]] +name = "redox_users" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" +dependencies = [ + "getrandom 0.2.16", + "libredox", + "thiserror 2.0.12", +] + [[package]] name = "regex" version = "1.11.1" @@ -4352,18 +4794,18 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "reqwest" -version = "0.12.12" +version = "0.12.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" +checksum = "d19c46a6fdd48bc4dab94b6103fccc55d34c67cc0ad04653aad4ea2a07cd7bbb" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "encoding_rs", "futures-channel", "futures-core", "futures-util", - "h2 0.4.7", - "http 1.2.0", + "h2 0.4.10", + "http 1.3.1", "http-body", "http-body-util", "hyper", @@ -4398,197 +4840,104 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots", + "webpki-roots 0.26.11", "windows-registry", ] -[[package]] -name = "reth-codecs" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", - "alloy-trie", - "bytes", - "modular-bitfield", - "op-alloy-consensus", - "reth-codecs-derive", - "serde", -] - -[[package]] -name = "reth-codecs-derive" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" -dependencies = [ - "convert_case 0.6.0", - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "reth-consensus" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "auto_impl", - "derive_more 1.0.0", - "reth-primitives", - "reth-primitives-traits", -] - -[[package]] -name = "reth-ethereum-forks" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" -dependencies = [ - "alloy-chains", - "alloy-eip2124", - "alloy-primitives", - "auto_impl", - "dyn-clone", - "once_cell", - "rustc-hash", - "serde", -] - [[package]] name = "reth-execution-errors" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-eips", - "alloy-primitives", + "alloy-evm", + "alloy-primitives 1.1.0", "alloy-rlp", "nybbles", - "reth-consensus", - "reth-prune-types", "reth-storage-errors", - "revm-primitives", - "thiserror 2.0.11", + "thiserror 2.0.12", ] [[package]] -name = "reth-fs-util" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +name = "reth-metrics" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "serde", - "serde_json", - "thiserror 2.0.11", -] - -[[package]] -name = "reth-primitives" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "alloy-trie", - "bytes", - "derive_more 1.0.0", - "once_cell", - "op-alloy-consensus", - "op-alloy-rpc-types", - "rayon", - "reth-ethereum-forks", - "reth-primitives-traits", - "reth-static-file-types", - "reth-zstd-compressors", - "revm-primitives", - "secp256k1", - "serde", - "serde_with", + "metrics", + "metrics-derive", ] [[package]] name = "reth-primitives-traits" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-genesis", - "alloy-primitives", + "alloy-consensus 0.14.0", + "alloy-eips 0.14.0", + "alloy-genesis 0.14.0", + "alloy-primitives 1.1.0", "alloy-rlp", "alloy-trie", "auto_impl", "bytes", - "derive_more 1.0.0", + "derive_more 2.0.1", "k256", - "op-alloy-consensus", - "reth-codecs", + "once_cell", + "revm-bytecode", "revm-primitives", - "secp256k1", - "serde", - "serde_with", - "thiserror 2.0.11", + "revm-state", + "thiserror 2.0.12", ] [[package]] name = "reth-prune-types" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-primitives", - "derive_more 1.0.0", - "modular-bitfield", - "reth-codecs", - "serde", - "thiserror 2.0.11", + "alloy-primitives 1.1.0", + "derive_more 2.0.1", + "thiserror 2.0.12", ] [[package]] name = "reth-stages-types" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "reth-trie-common", - "serde", ] [[package]] name = "reth-static-file-types" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-primitives", - "derive_more 1.0.0", + "alloy-primitives 1.1.0", + "derive_more 2.0.1", "serde", "strum", ] [[package]] name = "reth-storage-errors" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-eips", - "alloy-primitives", + "alloy-eips 0.14.0", + "alloy-primitives 1.1.0", "alloy-rlp", - "derive_more 1.0.0", - "reth-fs-util", + "derive_more 2.0.1", "reth-primitives-traits", + "reth-prune-types", "reth-static-file-types", - "thiserror 2.0.11", + "revm-database-interface", + "thiserror 2.0.12", ] [[package]] name = "reth-tracing" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ "clap", "eyre", @@ -4602,93 +4951,195 @@ dependencies = [ [[package]] name = "reth-trie" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", + "alloy-consensus 0.14.0", + "alloy-eips 0.14.0", + "alloy-primitives 1.1.0", "alloy-rlp", "alloy-trie", "auto_impl", - "itertools 0.13.0", - "rayon", + "itertools 0.14.0", "reth-execution-errors", - "reth-primitives", + "reth-primitives-traits", "reth-stages-types", "reth-storage-errors", "reth-trie-common", "reth-trie-sparse", - "revm", + "revm-database", "tracing", ] [[package]] name = "reth-trie-common" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-consensus", - "alloy-primitives", + "alloy-consensus 0.14.0", + "alloy-primitives 1.1.0", "alloy-rlp", "alloy-trie", - "derive_more 1.0.0", - "itertools 0.13.0", + "derive_more 2.0.1", + "itertools 0.14.0", "nybbles", + "rayon", "reth-primitives-traits", + "revm-database", ] [[package]] name = "reth-trie-sparse" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +version = "1.3.12" +source = "git+https://github.com/paradigmxyz/reth?tag=v1.3.12#6f8e7258f4733279080e4bd8345ce50538a40d6e" dependencies = [ - "alloy-primitives", + "alloy-primitives 1.1.0", "alloy-rlp", + "auto_impl", + "metrics", "reth-execution-errors", + "reth-metrics", "reth-primitives-traits", "reth-tracing", "reth-trie-common", "smallvec", - "thiserror 2.0.11", ] [[package]] -name = "reth-zstd-compressors" -version = "1.1.5" -source = "git+https://github.com/paradigmxyz/reth?tag=v1.1.5#3212af2d85a54eb207661361ac9fe1d7de4b5b8e" +name = "revm" +version = "22.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5378e95ffe5c8377002dafeb6f7d370a55517cef7d6d6c16fc552253af3b123" +dependencies = [ + "revm-bytecode", + "revm-context", + "revm-context-interface", + "revm-database", + "revm-database-interface", + "revm-handler", + "revm-inspector", + "revm-interpreter", + "revm-precompile", + "revm-primitives", + "revm-state", +] + +[[package]] +name = "revm-bytecode" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e63e138d520c5c5bc25ecc82506e9e4e6e85a811809fc5251c594378dccabfc6" +dependencies = [ + "bitvec", + "revm-primitives", +] + +[[package]] +name = "revm-context" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9765628dfea4f3686aa8f2a72471c52801e6b38b601939ac16965f49bac66580" +dependencies = [ + "cfg-if", + "derive-where", + "revm-bytecode", + "revm-context-interface", + "revm-database-interface", + "revm-primitives", + "revm-state", +] + +[[package]] +name = "revm-context-interface" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82d74335aa1f14222cc4d3be1f62a029cc7dc03819cc8d080ff17b7e1d76375f" +dependencies = [ + "alloy-eip2930", + "alloy-eip7702", + "auto_impl", + "revm-database-interface", + "revm-primitives", + "revm-state", +] + +[[package]] +name = "revm-database" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e5c80c5a2fd605f2119ee32a63fb3be941fb6a81ced8cdb3397abca28317224" +dependencies = [ + "revm-bytecode", + "revm-database-interface", + "revm-primitives", + "revm-state", +] + +[[package]] +name = "revm-database-interface" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0e4dfbc734b1ea67b5e8f8b3c7dc4283e2210d978cdaf6c7a45e97be5ea53b3" +dependencies = [ + "auto_impl", + "revm-primitives", + "revm-state", +] + +[[package]] +name = "revm-handler" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8676379521c7bf179c31b685c5126ce7800eab5844122aef3231b97026d41a10" dependencies = [ - "zstd", + "auto_impl", + "revm-bytecode", + "revm-context", + "revm-context-interface", + "revm-database-interface", + "revm-interpreter", + "revm-precompile", + "revm-primitives", + "revm-state", ] [[package]] -name = "revm" -version = "19.3.0" +name = "revm-inspector" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5a57589c308880c0f89ebf68d92aeef0d51e1ed88867474f895f6fd0f25c64" +checksum = "bfed4ecf999a3f6ae776ae2d160478c5dca986a8c2d02168e04066b1e34c789e" dependencies = [ "auto_impl", - "cfg-if", - "dyn-clone", + "revm-context", + "revm-database-interface", + "revm-handler", "revm-interpreter", - "revm-precompile", + "revm-primitives", + "revm-state", ] [[package]] name = "revm-interpreter" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0f632e761f171fb2f6ace8d1552a5793e0350578d4acec3e79ade1489f4c2a6" +checksum = "feb20260342003cfb791536e678ef5bbea1bfd1f8178b170e8885ff821985473" dependencies = [ + "revm-bytecode", + "revm-context-interface", "revm-primitives", ] [[package]] name = "revm-precompile" -version = "16.0.0" +version = "19.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6542fb37650dfdbf4b9186769e49c4a8bc1901a3280b2ebf32f915b6c8850f36" +checksum = "418e95eba68c9806c74f3e36cd5d2259170b61e90ac608b17ff8c435038ddace" dependencies = [ + "ark-bls12-381", + "ark-bn254", + "ark-ec", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", "aurora-engine-modexp", "cfg-if", "k256", @@ -4696,27 +5147,27 @@ dependencies = [ "revm-primitives", "ripemd", "sha2", - "substrate-bn", ] [[package]] name = "revm-primitives" -version = "15.1.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48faea1ecf2c9f80d9b043bbde0db9da616431faed84c4cfa3dd7393005598e6" +checksum = "1fc2283ff87358ec7501956c5dd8724a6c2be959c619c4861395ae5e0054575f" dependencies = [ - "alloy-eip2930", - "alloy-eip7702", - "alloy-primitives", - "auto_impl", - "bitflags 2.7.0", - "bitvec", - "c-kzg", - "cfg-if", - "dyn-clone", + "alloy-primitives 1.1.0", "enumn", - "hex", - "serde", +] + +[[package]] +name = "revm-state" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09dd121f6e66d75ab111fb51b4712f129511569bc3e41e6067ae760861418bd8" +dependencies = [ + "bitflags 2.9.0", + "revm-bytecode", + "revm-primitives", ] [[package]] @@ -4731,15 +5182,14 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -4774,12 +5224,11 @@ dependencies = [ [[package]] name = "ruint" -version = "1.12.4" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5ef8fb1dd8de3870cb8400d51b4c2023854bbafd5431a3ac7e7317243e22d2f" +checksum = "78a46eb779843b2c4f21fac5773e25d6d5b7c8f0922876c91541790d2ca27eef" dependencies = [ "alloy-rlp", - "arbitrary", "ark-ff 0.3.0", "ark-ff 0.4.2", "bytes", @@ -4791,7 +5240,8 @@ dependencies = [ "parity-scale-codec", "primitive-types", "proptest", - "rand", + "rand 0.8.5", + "rand 0.9.1", "rlp", "ruint-macro", "serde", @@ -4823,11 +5273,11 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" dependencies = [ - "rand", + "rand 0.8.5", ] [[package]] @@ -4851,16 +5301,16 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.24", + "semver 1.0.26", ] [[package]] name = "rustix" -version = "0.38.43" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" +checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", "errno", "libc", "linux-raw-sys", @@ -4869,9 +5319,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.21" +version = "0.23.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f287924602bf649d949c63dc8ac8b235fa5387d394020705b80c4eb597ce5b8" +checksum = "730944ca083c1c233a75c09f199e973ca499344a2b7ba9e755c457e86fb4a321" dependencies = [ "once_cell", "ring", @@ -4904,18 +5354,19 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.10.1" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" +checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435" dependencies = [ "ring", "rustls-pki-types", @@ -4924,9 +5375,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" +checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" [[package]] name = "rusty-fork" @@ -4942,9 +5393,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "same-file" @@ -4957,18 +5408,18 @@ dependencies = [ [[package]] name = "scanf" -version = "1.2.3" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf5845f2587e0dd28b0dc313d1bbe0b7aa70aedb8e236785f670dcd1df1f677" +checksum = "db2388de1e65f8545db637b467e3a8ed3c85357ff098c16aa4e9493561e49d03" dependencies = [ "nom", ] [[package]] name = "scc" -version = "2.3.0" +version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28e1c91382686d21b5ac7959341fcb9780fa7c03773646995a87c950fa7be640" +checksum = "22b2d775fb28f245817589471dd49c5edf64237f4a19d10ce9a92ff4651a27f4" dependencies = [ "sdd", ] @@ -4982,17 +5433,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "schnellru" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" -dependencies = [ - "ahash", - "cfg-if", - "hashbrown 0.13.2", -] - [[package]] name = "scoped-tls" version = "1.0.1" @@ -5007,9 +5447,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "sdd" -version = "3.0.5" +version = "3.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478f121bb72bbf63c52c93011ea1791dca40140dfe13f8336c4c5ac952c33aa9" +checksum = "584e070911c7017da6cb2eb0788d09f43d789029b5877d3e5ecc8acf86ceee21" [[package]] name = "sec1" @@ -5028,11 +5468,12 @@ dependencies = [ [[package]] name = "secp256k1" -version = "0.29.1" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9465315bc9d4566e1724f0fffcbcc446268cb522e60f9a27bcded6b19c108113" +checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" dependencies = [ - "rand", + "bitcoin_hashes", + "rand 0.8.5", "secp256k1-sys", "serde", ] @@ -5052,7 +5493,7 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", "core-foundation 0.9.4", "core-foundation-sys", "libc", @@ -5065,7 +5506,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", "core-foundation 0.10.0", "core-foundation-sys", "libc", @@ -5093,9 +5534,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.24" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" dependencies = [ "serde", ] @@ -5117,29 +5558,29 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.217" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.217" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "serde_json" -version = "1.0.135" +version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9" +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" dependencies = [ "itoa", "memchr", @@ -5149,13 +5590,13 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -5185,11 +5626,11 @@ version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b6f7f2fcb69f747921f79f3926bd1e203fce4fef62c268dd3abfb6d86029aa" dependencies = [ - "base64 0.22.1", + "base64", "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.7.0", + "indexmap 2.9.0", "serde", "serde_derive", "serde_json", @@ -5206,7 +5647,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -5232,9 +5673,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures", @@ -5278,9 +5719,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" dependencies = [ "libc", ] @@ -5292,7 +5733,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest 0.10.7", - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -5309,7 +5750,7 @@ checksum = "297f631f50729c8c99b84667867963997ec0b50f32b2a7dbcab828ef0541e8bb" dependencies = [ "num-bigint", "num-traits", - "thiserror 2.0.11", + "thiserror 2.0.12", "time", ] @@ -5324,18 +5765,18 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" dependencies = [ "serde", ] [[package]] name = "socket2" -version = "0.5.8" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" dependencies = [ "libc", "windows-sys 0.52.0", @@ -5343,16 +5784,17 @@ dependencies = [ [[package]] name = "solar-ast" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d3f6c4a476a16dcd36933a70ecdb0a807f8949cc5f3c4c1984e3748666bd714" +checksum = "c0a583a12e73099d1f54bfe7c8a30d7af5ff3591c61ee51cce91045ee5496d86" dependencies = [ - "alloy-primitives", + "alloy-primitives 0.8.25", "bumpalo", + "derive_more 2.0.1", "either", "num-bigint", "num-rational", - "semver 1.0.24", + "semver 1.0.26", "solar-data-structures", "solar-interface", "solar-macros", @@ -5362,22 +5804,22 @@ dependencies = [ [[package]] name = "solar-config" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d40434a61f2c14a9e3777fbc478167bddee9828532fc26c57e416e9277916b09" +checksum = "12642e7e8490d6855a345b5b9d5e55630bd30f54450a909e28f1385b448baada" dependencies = [ "strum", ] [[package]] name = "solar-data-structures" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71d07263243b313296eca18f18eda3a190902dc3284bf67ceff29b8b54dac3e6" +checksum = "dae8902cc28af53e2ba97c450aff7c59d112a433f9ef98fae808e02e25e6dee6" dependencies = [ "bumpalo", "index_vec", - "indexmap 2.7.0", + "indexmap 2.9.0", "parking_lot", "rayon", "rustc-hash", @@ -5386,17 +5828,18 @@ dependencies = [ [[package]] name = "solar-interface" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a87009b6989b2cc44d8381e3b86ff3b90280d54a60321919b6416214cd602f3" +checksum = "ded5ec7a5cee351c7a428842d273470180cab259c46f52d502ec3ab5484d0c3a" dependencies = [ "annotate-snippets", "anstream", "anstyle", "const-hex", "derive_builder", + "derive_more 2.0.1", "dunce", - "itertools 0.13.0", + "itertools 0.14.0", "itoa", "lasso", "match_cfg", @@ -5407,32 +5850,32 @@ dependencies = [ "solar-config", "solar-data-structures", "solar-macros", - "thiserror 2.0.11", + "thiserror 2.0.12", "tracing", "unicode-width 0.2.0", ] [[package]] name = "solar-macros" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "970d7c774741f786d62cab78290e47d845b0b9c0c9d094a1642aced1d7946036" +checksum = "ca2c9ff6e00eeeff12eac9d589f1f20413d3b71b9c0c292d1eefbd34787e0836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "solar-parse" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e1e2d07fae218aca1b4cca81216e5c9ad7822516d48a28f11e2eaa8ffa5b249" +checksum = "1e1bc1d0253b0f7f2c7cd25ed7bc5d5e8cac43e717d002398250e0e66e43278b" dependencies = [ - "alloy-primitives", - "bitflags 2.7.0", + "alloy-primitives 0.8.25", + "bitflags 2.9.0", "bumpalo", - "itertools 0.13.0", + "itertools 0.14.0", "memchr", "num-bigint", "num-rational", @@ -5445,10 +5888,33 @@ dependencies = [ ] [[package]] -name = "spin" -version = "0.9.8" +name = "solar-sema" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +checksum = "ded4b26fb85a0ae2f3277377236af0884c82f38965a2c51046a53016c8b5f332" +dependencies = [ + "alloy-json-abi 0.8.25", + "alloy-primitives 0.8.25", + "bitflags 2.9.0", + "bumpalo", + "derive_more 2.0.1", + "either", + "once_map", + "paste", + "rayon", + "scc", + "serde", + "serde_json", + "solar-ast", + "solar-data-structures", + "solar-interface", + "solar-macros", + "solar-parse", + "strum", + "thread_local", + "tracing", + "typed-arena", +] [[package]] name = "spki" @@ -5480,37 +5946,24 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.26.3" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +checksum = "f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.26.4" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +checksum = "c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8" dependencies = [ "heck", "proc-macro2", "quote", "rustversion", - "syn 2.0.96", -] - -[[package]] -name = "substrate-bn" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b5bbfa79abbae15dd642ea8176a21a635ff3c00059961d1ea27ad04e5b441c" -dependencies = [ - "byteorder", - "crunchy 0.2.2", - "lazy_static", - "rand", - "rustc-hex", + "syn 2.0.101", ] [[package]] @@ -5530,20 +5983,20 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "svm-rs" -version = "0.5.9" +version = "0.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e9bc6b09b8a7a919128f8c029ae4048d83f814af557e948115273c75864acf" +checksum = "62d304f1b54e9c83ec8f0537c9dd40d46344bd9142cc528d5242c4b6fe11ced0" dependencies = [ "const-hex", "dirs", "fs4", "reqwest", - "semver 1.0.24", + "semver 1.0.26", "serde", "serde_json", "sha2", "tempfile", - "thiserror 2.0.11", + "thiserror 2.0.12", "url", "zip", ] @@ -5561,9 +6014,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.96" +version = "2.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" +checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" dependencies = [ "proc-macro2", "quote", @@ -5572,14 +6025,14 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.19" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84e4d83a0a6704561302b917a932484e1cae2d8c6354c64be8b7bac1c1fe057" +checksum = "3d0f0d4760f4c2a0823063b2c70e97aa2ad185f57be195172ccc0e23c4b787c4" dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -5593,13 +6046,13 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -5608,7 +6061,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ - "bitflags 2.7.0", + "bitflags 2.9.0", "core-foundation 0.9.4", "system-configuration-sys", ] @@ -5631,13 +6084,12 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tempfile" -version = "3.15.0" +version = "3.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" +checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" dependencies = [ - "cfg-if", "fastrand", - "getrandom", + "getrandom 0.3.3", "once_cell", "rustix", "windows-sys 0.59.0", @@ -5671,11 +6123,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.11" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" dependencies = [ - "thiserror-impl 2.0.11", + "thiserror-impl 2.0.12", ] [[package]] @@ -5686,18 +6138,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "thiserror-impl" -version = "2.0.11" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -5721,9 +6173,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.37" +version = "0.3.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ "deranged", "itoa", @@ -5736,15 +6188,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" dependencies = [ "num-conv", "time-core", @@ -5756,14 +6208,14 @@ version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" dependencies = [ - "crunchy 0.2.2", + "crunchy 0.2.3", ] [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" dependencies = [ "displaydoc", "zerovec", @@ -5771,9 +6223,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8" +checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" dependencies = [ "tinyvec_macros", ] @@ -5786,9 +6238,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.43.0" +version = "1.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" +checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165" dependencies = [ "backtrace", "bytes", @@ -5810,7 +6262,7 @@ checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -5825,9 +6277,9 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.1" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" +checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" dependencies = [ "rustls", "tokio", @@ -5859,9 +6311,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.24.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" +checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" dependencies = [ "futures-util", "log", @@ -5870,14 +6322,14 @@ dependencies = [ "tokio", "tokio-rustls", "tungstenite", - "webpki-roots", + "webpki-roots 0.26.11", ] [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" dependencies = [ "bytes", "futures-core", @@ -5888,9 +6340,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.19" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" +checksum = "05ae329d1f08c4d17a59bed7ff5b5a769d062e64a62d34a3261b219e62cd5aae" dependencies = [ "serde", "serde_spanned", @@ -5900,26 +6352,33 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.8" +version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" +checksum = "3da5db5a963e24bc68be8b17b6fa82814bb22ee8660f192bb182771d498f09a3" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.22.22" +version = "0.22.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" +checksum = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.9.0", "serde", "serde_spanned", "toml_datetime", + "toml_write", "winnow", ] +[[package]] +name = "toml_write" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfb942dfe1d8e29a7ee7fcbde5bd2b9a25fb89aa70caea2eba3bee836ff41076" + [[package]] name = "tower" version = "0.5.2" @@ -5979,7 +6438,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] @@ -5992,6 +6451,18 @@ dependencies = [ "valuable", ] +[[package]] +name = "tracing-futures" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" +dependencies = [ + "futures", + "futures-task", + "pin-project", + "tracing", +] + [[package]] name = "tracing-journald" version = "0.3.1" @@ -6065,21 +6536,20 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tungstenite" -version = "0.24.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a" +checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" dependencies = [ - "byteorder", "bytes", "data-encoding", - "http 1.2.0", + "http 1.3.1", "httparse", "log", - "rand", + "rand 0.9.1", "rustls", "rustls-pki-types", "sha1", - "thiserror 1.0.69", + "thiserror 2.0.12", "utf-8", ] @@ -6091,9 +6561,9 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" [[package]] name = "typenum" -version = "1.17.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "ucd-trie" @@ -6108,7 +6578,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" dependencies = [ "byteorder", - "crunchy 0.2.2", + "crunchy 0.2.3", "hex", "static_assertions", ] @@ -6121,9 +6591,9 @@ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "unicode-segmentation" @@ -6172,12 +6642,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -6192,9 +6656,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "valuable" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "vcpkg" @@ -6210,9 +6674,9 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "wait-timeout" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" dependencies = [ "libc", ] @@ -6242,6 +6706,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.14.2+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "wasm-bindgen" version = "0.2.100" @@ -6264,7 +6737,7 @@ dependencies = [ "log", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", "wasm-bindgen-shared", ] @@ -6299,7 +6772,7 @@ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -6349,18 +6822,27 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "0.26.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" +dependencies = [ + "webpki-roots 1.0.0", +] + +[[package]] +name = "webpki-roots" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "2853738d1cc4f2da3a225c18ec6c3721abb31961096e9dbf5ab35fa88b19cfdb" dependencies = [ "rustls-pki-types", ] [[package]] name = "widestring" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" +checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" [[package]] name = "winapi" @@ -6395,50 +6877,81 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-core" -version = "0.52.0" +version = "0.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" dependencies = [ - "windows-targets 0.52.6", + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings 0.4.0", +] + +[[package]] +name = "windows-implement" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "windows-interface" +version = "0.59.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", ] +[[package]] +name = "windows-link" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" + [[package]] name = "windows-registry" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" dependencies = [ "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "windows-strings 0.3.1", + "windows-targets 0.53.0", ] [[package]] name = "windows-result" -version = "0.2.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" dependencies = [ - "windows-targets 0.52.6", + "windows-link", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "windows-link", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" dependencies = [ - "windows-targets 0.48.5", + "windows-link", ] [[package]] @@ -6459,21 +6972,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - [[package]] name = "windows-targets" version = "0.52.6" @@ -6483,7 +6981,7 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", @@ -6491,10 +6989,20 @@ dependencies = [ ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-targets" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" +dependencies = [ + "windows_aarch64_gnullvm 0.53.0", + "windows_aarch64_msvc 0.53.0", + "windows_i686_gnu 0.53.0", + "windows_i686_gnullvm 0.53.0", + "windows_i686_msvc 0.53.0", + "windows_x86_64_gnu 0.53.0", + "windows_x86_64_gnullvm 0.53.0", + "windows_x86_64_msvc 0.53.0", +] [[package]] name = "windows_aarch64_gnullvm" @@ -6503,10 +7011,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" +name = "windows_aarch64_gnullvm" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" [[package]] name = "windows_aarch64_msvc" @@ -6515,10 +7023,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] -name = "windows_i686_gnu" -version = "0.48.5" +name = "windows_aarch64_msvc" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" [[package]] name = "windows_i686_gnu" @@ -6526,6 +7034,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" @@ -6533,10 +7047,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] -name = "windows_i686_msvc" -version = "0.48.5" +name = "windows_i686_gnullvm" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" [[package]] name = "windows_i686_msvc" @@ -6545,10 +7059,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" +name = "windows_i686_msvc" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" [[package]] name = "windows_x86_64_gnu" @@ -6557,10 +7071,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" +name = "windows_x86_64_gnu" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" [[package]] name = "windows_x86_64_gnullvm" @@ -6569,10 +7083,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" +name = "windows_x86_64_gnullvm" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" [[package]] name = "windows_x86_64_msvc" @@ -6580,26 +7094,35 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" + [[package]] name = "winnow" -version = "0.6.24" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d71a593cc5c42ad7876e2c1fda56f314f3754c084128833e64f1345ff8a03a" +checksum = "c06928c8748d81b05c9be96aad92e1b6ff01833332f281e8cfca3be4b35fc9ec" dependencies = [ "memchr", ] [[package]] -name = "write16" -version = "1.0.0" +name = "wit-bindgen-rt" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" +dependencies = [ + "bitflags 2.9.0", +] [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" [[package]] name = "ws_stream_wasm" @@ -6629,6 +7152,21 @@ dependencies = [ "tap", ] +[[package]] +name = "xxhash-rust" +version = "0.8.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3" + +[[package]] +name = "xz2" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2" +dependencies = [ + "lzma-sys", +] + [[package]] name = "yansi" version = "1.0.1" @@ -6637,9 +7175,9 @@ checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" dependencies = [ "serde", "stable_deref_trait", @@ -6649,55 +7187,54 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", "synstructure", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", "synstructure", ] @@ -6718,14 +7255,25 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", +] + +[[package]] +name = "zerotrie" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", ] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" dependencies = [ "yoke", "zerofrom", @@ -6734,20 +7282,20 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.101", ] [[package]] name = "zip" -version = "2.2.2" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9c1ea7b3a5e1f4b922ff856a129881167511563dc219869afe3787fc0c1a45" +checksum = "1dcb24d0152526ae49b9b96c1dcf71850ca1e0b882e4e28ed898a93c41334744" dependencies = [ "aes", "arbitrary", @@ -6756,17 +7304,16 @@ dependencies = [ "crc32fast", "crossbeam-utils", "deflate64", - "displaydoc", "flate2", + "getrandom 0.3.3", "hmac", - "indexmap 2.7.0", + "indexmap 2.9.0", "lzma-rs", "memchr", "pbkdf2", - "rand", "sha1", - "thiserror 2.0.11", "time", + "xz2", "zeroize", "zopfli", "zstd", @@ -6774,41 +7321,39 @@ dependencies = [ [[package]] name = "zopfli" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" +checksum = "edfc5ee405f504cd4984ecc6f14d02d55cfda60fa4b689434ef4102aae150cd7" dependencies = [ "bumpalo", "crc32fast", - "lockfree-object-pool", "log", - "once_cell", "simd-adler32", ] [[package]] name = "zstd" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "7.2.1" +version = "7.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" dependencies = [ "zstd-sys", ] [[package]] name = "zstd-sys" -version = "2.0.13+zstd.1.5.6" +version = "2.0.15+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" +checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 89a2433b..f01215b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,16 +26,16 @@ path = "lib/lib.rs" [dependencies] actix-web = "4.9.0" -alloy = { version = "0.9.2", features = ["full"] } -alloy-chains = { version = "0.1.55", features = ["serde"] } -alloy-dyn-abi = { version = "0.8.19", features = ["eip712"] } -alloy-json-abi = "0.8.19" -alloy-node-bindings = "0.9.2" -alloy-rpc-types = "0.9.2" -alloy-rpc-types-trace = "0.9.2" -alloy-signer = { version = "0.9.2", features = ["eip712"] } -alloy-signer-ledger = "0.9.2" -alloy-signer-local = "0.9.2" +alloy = { version = "0.15.11", features = ["full"] } +alloy-chains = { version = "0.2.0", features = ["serde"] } +alloy-dyn-abi = { version = "1.0.0", features = ["eip712"] } +alloy-json-abi = "1.0.0" +alloy-node-bindings = "0.15.11" +alloy-rpc-types = "0.15.11" +alloy-rpc-types-trace = "0.15.11" +alloy-signer = { version = "0.15.11", features = ["eip712"] } +alloy-signer-ledger = "0.15.11" +alloy-signer-local = "0.15.11" async-trait = "0.1.85" bigint = "4" bytes = "1.9.0" @@ -44,16 +44,16 @@ colored = "3.0.0" console = "0.15.10" dirs-next = "2.0.0" dotenv = "0.15.0" -foundry-block-explorers = "0.9.0" -foundry-compilers = "0.12.9" -foundry-compilers-core = "0.12.9" +foundry-block-explorers = "0.14.0" +foundry-compilers = "0.15.0" +foundry-compilers-core = "0.15.0" hex = "0.4" indicatif = "0.17.9" prettytable-rs = "0.10.0" rand = "0.8.5" regex = "1" reqwest = { version = "0.12", features = ["json", "blocking"] } -reth-trie = { git = "https://github.com/paradigmxyz/reth", tag = "v1.1.5"} +reth-trie = { git = "https://github.com/paradigmxyz/reth", tag = "v1.3.12"} ruint = "1.12.4" rustc-hex = "2.1.0" scanf = "1.2.3" @@ -62,7 +62,7 @@ serde = { version = "1.0.217", features = ["derive"] } serde_json = "1.0.135" sha3 = "0.10.8" substring = "1.4.5" -tempfile = "3.15.0" +tempfile = "3.20.0" thiserror = "2.0.11" time = "0.3.37" tiny-keccak = { version = "2.0.2", features = ["sha3", "keccak"] } diff --git a/docs/config.md b/docs/config.md index fefd53c7..fd980bcb 100644 --- a/docs/config.md +++ b/docs/config.md @@ -8,12 +8,22 @@ When running the `dvf` command, the default configuration file is expected at `$ | `rpc_urls` | Mapping from chain ID to RPC URL | | `dvf_storage` | Folder where DVFs are stored | | `trusted_signers`: | List of addresses of trusted signers | -| `etherscan_api_key` | Mapping from chain ID to Etherscan API Key, free plan sufficient, optional | -| `blockscout_api_key` | Mapping from chain ID to Blockscout API Key, free plan sufficient, optional | -| `etherscan_test_api_url` | Only for testing, optional | -| `blockscout_test_api_url` | Only for testing, optional | -| `max_blocks_per_event_query` | Number of blocks that can be queried at once in `getLogs`, optional | -| `web3_timeout` | Timeout is seconds for web3 RPC queries, optional | +| `etherscan_global` | Etherscan configuration for all chains, optional | +| - `api_url` | Etherscan API URL | +| - `api_key` | Etherscan API Key | +| `etherscan_chain_configs` | Mapping from chain ID to chain-specific Etherscan configuration, optional | +| - Chain ID | +| - - `api_url` | Chain-specific Etherscan API URL | +| - - `api_key` | Chain-specific Etherscan API Key | +| `blockscout_global` | Global Blockscout configuration, optional | +| - `api_url` | Blockscout API URL | +| - `api_key` | Blockscout API Key | +| `blockscout_chain_configs` | Mapping from chain ID to chain-specific Blockscout configuration, optional | +| - Chain ID | +| - - `api_url` | Chain-specific Blockscout API URL | +| - - `api_key` | Chain-specific Blockscout API Key | +| `max_blocks_per_event_query` | Number of blocks that can be queried at once in `getLogs`, optional, defaults to 9999 | +| `web3_timeout` | Timeout in seconds for web3 RPC queries, optional, defaults to 700 | | `signer` | Configuration on how to sign, optional | | - `wallet_address` | Address which is used to sign | | - `wallet_type` | Can have different structure | diff --git a/lib/bytecode_verification/compare_bytecodes.rs b/lib/bytecode_verification/compare_bytecodes.rs index 31ea708a..0e4ebf9b 100644 --- a/lib/bytecode_verification/compare_bytecodes.rs +++ b/lib/bytecode_verification/compare_bytecodes.rs @@ -277,7 +277,7 @@ impl CompareInitCode { .constructor .as_ref() .unwrap() - .abi_decode_input(&init_bytecode[compiled_init_code.len()..], true) + .abi_decode_input(&init_bytecode[compiled_init_code.len()..]) .expect("Unable to decode the constructor arguments."); for (arg, value) in project_info.constructor_args.iter_mut().zip(decoded_args) { diff --git a/lib/bytecode_verification/parse_json.rs b/lib/bytecode_verification/parse_json.rs index 5bffed55..f878210c 100644 --- a/lib/bytecode_verification/parse_json.rs +++ b/lib/bytecode_verification/parse_json.rs @@ -1371,7 +1371,7 @@ impl ProjectInfo { assert!(Self::check_forge()); build_info_dir = Builder::new().prefix("dvf_bi").tempdir().unwrap(); // Persist for now - build_info_path = build_info_dir.into_path(); + build_info_path = build_info_dir.keep(); Self::forge_build(project, &build_info_path)?; } Environment::Hardhat => { diff --git a/lib/dvf/abstract_wallet.rs b/lib/dvf/abstract_wallet.rs index 33867390..cabadf5e 100644 --- a/lib/dvf/abstract_wallet.rs +++ b/lib/dvf/abstract_wallet.rs @@ -3,7 +3,7 @@ use async_trait::async_trait; use alloy::consensus::SignableTransaction; use alloy::dyn_abi::eip712::TypedData; use alloy::network::TxSigner; -use alloy::primitives::{Address, ChainId, PrimitiveSignature as Signature, B256}; +use alloy::primitives::{Address, ChainId, Signature, B256}; use alloy::signers::local::{LocalSignerError, PrivateKeySigner}; use alloy::signers::{Error as SignerError, Signer}; use alloy::sol_types::{Eip712Domain, SolStruct}; diff --git a/lib/dvf/config.rs b/lib/dvf/config.rs index 6cce12b3..f91287c8 100644 --- a/lib/dvf/config.rs +++ b/lib/dvf/config.rs @@ -85,15 +85,31 @@ pub struct DVFSignerConfig { pub wallet_type: DVFWalletType, } +#[derive(Debug, Serialize, Deserialize)] +pub struct EtherscanConfig { + pub api_url: Option, + pub api_key: String, +} + +#[derive(Debug, Serialize, Deserialize)] +pub struct BlockscoutConfig { + pub api_url: Option, + pub api_key: String, +} + #[derive(Serialize, Deserialize, Default, Debug)] pub struct DVFConfig { pub rpc_urls: BTreeMap, // chain_id to URL pub dvf_storage: PathBuf, // Storage of DVFs pub trusted_signers: Vec
, - pub etherscan_api_key: BTreeMap, - etherscan_test_api_url: Option, - blockscout_api_key: BTreeMap, - pub blockscout_test_api_url: Option, + #[serde(default)] + pub etherscan_global: Option, + #[serde(default)] + pub etherscan_chain_configs: BTreeMap, + #[serde(default)] + pub blockscout_global: Option, + #[serde(default)] + pub blockscout_chain_configs: BTreeMap, #[serde(default = "default_max_blocks")] pub max_blocks_per_event_query: u64, #[serde(default = "default_web3_timeout")] @@ -114,6 +130,9 @@ fn default_web3_timeout() -> u64 { } impl DVFConfig { + const DEFAULT_ETHERSCAN_API_URL: &str = "https://api.etherscan.io/v2/api"; + const DEFAULT_BLOCKSCOUT_API_URL: &str = "https://eth.blockscout.com/api"; + pub fn from_matches(matches: &ArgMatches) -> Result { if let Some(("generate-config", _)) = matches.subcommand() { return Ok(Self::default()); @@ -144,6 +163,26 @@ impl DVFConfig { } let temp_dir = tempdir().unwrap(); + // Create global Etherscan config if API key is available + let etherscan_global = if let Ok(api_key) = env::var("ETHERSCAN_API_KEY") { + Some(EtherscanConfig { + api_url: env::var("ETHERSCAN_TEST_API_URL").ok(), + api_key, + }) + } else { + None + }; + + // Create global Blockscout config if API key is available + let blockscout_global = if let Ok(api_key) = env::var("BLOCKSCOUT_API_KEY") { + Some(BlockscoutConfig { + api_url: env::var("BLOCKSCOUT_TEST_API_URL").ok(), + api_key, + }) + } else { + None + }; + Ok(DVFConfig { rpc_urls, dvf_storage: temp_dir.path().to_path_buf(), @@ -153,10 +192,10 @@ impl DVFConfig { Address::from_str("0x70997970C51812dc3A010C7d01b50e0d17dc79C8")?, Address::from_str(env::var("SIGNER_ADDRESS")?.as_str())?, ], - etherscan_api_key: BTreeMap::from([(0u64, env::var("ETHERSCAN_API_KEY")?)]), - etherscan_test_api_url: env::var("ETHERSCAN_TEST_API_URL").ok(), - blockscout_api_key: BTreeMap::from([(1u64, env::var("BLOCKSCOUT_API_KEY")?)]), - blockscout_test_api_url: env::var("BLOCKSCOUT_TEST_API_URL").ok(), + etherscan_global, + etherscan_chain_configs: BTreeMap::new(), + blockscout_global, + blockscout_chain_configs: BTreeMap::new(), max_blocks_per_event_query: default_max_blocks(), web3_timeout: default_web3_timeout(), signer: Some(DVFSignerConfig { @@ -432,63 +471,235 @@ impl DVFConfig { } } - let mut etherscan_api_key: BTreeMap = BTreeMap::new(); - let mut blockscout_api_key: BTreeMap = BTreeMap::new(); println!(); println!("{}", "STEP 4".green()); - println!( - "In the following, you will be asked to provide API keys for Etherscan and Blockscout." - ); - println!( - "This is optional but please be aware that providing neither limits this tool to local" - ); - println!("testing environments."); + println!("In this step, you can configure Etherscan and Blockscout settings."); + println!("You can set global configurations that will be used as fallbacks,"); + println!("and/or chain-specific configurations that will override the global settings."); println!(); - for chain_id in rpc_urls.keys() { + + // Global Etherscan config + let default_etherscan_api_url = String::from(Self::DEFAULT_ETHERSCAN_API_URL); + let default_blockscout_api_url = String::from(Self::DEFAULT_BLOCKSCOUT_API_URL); + println!("{}", "Global Etherscan Configuration".bold()); + println!("Would you like to set a global Etherscan configuration? (y/n)"); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + let mut input = String::new(); + io::stdin().read_line(&mut input).unwrap(); + let mut etherscan_global = None; + if input.trim().eq_ignore_ascii_case("y") { + let mut api_key = String::new(); + loop { + println!("Please enter your Etherscan API key:"); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + io::stdin().read_line(&mut api_key).unwrap(); + api_key = api_key.trim().to_string(); + if !api_key.is_empty() { + break; + } + println!("{}", "API key cannot be empty.".yellow()); + } + + let mut api_url = String::new(); + println!("Please enter the Etherscan API URL:"); println!( - "Please provide an Etherscan API Key for Chain ID {} or hit {} to provide none.", - chain_id, - "".green() + "Hit {} to use default value: {}", + "".green(), + &default_etherscan_api_url.to_string().green() ); print!("> "); - - let mut input = String::new(); let _ = std::io::Write::flush(&mut std::io::stdout()); - io::stdin().read_line(&mut input).unwrap(); - - if input.trim().is_empty() { - continue; + io::stdin().read_line(&mut api_url).unwrap(); + api_url = api_url.trim().to_string(); + if api_url.is_empty() { + api_url = default_etherscan_api_url.clone(); } - let mut key = String::new(); - if sscanf!(&input, "{}", key).is_ok() { - etherscan_api_key.insert(*chain_id, key); - } else { - println!("{}", "The provided API key could not be parsed.".yellow()); - } + etherscan_global = Some(EtherscanConfig { + api_url: if api_url.is_empty() { + None + } else { + Some(api_url) + }, + api_key, + }); } - for chain_id in rpc_urls.keys() { + // Global Blockscout config + println!(); + println!("{}", "Global Blockscout Configuration".bold()); + println!("Would you like to set a global Blockscout configuration? (y/n)"); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + let mut input = String::new(); + io::stdin().read_line(&mut input).unwrap(); + let mut blockscout_global = None; + if input.trim().eq_ignore_ascii_case("y") { + let mut api_key = String::new(); + loop { + println!("Please enter your Blockscout API key:"); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + io::stdin().read_line(&mut api_key).unwrap(); + api_key = api_key.trim().to_string(); + if !api_key.is_empty() { + break; + } + println!("{}", "API key cannot be empty.".yellow()); + } + + let mut api_url = String::new(); + println!("Please enter the Blockscout API URL:"); println!( - "Please provide a Blockscout API Key for Chain ID {} or hit {} to provide none.", - chain_id, - "".green() + "Hit {} to use default value: {}", + "".green(), + &default_blockscout_api_url.to_string().green() ); print!("> "); - - let mut input = String::new(); let _ = std::io::Write::flush(&mut std::io::stdout()); - io::stdin().read_line(&mut input).unwrap(); - - if input.trim().is_empty() { - continue; + io::stdin().read_line(&mut api_url).unwrap(); + api_url = api_url.trim().to_string(); + if api_url.is_empty() { + api_url = default_blockscout_api_url.clone(); } - let mut key = String::new(); - if sscanf!(&input, "{}", key).is_ok() { - blockscout_api_key.insert(*chain_id, key); - } else { - println!("{}", "The provided API key could not be parsed.".yellow()); + blockscout_global = Some(BlockscoutConfig { + api_url: if api_url.is_empty() { + None + } else { + Some(api_url) + }, + api_key, + }); + } + + // Chain-specific configs + let mut etherscan_chain_configs = BTreeMap::new(); + let mut blockscout_chain_configs = BTreeMap::new(); + + println!(); + println!( + "Would you like to set chain-specific Etherscan / Blockscout configurations? (y/n)" + ); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + let mut input = String::new(); + io::stdin().read_line(&mut input).unwrap(); + + if input.trim().eq_ignore_ascii_case("y") { + for chain_id in rpc_urls.keys() { + println!(); + println!( + "{}", + format!("Configuration for Chain ID {}", chain_id).bold() + ); + + // Etherscan config for this chain + println!("Would you like to set an Etherscan configuration for this chain? (y/n)"); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + let mut input = String::new(); + io::stdin().read_line(&mut input).unwrap(); + if input.trim().eq_ignore_ascii_case("y") { + let mut api_key = String::new(); + loop { + println!( + "Please enter your Etherscan API key for chain {}:", + chain_id + ); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + io::stdin().read_line(&mut api_key).unwrap(); + api_key = api_key.trim().to_string(); + if !api_key.is_empty() { + break; + } + println!("{}", "API key cannot be empty.".yellow()); + } + + let mut api_url = String::new(); + println!("Please enter the Etherscan API URL for chain {}:", chain_id); + println!( + "Hit {} to use default value: {}", + "".green(), + &default_etherscan_api_url.to_string().green() + ); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + io::stdin().read_line(&mut api_url).unwrap(); + api_url = api_url.trim().to_string(); + if api_url.is_empty() { + api_url = default_etherscan_api_url.clone(); + } + + etherscan_chain_configs.insert( + *chain_id, + EtherscanConfig { + api_url: if api_url.is_empty() { + None + } else { + Some(api_url) + }, + api_key, + }, + ); + } + + // Blockscout config for this chain + println!("Would you like to set a Blockscout configuration for this chain? (y/n)"); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + let mut input = String::new(); + io::stdin().read_line(&mut input).unwrap(); + if input.trim().eq_ignore_ascii_case("y") { + let mut api_key = String::new(); + loop { + println!( + "Please enter your Blockscout API key for chain {}:", + chain_id + ); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + io::stdin().read_line(&mut api_key).unwrap(); + api_key = api_key.trim().to_string(); + if !api_key.is_empty() { + break; + } + println!("{}", "API key cannot be empty.".yellow()); + } + + let mut api_url = String::new(); + println!( + "Please enter the Blockscout API URL for chain {}:", + chain_id + ); + println!( + "Hit {} to use default value: {}", + "".green(), + &default_blockscout_api_url.green() + ); + print!("> "); + let _ = std::io::Write::flush(&mut std::io::stdout()); + io::stdin().read_line(&mut api_url).unwrap(); + api_url = api_url.trim().to_string(); + if api_url.is_empty() { + api_url = default_blockscout_api_url.clone(); + } + + blockscout_chain_configs.insert( + *chain_id, + BlockscoutConfig { + api_url: if api_url.is_empty() { + None + } else { + Some(api_url) + }, + api_key, + }, + ); + } } } @@ -712,10 +923,10 @@ impl DVFConfig { rpc_urls, dvf_storage, trusted_signers, - etherscan_test_api_url: None, - etherscan_api_key, - blockscout_test_api_url: None, - blockscout_api_key, + etherscan_global, + etherscan_chain_configs, + blockscout_global, + blockscout_chain_configs, max_blocks_per_event_query, web3_timeout, signer, @@ -777,29 +988,40 @@ impl DVFConfig { pub fn get_blockscout_api_key(&self) -> Result { match self.active_chain_id { None => Err(ValidationError::Error("No chain id chosen.".to_string())), - Some(chain_id) => match self.blockscout_api_key.get(&chain_id) { - None => Err(ValidationError::Error(format!( + Some(chain_id) => { + // First try chain-specific config + if let Some(chain_config) = self.blockscout_chain_configs.get(&chain_id) { + return Ok(chain_config.api_key.clone()); + } + // Then try global config + if let Some(global_config) = &self.blockscout_global { + return Ok(global_config.api_key.clone()); + } + Err(ValidationError::Error(format!( "No Blockscout API Key found in config for chain id {}.", chain_id - ))), - Some(key) => Ok(key.clone()), - }, + ))) + } } } pub fn get_etherscan_api_key(&self) -> Result { match self.active_chain_id { None => Err(ValidationError::Error("No chain id chosen.".to_string())), - Some(chain_id) => match self.etherscan_api_key.get(&chain_id) { - None => match self.etherscan_api_key.get(&0) { - Some(key) => Ok(key.clone()), - None => Err(ValidationError::Error(format!( - "No Etherscan API Key found in config for chain id {}.", - chain_id - ))), - }, - Some(key) => Ok(key.clone()), - }, + Some(chain_id) => { + // First try chain-specific config + if let Some(chain_config) = self.etherscan_chain_configs.get(&chain_id) { + return Ok(chain_config.api_key.clone()); + } + // Then try global config + if let Some(global_config) = &self.etherscan_global { + return Ok(global_config.api_key.clone()); + } + Err(ValidationError::Error(format!( + "No Etherscan API Key found in config for chain id {}.", + chain_id + ))) + } } } @@ -827,43 +1049,45 @@ impl DVFConfig { } pub fn get_etherscan_api_url(&self) -> Result { - if let Some(test_url) = &self.etherscan_test_api_url { - match self.active_chain_id { - Some(1337) | Some(31337) => { - return Err(ValidationError::from("Testnet, no Etherscan")) + match self.active_chain_id { + Some(chain_id) => { + // Return error for local development chains + if chain_id == 31337 || chain_id == 1337 { + return Err(ValidationError::from(format!( + "Etherscan API not available for local development chain id: {}.", + chain_id + ))); } - _ => return Ok(test_url.clone()), - } - } - match self.active_chain { - Some(active_chain) => match active_chain.etherscan_urls() { - Some((api_url, _base_url)) => Ok(api_url.to_string()), - None => Err(ValidationError::from( - "Invalid active chain. Cannot chose Etherscan API.", - )), - }, - None => Err(ValidationError::from( - "No active chain. Cannot chose Etherscan API.", - )), - } - } - pub fn get_etherscan_url(&self) -> Result { - if let Some(test_url) = &self.etherscan_test_api_url { - match self.active_chain_id { - Some(1337) | Some(31337) => { - return Err(ValidationError::from("Testnet, no Etherscan")) + // First try chain-specific config + if let Some(chain_config) = self.etherscan_chain_configs.get(&chain_id) { + if let Some(api_url) = &chain_config.api_url { + return Ok(api_url.clone()); + } else { + return Ok(String::from(Self::DEFAULT_ETHERSCAN_API_URL)); + } + } + // Then try global config + if let Some(global_config) = &self.etherscan_global { + if let Some(api_url) = &global_config.api_url { + return Ok(api_url.clone()); + } else { + return Ok(String::from(Self::DEFAULT_ETHERSCAN_API_URL)); + } + } + // Finally fall back to chain-specific URL + match self.active_chain { + Some(active_chain) => match active_chain.etherscan_urls() { + Some((api_url, _base_url)) => Ok(api_url.to_string()), + None => Err(ValidationError::from( + "Invalid active chain. Cannot chose Etherscan API.", + )), + }, + None => Err(ValidationError::from( + "No active chain. Cannot chose Etherscan API.", + )), } - _ => return Ok(test_url.clone()), } - } - match self.active_chain { - Some(active_chain) => match active_chain.etherscan_urls() { - Some((_api_url, base_url)) => Ok(base_url.to_string()), - None => Err(ValidationError::from( - "Invalid active chain. Cannot chose Etherscan API.", - )), - }, None => Err(ValidationError::from( "No active chain. Cannot chose Etherscan API.", )), @@ -871,33 +1095,57 @@ impl DVFConfig { } pub fn get_blockscout_api_url(&self) -> Result { - if let Some(test_url) = &self.blockscout_test_api_url { - match self.active_chain_id { - Some(1337) | Some(31337) => { - return Err(ValidationError::from("Testnet, no Blockscout")) + match self.active_chain_id { + Some(chain_id) => { + // Return error for local development chains + if chain_id == 31337 || chain_id == 1337 { + return Err(ValidationError::from(format!( + "Blockscout API not available for local development chain id: {}.", + chain_id + ))); } - _ => return Ok(test_url.clone()), + + // First try chain-specific config + if let Some(chain_config) = self.blockscout_chain_configs.get(&chain_id) { + if let Some(api_url) = &chain_config.api_url { + return Ok(api_url.clone()); + } else { + return Ok(String::from(Self::DEFAULT_BLOCKSCOUT_API_URL)); + } + } + // Then try global config + if let Some(global_config) = &self.blockscout_global { + if let Some(api_url) = &global_config.api_url { + return Ok(api_url.clone()); + } else { + return Ok(String::from(Self::DEFAULT_BLOCKSCOUT_API_URL)); + } + } + // Finally fall back to chain-specific URL + let hostname = match self.active_chain_id { + // Add More from https://www.blockscout.com/chains-and-projects + Some(1) => "eth.blockscout.com".to_string(), + Some(10) => "optimism.blockscout.com".to_string(), + Some(100) => "gnosis.blockscout.com".to_string(), + Some(130) => "unichain.blockscout.com".to_string(), + Some(137) => "polygon.blockscout.com".to_string(), + Some(8453) => "base.blockscout.com".to_string(), + Some(42161) => "arbitrum.blockscout.com".to_string(), + Some(81457) => "blast.blockscout.com".to_string(), + Some(11155111) => "eth-sepolia.blockscout.com".to_string(), + _ => { + return Err(ValidationError::from(format!( + "Invalid chain id: {:?}.", + self.active_chain_id + ))) + } + }; + Ok(format!("https://{hostname}")) } + None => Err(ValidationError::from( + "No active chain. Cannot chose Blockscout API.", + )), } - let hostname = match self.active_chain_id { - // Add More from https://www.blockscout.com/chains-and-projects - Some(1) => "eth.blockscout.com".to_string(), - Some(10) => "optimism.blockscout.com".to_string(), - Some(100) => "gnosis.blockscout.com".to_string(), - Some(130) => "unichain.blockscout.com".to_string(), - Some(137) => "polygon.blockscout.com".to_string(), - Some(8453) => "base.blockscout.com".to_string(), - Some(42161) => "arbitrum.blockscout.com".to_string(), - Some(81457) => "blast.blockscout.com".to_string(), - Some(11155111) => "eth-sepolia.blockscout.com".to_string(), - _ => { - return Err(ValidationError::from(format!( - "Invalid chain id: {:?}.", - self.active_chain_id - ))) - } - }; - Ok(format!("https://{hostname}")) } pub fn get_graphql_name(&self) -> Result { diff --git a/lib/dvf/parse.rs b/lib/dvf/parse.rs index 6b689c2e..9f0d32b1 100644 --- a/lib/dvf/parse.rs +++ b/lib/dvf/parse.rs @@ -16,7 +16,7 @@ use clap::ArgMatches; use foundry_compilers; -use alloy::primitives::{Address, Bytes, PrimitiveSignature, B256, U256}; +use alloy::primitives::{Address, Bytes, Signature, B256, U256}; use alloy::signers::Signer; use alloy_dyn_abi; use alloy_signer_ledger::LedgerError; @@ -486,8 +486,17 @@ impl CompleteDVF { match &self.signature { Some(sig) => match &sig.sig_data { Some(sig_data) => { - // let signature = PrimitiveSignature::from_str(sig_data).unwrap(); - let signature: PrimitiveSignature = serde_json::from_str(sig_data).unwrap(); + // Convert hex string to bytes + let sig_bytes = + hex::decode(sig_data.trim_start_matches("0x")).map_err(|_| { + ValidationError::Error("Invalid signature format".to_string()) + })?; + + // Create signature from bytes + let signature = Signature::from_raw(&sig_bytes).map_err(|_| { + ValidationError::Error("Invalid signature bytes".to_string()) + })?; + let sig_message = self.get_sig_message()?; debug!("sig_message: {:?}", sig_message); let rec_address = @@ -621,7 +630,10 @@ impl CompleteDVF { } }; if let Some(sig) = self.signature.as_mut() { - let signature_str = serde_json::to_string(&signature).unwrap(); + // Convert the signature to ERC-2098 format (r,vs) which is a [u8; 64] array + // Then convert to a hex string with 0x prefix + let erc2098_bytes: [u8; 65] = <[u8; 65]>::from(signature); + let signature_str = format!("0x{}", hex::encode(erc2098_bytes)); sig.sig_data = Some(signature_str); }; Ok(()) diff --git a/lib/web3.rs b/lib/web3.rs index 3b09528a..33412d4c 100644 --- a/lib/web3.rs +++ b/lib/web3.rs @@ -469,8 +469,9 @@ fn get_deployment_tx_from_etherscan( address: &Address, ) -> Result { let url = format!( - "{}?module=contract&action=getcontractcreation&contractaddresses={:?}&apikey={}", + "{}?chainid={}&module=contract&action=getcontractcreation&contractaddresses={:?}&apikey={}", config.get_etherscan_api_url()?, + config.active_chain_id.unwrap(), address, config.get_etherscan_api_key()? ); @@ -502,12 +503,9 @@ fn send_blocking_blockscout_get( .build() .unwrap(); - // Base URL of the API - let base_url = format!("{}/api", config.get_blockscout_api_url()?); - let full_url = format!( "{}{}&apikey={}", - base_url, + config.get_blockscout_api_url()?, request, config.get_blockscout_api_key()? ); @@ -807,11 +805,6 @@ struct EtherscanResult { // ... much more we don't care about: https://docs.etherscan.io/api-endpoints/accounts } -#[derive(Debug, Serialize, Deserialize, Clone)] -struct EtherscanTransaction { - pub hash: String, -} - // Inclusive for start_block and end_block pub fn get_all_txs_for_contract( config: &DVFConfig, diff --git a/src/dvf.rs b/src/dvf.rs index 6f483fd4..c345b398 100644 --- a/src/dvf.rs +++ b/src/dvf.rs @@ -1288,7 +1288,7 @@ fn process(matches: ArgMatches) -> Result<(), ValidationError> { for seen_event in &seen_events { if seen_event.topic0() == Some(&topic0) { let log_inner = &seen_event.inner; - let decoded_event = abi_event.decode_log(log_inner, true)?; + let decoded_event = abi_event.decode_log(log_inner)?; let pretty_event = pretty_printer.pretty_event_params(abi_event, &decoded_event, true); diff --git a/src/fetch.rs b/src/fetch.rs index db554230..21b130a5 100644 --- a/src/fetch.rs +++ b/src/fetch.rs @@ -10,6 +10,7 @@ use std::thread::sleep; use std::time::Duration; use alloy::primitives::Address; +use alloy_chains::Chain; use clap::ArgMatches; use clap::{arg, command, value_parser, ArgAction}; use dvf_libs::dvf::config::DVFConfig; @@ -242,10 +243,11 @@ fn fetch(matches: &ArgMatches) -> Result<(), ValidationError> { let client = Client::builder() .with_api_key(config.get_etherscan_api_key()?) - .with_url(config.get_etherscan_url()?) + .with_url(config.get_etherscan_api_url()?) .unwrap() .with_api_url(config.get_etherscan_api_url()?) .unwrap() + .with_chain_id(Chain::from(chain_id)) .build() .unwrap(); let address: Address = address_str.parse().unwrap(); diff --git a/tests/cachedrpc/02445489ce62f0604c37010c257333abb0e70c76bb143f51a7655faa0c999865 b/tests/cachedrpc/02445489ce62f0604c37010c257333abb0e70c76bb143f51a7655faa0c999865 new file mode 100644 index 00000000..1926396e --- /dev/null +++ b/tests/cachedrpc/02445489ce62f0604c37010c257333abb0e70c76bb143f51a7655faa0c999865 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.4.13;\r\n\r\nlibrary SafeMath {\r\n\r\n /**\r\n * @dev Multiplies two numbers, throws on overflow.\r\n */\r\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {\r\n // Gas optimization: this is cheaper than asserting 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\r\n if (_a == 0) {\r\n return 0;\r\n }\r\n\r\n c = _a * _b;\r\n assert(c / _a == _b);\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Integer division of two numbers, truncating the quotient.\r\n */\r\n function div(uint256 _a, uint256 _b) internal pure returns (uint256) {\r\n // assert(_b > 0); // Solidity automatically throws when dividing by 0\r\n // uint256 c = _a / _b;\r\n // assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold\r\n return _a / _b;\r\n }\r\n\r\n /**\r\n * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).\r\n */\r\n function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {\r\n assert(_b <= _a);\r\n return _a - _b;\r\n }\r\n\r\n /**\r\n * @dev Adds two numbers, throws on overflow.\r\n */\r\n function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) {\r\n c = _a + _b;\r\n assert(c >= _a);\r\n return c;\r\n }\r\n}\r\n\r\ncontract Ownable {\r\n address public owner;\r\n\r\n\r\n event OwnershipRenounced(address indexed previousOwner);\r\n event OwnershipTransferred(\r\n address indexed previousOwner,\r\n address indexed newOwner\r\n );\r\n\r\n\r\n /**\r\n * @dev The Ownable constructor sets the original `owner` of the contract to the sender\r\n * account.\r\n */\r\n constructor() public {\r\n owner = msg.sender;\r\n }\r\n\r\n /**\r\n * @dev Throws if called by any account other than the owner.\r\n */\r\n modifier onlyOwner() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Allows the current owner to relinquish control of the contract.\r\n * @notice Renouncing to ownership will leave the contract without an owner.\r\n * It will not be possible to call the functions with the `onlyOwner`\r\n * modifier anymore.\r\n */\r\n function renounceOwnership() public onlyOwner {\r\n emit OwnershipRenounced(owner);\r\n owner = address(0);\r\n }\r\n\r\n /**\r\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\r\n * @param _newOwner The address to transfer ownership to.\r\n */\r\n function transferOwnership(address _newOwner) public onlyOwner {\r\n _transferOwnership(_newOwner);\r\n }\r\n\r\n /**\r\n * @dev Transfers control of the contract to a newOwner.\r\n * @param _newOwner The address to transfer ownership to.\r\n */\r\n function _transferOwnership(address _newOwner) internal {\r\n require(_newOwner != address(0));\r\n emit OwnershipTransferred(owner, _newOwner);\r\n owner = _newOwner;\r\n }\r\n}\r\n\r\ncontract ERC20Basic {\r\n function totalSupply() public view returns (uint256);\r\n function balanceOf(address _who) public view returns (uint256);\r\n function transfer(address _to, uint256 _value) public returns (bool);\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n}\r\n\r\ncontract BasicToken is ERC20Basic {\r\n using SafeMath for uint256;\r\n\r\n mapping(address => uint256) internal balances;\r\n\r\n uint256 internal totalSupply_;\r\n\r\n /**\r\n * @dev Total number of tokens in existence\r\n */\r\n function totalSupply() public view returns (uint256) {\r\n return totalSupply_;\r\n }\r\n\r\n /**\r\n * @dev Transfer token for a specified address\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n */\r\n function transfer(address _to, uint256 _value) public returns (bool) {\r\n require(_value <= balances[msg.sender]);\r\n require(_to != address(0));\r\n\r\n balances[msg.sender] = balances[msg.sender].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n emit Transfer(msg.sender, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Gets the balance of the specified address.\r\n * @param _owner The address to query the the balance of.\r\n * @return An uint256 representing the amount owned by the passed address.\r\n */\r\n function balanceOf(address _owner) public view returns (uint256) {\r\n return balances[_owner];\r\n }\r\n\r\n}\r\n\r\ncontract ERC20 is ERC20Basic {\r\n function allowance(address _owner, address _spender)\r\n public view returns (uint256);\r\n\r\n function transferFrom(address _from, address _to, uint256 _value)\r\n public returns (bool);\r\n\r\n function approve(address _spender, uint256 _value) public returns (bool);\r\n event Approval(\r\n address indexed owner,\r\n address indexed spender,\r\n uint256 value\r\n );\r\n}\r\n\r\ncontract StandardToken is ERC20, BasicToken {\r\n\r\n mapping (address => mapping (address => uint256)) internal allowed;\r\n\r\n\r\n /**\r\n * @dev Transfer tokens from one address to another\r\n * @param _from address The address which you want to send tokens from\r\n * @param _to address The address which you want to transfer to\r\n * @param _value uint256 the amount of tokens to be transferred\r\n */\r\n function transferFrom(\r\n address _from,\r\n address _to,\r\n uint256 _value\r\n )\r\n public\r\n returns (bool)\r\n {\r\n require(_value <= balances[_from]);\r\n require(_value <= allowed[_from][msg.sender]);\r\n require(_to != address(0));\r\n\r\n balances[_from] = balances[_from].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);\r\n emit Transfer(_from, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\r\n * Beware that changing an allowance with this method brings the risk that someone may use both the old\r\n * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this\r\n * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:\r\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n * @param _spender The address which will spend the funds.\r\n * @param _value The amount of tokens to be spent.\r\n */\r\n function approve(address _spender, uint256 _value) public returns (bool) {\r\n allowed[msg.sender][_spender] = _value;\r\n emit Approval(msg.sender, _spender, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Function to check the amount of tokens that an owner allowed to a spender.\r\n * @param _owner address The address which owns the funds.\r\n * @param _spender address The address which will spend the funds.\r\n * @return A uint256 specifying the amount of tokens still available for the spender.\r\n */\r\n function allowance(\r\n address _owner,\r\n address _spender\r\n )\r\n public\r\n view\r\n returns (uint256)\r\n {\r\n return allowed[_owner][_spender];\r\n }\r\n\r\n /**\r\n * @dev Increase the amount of tokens that an owner allowed to a spender.\r\n * approve should be called when allowed[_spender] == 0. To increment\r\n * allowed value is better to use this function to avoid 2 calls (and wait until\r\n * the first transaction is mined)\r\n * From MonolithDAO Token.sol\r\n * @param _spender The address which will spend the funds.\r\n * @param _addedValue The amount of tokens to increase the allowance by.\r\n */\r\n function increaseApproval(\r\n address _spender,\r\n uint256 _addedValue\r\n )\r\n public\r\n returns (bool)\r\n {\r\n allowed[msg.sender][_spender] = (\r\n allowed[msg.sender][_spender].add(_addedValue));\r\n emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Decrease the amount of tokens that an owner allowed to a spender.\r\n * approve should be called when allowed[_spender] == 0. To decrement\r\n * allowed value is better to use this function to avoid 2 calls (and wait until\r\n * the first transaction is mined)\r\n * From MonolithDAO Token.sol\r\n * @param _spender The address which will spend the funds.\r\n * @param _subtractedValue The amount of tokens to decrease the allowance by.\r\n */\r\n function decreaseApproval(\r\n address _spender,\r\n uint256 _subtractedValue\r\n )\r\n public\r\n returns (bool)\r\n {\r\n uint256 oldValue = allowed[msg.sender][_spender];\r\n if (_subtractedValue >= oldValue) {\r\n allowed[msg.sender][_spender] = 0;\r\n } else {\r\n allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);\r\n }\r\n emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n}\r\n\r\ncontract MintableToken is StandardToken, Ownable {\r\n event Mint(address indexed to, uint256 amount);\r\n event MintFinished();\r\n\r\n bool public mintingFinished = false;\r\n\r\n\r\n modifier canMint() {\r\n require(!mintingFinished);\r\n _;\r\n }\r\n\r\n modifier hasMintPermission() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Function to mint tokens\r\n * @param _to The address that will receive the minted tokens.\r\n * @param _amount The amount of tokens to mint.\r\n * @return A boolean that indicates if the operation was successful.\r\n */\r\n function mint(\r\n address _to,\r\n uint256 _amount\r\n )\r\n public\r\n hasMintPermission\r\n canMint\r\n returns (bool)\r\n {\r\n totalSupply_ = totalSupply_.add(_amount);\r\n balances[_to] = balances[_to].add(_amount);\r\n emit Mint(_to, _amount);\r\n emit Transfer(address(0), _to, _amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Function to stop minting new tokens.\r\n * @return True if the operation was successful.\r\n */\r\n function finishMinting() public onlyOwner canMint returns (bool) {\r\n mintingFinished = true;\r\n emit MintFinished();\r\n return true;\r\n }\r\n}\r\n\r\ncontract ReleasableToken is ERC20, Ownable {\r\n\r\n /* The finalizer contract that allows unlift the transfer limits on this token */\r\n address public releaseAgent;\r\n\r\n /** A crowdsale contract can release us to the wild if the sale is a success. If false we are are in transfer lock up period.*/\r\n bool public released = false;\r\n\r\n /** Map of agents that are allowed to transfer tokens regardless of the lock down period. These are crowdsale contracts and possible the team multisig itself. */\r\n mapping(address => bool) public transferAgents;\r\n\r\n /**\r\n * Limit token transfer until the crowdsale is over.\r\n *\r\n */\r\n modifier canTransfer(address _sender) {\r\n require(released || transferAgents[_sender], \"For the token to be able to transfer: it's required that the crowdsale is in released state; or the sender is a transfer agent.\");\r\n _;\r\n }\r\n\r\n /**\r\n * Set the contract that can call release and make the token transferable.\r\n *\r\n * Design choice. Allow reset the release agent to fix fat finger mistakes.\r\n */\r\n function setReleaseAgent(address addr) public onlyOwner inReleaseState(false) {\r\n\r\n // We don't do interface check here as we might want to a normal wallet address to act as a release agent\r\n releaseAgent = addr;\r\n }\r\n\r\n /**\r\n * Owner can allow a particular address (a crowdsale contract) to transfer tokens despite the lock up period.\r\n */\r\n function setTransferAgent(address addr, bool state) public onlyOwner inReleaseState(false) {\r\n transferAgents[addr] = state;\r\n }\r\n\r\n /**\r\n * One way function to release the tokens to the wild.\r\n *\r\n * Can be called only from the release agent that is the final sale contract. It is only called if the crowdsale has been success (first milestone reached).\r\n */\r\n function releaseTokenTransfer() public onlyReleaseAgent {\r\n released = true;\r\n }\r\n\r\n /** The function can be called only before or after the tokens have been released */\r\n modifier inReleaseState(bool releaseState) {\r\n require(releaseState == released, \"It's required that the state to check aligns with the released flag.\");\r\n _;\r\n }\r\n\r\n /** The function can be called only by a whitelisted release agent. */\r\n modifier onlyReleaseAgent() {\r\n require(msg.sender == releaseAgent, \"Message sender is required to be a release agent.\");\r\n _;\r\n }\r\n\r\n function transfer(address _to, uint _value) public canTransfer(msg.sender) returns (bool success) {\r\n // Call StandardToken.transfer()\r\n return super.transfer(_to, _value);\r\n }\r\n\r\n function transferFrom(address _from, address _to, uint _value) public canTransfer(_from) returns (bool success) {\r\n // Call StandardToken.transferForm()\r\n return super.transferFrom(_from, _to, _value);\r\n }\r\n\r\n}\r\n\r\ncontract UpgradeableToken is StandardToken {\r\n\r\n using SafeMath for uint256;\r\n\r\n\r\n /** Contract / person who can set the upgrade path. This can be the same as team multisig wallet, as what it is with its default value. */\r\n address public upgradeMaster;\r\n\r\n /** The next contract where the tokens will be migrated. */\r\n UpgradeAgent public upgradeAgent;\r\n\r\n /** How many tokens we have upgraded by now. */\r\n uint256 public totalUpgraded;\r\n\r\n /**\r\n * Upgrade states.\r\n *\r\n * - NotAllowed: The child contract has not reached a condition where the upgrade can begin\r\n * - WaitingForAgent: Token allows upgrade, but we don't have a new agent yet\r\n * - ReadyToUpgrade: The agent is set and the balance holders can upgrade their tokens\r\n *\r\n */\r\n enum UpgradeState {Unknown, NotAllowed, WaitingForAgent, ReadyToUpgrade}\r\n\r\n /**\r\n * Somebody has upgraded some of his tokens.\r\n */\r\n event Upgrade(address indexed _from, address indexed _to, uint256 _value);\r\n\r\n /**\r\n * New upgrade agent available.\r\n */\r\n event UpgradeAgentSet(address agent);\r\n\r\n /**\r\n * Do not allow construction without upgrade master set.\r\n */\r\n constructor(address _upgradeMaster) public {\r\n upgradeMaster = _upgradeMaster;\r\n }\r\n\r\n /**\r\n * Allow the token holder to upgrade some of their tokens to a new contract.\r\n */\r\n function upgrade(uint256 value) public {\r\n\r\n UpgradeState state = getUpgradeState();\r\n\r\n require(state == UpgradeState.ReadyToUpgrade, \"It's required that the upgrade state is ready.\");\r\n\r\n // Validate input value.\r\n require(value > 0, \"The upgrade value is required to be above 0.\");\r\n\r\n balances[msg.sender] = balances[msg.sender].sub(value);\r\n\r\n // Take tokens out from circulation\r\n totalSupply_ = totalSupply_.sub(value);\r\n totalUpgraded = totalUpgraded.add(value);\r\n\r\n // Upgrade agent reissues the tokens\r\n upgradeAgent.upgradeFrom(msg.sender, value);\r\n emit Upgrade(msg.sender, upgradeAgent, value);\r\n }\r\n\r\n /**\r\n * Set an upgrade agent that handles\r\n */\r\n function setUpgradeAgent(address agent) external {\r\n\r\n require(canUpgrade(), \"It's required to be in canUpgrade() condition when setting upgrade agent.\");\r\n\r\n require(agent != address(0), \"Agent is required to be an non-empty address when setting upgrade agent.\");\r\n\r\n // Only a master can designate the next agent\r\n require(msg.sender == upgradeMaster, \"Message sender is required to be the upgradeMaster when setting upgrade agent.\");\r\n\r\n // Upgrade has already begun for an agent\r\n require(getUpgradeState() != UpgradeState.ReadyToUpgrade, \"Upgrade state is required to not be upgrading when setting upgrade agent.\");\r\n\r\n require(address(upgradeAgent) == address(0), \"upgradeAgent once set, cannot be reset\");\r\n\r\n upgradeAgent = UpgradeAgent(agent);\r\n\r\n // Bad interface\r\n require(upgradeAgent.isUpgradeAgent(), \"The provided updateAgent contract is required to be compliant to the UpgradeAgent interface method when setting upgrade agent.\");\r\n\r\n // Make sure that token supplies match in source and target\r\n require(upgradeAgent.originalSupply() == totalSupply_, \"The provided upgradeAgent contract's originalSupply is required to be equivalent to existing contract's totalSupply_ when setting upgrade agent.\");\r\n\r\n emit UpgradeAgentSet(upgradeAgent);\r\n }\r\n\r\n /**\r\n * Get the state of the token upgrade.\r\n */\r\n function getUpgradeState() public view returns (UpgradeState) {\r\n if (!canUpgrade()) return UpgradeState.NotAllowed;\r\n else if (address(upgradeAgent) == address(0)) return UpgradeState.WaitingForAgent;\r\n else return UpgradeState.ReadyToUpgrade;\r\n }\r\n\r\n /**\r\n * Change the upgrade master.\r\n *\r\n * This allows us to set a new owner for the upgrade mechanism.\r\n */\r\n function setUpgradeMaster(address master) public {\r\n require(master != address(0), \"The provided upgradeMaster is required to be a non-empty address when setting upgrade master.\");\r\n\r\n require(msg.sender == upgradeMaster, \"Message sender is required to be the original upgradeMaster when setting (new) upgrade master.\");\r\n\r\n upgradeMaster = master;\r\n }\r\n\r\n bool canUpgrade_ = true;\r\n\r\n /**\r\n * Child contract can enable to provide the condition when the upgrade can begin.\r\n */\r\n function canUpgrade() public view returns (bool) {\r\n return canUpgrade_;\r\n }\r\n\r\n}\r\n\r\ncontract CroToken is ReleasableToken, MintableToken, UpgradeableToken {\r\n\r\n event UpdatedTokenInformation(string newName, string newSymbol);\r\n\r\n string public name;\r\n\r\n string public symbol;\r\n\r\n uint8 public decimals;\r\n\r\n address public secondarySaleReserveWallet;\r\n address public mainNetLaunchIncentiveReserveWallet;\r\n address public capitalReserveWallet;\r\n address public ecosystemGrantsReserveWallet;\r\n address public airdropReserveWallet;\r\n\r\n /**\r\n * Construct the token.\r\n *\r\n * This token must be created through a team multisig wallet, so that it is owned by that wallet.\r\n *\r\n * @param _name Token name\r\n * @param _symbol Token symbol - should be all caps\r\n * @param _initialSupply How many tokens we start with\r\n * @param _decimals Number of decimal places\r\n * @param _mintable Are new tokens created over the crowdsale or do we distribute only the initial supply? Note that when the token becomes transferable the minting always ends.\r\n */\r\n constructor(string _name, string _symbol, uint256 _initialSupply, uint8 _decimals, bool _mintable,\r\n address _secondarySaleReserveWallet,\r\n address _mainNetLaunchIncentiveReserveWallet,\r\n address _capitalReserveWallet,\r\n address _ecosystemGrantsReserveWallet,\r\n address _airdropReserveWallet)\r\n public UpgradeableToken(msg.sender) {\r\n\r\n // Create any address, can be transferred\r\n // to team multisig via changeOwner(),\r\n // also remember to call setUpgradeMaster()\r\n owner = msg.sender;\r\n releaseAgent = owner;\r\n\r\n name = _name;\r\n symbol = _symbol;\r\n\r\n decimals = _decimals;\r\n\r\n secondarySaleReserveWallet = _secondarySaleReserveWallet;\r\n mainNetLaunchIncentiveReserveWallet = _mainNetLaunchIncentiveReserveWallet;\r\n capitalReserveWallet = _capitalReserveWallet;\r\n ecosystemGrantsReserveWallet = _ecosystemGrantsReserveWallet;\r\n airdropReserveWallet = _airdropReserveWallet;\r\n\r\n if (_initialSupply > 0) {\r\n require((_initialSupply % 10) == 0, \"_initialSupply has to be a mulitple of 10\");\r\n uint256 thirtyPerCent = _initialSupply.mul(3).div(10);\r\n uint256 twentyPerCent = _initialSupply.mul(2).div(10);\r\n uint256 tenPerCent = _initialSupply.div(10);\r\n\r\n mint(secondarySaleReserveWallet, thirtyPerCent);\r\n\r\n mint(mainNetLaunchIncentiveReserveWallet, twentyPerCent);\r\n\r\n mint(capitalReserveWallet, twentyPerCent);\r\n\r\n mint(ecosystemGrantsReserveWallet, twentyPerCent);\r\n\r\n mint(airdropReserveWallet, tenPerCent);\r\n\r\n }\r\n\r\n // No more new supply allowed after the token creation\r\n if (!_mintable) {\r\n finishMinting();\r\n require(totalSupply_ > 0, \"Total supply is required to be above 0 if the token is not mintable.\");\r\n }\r\n\r\n }\r\n\r\n /**\r\n * When token is released to be transferable, enforce no new tokens can be created.\r\n */\r\n function releaseTokenTransfer() public onlyReleaseAgent {\r\n mintingFinished = true;\r\n super.releaseTokenTransfer();\r\n }\r\n\r\n /**\r\n * Allow upgrade agent functionality kick in only if the crowdsale was success.\r\n */\r\n function canUpgrade() public view returns (bool) {\r\n return released && super.canUpgrade();\r\n }\r\n\r\n // Total supply\r\n function totalSupply() public view returns (uint) {\r\n return totalSupply_.sub(balances[address(0)]);\r\n }\r\n\r\n}\r\n\r\ncontract UpgradeAgent {\r\n\r\n uint public originalSupply;\r\n\r\n /** Interface marker */\r\n function isUpgradeAgent() public pure returns (bool) {\r\n return true;\r\n }\r\n\r\n function upgradeFrom(address _from, uint256 _value) public;\r\n\r\n}","ABI":"[{\"constant\":false,\"inputs\":[{\"name\":\"addr\",\"type\":\"address\"},{\"name\":\"state\",\"type\":\"bool\"}],\"name\":\"setTransferAgent\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"mintingFinished\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"secondarySaleReserveWallet\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setReleaseAgent\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"upgrade\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"upgradeAgent\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"releaseTokenTransfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"upgradeMaster\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"mainNetLaunchIncentiveReserveWallet\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseApproval\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finishMinting\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getUpgradeState\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferAgents\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"released\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"canUpgrade\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"capitalReserveWallet\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"airdropReserveWallet\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalUpgraded\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"releaseAgent\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseApproval\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"setUpgradeAgent\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ecosystemGrantsReserveWallet\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"master\",\"type\":\"address\"}],\"name\":\"setUpgradeMaster\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_initialSupply\",\"type\":\"uint256\"},{\"name\":\"_decimals\",\"type\":\"uint8\"},{\"name\":\"_mintable\",\"type\":\"bool\"},{\"name\":\"_secondarySaleReserveWallet\",\"type\":\"address\"},{\"name\":\"_mainNetLaunchIncentiveReserveWallet\",\"type\":\"address\"},{\"name\":\"_capitalReserveWallet\",\"type\":\"address\"},{\"name\":\"_ecosystemGrantsReserveWallet\",\"type\":\"address\"},{\"name\":\"_airdropReserveWallet\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"newName\",\"type\":\"string\"},{\"indexed\":false,\"name\":\"newSymbol\",\"type\":\"string\"}],\"name\":\"UpdatedTokenInformation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Upgrade\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"UpgradeAgentSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"MintFinished\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"}],\"name\":\"OwnershipRenounced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]","ContractName":"CroToken","CompilerVersion":"v0.4.24+commit.e67f0147","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035f517cab9a37bc31091c2f155d965af84e0bc8500000000000000000000000071507ee19cbc0c87ff2b5e05d161efe2aac4ee0700000000000000000000000022e4f709fd5e7fe246fbf7e714ae89bdab7e2a5d000000000000000000000000dda508f9f3c1b4ca39c8794df3a080298ebe9c5500000000000000000000000067703f7d089f3ac7c8c13a18b2381cbd7ee3eded000000000000000000000000000000000000000000000000000000000000000343524f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000343524f0000000000000000000000000000000000000000000000000000000000","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://b1e04321bb9e830b1d8318c500afb2b83bdfb0cdeed898227da51bf1bbc41467","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/0333fb1071227381693d079fde7e5b44920f63bde6ccd0d466d79660a4e05d8b b/tests/cachedrpc/0333fb1071227381693d079fde7e5b44920f63bde6ccd0d466d79660a4e05d8b new file mode 100644 index 00000000..5893a32a --- /dev/null +++ b/tests/cachedrpc/0333fb1071227381693d079fde7e5b44920f63bde6ccd0d466d79660a4e05d8b @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.4.24;\r\n// File: @aragon/apps-shared-minime/contracts/ITokenController.sol\r\n/// @dev The token controller contract must implement these functions\r\n\r\n\r\ninterface ITokenController {\r\n /// @notice Called when `_owner` sends ether to the MiniMe Token contract\r\n /// @param _owner The address that sent the ether to create tokens\r\n /// @return True if the ether is accepted, false if it throws\r\n function proxyPayment(address _owner) external payable returns(bool);\r\n\r\n /// @notice Notifies the controller about a token transfer allowing the\r\n /// controller to react if desired\r\n /// @param _from The origin of the transfer\r\n /// @param _to The destination of the transfer\r\n /// @param _amount The amount of the transfer\r\n /// @return False if the controller does not authorize the transfer\r\n function onTransfer(address _from, address _to, uint _amount) external returns(bool);\r\n\r\n /// @notice Notifies the controller about an approval allowing the\r\n /// controller to react if desired\r\n /// @param _owner The address that calls `approve()`\r\n /// @param _spender The spender in the `approve()` call\r\n /// @param _amount The amount in the `approve()` call\r\n /// @return False if the controller does not authorize the approval\r\n function onApprove(address _owner, address _spender, uint _amount) external returns(bool);\r\n}\r\n// File: @aragon/apps-shared-minime/contracts/MiniMeToken.sol\r\n/*\r\n Copyright 2016, Jordi Baylina\r\n This program is free software: you can redistribute it and/or modify\r\n it under the terms of the GNU General Public License as published by\r\n the Free Software Foundation, either version 3 of the License, or\r\n (at your option) any later version.\r\n This program is distributed in the hope that it will be useful,\r\n but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n GNU General Public License for more details.\r\n You should have received a copy of the GNU General Public License\r\n along with this program. If not, see .\r\n */\r\n\r\n/// @title MiniMeToken Contract\r\n/// @author Jordi Baylina\r\n/// @dev This token contract's goal is to make it easy for anyone to clone this\r\n/// token using the token distribution at a given block, this will allow DAO's\r\n/// and DApps to upgrade their features in a decentralized manner without\r\n/// affecting the original token\r\n/// @dev It is ERC20 compliant, but still needs to under go further testing.\r\n\r\n\r\ncontract Controlled {\r\n /// @notice The address of the controller is the only address that can call\r\n /// a function with this modifier\r\n modifier onlyController {\r\n require(msg.sender == controller);\r\n _;\r\n }\r\n\r\n address public controller;\r\n\r\n function Controlled() public { controller = msg.sender;}\r\n\r\n /// @notice Changes the controller of the contract\r\n /// @param _newController The new controller of the contract\r\n function changeController(address _newController) onlyController public {\r\n controller = _newController;\r\n }\r\n}\r\n\r\ncontract ApproveAndCallFallBack {\r\n function receiveApproval(\r\n address from,\r\n uint256 _amount,\r\n address _token,\r\n bytes _data\r\n ) public;\r\n}\r\n\r\n/// @dev The actual token contract, the default controller is the msg.sender\r\n/// that deploys the contract, so usually this token will be deployed by a\r\n/// token controller contract, which Giveth will call a \"Campaign\"\r\ncontract MiniMeToken is Controlled {\r\n\r\n string public name; //The Token's name: e.g. DigixDAO Tokens\r\n uint8 public decimals; //Number of decimals of the smallest unit\r\n string public symbol; //An identifier: e.g. REP\r\n string public version = \"MMT_0.1\"; //An arbitrary versioning scheme\r\n\r\n\r\n /// @dev `Checkpoint` is the structure that attaches a block number to a\r\n /// given value, the block number attached is the one that last changed the\r\n /// value\r\n struct Checkpoint {\r\n\r\n // `fromBlock` is the block number that the value was generated from\r\n uint128 fromBlock;\r\n\r\n // `value` is the amount of tokens at a specific block number\r\n uint128 value;\r\n }\r\n\r\n // `parentToken` is the Token address that was cloned to produce this token;\r\n // it will be 0x0 for a token that was not cloned\r\n MiniMeToken public parentToken;\r\n\r\n // `parentSnapShotBlock` is the block number from the Parent Token that was\r\n // used to determine the initial distribution of the Clone Token\r\n uint public parentSnapShotBlock;\r\n\r\n // `creationBlock` is the block number that the Clone Token was created\r\n uint public creationBlock;\r\n\r\n // `balances` is the map that tracks the balance of each address, in this\r\n // contract when the balance changes the block number that the change\r\n // occurred is also included in the map\r\n mapping (address => Checkpoint[]) balances;\r\n\r\n // `allowed` tracks any extra transfer rights as in all ERC20 tokens\r\n mapping (address => mapping (address => uint256)) allowed;\r\n\r\n // Tracks the history of the `totalSupply` of the token\r\n Checkpoint[] totalSupplyHistory;\r\n\r\n // Flag that determines if the token is transferable or not.\r\n bool public transfersEnabled;\r\n\r\n // The factory used to create new clone tokens\r\n MiniMeTokenFactory public tokenFactory;\r\n\r\n////////////////\r\n// Constructor\r\n////////////////\r\n\r\n /// @notice Constructor to create a MiniMeToken\r\n /// @param _tokenFactory The address of the MiniMeTokenFactory contract that\r\n /// will create the Clone token contracts, the token factory needs to be\r\n /// deployed first\r\n /// @param _parentToken Address of the parent token, set to 0x0 if it is a\r\n /// new token\r\n /// @param _parentSnapShotBlock Block of the parent token that will\r\n /// determine the initial distribution of the clone token, set to 0 if it\r\n /// is a new token\r\n /// @param _tokenName Name of the new token\r\n /// @param _decimalUnits Number of decimals of the new token\r\n /// @param _tokenSymbol Token Symbol for the new token\r\n /// @param _transfersEnabled If true, tokens will be able to be transferred\r\n function MiniMeToken(\r\n MiniMeTokenFactory _tokenFactory,\r\n MiniMeToken _parentToken,\r\n uint _parentSnapShotBlock,\r\n string _tokenName,\r\n uint8 _decimalUnits,\r\n string _tokenSymbol,\r\n bool _transfersEnabled\r\n ) public\r\n {\r\n tokenFactory = _tokenFactory;\r\n name = _tokenName; // Set the name\r\n decimals = _decimalUnits; // Set the decimals\r\n symbol = _tokenSymbol; // Set the symbol\r\n parentToken = _parentToken;\r\n parentSnapShotBlock = _parentSnapShotBlock;\r\n transfersEnabled = _transfersEnabled;\r\n creationBlock = block.number;\r\n }\r\n\r\n\r\n///////////////////\r\n// ERC20 Methods\r\n///////////////////\r\n\r\n /// @notice Send `_amount` tokens to `_to` from `msg.sender`\r\n /// @param _to The address of the recipient\r\n /// @param _amount The amount of tokens to be transferred\r\n /// @return Whether the transfer was successful or not\r\n function transfer(address _to, uint256 _amount) public returns (bool success) {\r\n require(transfersEnabled);\r\n return doTransfer(msg.sender, _to, _amount);\r\n }\r\n\r\n /// @notice Send `_amount` tokens to `_to` from `_from` on the condition it\r\n /// is approved by `_from`\r\n /// @param _from The address holding the tokens being transferred\r\n /// @param _to The address of the recipient\r\n /// @param _amount The amount of tokens to be transferred\r\n /// @return True if the transfer was successful\r\n function transferFrom(address _from, address _to, uint256 _amount) public returns (bool success) {\r\n\r\n // The controller of this contract can move tokens around at will,\r\n // this is important to recognize! Confirm that you trust the\r\n // controller of this contract, which in most situations should be\r\n // another open source smart contract or 0x0\r\n if (msg.sender != controller) {\r\n require(transfersEnabled);\r\n\r\n // The standard ERC 20 transferFrom functionality\r\n if (allowed[_from][msg.sender] < _amount)\r\n return false;\r\n allowed[_from][msg.sender] -= _amount;\r\n }\r\n return doTransfer(_from, _to, _amount);\r\n }\r\n\r\n /// @dev This is the actual transfer function in the token contract, it can\r\n /// only be called by other functions in this contract.\r\n /// @param _from The address holding the tokens being transferred\r\n /// @param _to The address of the recipient\r\n /// @param _amount The amount of tokens to be transferred\r\n /// @return True if the transfer was successful\r\n function doTransfer(address _from, address _to, uint _amount) internal returns(bool) {\r\n if (_amount == 0) {\r\n return true;\r\n }\r\n require(parentSnapShotBlock < block.number);\r\n // Do not allow transfer to 0x0 or the token contract itself\r\n require((_to != 0) && (_to != address(this)));\r\n // If the amount being transfered is more than the balance of the\r\n // account the transfer returns false\r\n var previousBalanceFrom = balanceOfAt(_from, block.number);\r\n if (previousBalanceFrom < _amount) {\r\n return false;\r\n }\r\n // Alerts the token controller of the transfer\r\n if (isContract(controller)) {\r\n // Adding the ` == true` makes the linter shut up so...\r\n require(ITokenController(controller).onTransfer(_from, _to, _amount) == true);\r\n }\r\n // First update the balance array with the new value for the address\r\n // sending the tokens\r\n updateValueAtNow(balances[_from], previousBalanceFrom - _amount);\r\n // Then update the balance array with the new value for the address\r\n // receiving the tokens\r\n var previousBalanceTo = balanceOfAt(_to, block.number);\r\n require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow\r\n updateValueAtNow(balances[_to], previousBalanceTo + _amount);\r\n // An event to make the transfer easy to find on the blockchain\r\n Transfer(_from, _to, _amount);\r\n return true;\r\n }\r\n\r\n /// @param _owner The address that's balance is being requested\r\n /// @return The balance of `_owner` at the current block\r\n function balanceOf(address _owner) public constant returns (uint256 balance) {\r\n return balanceOfAt(_owner, block.number);\r\n }\r\n\r\n /// @notice `msg.sender` approves `_spender` to spend `_amount` tokens on\r\n /// its behalf. This is a modified version of the ERC20 approve function\r\n /// to be a little bit safer\r\n /// @param _spender The address of the account able to transfer the tokens\r\n /// @param _amount The amount of tokens to be approved for transfer\r\n /// @return True if the approval was successful\r\n function approve(address _spender, uint256 _amount) public returns (bool success) {\r\n require(transfersEnabled);\r\n\r\n // To change the approve amount you first have to reduce the addresses`\r\n // allowance to zero by calling `approve(_spender,0)` if it is not\r\n // already 0 to mitigate the race condition described here:\r\n // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n require((_amount == 0) || (allowed[msg.sender][_spender] == 0));\r\n\r\n // Alerts the token controller of the approve function call\r\n if (isContract(controller)) {\r\n // Adding the ` == true` makes the linter shut up so...\r\n require(ITokenController(controller).onApprove(msg.sender, _spender, _amount) == true);\r\n }\r\n\r\n allowed[msg.sender][_spender] = _amount;\r\n Approval(msg.sender, _spender, _amount);\r\n return true;\r\n }\r\n\r\n /// @dev This function makes it easy to read the `allowed[]` map\r\n /// @param _owner The address of the account that owns the token\r\n /// @param _spender The address of the account able to transfer the tokens\r\n /// @return Amount of remaining tokens of _owner that _spender is allowed\r\n /// to spend\r\n function allowance(address _owner, address _spender) public constant returns (uint256 remaining) {\r\n return allowed[_owner][_spender];\r\n }\r\n\r\n /// @notice `msg.sender` approves `_spender` to send `_amount` tokens on\r\n /// its behalf, and then a function is triggered in the contract that is\r\n /// being approved, `_spender`. This allows users to use their tokens to\r\n /// interact with contracts in one function call instead of two\r\n /// @param _spender The address of the contract able to transfer the tokens\r\n /// @param _amount The amount of tokens to be approved for transfer\r\n /// @return True if the function call was successful\r\n function approveAndCall(ApproveAndCallFallBack _spender, uint256 _amount, bytes _extraData) public returns (bool success) {\r\n require(approve(_spender, _amount));\r\n\r\n _spender.receiveApproval(\r\n msg.sender,\r\n _amount,\r\n this,\r\n _extraData\r\n );\r\n\r\n return true;\r\n }\r\n\r\n /// @dev This function makes it easy to get the total number of tokens\r\n /// @return The total number of tokens\r\n function totalSupply() public constant returns (uint) {\r\n return totalSupplyAt(block.number);\r\n }\r\n\r\n\r\n////////////////\r\n// Query balance and totalSupply in History\r\n////////////////\r\n\r\n /// @dev Queries the balance of `_owner` at a specific `_blockNumber`\r\n /// @param _owner The address from which the balance will be retrieved\r\n /// @param _blockNumber The block number when the balance is queried\r\n /// @return The balance at `_blockNumber`\r\n function balanceOfAt(address _owner, uint _blockNumber) public constant returns (uint) {\r\n\r\n // These next few lines are used when the balance of the token is\r\n // requested before a check point was ever created for this token, it\r\n // requires that the `parentToken.balanceOfAt` be queried at the\r\n // genesis block for that token as this contains initial balance of\r\n // this token\r\n if ((balances[_owner].length == 0) || (balances[_owner][0].fromBlock > _blockNumber)) {\r\n if (address(parentToken) != 0) {\r\n return parentToken.balanceOfAt(_owner, min(_blockNumber, parentSnapShotBlock));\r\n } else {\r\n // Has no parent\r\n return 0;\r\n }\r\n\r\n // This will return the expected balance during normal situations\r\n } else {\r\n return getValueAt(balances[_owner], _blockNumber);\r\n }\r\n }\r\n\r\n /// @notice Total amount of tokens at a specific `_blockNumber`.\r\n /// @param _blockNumber The block number when the totalSupply is queried\r\n /// @return The total amount of tokens at `_blockNumber`\r\n function totalSupplyAt(uint _blockNumber) public constant returns(uint) {\r\n\r\n // These next few lines are used when the totalSupply of the token is\r\n // requested before a check point was ever created for this token, it\r\n // requires that the `parentToken.totalSupplyAt` be queried at the\r\n // genesis block for this token as that contains totalSupply of this\r\n // token at this block number.\r\n if ((totalSupplyHistory.length == 0) || (totalSupplyHistory[0].fromBlock > _blockNumber)) {\r\n if (address(parentToken) != 0) {\r\n return parentToken.totalSupplyAt(min(_blockNumber, parentSnapShotBlock));\r\n } else {\r\n return 0;\r\n }\r\n\r\n // This will return the expected totalSupply during normal situations\r\n } else {\r\n return getValueAt(totalSupplyHistory, _blockNumber);\r\n }\r\n }\r\n\r\n////////////////\r\n// Clone Token Method\r\n////////////////\r\n\r\n /// @notice Creates a new clone token with the initial distribution being\r\n /// this token at `_snapshotBlock`\r\n /// @param _cloneTokenName Name of the clone token\r\n /// @param _cloneDecimalUnits Number of decimals of the smallest unit\r\n /// @param _cloneTokenSymbol Symbol of the clone token\r\n /// @param _snapshotBlock Block when the distribution of the parent token is\r\n /// copied to set the initial distribution of the new clone token;\r\n /// if the block is zero than the actual block, the current block is used\r\n /// @param _transfersEnabled True if transfers are allowed in the clone\r\n /// @return The address of the new MiniMeToken Contract\r\n function createCloneToken(\r\n string _cloneTokenName,\r\n uint8 _cloneDecimalUnits,\r\n string _cloneTokenSymbol,\r\n uint _snapshotBlock,\r\n bool _transfersEnabled\r\n ) public returns(MiniMeToken)\r\n {\r\n uint256 snapshot = _snapshotBlock == 0 ? block.number - 1 : _snapshotBlock;\r\n\r\n MiniMeToken cloneToken = tokenFactory.createCloneToken(\r\n this,\r\n snapshot,\r\n _cloneTokenName,\r\n _cloneDecimalUnits,\r\n _cloneTokenSymbol,\r\n _transfersEnabled\r\n );\r\n\r\n cloneToken.changeController(msg.sender);\r\n\r\n // An event to make the token easy to find on the blockchain\r\n NewCloneToken(address(cloneToken), snapshot);\r\n return cloneToken;\r\n }\r\n\r\n////////////////\r\n// Generate and destroy tokens\r\n////////////////\r\n\r\n /// @notice Generates `_amount` tokens that are assigned to `_owner`\r\n /// @param _owner The address that will be assigned the new tokens\r\n /// @param _amount The quantity of tokens generated\r\n /// @return True if the tokens are generated correctly\r\n function generateTokens(address _owner, uint _amount) onlyController public returns (bool) {\r\n uint curTotalSupply = totalSupply();\r\n require(curTotalSupply + _amount >= curTotalSupply); // Check for overflow\r\n uint previousBalanceTo = balanceOf(_owner);\r\n require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow\r\n updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount);\r\n updateValueAtNow(balances[_owner], previousBalanceTo + _amount);\r\n Transfer(0, _owner, _amount);\r\n return true;\r\n }\r\n\r\n\r\n /// @notice Burns `_amount` tokens from `_owner`\r\n /// @param _owner The address that will lose the tokens\r\n /// @param _amount The quantity of tokens to burn\r\n /// @return True if the tokens are burned correctly\r\n function destroyTokens(address _owner, uint _amount) onlyController public returns (bool) {\r\n uint curTotalSupply = totalSupply();\r\n require(curTotalSupply >= _amount);\r\n uint previousBalanceFrom = balanceOf(_owner);\r\n require(previousBalanceFrom >= _amount);\r\n updateValueAtNow(totalSupplyHistory, curTotalSupply - _amount);\r\n updateValueAtNow(balances[_owner], previousBalanceFrom - _amount);\r\n Transfer(_owner, 0, _amount);\r\n return true;\r\n }\r\n\r\n////////////////\r\n// Enable tokens transfers\r\n////////////////\r\n\r\n\r\n /// @notice Enables token holders to transfer their tokens freely if true\r\n /// @param _transfersEnabled True if transfers are allowed in the clone\r\n function enableTransfers(bool _transfersEnabled) onlyController public {\r\n transfersEnabled = _transfersEnabled;\r\n }\r\n\r\n////////////////\r\n// Internal helper functions to query and set a value in a snapshot array\r\n////////////////\r\n\r\n /// @dev `getValueAt` retrieves the number of tokens at a given block number\r\n /// @param checkpoints The history of values being queried\r\n /// @param _block The block number to retrieve the value at\r\n /// @return The number of tokens being queried\r\n function getValueAt(Checkpoint[] storage checkpoints, uint _block) constant internal returns (uint) {\r\n if (checkpoints.length == 0)\r\n return 0;\r\n\r\n // Shortcut for the actual value\r\n if (_block >= checkpoints[checkpoints.length-1].fromBlock)\r\n return checkpoints[checkpoints.length-1].value;\r\n if (_block < checkpoints[0].fromBlock)\r\n return 0;\r\n\r\n // Binary search of the value in the array\r\n uint min = 0;\r\n uint max = checkpoints.length-1;\r\n while (max > min) {\r\n uint mid = (max + min + 1) / 2;\r\n if (checkpoints[mid].fromBlock<=_block) {\r\n min = mid;\r\n } else {\r\n max = mid-1;\r\n }\r\n }\r\n return checkpoints[min].value;\r\n }\r\n\r\n /// @dev `updateValueAtNow` used to update the `balances` map and the\r\n /// `totalSupplyHistory`\r\n /// @param checkpoints The history of data being updated\r\n /// @param _value The new number of tokens\r\n function updateValueAtNow(Checkpoint[] storage checkpoints, uint _value) internal {\r\n if ((checkpoints.length == 0) || (checkpoints[checkpoints.length - 1].fromBlock < block.number)) {\r\n Checkpoint storage newCheckPoint = checkpoints[checkpoints.length++];\r\n newCheckPoint.fromBlock = uint128(block.number);\r\n newCheckPoint.value = uint128(_value);\r\n } else {\r\n Checkpoint storage oldCheckPoint = checkpoints[checkpoints.length - 1];\r\n oldCheckPoint.value = uint128(_value);\r\n }\r\n }\r\n\r\n /// @dev Internal function to determine if an address is a contract\r\n /// @param _addr The address being queried\r\n /// @return True if `_addr` is a contract\r\n function isContract(address _addr) constant internal returns(bool) {\r\n uint size;\r\n if (_addr == 0)\r\n return false;\r\n\r\n assembly {\r\n size := extcodesize(_addr)\r\n }\r\n\r\n return size>0;\r\n }\r\n\r\n /// @dev Helper function to return a min betwen the two uints\r\n function min(uint a, uint b) pure internal returns (uint) {\r\n return a < b ? a : b;\r\n }\r\n\r\n /// @notice The fallback function: If the contract's controller has not been\r\n /// set to 0, then the `proxyPayment` method is called which relays the\r\n /// ether and creates tokens as described in the token controller contract\r\n function () external payable {\r\n require(isContract(controller));\r\n // Adding the ` == true` makes the linter shut up so...\r\n require(ITokenController(controller).proxyPayment.value(msg.value)(msg.sender) == true);\r\n }\r\n\r\n//////////\r\n// Safety Methods\r\n//////////\r\n\r\n /// @notice This method can be used by the controller to extract mistakenly\r\n /// sent tokens to this contract.\r\n /// @param _token The address of the token contract that you want to recover\r\n /// set to 0 in case you want to extract ether.\r\n function claimTokens(address _token) onlyController public {\r\n if (_token == 0x0) {\r\n controller.transfer(this.balance);\r\n return;\r\n }\r\n\r\n MiniMeToken token = MiniMeToken(_token);\r\n uint balance = token.balanceOf(this);\r\n token.transfer(controller, balance);\r\n ClaimedTokens(_token, controller, balance);\r\n }\r\n\r\n////////////////\r\n// Events\r\n////////////////\r\n event ClaimedTokens(address indexed _token, address indexed _controller, uint _amount);\r\n event Transfer(address indexed _from, address indexed _to, uint256 _amount);\r\n event NewCloneToken(address indexed _cloneToken, uint _snapshotBlock);\r\n event Approval(\r\n address indexed _owner,\r\n address indexed _spender,\r\n uint256 _amount\r\n );\r\n\r\n}\r\n\r\n\r\n////////////////\r\n// MiniMeTokenFactory\r\n////////////////\r\n\r\n/// @dev This contract is used to generate clone contracts from a contract.\r\n/// In solidity this is the way to create a contract from a contract of the\r\n/// same class\r\ncontract MiniMeTokenFactory {\r\n\r\n /// @notice Update the DApp by creating a new token with new functionalities\r\n /// the msg.sender becomes the controller of this clone token\r\n /// @param _parentToken Address of the token being cloned\r\n /// @param _snapshotBlock Block of the parent token that will\r\n /// determine the initial distribution of the clone token\r\n /// @param _tokenName Name of the new token\r\n /// @param _decimalUnits Number of decimals of the new token\r\n /// @param _tokenSymbol Token Symbol for the new token\r\n /// @param _transfersEnabled If true, tokens will be able to be transferred\r\n /// @return The address of the new token contract\r\n function createCloneToken(\r\n MiniMeToken _parentToken,\r\n uint _snapshotBlock,\r\n string _tokenName,\r\n uint8 _decimalUnits,\r\n string _tokenSymbol,\r\n bool _transfersEnabled\r\n ) public returns (MiniMeToken)\r\n {\r\n MiniMeToken newToken = new MiniMeToken(\r\n this,\r\n _parentToken,\r\n _snapshotBlock,\r\n _tokenName,\r\n _decimalUnits,\r\n _tokenSymbol,\r\n _transfersEnabled\r\n );\r\n\r\n newToken.changeController(msg.sender);\r\n return newToken;\r\n }\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"creationBlock\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_newController\",\"type\":\"address\"}],\"name\":\"changeController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"balanceOfAt\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cloneTokenName\",\"type\":\"string\"},{\"name\":\"_cloneDecimalUnits\",\"type\":\"uint8\"},{\"name\":\"_cloneTokenSymbol\",\"type\":\"string\"},{\"name\":\"_snapshotBlock\",\"type\":\"uint256\"},{\"name\":\"_transfersEnabled\",\"type\":\"bool\"}],\"name\":\"createCloneToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"parentToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"generateTokens\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"totalSupplyAt\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"transfersEnabled\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"parentSnapShotBlock\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"destroyTokens\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"claimTokens\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"tokenFactory\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_transfersEnabled\",\"type\":\"bool\"}],\"name\":\"enableTransfers\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_tokenFactory\",\"type\":\"address\"},{\"name\":\"_parentToken\",\"type\":\"address\"},{\"name\":\"_parentSnapShotBlock\",\"type\":\"uint256\"},{\"name\":\"_tokenName\",\"type\":\"string\"},{\"name\":\"_decimalUnits\",\"type\":\"uint8\"},{\"name\":\"_tokenSymbol\",\"type\":\"string\"},{\"name\":\"_transfersEnabled\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_controller\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"ClaimedTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_cloneToken\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_snapshotBlock\",\"type\":\"uint256\"}],\"name\":\"NewCloneToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]","ContractName":"MiniMeToken","CompilerVersion":"v0.4.24+commit.e67f0147","CompilerType":"solc","OptimizationUsed":"1","Runs":"10000","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://5a44c4b66ea238cd7a06e7714f5b8c9ceea8c41953f9c86ff6a9900ab440c143","SimilarMatch":"0xd017D2403d779A31e1fA2261e0D3997bCACad851"}]} \ No newline at end of file diff --git a/tests/cachedrpc/0fc356d9a3a65264f438b99cc765ce901d5177701a7e0718fbe817bf2505f638 b/tests/cachedrpc/0fc356d9a3a65264f438b99cc765ce901d5177701a7e0718fbe817bf2505f638 new file mode 100644 index 00000000..374eea1f --- /dev/null +++ b/tests/cachedrpc/0fc356d9a3a65264f438b99cc765ce901d5177701a7e0718fbe817bf2505f638 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"@openzeppelin/contracts/utils/math/SafeCast.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol)\\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow\\n * checks.\\n *\\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\\n * easily result in undesired exploitation or bugs, since developers usually\\n * assume that overflows raise errors. `SafeCast` restores this intuition by\\n * reverting the transaction when such an operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n *\\n * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing\\n * all math on `uint256` and `int256` and then downcasting.\\n */\\nlibrary SafeCast {\\n /**\\n * @dev Returns the downcasted uint248 from uint256, reverting on\\n * overflow (when the input is greater than largest uint248).\\n *\\n * Counterpart to Solidity's `uint248` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 248 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint248(uint256 value) internal pure returns (uint248) {\\n require(value <= type(uint248).max, \\\"SafeCast: value doesn't fit in 248 bits\\\");\\n return uint248(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint240 from uint256, reverting on\\n * overflow (when the input is greater than largest uint240).\\n *\\n * Counterpart to Solidity's `uint240` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 240 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint240(uint256 value) internal pure returns (uint240) {\\n require(value <= type(uint240).max, \\\"SafeCast: value doesn't fit in 240 bits\\\");\\n return uint240(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint232 from uint256, reverting on\\n * overflow (when the input is greater than largest uint232).\\n *\\n * Counterpart to Solidity's `uint232` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 232 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint232(uint256 value) internal pure returns (uint232) {\\n require(value <= type(uint232).max, \\\"SafeCast: value doesn't fit in 232 bits\\\");\\n return uint232(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint224 from uint256, reverting on\\n * overflow (when the input is greater than largest uint224).\\n *\\n * Counterpart to Solidity's `uint224` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 224 bits\\n *\\n * _Available since v4.2._\\n */\\n function toUint224(uint256 value) internal pure returns (uint224) {\\n require(value <= type(uint224).max, \\\"SafeCast: value doesn't fit in 224 bits\\\");\\n return uint224(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint216 from uint256, reverting on\\n * overflow (when the input is greater than largest uint216).\\n *\\n * Counterpart to Solidity's `uint216` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 216 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint216(uint256 value) internal pure returns (uint216) {\\n require(value <= type(uint216).max, \\\"SafeCast: value doesn't fit in 216 bits\\\");\\n return uint216(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint208 from uint256, reverting on\\n * overflow (when the input is greater than largest uint208).\\n *\\n * Counterpart to Solidity's `uint208` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 208 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint208(uint256 value) internal pure returns (uint208) {\\n require(value <= type(uint208).max, \\\"SafeCast: value doesn't fit in 208 bits\\\");\\n return uint208(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint200 from uint256, reverting on\\n * overflow (when the input is greater than largest uint200).\\n *\\n * Counterpart to Solidity's `uint200` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 200 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint200(uint256 value) internal pure returns (uint200) {\\n require(value <= type(uint200).max, \\\"SafeCast: value doesn't fit in 200 bits\\\");\\n return uint200(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint192 from uint256, reverting on\\n * overflow (when the input is greater than largest uint192).\\n *\\n * Counterpart to Solidity's `uint192` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 192 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint192(uint256 value) internal pure returns (uint192) {\\n require(value <= type(uint192).max, \\\"SafeCast: value doesn't fit in 192 bits\\\");\\n return uint192(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint184 from uint256, reverting on\\n * overflow (when the input is greater than largest uint184).\\n *\\n * Counterpart to Solidity's `uint184` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 184 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint184(uint256 value) internal pure returns (uint184) {\\n require(value <= type(uint184).max, \\\"SafeCast: value doesn't fit in 184 bits\\\");\\n return uint184(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint176 from uint256, reverting on\\n * overflow (when the input is greater than largest uint176).\\n *\\n * Counterpart to Solidity's `uint176` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 176 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint176(uint256 value) internal pure returns (uint176) {\\n require(value <= type(uint176).max, \\\"SafeCast: value doesn't fit in 176 bits\\\");\\n return uint176(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint168 from uint256, reverting on\\n * overflow (when the input is greater than largest uint168).\\n *\\n * Counterpart to Solidity's `uint168` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 168 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint168(uint256 value) internal pure returns (uint168) {\\n require(value <= type(uint168).max, \\\"SafeCast: value doesn't fit in 168 bits\\\");\\n return uint168(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint160 from uint256, reverting on\\n * overflow (when the input is greater than largest uint160).\\n *\\n * Counterpart to Solidity's `uint160` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 160 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint160(uint256 value) internal pure returns (uint160) {\\n require(value <= type(uint160).max, \\\"SafeCast: value doesn't fit in 160 bits\\\");\\n return uint160(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint152 from uint256, reverting on\\n * overflow (when the input is greater than largest uint152).\\n *\\n * Counterpart to Solidity's `uint152` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 152 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint152(uint256 value) internal pure returns (uint152) {\\n require(value <= type(uint152).max, \\\"SafeCast: value doesn't fit in 152 bits\\\");\\n return uint152(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint144 from uint256, reverting on\\n * overflow (when the input is greater than largest uint144).\\n *\\n * Counterpart to Solidity's `uint144` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 144 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint144(uint256 value) internal pure returns (uint144) {\\n require(value <= type(uint144).max, \\\"SafeCast: value doesn't fit in 144 bits\\\");\\n return uint144(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint136 from uint256, reverting on\\n * overflow (when the input is greater than largest uint136).\\n *\\n * Counterpart to Solidity's `uint136` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 136 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint136(uint256 value) internal pure returns (uint136) {\\n require(value <= type(uint136).max, \\\"SafeCast: value doesn't fit in 136 bits\\\");\\n return uint136(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint128 from uint256, reverting on\\n * overflow (when the input is greater than largest uint128).\\n *\\n * Counterpart to Solidity's `uint128` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 128 bits\\n *\\n * _Available since v2.5._\\n */\\n function toUint128(uint256 value) internal pure returns (uint128) {\\n require(value <= type(uint128).max, \\\"SafeCast: value doesn't fit in 128 bits\\\");\\n return uint128(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint120 from uint256, reverting on\\n * overflow (when the input is greater than largest uint120).\\n *\\n * Counterpart to Solidity's `uint120` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 120 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint120(uint256 value) internal pure returns (uint120) {\\n require(value <= type(uint120).max, \\\"SafeCast: value doesn't fit in 120 bits\\\");\\n return uint120(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint112 from uint256, reverting on\\n * overflow (when the input is greater than largest uint112).\\n *\\n * Counterpart to Solidity's `uint112` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 112 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint112(uint256 value) internal pure returns (uint112) {\\n require(value <= type(uint112).max, \\\"SafeCast: value doesn't fit in 112 bits\\\");\\n return uint112(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint104 from uint256, reverting on\\n * overflow (when the input is greater than largest uint104).\\n *\\n * Counterpart to Solidity's `uint104` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 104 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint104(uint256 value) internal pure returns (uint104) {\\n require(value <= type(uint104).max, \\\"SafeCast: value doesn't fit in 104 bits\\\");\\n return uint104(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint96 from uint256, reverting on\\n * overflow (when the input is greater than largest uint96).\\n *\\n * Counterpart to Solidity's `uint96` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 96 bits\\n *\\n * _Available since v4.2._\\n */\\n function toUint96(uint256 value) internal pure returns (uint96) {\\n require(value <= type(uint96).max, \\\"SafeCast: value doesn't fit in 96 bits\\\");\\n return uint96(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint88 from uint256, reverting on\\n * overflow (when the input is greater than largest uint88).\\n *\\n * Counterpart to Solidity's `uint88` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 88 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint88(uint256 value) internal pure returns (uint88) {\\n require(value <= type(uint88).max, \\\"SafeCast: value doesn't fit in 88 bits\\\");\\n return uint88(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint80 from uint256, reverting on\\n * overflow (when the input is greater than largest uint80).\\n *\\n * Counterpart to Solidity's `uint80` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 80 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint80(uint256 value) internal pure returns (uint80) {\\n require(value <= type(uint80).max, \\\"SafeCast: value doesn't fit in 80 bits\\\");\\n return uint80(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint72 from uint256, reverting on\\n * overflow (when the input is greater than largest uint72).\\n *\\n * Counterpart to Solidity's `uint72` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 72 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint72(uint256 value) internal pure returns (uint72) {\\n require(value <= type(uint72).max, \\\"SafeCast: value doesn't fit in 72 bits\\\");\\n return uint72(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint64 from uint256, reverting on\\n * overflow (when the input is greater than largest uint64).\\n *\\n * Counterpart to Solidity's `uint64` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 64 bits\\n *\\n * _Available since v2.5._\\n */\\n function toUint64(uint256 value) internal pure returns (uint64) {\\n require(value <= type(uint64).max, \\\"SafeCast: value doesn't fit in 64 bits\\\");\\n return uint64(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint56 from uint256, reverting on\\n * overflow (when the input is greater than largest uint56).\\n *\\n * Counterpart to Solidity's `uint56` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 56 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint56(uint256 value) internal pure returns (uint56) {\\n require(value <= type(uint56).max, \\\"SafeCast: value doesn't fit in 56 bits\\\");\\n return uint56(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint48 from uint256, reverting on\\n * overflow (when the input is greater than largest uint48).\\n *\\n * Counterpart to Solidity's `uint48` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 48 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint48(uint256 value) internal pure returns (uint48) {\\n require(value <= type(uint48).max, \\\"SafeCast: value doesn't fit in 48 bits\\\");\\n return uint48(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint40 from uint256, reverting on\\n * overflow (when the input is greater than largest uint40).\\n *\\n * Counterpart to Solidity's `uint40` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 40 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint40(uint256 value) internal pure returns (uint40) {\\n require(value <= type(uint40).max, \\\"SafeCast: value doesn't fit in 40 bits\\\");\\n return uint40(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint32 from uint256, reverting on\\n * overflow (when the input is greater than largest uint32).\\n *\\n * Counterpart to Solidity's `uint32` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 32 bits\\n *\\n * _Available since v2.5._\\n */\\n function toUint32(uint256 value) internal pure returns (uint32) {\\n require(value <= type(uint32).max, \\\"SafeCast: value doesn't fit in 32 bits\\\");\\n return uint32(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint24 from uint256, reverting on\\n * overflow (when the input is greater than largest uint24).\\n *\\n * Counterpart to Solidity's `uint24` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 24 bits\\n *\\n * _Available since v4.7._\\n */\\n function toUint24(uint256 value) internal pure returns (uint24) {\\n require(value <= type(uint24).max, \\\"SafeCast: value doesn't fit in 24 bits\\\");\\n return uint24(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint16 from uint256, reverting on\\n * overflow (when the input is greater than largest uint16).\\n *\\n * Counterpart to Solidity's `uint16` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 16 bits\\n *\\n * _Available since v2.5._\\n */\\n function toUint16(uint256 value) internal pure returns (uint16) {\\n require(value <= type(uint16).max, \\\"SafeCast: value doesn't fit in 16 bits\\\");\\n return uint16(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint8 from uint256, reverting on\\n * overflow (when the input is greater than largest uint8).\\n *\\n * Counterpart to Solidity's `uint8` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 8 bits\\n *\\n * _Available since v2.5._\\n */\\n function toUint8(uint256 value) internal pure returns (uint8) {\\n require(value <= type(uint8).max, \\\"SafeCast: value doesn't fit in 8 bits\\\");\\n return uint8(value);\\n }\\n\\n /**\\n * @dev Converts a signed int256 into an unsigned uint256.\\n *\\n * Requirements:\\n *\\n * - input must be greater than or equal to 0.\\n *\\n * _Available since v3.0._\\n */\\n function toUint256(int256 value) internal pure returns (uint256) {\\n require(value >= 0, \\\"SafeCast: value must be positive\\\");\\n return uint256(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted int248 from int256, reverting on\\n * overflow (when the input is less than smallest int248 or\\n * greater than largest int248).\\n *\\n * Counterpart to Solidity's `int248` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 248 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt248(int256 value) internal pure returns (int248 downcasted) {\\n downcasted = int248(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 248 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int240 from int256, reverting on\\n * overflow (when the input is less than smallest int240 or\\n * greater than largest int240).\\n *\\n * Counterpart to Solidity's `int240` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 240 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt240(int256 value) internal pure returns (int240 downcasted) {\\n downcasted = int240(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 240 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int232 from int256, reverting on\\n * overflow (when the input is less than smallest int232 or\\n * greater than largest int232).\\n *\\n * Counterpart to Solidity's `int232` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 232 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt232(int256 value) internal pure returns (int232 downcasted) {\\n downcasted = int232(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 232 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int224 from int256, reverting on\\n * overflow (when the input is less than smallest int224 or\\n * greater than largest int224).\\n *\\n * Counterpart to Solidity's `int224` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 224 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt224(int256 value) internal pure returns (int224 downcasted) {\\n downcasted = int224(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 224 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int216 from int256, reverting on\\n * overflow (when the input is less than smallest int216 or\\n * greater than largest int216).\\n *\\n * Counterpart to Solidity's `int216` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 216 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt216(int256 value) internal pure returns (int216 downcasted) {\\n downcasted = int216(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 216 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int208 from int256, reverting on\\n * overflow (when the input is less than smallest int208 or\\n * greater than largest int208).\\n *\\n * Counterpart to Solidity's `int208` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 208 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt208(int256 value) internal pure returns (int208 downcasted) {\\n downcasted = int208(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 208 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int200 from int256, reverting on\\n * overflow (when the input is less than smallest int200 or\\n * greater than largest int200).\\n *\\n * Counterpart to Solidity's `int200` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 200 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt200(int256 value) internal pure returns (int200 downcasted) {\\n downcasted = int200(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 200 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int192 from int256, reverting on\\n * overflow (when the input is less than smallest int192 or\\n * greater than largest int192).\\n *\\n * Counterpart to Solidity's `int192` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 192 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt192(int256 value) internal pure returns (int192 downcasted) {\\n downcasted = int192(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 192 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int184 from int256, reverting on\\n * overflow (when the input is less than smallest int184 or\\n * greater than largest int184).\\n *\\n * Counterpart to Solidity's `int184` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 184 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt184(int256 value) internal pure returns (int184 downcasted) {\\n downcasted = int184(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 184 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int176 from int256, reverting on\\n * overflow (when the input is less than smallest int176 or\\n * greater than largest int176).\\n *\\n * Counterpart to Solidity's `int176` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 176 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt176(int256 value) internal pure returns (int176 downcasted) {\\n downcasted = int176(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 176 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int168 from int256, reverting on\\n * overflow (when the input is less than smallest int168 or\\n * greater than largest int168).\\n *\\n * Counterpart to Solidity's `int168` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 168 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt168(int256 value) internal pure returns (int168 downcasted) {\\n downcasted = int168(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 168 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int160 from int256, reverting on\\n * overflow (when the input is less than smallest int160 or\\n * greater than largest int160).\\n *\\n * Counterpart to Solidity's `int160` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 160 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt160(int256 value) internal pure returns (int160 downcasted) {\\n downcasted = int160(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 160 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int152 from int256, reverting on\\n * overflow (when the input is less than smallest int152 or\\n * greater than largest int152).\\n *\\n * Counterpart to Solidity's `int152` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 152 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt152(int256 value) internal pure returns (int152 downcasted) {\\n downcasted = int152(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 152 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int144 from int256, reverting on\\n * overflow (when the input is less than smallest int144 or\\n * greater than largest int144).\\n *\\n * Counterpart to Solidity's `int144` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 144 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt144(int256 value) internal pure returns (int144 downcasted) {\\n downcasted = int144(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 144 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int136 from int256, reverting on\\n * overflow (when the input is less than smallest int136 or\\n * greater than largest int136).\\n *\\n * Counterpart to Solidity's `int136` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 136 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt136(int256 value) internal pure returns (int136 downcasted) {\\n downcasted = int136(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 136 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int128 from int256, reverting on\\n * overflow (when the input is less than smallest int128 or\\n * greater than largest int128).\\n *\\n * Counterpart to Solidity's `int128` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 128 bits\\n *\\n * _Available since v3.1._\\n */\\n function toInt128(int256 value) internal pure returns (int128 downcasted) {\\n downcasted = int128(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 128 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int120 from int256, reverting on\\n * overflow (when the input is less than smallest int120 or\\n * greater than largest int120).\\n *\\n * Counterpart to Solidity's `int120` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 120 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt120(int256 value) internal pure returns (int120 downcasted) {\\n downcasted = int120(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 120 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int112 from int256, reverting on\\n * overflow (when the input is less than smallest int112 or\\n * greater than largest int112).\\n *\\n * Counterpart to Solidity's `int112` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 112 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt112(int256 value) internal pure returns (int112 downcasted) {\\n downcasted = int112(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 112 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int104 from int256, reverting on\\n * overflow (when the input is less than smallest int104 or\\n * greater than largest int104).\\n *\\n * Counterpart to Solidity's `int104` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 104 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt104(int256 value) internal pure returns (int104 downcasted) {\\n downcasted = int104(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 104 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int96 from int256, reverting on\\n * overflow (when the input is less than smallest int96 or\\n * greater than largest int96).\\n *\\n * Counterpart to Solidity's `int96` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 96 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt96(int256 value) internal pure returns (int96 downcasted) {\\n downcasted = int96(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 96 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int88 from int256, reverting on\\n * overflow (when the input is less than smallest int88 or\\n * greater than largest int88).\\n *\\n * Counterpart to Solidity's `int88` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 88 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt88(int256 value) internal pure returns (int88 downcasted) {\\n downcasted = int88(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 88 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int80 from int256, reverting on\\n * overflow (when the input is less than smallest int80 or\\n * greater than largest int80).\\n *\\n * Counterpart to Solidity's `int80` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 80 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt80(int256 value) internal pure returns (int80 downcasted) {\\n downcasted = int80(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 80 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int72 from int256, reverting on\\n * overflow (when the input is less than smallest int72 or\\n * greater than largest int72).\\n *\\n * Counterpart to Solidity's `int72` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 72 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt72(int256 value) internal pure returns (int72 downcasted) {\\n downcasted = int72(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 72 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int64 from int256, reverting on\\n * overflow (when the input is less than smallest int64 or\\n * greater than largest int64).\\n *\\n * Counterpart to Solidity's `int64` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 64 bits\\n *\\n * _Available since v3.1._\\n */\\n function toInt64(int256 value) internal pure returns (int64 downcasted) {\\n downcasted = int64(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 64 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int56 from int256, reverting on\\n * overflow (when the input is less than smallest int56 or\\n * greater than largest int56).\\n *\\n * Counterpart to Solidity's `int56` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 56 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt56(int256 value) internal pure returns (int56 downcasted) {\\n downcasted = int56(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 56 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int48 from int256, reverting on\\n * overflow (when the input is less than smallest int48 or\\n * greater than largest int48).\\n *\\n * Counterpart to Solidity's `int48` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 48 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt48(int256 value) internal pure returns (int48 downcasted) {\\n downcasted = int48(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 48 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int40 from int256, reverting on\\n * overflow (when the input is less than smallest int40 or\\n * greater than largest int40).\\n *\\n * Counterpart to Solidity's `int40` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 40 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt40(int256 value) internal pure returns (int40 downcasted) {\\n downcasted = int40(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 40 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int32 from int256, reverting on\\n * overflow (when the input is less than smallest int32 or\\n * greater than largest int32).\\n *\\n * Counterpart to Solidity's `int32` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 32 bits\\n *\\n * _Available since v3.1._\\n */\\n function toInt32(int256 value) internal pure returns (int32 downcasted) {\\n downcasted = int32(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 32 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int24 from int256, reverting on\\n * overflow (when the input is less than smallest int24 or\\n * greater than largest int24).\\n *\\n * Counterpart to Solidity's `int24` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 24 bits\\n *\\n * _Available since v4.7._\\n */\\n function toInt24(int256 value) internal pure returns (int24 downcasted) {\\n downcasted = int24(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 24 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int16 from int256, reverting on\\n * overflow (when the input is less than smallest int16 or\\n * greater than largest int16).\\n *\\n * Counterpart to Solidity's `int16` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 16 bits\\n *\\n * _Available since v3.1._\\n */\\n function toInt16(int256 value) internal pure returns (int16 downcasted) {\\n downcasted = int16(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 16 bits\\\");\\n }\\n\\n /**\\n * @dev Returns the downcasted int8 from int256, reverting on\\n * overflow (when the input is less than smallest int8 or\\n * greater than largest int8).\\n *\\n * Counterpart to Solidity's `int8` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 8 bits\\n *\\n * _Available since v3.1._\\n */\\n function toInt8(int256 value) internal pure returns (int8 downcasted) {\\n downcasted = int8(value);\\n require(downcasted == value, \\\"SafeCast: value doesn't fit in 8 bits\\\");\\n }\\n\\n /**\\n * @dev Converts an unsigned uint256 into a signed int256.\\n *\\n * Requirements:\\n *\\n * - input must be less than or equal to maxInt256.\\n *\\n * _Available since v3.0._\\n */\\n function toInt256(uint256 value) internal pure returns (int256) {\\n // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\\n require(value <= uint256(type(int256).max), \\\"SafeCast: value doesn't fit in an int256\\\");\\n return int256(value);\\n }\\n}\\n\"\r\n },\r\n \"cache/solpp-generated-contracts/common/libraries/UncheckedMath.sol\": {\r\n \"content\": \"pragma solidity ^0.8.0;\\n\\n// SPDX-License-Identifier: MIT\\n\\n\\n\\nlibrary UncheckedMath {\\n function uncheckedInc(uint256 _number) internal pure returns (uint256) {\\n unchecked {\\n return _number + 1;\\n }\\n }\\n\\n function uncheckedAdd(uint256 _lhs, uint256 _rhs) internal pure returns (uint256) {\\n unchecked {\\n return _lhs + _rhs;\\n }\\n }\\n}\\n\"\r\n },\r\n \"cache/solpp-generated-contracts/zksync/DiamondProxy.sol\": {\r\n \"content\": \"pragma solidity ^0.8.0;\\n\\n// SPDX-License-Identifier: MIT\\n\\n\\n\\nimport \\\"./libraries/Diamond.sol\\\";\\n\\n/// @title Diamond Proxy Contract (EIP-2535)\\n/// @author Matter Labs\\ncontract DiamondProxy {\\n constructor(uint256 _chainId, Diamond.DiamondCutData memory _diamondCut) {\\n // Check that the contract is deployed on the expected chain.\\n // Thus, the contract deployed by the same Create2 factory on the different chain will have different addresses!\\n require(_chainId == block.chainid, \\\"pr\\\");\\n Diamond.diamondCut(_diamondCut);\\n }\\n\\n /// @dev 1. Find the facet for the function that is called.\\n /// @dev 2. Delegate the execution to the found facet via `delegatecall`.\\n fallback() external payable {\\n Diamond.DiamondStorage storage diamondStorage = Diamond.getDiamondStorage();\\n // Check whether the data contains a \\\"full\\\" selector or it is empty.\\n // Required because Diamond proxy finds a facet by function signature,\\n // which is not defined for data length in range [1, 3].\\n require(msg.data.length >= 4 || msg.data.length == 0, \\\"Ut\\\");\\n // Get facet from function selector\\n Diamond.SelectorToFacet memory facet = diamondStorage.selectorToFacet[msg.sig];\\n address facetAddress = facet.facetAddress;\\n\\n require(facetAddress != address(0), \\\"F\\\"); // Proxy has no facet for this selector\\n require(!diamondStorage.isFrozen || !facet.isFreezable, \\\"q1\\\"); // Facet is frozen\\n\\n assembly {\\n // The pointer to the free memory slot\\n let ptr := mload(0x40)\\n // Copy function signature and arguments from calldata at zero position into memory at pointer position\\n calldatacopy(ptr, 0, calldatasize())\\n // Delegatecall method of the implementation contract returns 0 on error\\n let result := delegatecall(gas(), facetAddress, ptr, calldatasize(), 0, 0)\\n // Get the size of the last return data\\n let size := returndatasize()\\n // Copy the size length of bytes from return data at zero position to pointer position\\n returndatacopy(ptr, 0, size)\\n // Depending on the result value\\n switch result\\n case 0 {\\n // End execution and revert state changes\\n revert(ptr, size)\\n }\\n default {\\n // Return data with length of size at pointers position\\n return(ptr, size)\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"cache/solpp-generated-contracts/zksync/libraries/Diamond.sol\": {\r\n \"content\": \"pragma solidity ^0.8.0;\\n\\n// SPDX-License-Identifier: MIT\\n\\n\\n\\nimport \\\"@openzeppelin/contracts/utils/math/SafeCast.sol\\\";\\nimport \\\"../../common/libraries/UncheckedMath.sol\\\";\\n\\n/// @author Matter Labs\\n/// @notice The helper library for managing the EIP-2535 diamond proxy.\\nlibrary Diamond {\\n using UncheckedMath for uint256;\\n using SafeCast for uint256;\\n\\n /// @dev Magic value that should be returned by diamond cut initialize contracts.\\n /// @dev Used to distinguish calls to contracts that were supposed to be used as diamond initializer from other contracts.\\n bytes32 constant DIAMOND_INIT_SUCCESS_RETURN_VALUE =\\n 0x33774e659306e47509050e97cb651e731180a42d458212294d30751925c551a2; // keccak256(\\\"diamond.zksync.init\\\") - 1\\n\\n /// @dev Storage position of `DiamondStorage` structure.\\n bytes32 constant DIAMOND_STORAGE_POSITION = 0xc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131b; // keccak256(\\\"diamond.standard.diamond.storage\\\") - 1;\\n\\n event DiamondCut(FacetCut[] facetCuts, address initAddress, bytes initCalldata);\\n\\n /// @dev Utility struct that contains associated facet & meta information of selector\\n /// @param facetAddress address of the facet which is connected with selector\\n /// @param selectorPosition index in `FacetToSelectors.selectors` array, where is selector stored\\n /// @param isFreezable denotes whether the selector can be frozen.\\n struct SelectorToFacet {\\n address facetAddress;\\n uint16 selectorPosition;\\n bool isFreezable;\\n }\\n\\n /// @dev Utility struct that contains associated selectors & meta information of facet\\n /// @param selectors list of all selectors that belong to the facet\\n /// @param facetPosition index in `DiamondStorage.facets` array, where is facet stored\\n struct FacetToSelectors {\\n bytes4[] selectors;\\n uint16 facetPosition;\\n }\\n\\n /// @notice The structure that holds all diamond proxy associated parameters\\n /// @dev According to the EIP-2535 should be stored on a special storage key - `DIAMOND_STORAGE_POSITION`\\n /// @param selectorToFacet A mapping from the selector to the facet address and its meta information\\n /// @param facetToSelectors A mapping from facet address to its selector with meta information\\n /// @param facets The array of all unique facet addresses that belong to the diamond proxy\\n /// @param isFrozen Denotes whether the diamond proxy is frozen and all freezable facets are not accessible\\n struct DiamondStorage {\\n mapping(bytes4 => SelectorToFacet) selectorToFacet;\\n mapping(address => FacetToSelectors) facetToSelectors;\\n address[] facets;\\n bool isFrozen;\\n }\\n\\n /// @dev Parameters for diamond changes that touch one of the facets\\n /// @param facet The address of facet that's affected by the cut\\n /// @param action The action that is made on the facet\\n /// @param isFreezable Denotes whether the facet & all their selectors can be frozen\\n /// @param selectors An array of unique selectors that belongs to the facet address\\n struct FacetCut {\\n address facet;\\n Action action;\\n bool isFreezable;\\n bytes4[] selectors;\\n }\\n\\n /// @dev Structure of the diamond proxy changes\\n /// @param facetCuts The set of changes (adding/removing/replacement) of implementation contracts\\n /// @param initAddress The address that's delegate called after setting up new facet changes\\n /// @param initCalldata Calldata for the delegate call to `initAddress`\\n struct DiamondCutData {\\n FacetCut[] facetCuts;\\n address initAddress;\\n bytes initCalldata;\\n }\\n\\n /// @dev Type of change over diamond: add/replace/remove facets\\n enum Action {\\n Add,\\n Replace,\\n Remove\\n }\\n\\n /// @return diamondStorage The pointer to the storage where all specific diamond proxy parameters stored\\n function getDiamondStorage() internal pure returns (DiamondStorage storage diamondStorage) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n diamondStorage.slot := position\\n }\\n }\\n\\n /// @dev Add/replace/remove any number of selectors and optionally execute a function with delegatecall\\n /// @param _diamondCut Diamond's facet changes and the parameters to optional initialization delegatecall\\n function diamondCut(DiamondCutData memory _diamondCut) internal {\\n FacetCut[] memory facetCuts = _diamondCut.facetCuts;\\n address initAddress = _diamondCut.initAddress;\\n bytes memory initCalldata = _diamondCut.initCalldata;\\n uint256 facetCutsLength = facetCuts.length;\\n for (uint256 i = 0; i < facetCutsLength; i = i.uncheckedInc()) {\\n Action action = facetCuts[i].action;\\n address facet = facetCuts[i].facet;\\n bool isFacetFreezable = facetCuts[i].isFreezable;\\n bytes4[] memory selectors = facetCuts[i].selectors;\\n\\n require(selectors.length > 0, \\\"B\\\"); // no functions for diamond cut\\n\\n if (action == Action.Add) {\\n _addFunctions(facet, selectors, isFacetFreezable);\\n } else if (action == Action.Replace) {\\n _replaceFunctions(facet, selectors, isFacetFreezable);\\n } else if (action == Action.Remove) {\\n _removeFunctions(facet, selectors);\\n } else {\\n revert(\\\"C\\\"); // undefined diamond cut action\\n }\\n }\\n\\n _initializeDiamondCut(initAddress, initCalldata);\\n emit DiamondCut(facetCuts, initAddress, initCalldata);\\n }\\n\\n /// @dev Add new functions to the diamond proxy\\n /// NOTE: expect but NOT enforce that `_selectors` is NON-EMPTY array\\n function _addFunctions(\\n address _facet,\\n bytes4[] memory _selectors,\\n bool _isFacetFreezable\\n ) private {\\n DiamondStorage storage ds = getDiamondStorage();\\n\\n require(_facet != address(0), \\\"G\\\"); // facet with zero address cannot be added\\n\\n // Add facet to the list of facets if the facet address is new one\\n _saveFacetIfNew(_facet);\\n\\n uint256 selectorsLength = _selectors.length;\\n for (uint256 i = 0; i < selectorsLength; i = i.uncheckedInc()) {\\n bytes4 selector = _selectors[i];\\n SelectorToFacet memory oldFacet = ds.selectorToFacet[selector];\\n require(oldFacet.facetAddress == address(0), \\\"J\\\"); // facet for this selector already exists\\n\\n _addOneFunction(_facet, selector, _isFacetFreezable);\\n }\\n }\\n\\n /// @dev Change associated facets to already known function selectors\\n /// NOTE: expect but NOT enforce that `_selectors` is NON-EMPTY array\\n function _replaceFunctions(\\n address _facet,\\n bytes4[] memory _selectors,\\n bool _isFacetFreezable\\n ) private {\\n DiamondStorage storage ds = getDiamondStorage();\\n\\n require(_facet != address(0), \\\"K\\\"); // cannot replace facet with zero address\\n\\n uint256 selectorsLength = _selectors.length;\\n for (uint256 i = 0; i < selectorsLength; i = i.uncheckedInc()) {\\n bytes4 selector = _selectors[i];\\n SelectorToFacet memory oldFacet = ds.selectorToFacet[selector];\\n require(oldFacet.facetAddress != address(0), \\\"L\\\"); // it is impossible to replace the facet with zero address\\n\\n _removeOneFunction(oldFacet.facetAddress, selector);\\n // Add facet to the list of facets if the facet address is a new one\\n _saveFacetIfNew(_facet);\\n _addOneFunction(_facet, selector, _isFacetFreezable);\\n }\\n }\\n\\n /// @dev Remove association with function and facet\\n /// NOTE: expect but NOT enforce that `_selectors` is NON-EMPTY array\\n function _removeFunctions(address _facet, bytes4[] memory _selectors) private {\\n DiamondStorage storage ds = getDiamondStorage();\\n\\n require(_facet == address(0), \\\"a1\\\"); // facet address must be zero\\n\\n uint256 selectorsLength = _selectors.length;\\n for (uint256 i = 0; i < selectorsLength; i = i.uncheckedInc()) {\\n bytes4 selector = _selectors[i];\\n SelectorToFacet memory oldFacet = ds.selectorToFacet[selector];\\n require(oldFacet.facetAddress != address(0), \\\"a2\\\"); // Can't delete a non-existent facet\\n\\n _removeOneFunction(oldFacet.facetAddress, selector);\\n }\\n }\\n\\n /// @dev Add address to the list of known facets if it is not on the list yet\\n /// NOTE: should be called ONLY before adding a new selector associated with the address\\n function _saveFacetIfNew(address _facet) private {\\n DiamondStorage storage ds = getDiamondStorage();\\n\\n uint256 selectorsLength = ds.facetToSelectors[_facet].selectors.length;\\n // If there are no selectors associated with facet then save facet as new one\\n if (selectorsLength == 0) {\\n ds.facetToSelectors[_facet].facetPosition = ds.facets.length.toUint16();\\n ds.facets.push(_facet);\\n }\\n }\\n\\n /// @dev Add one function to the already known facet\\n /// NOTE: It is expected but NOT enforced that:\\n /// - `_facet` is NON-ZERO address\\n /// - `_facet` is already stored address in `DiamondStorage.facets`\\n /// - `_selector` is NOT associated by another facet\\n function _addOneFunction(\\n address _facet,\\n bytes4 _selector,\\n bool _isSelectorFreezable\\n ) private {\\n DiamondStorage storage ds = getDiamondStorage();\\n\\n uint16 selectorPosition = (ds.facetToSelectors[_facet].selectors.length).toUint16();\\n\\n // if selectorPosition is nonzero, it means it is not a new facet\\n // so the freezability of the first selector must be matched to _isSelectorFreezable\\n // so all the selectors in a facet will have the same freezability\\n if (selectorPosition != 0) {\\n bytes4 selector0 = ds.facetToSelectors[_facet].selectors[0];\\n require(_isSelectorFreezable == ds.selectorToFacet[selector0].isFreezable, \\\"J1\\\");\\n }\\n\\n ds.selectorToFacet[_selector] = SelectorToFacet({\\n facetAddress: _facet,\\n selectorPosition: selectorPosition,\\n isFreezable: _isSelectorFreezable\\n });\\n ds.facetToSelectors[_facet].selectors.push(_selector);\\n }\\n\\n /// @dev Remove one associated function with facet\\n /// NOTE: It is expected but NOT enforced that `_facet` is NON-ZERO address\\n function _removeOneFunction(address _facet, bytes4 _selector) private {\\n DiamondStorage storage ds = getDiamondStorage();\\n\\n // Get index of `FacetToSelectors.selectors` of the selector and last element of array\\n uint256 selectorPosition = ds.selectorToFacet[_selector].selectorPosition;\\n uint256 lastSelectorPosition = ds.facetToSelectors[_facet].selectors.length - 1;\\n\\n // If the selector is not at the end of the array then move the last element to the selector position\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetToSelectors[_facet].selectors[lastSelectorPosition];\\n\\n ds.facetToSelectors[_facet].selectors[selectorPosition] = lastSelector;\\n ds.selectorToFacet[lastSelector].selectorPosition = selectorPosition.toUint16();\\n }\\n\\n // Remove last element from the selectors array\\n ds.facetToSelectors[_facet].selectors.pop();\\n\\n // Finally, clean up the association with facet\\n delete ds.selectorToFacet[_selector];\\n\\n // If there are no selectors for facet then remove the facet from the list of known facets\\n if (lastSelectorPosition == 0) {\\n _removeFacet(_facet);\\n }\\n }\\n\\n /// @dev remove facet from the list of known facets\\n /// NOTE: It is expected but NOT enforced that there are no selectors associated with `_facet`\\n function _removeFacet(address _facet) private {\\n DiamondStorage storage ds = getDiamondStorage();\\n\\n // Get index of `DiamondStorage.facets` of the facet and last element of array\\n uint256 facetPosition = ds.facetToSelectors[_facet].facetPosition;\\n uint256 lastFacetPosition = ds.facets.length - 1;\\n\\n // If the facet is not at the end of the array then move the last element to the facet position\\n if (facetPosition != lastFacetPosition) {\\n address lastFacet = ds.facets[lastFacetPosition];\\n\\n ds.facets[facetPosition] = lastFacet;\\n ds.facetToSelectors[lastFacet].facetPosition = facetPosition.toUint16();\\n }\\n\\n // Remove last element from the facets array\\n ds.facets.pop();\\n }\\n\\n /// @dev Delegates call to the initialization address with provided calldata\\n /// @dev Used as a final step of diamond cut to execute the logic of the initialization for changed facets\\n function _initializeDiamondCut(address _init, bytes memory _calldata) private {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"H\\\"); // Non-empty calldata for zero address\\n } else {\\n // Do not check whether `_init` is a contract since later we check that it returns data.\\n (bool success, bytes memory data) = _init.delegatecall(_calldata);\\n require(success, \\\"I\\\"); // delegatecall failed\\n\\n // Check that called contract returns magic value to make sure that contract logic\\n // supposed to be used as diamond cut initializer.\\n require(data.length == 32, \\\"lp\\\");\\n require(abi.decode(data, (bytes32)) == DIAMOND_INIT_SUCCESS_RETURN_VALUE, \\\"lp1\\\");\\n }\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 200\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facet\",\"type\":\"address\"},{\"internalType\":\"enum Diamond.Action\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"isFreezable\",\"type\":\"bool\"},{\"internalType\":\"bytes4[]\",\"name\":\"selectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct Diamond.FacetCut[]\",\"name\":\"facetCuts\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"initAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"initCalldata\",\"type\":\"bytes\"}],\"internalType\":\"struct Diamond.DiamondCutData\",\"name\":\"_diamondCut\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"}]","ContractName":"DiamondProxy","CompilerVersion":"v0.8.17+commit.8df45f5f","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000b91d905a698c28b73c61af60c63919b754fcf4de0000000000000000000000000000000000000000000000000000000000000ba0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000000000000000000000000000000000000960000000000000000000000000c48d496459e1358d055a79173bea41efb7449028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000873fb92970000000000000000000000000000000000000000000000000000000036d4eb840000000000000000000000000000000000000000000000000000000027ae4c16000000000000000000000000000000000000000000000000000000000551448c000000000000000000000000000000000000000000000000000000008043760a00000000000000000000000000000000000000000000000000000000beda4b12000000000000000000000000000000000000000000000000000000001733894500000000000000000000000000000000000000000000000000000000587809c700000000000000000000000000000000000000000000000000000000000000000000000000000000c30af84a6aff43d5fd06feda6ba20bdfed539f6c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001fcdffacc60000000000000000000000000000000000000000000000000000000052ef6b2c00000000000000000000000000000000000000000000000000000000adfca15e000000000000000000000000000000000000000000000000000000007a0ed62700000000000000000000000000000000000000000000000000000000fe10226d0000000000000000000000000000000000000000000000000000000079823c9a000000000000000000000000000000000000000000000000000000004fc07d7500000000000000000000000000000000000000000000000000000000d86970d800000000000000000000000000000000000000000000000000000000fd791f3c000000000000000000000000000000000000000000000000000000008665b15000000000000000000000000000000000000000000000000000000000631f4bac000000000000000000000000000000000000000000000000000000001b60e62600000000000000000000000000000000000000000000000000000000e39d3bff000000000000000000000000000000000000000000000000000000000ef240a000000000000000000000000000000000000000000000000000000000fe26699e000000000000000000000000000000000000000000000000000000003960738200000000000000000000000000000000000000000000000000000000af6a2dcd00000000000000000000000000000000000000000000000000000000a1954fc500000000000000000000000000000000000000000000000000000000a39980a00000000000000000000000000000000000000000000000000000000046657fe90000000000000000000000000000000000000000000000000000000018e3a941000000000000000000000000000000000000000000000000000000002cc8412a000000000000000000000000000000000000000000000000000000003db920ce0000000000000000000000000000000000000000000000000000000029b98c6700000000000000000000000000000000000000000000000000000000bd7c541200000000000000000000000000000000000000000000000000000000c3bbd2d700000000000000000000000000000000000000000000000000000000e81e0ba100000000000000000000000000000000000000000000000000000000facd743b000000000000000000000000000000000000000000000000000000009cd939e40000000000000000000000000000000000000000000000000000000056142d7a0000000000000000000000000000000000000000000000000000000074f4d30d000000000000000000000000000000000000000000000000000000000000000000000000000000002ea0cfb9c942058ee5a84411ef2e37c6de5bfe5c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000076c0960f900000000000000000000000000000000000000000000000000000000b473318e00000000000000000000000000000000000000000000000000000000042901c700000000000000000000000000000000000000000000000000000000263b7f8e00000000000000000000000000000000000000000000000000000000e4948f4300000000000000000000000000000000000000000000000000000000eb67241900000000000000000000000000000000000000000000000000000000f36dc9150000000000000000000000000000000000000000000000000000000000000000000000000000000098e900eb2e5fde9786f736e86d6bfbfdb3e4683b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000040c4dd81000000000000000000000000000000000000000000000000000000000ce9dcf16000000000000000000000000000000000000000000000000000000007739cbe700000000000000000000000000000000000000000000000000000000a9a2d18a00000000000000000000000000000000000000000000000000000000000000000000000000000000a7e8a8f71c3cc43946601cc99997f8cd6828a9b90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000009e58bb6390000000000000000000000000000000000000000000000000000000086cb9909000000000000000000000000000000000000000000000000000000000707ac0900000000000000000000000000000000000000000000000000000000f235757f000000000000000000000000000000000000000000000000000000001cc5d10300000000000000000000000000000000000000000000000000000000be6f11cf000000000000000000000000000000000000000000000000000000004623c91d000000000000000000000000000000000000000000000000000000005437988d000000000000000000000000000000000000000000000000000000000b5088830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4e916f8530000000000000000000000006a28b1bc6123fe525ff46d881ff80871d0eb3f0200000000000000000000000029df43f75149d0552475a6f9b2ac96e28796ed0b000000000000000000000000112200eaa6d57120c86b8b51a8b6049d56b82211bc59c242d551e3939b9b2939b8b686efa77ba3833183045d548aa5f53357ba950000000000000000000000000000000000000000000000000000000000000015034fb8586032c0d6f07b4a8db319590095e390bd0dbf84976f8d009ad16cd18d000000000000000000000000185e050ec1c22c45445a9adea99b12e1a1372eba1186ec268d49f1905f8d9c1e9d39fc33e98c74f91d91a21b8f7ef78bd09a8db8101e08b00193e529145ee09823378ef51a3bc8966504064f1f6ba3f1ba8632100af0d77503b93a15fedd086638b7326cd3d169a2f388e568f41ea906c7a6eb9300000000000000000000000000000000000000000000000000000000000000000100038581be3d0e201b3cc45d151ef5cc59eb3a0f146ad44f0f72abf00b594c0100038dc66b69be75ec31653c64cb931678299b9b659472772b2550b703f41c00000000000000000000000000000000000000000000000000000000044aa20000000000000000000000000000000000000000000000000000000000","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0x36b026c39125964d99596ce302866b5a59e4de27","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/11e80aa175ceeb0d57746ab66b7301170f89db9f53979c8d659f5347ca67058f b/tests/cachedrpc/11e80aa175ceeb0d57746ab66b7301170f89db9f53979c8d659f5347ca67058f new file mode 100644 index 00000000..f918588d --- /dev/null +++ b/tests/cachedrpc/11e80aa175ceeb0d57746ab66b7301170f89db9f53979c8d659f5347ca67058f @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.5.0;\r\n\r\n\r\n// Bitfinex LEO Token 2019\r\n// Based on Giveth's MiniMe Token framework\r\n\r\ncontract Ownable {\r\n\r\n address public owner;\r\n\r\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\r\n\r\n constructor() public {\r\n owner = msg.sender;\r\n }\r\n\r\n modifier onlyOwner() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n function transferOwnership(address newOwner) public onlyOwner {\r\n require(newOwner != address(0));\r\n emit OwnershipTransferred(owner, newOwner);\r\n owner = newOwner;\r\n }\r\n\r\n}\r\n\r\n\r\n// Modified 2019, Will Harborne\r\n\r\n/*\r\n Copyright 2016, Jordi Baylina\r\n\r\n This program is free software: you can redistribute it and/or modify\r\n it under the terms of the GNU General Public License as published by\r\n the Free Software Foundation, either version 3 of the License, or\r\n (at your option) any later version.\r\n\r\n This program is distributed in the hope that it will be useful,\r\n but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n GNU General Public License for more details.\r\n\r\n You should have received a copy of the GNU General Public License\r\n along with this program. If not, see .\r\n */\r\n\r\n/// @title MiniMeToken Contract\r\n/// @author Jordi Baylina\r\n/// @dev This token contract's goal is to make it easy for anyone to clone this\r\n/// token using the token distribution at a given block, this will allow DAO's\r\n/// and DApps to upgrade their features in a decentralized manner without\r\n/// affecting the original token\r\n/// @dev It is ERC20 compliant, but still needs to under go further testing.\r\n\r\ncontract Controlled {\r\n\r\n event ControlTransferred(address indexed previousControler, address indexed newController);\r\n\r\n /// @notice The address of the controller is the only address that can call\r\n /// a function with this modifier\r\n modifier onlyController { require(msg.sender == controller); _; }\r\n\r\n address public controller;\r\n\r\n constructor() public { controller = msg.sender;}\r\n\r\n /// @notice Changes the controller of the contract\r\n /// @param _newController The new controller of the contract\r\n function changeController(address _newController) public onlyController {\r\n emit ControlTransferred(controller, _newController);\r\n controller = _newController;\r\n }\r\n}\r\n\r\ncontract TokenController {\r\n /// @notice Called when `_owner` sends ether to the MiniMe Token contract\r\n /// @param _owner The address that sent the ether to create tokens\r\n /// @return True if the ether is accepted, false if it throws\r\n function proxyPayment(address _owner) public payable returns(bool);\r\n\r\n /// @notice Notifies the controller about a token transfer allowing the\r\n /// controller to react if desired\r\n /// @param _from The origin of the transfer\r\n /// @param _to The destination of the transfer\r\n /// @param _amount The amount of the transfer\r\n /// @return False if the controller does not authorize the transfer\r\n function onTransfer(address _from, address _to, uint _amount) public returns(bool);\r\n\r\n /// @notice Notifies the controller about an approval allowing the\r\n /// controller to react if desired\r\n /// @param _owner The address that calls `approve()`\r\n /// @param _spender The spender in the `approve()` call\r\n /// @param _amount The amount in the `approve()` call\r\n /// @return False if the controller does not authorize the approval\r\n function onApprove(address _owner, address _spender, uint _amount) public\r\n returns(bool);\r\n\r\n}\r\n\r\n\r\ncontract ApproveAndCallFallBack {\r\n function receiveApproval(address from, uint256 _amount, address _token, bytes memory _data) public;\r\n}\r\n\r\n/// @dev The actual token contract, the default controller is the msg.sender\r\n/// that deploys the contract, so usually this token will be deployed by a\r\n/// token controller contract, which Giveth will call a \"Campaign\"\r\n/// @dev The actual token contract, the default controller is the msg.sender\r\n/// that deploys the contract, so usually this token will be deployed by a\r\n/// token controller contract, which Giveth will call a \"Campaign\"\r\ncontract MiniMeToken is Controlled {\r\n\r\n string public name; //The Token's name: e.g. DigixDAO Tokens\r\n uint8 public decimals; //Number of decimals of the smallest unit\r\n string public symbol; //An identifier: e.g. REP\r\n string public version = '3.0.0'; //An arbitrary versioning scheme\r\n\r\n\r\n /// @dev `Checkpoint` is the structure that attaches a block number to a\r\n /// given value, the block number attached is the one that last changed the\r\n /// value\r\n struct Checkpoint {\r\n\r\n // `fromBlock` is the block number that the value was generated from\r\n uint256 fromBlock;\r\n\r\n // `value` is the amount of tokens at a specific block number\r\n uint256 value;\r\n }\r\n\r\n // `parentToken` is the Token address that was cloned to produce this token;\r\n // it will be 0x0 for a token that was not cloned\r\n MiniMeToken public parentToken;\r\n\r\n // `parentSnapShotBlock` is the block number from the Parent Token that was\r\n // used to determine the initial distribution of the Clone Token\r\n uint public parentSnapShotBlock;\r\n\r\n // `creationBlock` is the block number that the Clone Token was created\r\n uint public creationBlock;\r\n\r\n // `balances` is the map that tracks the balance of each address, in this\r\n // contract when the balance changes the block number that the change\r\n // occurred is also included in the map\r\n mapping (address => Checkpoint[]) balances;\r\n\r\n // `allowed` tracks any extra transfer rights as in all ERC20 tokens\r\n mapping (address => mapping (address => uint256)) allowed;\r\n\r\n // Tracks the history of the `totalSupply` of the token\r\n Checkpoint[] totalSupplyHistory;\r\n\r\n // Flag that determines if the token is transferable or not.\r\n bool public transfersEnabled;\r\n\r\n // The factory used to create new clone tokens\r\n MiniMeTokenFactory public tokenFactory;\r\n\r\n////////////////\r\n// Constructor\r\n////////////////\r\n\r\n /// @notice Constructor to create a MiniMeToken\r\n /// @param _tokenFactory The address of the MiniMeTokenFactory contract that\r\n /// will create the Clone token contracts, the token factory needs to be\r\n /// deployed first\r\n /// @param _parentToken Address of the parent token, set to 0x0 if it is a\r\n /// new token\r\n /// @param _parentSnapShotBlock Block of the parent token that will\r\n /// determine the initial distribution of the clone token, set to 0 if it\r\n /// is a new token\r\n /// @param _tokenName Name of the new token\r\n /// @param _decimalUnits Number of decimals of the new token\r\n /// @param _tokenSymbol Token Symbol for the new token\r\n /// @param _transfersEnabled If true, tokens will be able to be transferred\r\n constructor(\r\n address _tokenFactory,\r\n address payable _parentToken,\r\n uint _parentSnapShotBlock,\r\n string memory _tokenName,\r\n uint8 _decimalUnits,\r\n string memory _tokenSymbol,\r\n bool _transfersEnabled\r\n ) public {\r\n tokenFactory = MiniMeTokenFactory(_tokenFactory);\r\n name = _tokenName; // Set the name\r\n decimals = _decimalUnits; // Set the decimals\r\n symbol = _tokenSymbol; // Set the symbol\r\n parentToken = MiniMeToken(_parentToken);\r\n parentSnapShotBlock = _parentSnapShotBlock;\r\n transfersEnabled = _transfersEnabled;\r\n creationBlock = block.number;\r\n }\r\n\r\n\r\n///////////////////\r\n// ERC20 Methods\r\n///////////////////\r\n\r\n uint constant MAX_UINT = 2**256 - 1;\r\n\r\n /// @notice Send `_amount` tokens to `_to` from `msg.sender`\r\n /// @param _to The address of the recipient\r\n /// @param _amount The amount of tokens to be transferred\r\n /// @return Whether the transfer was successful or not\r\n function transfer(address _to, uint256 _amount) public returns (bool success) {\r\n require(transfersEnabled);\r\n doTransfer(msg.sender, _to, _amount);\r\n return true;\r\n }\r\n\r\n /// @notice Send `_amount` tokens to `_to` from `_from` on the condition it\r\n /// is approved by `_from`\r\n /// @param _from The address holding the tokens being transferred\r\n /// @param _to The address of the recipient\r\n /// @param _amount The amount of tokens to be transferred\r\n /// @return True if the transfer was successful\r\n function transferFrom(address _from, address _to, uint256 _amount\r\n ) public returns (bool success) {\r\n\r\n // The controller of this contract can move tokens around at will,\r\n // this is important to recognize! Confirm that you trust the\r\n // controller of this contract, which in most situations should be\r\n // another open source smart contract or 0x0\r\n if (msg.sender != controller) {\r\n require(transfersEnabled);\r\n\r\n // The standard ERC 20 transferFrom functionality\r\n if (allowed[_from][msg.sender] < MAX_UINT) {\r\n require(allowed[_from][msg.sender] >= _amount);\r\n allowed[_from][msg.sender] -= _amount;\r\n }\r\n }\r\n doTransfer(_from, _to, _amount);\r\n return true;\r\n }\r\n\r\n /// @dev This is the actual transfer function in the token contract, it can\r\n /// only be called by other functions in this contract.\r\n /// @param _from The address holding the tokens being transferred\r\n /// @param _to The address of the recipient\r\n /// @param _amount The amount of tokens to be transferred\r\n /// @return True if the transfer was successful\r\n function doTransfer(address _from, address _to, uint _amount\r\n ) internal {\r\n\r\n if (_amount == 0) {\r\n emit Transfer(_from, _to, _amount); // Follow the spec to louch the event when transfer 0\r\n return;\r\n }\r\n\r\n require(parentSnapShotBlock < block.number);\r\n\r\n // Do not allow transfer to 0x0 or the token contract itself\r\n require((_to != address(0)) && (_to != address(this)));\r\n\r\n // If the amount being transfered is more than the balance of the\r\n // account the transfer throws\r\n uint256 previousBalanceFrom = balanceOfAt(_from, block.number);\r\n\r\n require(previousBalanceFrom >= _amount);\r\n\r\n // Alerts the token controller of the transfer\r\n if (isContract(controller)) {\r\n require(TokenController(controller).onTransfer(_from, _to, _amount));\r\n }\r\n\r\n // First update the balance array with the new value for the address\r\n // sending the tokens\r\n updateValueAtNow(balances[_from], previousBalanceFrom - _amount);\r\n\r\n // Then update the balance array with the new value for the address\r\n // receiving the tokens\r\n uint256 previousBalanceTo = balanceOfAt(_to, block.number);\r\n require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow\r\n updateValueAtNow(balances[_to], previousBalanceTo + _amount);\r\n\r\n // An event to make the transfer easy to find on the blockchain\r\n emit Transfer(_from, _to, _amount);\r\n\r\n }\r\n\r\n /// @param _owner The address that's balance is being requested\r\n /// @return The balance of `_owner` at the current block\r\n function balanceOf(address _owner) public view returns (uint256 balance) {\r\n return balanceOfAt(_owner, block.number);\r\n }\r\n\r\n /// @notice `msg.sender` approves `_spender` to spend `_amount` tokens on\r\n /// its behalf. This is a modified version of the ERC20 approve function\r\n /// to be a little bit safer\r\n /// @param _spender The address of the account able to transfer the tokens\r\n /// @param _amount The amount of tokens to be approved for transfer\r\n /// @return True if the approval was successful\r\n function approve(address _spender, uint256 _amount) public returns (bool success) {\r\n require(transfersEnabled);\r\n\r\n // To change the approve amount you first have to reduce the addresses`\r\n // allowance to zero by calling `approve(_spender,0)` if it is not\r\n // already 0 to mitigate the race condition described here:\r\n // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n require((_amount == 0) || (allowed[msg.sender][_spender] == 0));\r\n\r\n // Alerts the token controller of the approve function call\r\n if (isContract(controller)) {\r\n require(TokenController(controller).onApprove(msg.sender, _spender, _amount));\r\n }\r\n\r\n allowed[msg.sender][_spender] = _amount;\r\n emit Approval(msg.sender, _spender, _amount);\r\n return true;\r\n }\r\n\r\n /// @dev This function makes it easy to read the `allowed[]` map\r\n /// @param _owner The address of the account that owns the token\r\n /// @param _spender The address of the account able to transfer the tokens\r\n /// @return Amount of remaining tokens of _owner that _spender is allowed\r\n /// to spend\r\n function allowance(address _owner, address _spender\r\n ) public view returns (uint256 remaining) {\r\n return allowed[_owner][_spender];\r\n }\r\n\r\n /// @notice `msg.sender` approves `_spender` to send `_amount` tokens on\r\n /// its behalf, and then a function is triggered in the contract that is\r\n /// being approved, `_spender`. This allows users to use their tokens to\r\n /// interact with contracts in one function call instead of two\r\n /// @param _spender The address of the contract able to transfer the tokens\r\n /// @param _amount The amount of tokens to be approved for transfer\r\n /// @return True if the function call was successful\r\n function approveAndCall(address _spender, uint256 _amount, bytes memory _extraData\r\n ) public returns (bool success) {\r\n require(approve(_spender, _amount));\r\n\r\n ApproveAndCallFallBack(_spender).receiveApproval(\r\n msg.sender,\r\n _amount,\r\n address(this),\r\n _extraData\r\n );\r\n\r\n return true;\r\n }\r\n\r\n /// @dev This function makes it easy to get the total number of tokens\r\n /// @return The total number of tokens\r\n function totalSupply() public view returns (uint) {\r\n return totalSupplyAt(block.number);\r\n }\r\n\r\n\r\n////////////////\r\n// Query balance and totalSupply in History\r\n////////////////\r\n\r\n /// @dev Queries the balance of `_owner` at a specific `_blockNumber`\r\n /// @param _owner The address from which the balance will be retrieved\r\n /// @param _blockNumber The block number when the balance is queried\r\n /// @return The balance at `_blockNumber`\r\n function balanceOfAt(address _owner, uint _blockNumber) public view\r\n returns (uint) {\r\n\r\n // These next few lines are used when the balance of the token is\r\n // requested before a check point was ever created for this token, it\r\n // requires that the `parentToken.balanceOfAt` be queried at the\r\n // genesis block for that token as this contains initial balance of\r\n // this token\r\n if ((balances[_owner].length == 0)\r\n || (balances[_owner][0].fromBlock > _blockNumber)) {\r\n if (address(parentToken) != address(0)) {\r\n return parentToken.balanceOfAt(_owner, min(_blockNumber, parentSnapShotBlock));\r\n } else {\r\n // Has no parent\r\n return 0;\r\n }\r\n\r\n // This will return the expected balance during normal situations\r\n } else {\r\n return getValueAt(balances[_owner], _blockNumber);\r\n }\r\n }\r\n\r\n /// @notice Total amount of tokens at a specific `_blockNumber`.\r\n /// @param _blockNumber The block number when the totalSupply is queried\r\n /// @return The total amount of tokens at `_blockNumber`\r\n function totalSupplyAt(uint _blockNumber) public view returns(uint) {\r\n\r\n // These next few lines are used when the totalSupply of the token is\r\n // requested before a check point was ever created for this token, it\r\n // requires that the `parentToken.totalSupplyAt` be queried at the\r\n // genesis block for this token as that contains totalSupply of this\r\n // token at this block number.\r\n if ((totalSupplyHistory.length == 0)\r\n || (totalSupplyHistory[0].fromBlock > _blockNumber)) {\r\n if (address(parentToken) != address(0)) {\r\n return parentToken.totalSupplyAt(min(_blockNumber, parentSnapShotBlock));\r\n } else {\r\n return 0;\r\n }\r\n\r\n // This will return the expected totalSupply during normal situations\r\n } else {\r\n return getValueAt(totalSupplyHistory, _blockNumber);\r\n }\r\n }\r\n\r\n////////////////\r\n// Clone Token Method\r\n////////////////\r\n\r\n /// @notice Creates a new clone token with the initial distribution being\r\n /// this token at `_snapshotBlock`\r\n /// @param _cloneTokenName Name of the clone token\r\n /// @param _cloneDecimalUnits Number of decimals of the smallest unit\r\n /// @param _cloneTokenSymbol Symbol of the clone token\r\n /// @param _snapshotBlock Block when the distribution of the parent token is\r\n /// copied to set the initial distribution of the new clone token;\r\n /// if the block is zero than the actual block, the current block is used\r\n /// @param _transfersEnabled True if transfers are allowed in the clone\r\n /// @return The address of the new MiniMeToken Contract\r\n function createCloneToken(\r\n string memory _cloneTokenName,\r\n uint8 _cloneDecimalUnits,\r\n string memory _cloneTokenSymbol,\r\n uint _snapshotBlock,\r\n bool _transfersEnabled\r\n ) public returns(address) {\r\n if (_snapshotBlock == 0) _snapshotBlock = block.number;\r\n MiniMeToken cloneToken = tokenFactory.createCloneToken(\r\n address(this),\r\n _snapshotBlock,\r\n _cloneTokenName,\r\n _cloneDecimalUnits,\r\n _cloneTokenSymbol,\r\n _transfersEnabled\r\n );\r\n\r\n cloneToken.changeController(msg.sender);\r\n\r\n // An event to make the token easy to find on the blockchain\r\n emit NewCloneToken(address(cloneToken), _snapshotBlock);\r\n return address(cloneToken);\r\n }\r\n\r\n////////////////\r\n// Generate and destroy tokens\r\n////////////////\r\n\r\n /// @notice Generates `_amount` tokens that are assigned to `_owner`\r\n /// @param _owner The address that will be assigned the new tokens\r\n /// @param _amount The quantity of tokens generated\r\n /// @return True if the tokens are generated correctly\r\n function generateTokens(address _owner, uint _amount\r\n ) public onlyController returns (bool) {\r\n uint curTotalSupply = totalSupply();\r\n require(curTotalSupply + _amount >= curTotalSupply); // Check for overflow\r\n uint previousBalanceTo = balanceOf(_owner);\r\n require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow\r\n updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount);\r\n updateValueAtNow(balances[_owner], previousBalanceTo + _amount);\r\n emit Transfer(address(0), _owner, _amount);\r\n return true;\r\n }\r\n\r\n\r\n /// @notice Burns `_amount` tokens from `_owner`\r\n /// @param _owner The address that will lose the tokens\r\n /// @param _amount The quantity of tokens to burn\r\n /// @return True if the tokens are burned correctly\r\n function destroyTokens(address _owner, uint _amount\r\n ) onlyController public returns (bool) {\r\n uint curTotalSupply = totalSupply();\r\n require(curTotalSupply >= _amount);\r\n uint previousBalanceFrom = balanceOf(_owner);\r\n require(previousBalanceFrom >= _amount);\r\n updateValueAtNow(totalSupplyHistory, curTotalSupply - _amount);\r\n updateValueAtNow(balances[_owner], previousBalanceFrom - _amount);\r\n emit Transfer(_owner, address(0), _amount);\r\n return true;\r\n }\r\n\r\n////////////////\r\n// Enable tokens transfers\r\n////////////////\r\n\r\n\r\n /// @notice Enables token holders to transfer their tokens freely if true\r\n /// @param _transfersEnabled True if transfers are allowed in the clone\r\n function enableTransfers(bool _transfersEnabled) public onlyController {\r\n transfersEnabled = _transfersEnabled;\r\n }\r\n\r\n////////////////\r\n// Internal helper functions to query and set a value in a snapshot array\r\n////////////////\r\n\r\n /// @dev `getValueAt` retrieves the number of tokens at a given block number\r\n /// @param checkpoints The history of values being queried\r\n /// @param _block The block number to retrieve the value at\r\n /// @return The number of tokens being queried\r\n function getValueAt(Checkpoint[] storage checkpoints, uint _block\r\n ) view internal returns (uint) {\r\n if (checkpoints.length == 0) return 0;\r\n\r\n // Shortcut for the actual value\r\n if (_block >= checkpoints[checkpoints.length-1].fromBlock)\r\n return checkpoints[checkpoints.length-1].value;\r\n if (_block < checkpoints[0].fromBlock) return 0;\r\n\r\n // Binary search of the value in the array\r\n uint min = 0;\r\n uint max = checkpoints.length-1;\r\n uint mid = 0;\r\n while (max > min) {\r\n mid = (max + min + 1)/ 2;\r\n if (checkpoints[mid].fromBlock<=_block) {\r\n min = mid;\r\n } else {\r\n max = mid-1;\r\n }\r\n }\r\n return checkpoints[min].value;\r\n }\r\n\r\n /// @dev `updateValueAtNow` used to update the `balances` map and the\r\n /// `totalSupplyHistory`\r\n /// @param checkpoints The history of data being updated\r\n /// @param _value The new number of tokens\r\n function updateValueAtNow(Checkpoint[] storage checkpoints, uint _value\r\n ) internal {\r\n if ((checkpoints.length == 0)\r\n || (checkpoints[checkpoints.length -1].fromBlock < block.number)) {\r\n Checkpoint storage newCheckPoint = checkpoints[ checkpoints.length++ ];\r\n newCheckPoint.fromBlock = uint256(block.number);\r\n newCheckPoint.value = uint256(_value);\r\n } else {\r\n Checkpoint storage oldCheckPoint = checkpoints[checkpoints.length-1];\r\n oldCheckPoint.value = uint256(_value);\r\n }\r\n }\r\n\r\n /// @dev Internal function to determine if an address is a contract\r\n /// @param _addr The address being queried\r\n /// @return True if `_addr` is a contract\r\n function isContract(address _addr) view internal returns(bool) {\r\n uint size;\r\n if (_addr == address(0)) return false;\r\n assembly {\r\n size := extcodesize(_addr)\r\n }\r\n return size>0;\r\n }\r\n\r\n /// @dev Helper function to return a min betwen the two uints\r\n function min(uint a, uint b) pure internal returns (uint) {\r\n return a < b ? a : b;\r\n }\r\n\r\n /// @notice The fallback function: If the contract's controller has not been\r\n /// set to 0, then the `proxyPayment` method is called which relays the\r\n /// ether and creates tokens as described in the token controller contract\r\n function () external payable {\r\n require(isContract(controller));\r\n require(TokenController(controller).proxyPayment.value(msg.value)(msg.sender));\r\n }\r\n\r\n\r\n////////////////\r\n// Events\r\n////////////////\r\n event ClaimedTokens(address indexed _token, address indexed _controller, uint _amount);\r\n event Transfer(address indexed _from, address indexed _to, uint256 _amount);\r\n event NewCloneToken(address indexed _cloneToken, uint _snapshotBlock);\r\n event Approval(\r\n address indexed _owner,\r\n address indexed _spender,\r\n uint256 _amount\r\n );\r\n\r\n}\r\n\r\n\r\n////////////////\r\n// MiniMeTokenFactory\r\n////////////////\r\n\r\n/// @dev This contract is used to generate clone contracts from a contract.\r\n/// In solidity this is the way to create a contract from a contract of the\r\n/// same class\r\ncontract MiniMeTokenFactory {\r\n\r\n /// @notice Update the DApp by creating a new token with new functionalities\r\n /// the msg.sender becomes the controller of this clone token\r\n /// @param _parentToken Address of the token being cloned\r\n /// @param _snapshotBlock Block of the parent token that will\r\n /// determine the initial distribution of the clone token\r\n /// @param _tokenName Name of the new token\r\n /// @param _decimalUnits Number of decimals of the new token\r\n /// @param _tokenSymbol Token Symbol for the new token\r\n /// @param _transfersEnabled If true, tokens will be able to be transferred\r\n /// @return The address of the new token contract\r\n function createCloneToken(\r\n address payable _parentToken,\r\n uint _snapshotBlock,\r\n string memory _tokenName,\r\n uint8 _decimalUnits,\r\n string memory _tokenSymbol,\r\n bool _transfersEnabled\r\n ) public returns (MiniMeToken) {\r\n MiniMeToken newToken = new MiniMeToken(\r\n address(this),\r\n _parentToken,\r\n _snapshotBlock,\r\n _tokenName,\r\n _decimalUnits,\r\n _tokenSymbol,\r\n _transfersEnabled\r\n );\r\n\r\n newToken.changeController(msg.sender);\r\n return newToken;\r\n }\r\n }\r\n\r\n\r\ncontract LEO is MiniMeToken {\r\n\r\n constructor(\r\n address _tokenFactory,\r\n address initialOwner\r\n ) public MiniMeToken(\r\n _tokenFactory,\r\n address(0), // no parent token\r\n 0, // no snapshot block number from parent\r\n \"Bitfinex LEO Token\", // Token name\r\n 18, // Decimals\r\n \"LEO\", // Symbol\r\n true // Enable transfers\r\n ) {\r\n generateTokens(initialOwner, 660000000000000000000000000);\r\n }\r\n\r\n}\r\n\r\n\r\ncontract LEOController is TokenController, Ownable {\r\n\r\n LEO public tokenContract; // The new token for this Campaign\r\n\r\n /// @param _tokenAddress Address of the token contract this contract controls\r\n\r\n constructor(\r\n address payable _tokenAddress\r\n ) public {\r\n tokenContract = LEO(_tokenAddress); // The Deployed Token Contract\r\n }\r\n\r\n\r\n/////////////////\r\n// TokenController interface\r\n/////////////////\r\n\r\n /// @notice Notifies the controller about a transfer.\r\n /// Transfers can only happen to whitelisted addresses\r\n /// @param _from The origin of the transfer\r\n /// @param _to The destination of the transfer\r\n /// @param _amount The amount of the transfer\r\n /// @return False if the controller does not authorize the transfer\r\n function onTransfer(address _from, address _to, uint _amount) public returns(bool) {\r\n return true;\r\n }\r\n\r\n /// @notice Notifies the controller about an approval, for this Campaign all\r\n /// approvals are allowed by default and no extra notifications are needed\r\n /// @param _owner The address that calls `approve()`\r\n /// @param _spender The spender in the `approve()` call\r\n /// @param _amount The amount in the `approve()` call\r\n /// @return False if the controller does not authorize the approval\r\n function onApprove(address _owner, address _spender, uint _amount) public\r\n returns(bool)\r\n {\r\n return true;\r\n }\r\n\r\n function proxyPayment(address _owner) public payable returns(bool allowed) {\r\n allowed = false;\r\n }\r\n\r\n /// @notice `onlyOwner` can upgrade the controller contract\r\n /// @param _newControllerAddress The address that will have the token control logic\r\n function upgradeController(address _newControllerAddress) public onlyOwner {\r\n tokenContract.changeController(_newControllerAddress);\r\n emit UpgradedController(_newControllerAddress);\r\n }\r\n\r\n function burnTokens(uint _amount) public onlyOwner returns (bool) {\r\n tokenContract.destroyTokens(owner, _amount);\r\n }\r\n\r\n function issueTokens(uint _amount) public onlyOwner returns (bool) {\r\n tokenContract.generateTokens(owner, _amount);\r\n }\r\n\r\n\r\n//////////\r\n// Safety Methods\r\n//////////\r\n\r\n /// @notice This method can be used by the owner to extract mistakenly\r\n /// sent tokens to this contract.\r\n /// @param _token The address of the token contract that you want to recover\r\n function claimLostTokens(address payable _token) public onlyOwner {\r\n\r\n LEO token = LEO(_token);\r\n uint balance = token.balanceOf(address(this));\r\n token.transfer(owner, balance);\r\n emit ClaimedTokens(_token, owner, balance);\r\n }\r\n\r\n////////////////\r\n// Events\r\n////////////////\r\n event ClaimedTokens(address indexed _token, address indexed _controller, uint _amount);\r\n\r\n event UpgradedController (address newAddress);\r\n\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"creationBlock\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_newController\",\"type\":\"address\"}],\"name\":\"changeController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"balanceOfAt\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_cloneTokenName\",\"type\":\"string\"},{\"name\":\"_cloneDecimalUnits\",\"type\":\"uint8\"},{\"name\":\"_cloneTokenSymbol\",\"type\":\"string\"},{\"name\":\"_snapshotBlock\",\"type\":\"uint256\"},{\"name\":\"_transfersEnabled\",\"type\":\"bool\"}],\"name\":\"createCloneToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"parentToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"generateTokens\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"totalSupplyAt\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"transfersEnabled\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"parentSnapShotBlock\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"approveAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"destroyTokens\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"tokenFactory\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_transfersEnabled\",\"type\":\"bool\"}],\"name\":\"enableTransfers\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_tokenFactory\",\"type\":\"address\"},{\"name\":\"initialOwner\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_controller\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"ClaimedTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_cloneToken\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_snapshotBlock\",\"type\":\"uint256\"}],\"name\":\"NewCloneToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousControler\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newController\",\"type\":\"address\"}],\"name\":\"ControlTransferred\",\"type\":\"event\"}]","ContractName":"LEO","CompilerVersion":"v0.5.1+commit.c8a2cb62","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"0000000000000000000000008e9ac0de3ab634ce0e2f0e397efc5ce8a72a12b8000000000000000000000000e1f3c653248de6894d683cb2f10de7ca2253046f","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://e33bb8c5fab5aafa7ab530b4f370f3e2ba8b6f0f1d9ecb50bef2945c707727f2","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/1591547b6316636df62ef2b106927a4cba31a114fc6c78ce0126018cc4b10a9f b/tests/cachedrpc/1591547b6316636df62ef2b106927a4cba31a114fc6c78ce0126018cc4b10a9f new file mode 100644 index 00000000..d838fdbd --- /dev/null +++ b/tests/cachedrpc/1591547b6316636df62ef2b106927a4cba31a114fc6c78ce0126018cc4b10a9f @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.4.16;\r\n\r\n\r\n/**\r\n * @title SafeMath\r\n * @dev Math operations with safety checks that throw on error\r\n */\r\nlibrary SafeMath {\r\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\r\n uint256 c = a * b;\r\n assert(a == 0 || c / a == b);\r\n return c;\r\n }\r\n\r\n function div(uint256 a, uint256 b) internal constant returns (uint256) {\r\n // assert(b > 0); // Solidity automatically throws when dividing by 0\r\n uint256 c = a / b;\r\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\r\n return c;\r\n }\r\n\r\n function sub(uint256 a, uint256 b) internal constant returns (uint256) {\r\n assert(b <= a);\r\n return a - b;\r\n }\r\n\r\n function add(uint256 a, uint256 b) internal constant returns (uint256) {\r\n uint256 c = a + b;\r\n assert(c >= a);\r\n return c;\r\n }\r\n}\r\n\r\n\r\n/**\r\n * @title ERC20Basic\r\n * @dev Simpler version of ERC20 interface\r\n * @dev see https://github.com/ethereum/EIPs/issues/179\r\n */\r\ncontract ERC20Basic {\r\n uint256 public totalSupply;\r\n function balanceOf(address who) constant returns (uint256);\r\n function transfer(address to, uint256 value) returns (bool);\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n}\r\n/**\r\n * @title ERC20 interface\r\n * @dev see https://github.com/ethereum/EIPs/issues/20\r\n */\r\ncontract ERC20 is ERC20Basic {\r\n function allowance(address owner, address spender) constant returns (uint256);\r\n function transferFrom(address from, address to, uint256 value) returns (bool);\r\n function approve(address spender, uint256 value) returns (bool);\r\n event Approval(address indexed owner, address indexed spender, uint256 value);\r\n}\r\n\r\ncontract ERC677 is ERC20 {\r\n function transferAndCall(address to, uint value, bytes data) returns (bool success);\r\n\r\n event Transfer(address indexed from, address indexed to, uint value, bytes data);\r\n}\r\n\r\ncontract ERC677Receiver {\r\n function onTokenTransfer(address _sender, uint _value, bytes _data);\r\n}\r\n\r\n/**\r\n * @title Basic token\r\n * @dev Basic version of StandardToken, with no allowances. \r\n */\r\ncontract BasicToken is ERC20Basic {\r\n using SafeMath for uint256;\r\n\r\n mapping(address => uint256) balances;\r\n\r\n /**\r\n * @dev transfer token for a specified address\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n */\r\n function transfer(address _to, uint256 _value) returns (bool) {\r\n balances[msg.sender] = balances[msg.sender].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n Transfer(msg.sender, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Gets the balance of the specified address.\r\n * @param _owner The address to query the the balance of. \r\n * @return An uint256 representing the amount owned by the passed address.\r\n */\r\n function balanceOf(address _owner) constant returns (uint256 balance) {\r\n return balances[_owner];\r\n }\r\n\r\n}\r\n\r\n\r\n/**\r\n * @title Standard ERC20 token\r\n *\r\n * @dev Implementation of the basic standard token.\r\n * @dev https://github.com/ethereum/EIPs/issues/20\r\n * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol\r\n */\r\ncontract StandardToken is ERC20, BasicToken {\r\n\r\n mapping (address => mapping (address => uint256)) allowed;\r\n\r\n\r\n /**\r\n * @dev Transfer tokens from one address to another\r\n * @param _from address The address which you want to send tokens from\r\n * @param _to address The address which you want to transfer to\r\n * @param _value uint256 the amount of tokens to be transferred\r\n */\r\n function transferFrom(address _from, address _to, uint256 _value) returns (bool) {\r\n var _allowance = allowed[_from][msg.sender];\r\n\r\n // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met\r\n // require (_value <= _allowance);\r\n\r\n balances[_from] = balances[_from].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n allowed[_from][msg.sender] = _allowance.sub(_value);\r\n Transfer(_from, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\r\n * @param _spender The address which will spend the funds.\r\n * @param _value The amount of tokens to be spent.\r\n */\r\n function approve(address _spender, uint256 _value) returns (bool) {\r\n allowed[msg.sender][_spender] = _value;\r\n Approval(msg.sender, _spender, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Function to check the amount of tokens that an owner allowed to a spender.\r\n * @param _owner address The address which owns the funds.\r\n * @param _spender address The address which will spend the funds.\r\n * @return A uint256 specifying the amount of tokens still available for the spender.\r\n */\r\n function allowance(address _owner, address _spender) constant returns (uint256 remaining) {\r\n return allowed[_owner][_spender];\r\n }\r\n \r\n /*\r\n * approve should be called when allowed[_spender] == 0. To increment\r\n * allowed value is better to use this function to avoid 2 calls (and wait until \r\n * the first transaction is mined)\r\n * From MonolithDAO Token.sol\r\n */\r\n function increaseApproval (address _spender, uint _addedValue) \r\n returns (bool success) {\r\n allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);\r\n Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n function decreaseApproval (address _spender, uint _subtractedValue) \r\n returns (bool success) {\r\n uint oldValue = allowed[msg.sender][_spender];\r\n if (_subtractedValue > oldValue) {\r\n allowed[msg.sender][_spender] = 0;\r\n } else {\r\n allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);\r\n }\r\n Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n}\r\n\r\ncontract ERC677Token is ERC677 {\r\n\r\n /**\r\n * @dev transfer token to a contract address with additional data if the recipient is a contact.\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n * @param _data The extra data to be passed to the receiving contract.\r\n */\r\n function transferAndCall(address _to, uint _value, bytes _data)\r\n public\r\n returns (bool success)\r\n {\r\n super.transfer(_to, _value);\r\n Transfer(msg.sender, _to, _value, _data);\r\n if (isContract(_to)) {\r\n contractFallback(_to, _value, _data);\r\n }\r\n return true;\r\n }\r\n\r\n\r\n // PRIVATE\r\n\r\n function contractFallback(address _to, uint _value, bytes _data)\r\n private\r\n {\r\n ERC677Receiver receiver = ERC677Receiver(_to);\r\n receiver.onTokenTransfer(msg.sender, _value, _data);\r\n }\r\n\r\n function isContract(address _addr)\r\n private\r\n returns (bool hasCode)\r\n {\r\n uint length;\r\n assembly { length := extcodesize(_addr) }\r\n return length > 0;\r\n }\r\n\r\n}\r\n\r\ncontract LinkToken is StandardToken, ERC677Token {\r\n\r\n uint public constant totalSupply = 10**27;\r\n string public constant name = 'ChainLink Token';\r\n uint8 public constant decimals = 18;\r\n string public constant symbol = 'LINK';\r\n\r\n function LinkToken()\r\n public\r\n {\r\n balances[msg.sender] = totalSupply;\r\n }\r\n\r\n /**\r\n * @dev transfer token to a specified address with additional data if the recipient is a contract.\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n * @param _data The extra data to be passed to the receiving contract.\r\n */\r\n function transferAndCall(address _to, uint _value, bytes _data)\r\n public\r\n validRecipient(_to)\r\n returns (bool success)\r\n {\r\n return super.transferAndCall(_to, _value, _data);\r\n }\r\n\r\n /**\r\n * @dev transfer token to a specified address.\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n */\r\n function transfer(address _to, uint _value)\r\n public\r\n validRecipient(_to)\r\n returns (bool success)\r\n {\r\n return super.transfer(_to, _value);\r\n }\r\n\r\n /**\r\n * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\r\n * @param _spender The address which will spend the funds.\r\n * @param _value The amount of tokens to be spent.\r\n */\r\n function approve(address _spender, uint256 _value)\r\n public\r\n validRecipient(_spender)\r\n returns (bool)\r\n {\r\n return super.approve(_spender, _value);\r\n }\r\n\r\n /**\r\n * @dev Transfer tokens from one address to another\r\n * @param _from address The address which you want to send tokens from\r\n * @param _to address The address which you want to transfer to\r\n * @param _value uint256 the amount of tokens to be transferred\r\n */\r\n function transferFrom(address _from, address _to, uint256 _value)\r\n public\r\n validRecipient(_to)\r\n returns (bool)\r\n {\r\n return super.transferFrom(_from, _to, _value);\r\n }\r\n\r\n\r\n // MODIFIERS\r\n\r\n modifier validRecipient(address _recipient) {\r\n require(_recipient != address(0) && _recipient != address(this));\r\n _;\r\n }\r\n\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"},{\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"transferAndCall\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseApproval\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseApproval\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]","ContractName":"LinkToken","CompilerVersion":"v0.4.16+commit.d7661dd9","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://c5f438ff94e5ddaf2058efa0019e246c636c37a622e04bb67827c7374acad8d6","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/18fa7a443c714d9800a238e5a5ad788004fc7995f1302d22d64cb06a7e5293e3 b/tests/cachedrpc/18fa7a443c714d9800a238e5a5ad788004fc7995f1302d22d64cb06a7e5293e3 new file mode 100644 index 00000000..41a19301 --- /dev/null +++ b/tests/cachedrpc/18fa7a443c714d9800a238e5a5ad788004fc7995f1302d22d64cb06a7e5293e3 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"/*\r\n ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,\r\n ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,\r\n ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,\r\n ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ\r\n ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄\r\n └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄\r\n └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄\r\n └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠\" └╙▓██████▓╬╬╬╬╬╬╬╬██▄\r\n └▀██▄,└╙▀▀████▌└╙ ^\"▀╙╙╙\"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ\r\n └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌\r\n ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌\r\n ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌\r\n └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ\r\n ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██\r\n ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐\r\n ╫██ ▓▌ ▌φ▒▒░▓██████████████▌▒░▓╚▒▒▒╠ ▓██╬▓██████╣█▌\r\n ██▌ ▌╔▒▒▄████████████████▒▒▒░▌╠▒▒▒≥▐██▓╬╬███████▌\r\n ██▌ ,╓φ╠▓«▒▒▓████▀ ▀█████████▌▒▒▒╟░▒▒▒▒▐███╬╬╣████▓█▌\r\n ▐██ ╠▒▄▓▓███▓████└ ▀████████▌▒▒░▌╚▒▒▒▐███▓╬╬████ ╙▌\r\n ███ ) ╠▒░░░▒░╬████▀ └████████░▒▒░╬∩▒▒▓████╬╬╣███\r\n ▓██ ╠╠▒▒▐█▀▀▌`░╫██ ███████▒▒▒▒░▒▒½█████╬╬╣███\r\n ███ ,█▄ ╠▒▒▒╫▌,▄▀,▒╫██ ╟██████▒▒▒░╣⌠▒▓█████╬╬╣██▌\r\n ╘██µ ██` ╠▒▒░██╬φ╠▄▓██` ██████░░▌φ╠░▓█████▓╬╬▓██\r\n ╟██ .φ╠▒░▄█▀░░▄██▀└ █████▌▒╣φ▒░▓██████╬╬╣██\r\n ▀██▄▄▄╓▄███████▀ ▐█████░▓φ▒▄███████▓╬╣██\r\n ╙▀▀▀██▀└ ████▓▄▀φ▄▓████████╬▓█▀\r\n ▓███╬╩╔╣██████████▓██└\r\n ╓████▀▄▓████████▀████▀\r\n ,▓███████████████─]██╙\r\n ,▄▓██████████████▀└ ╙\r\n ,╓▄▓███████████████▀╙\r\n `\"▀▀▀████████▀▀▀▀`▄███▀▀└\r\n └└\r\n\r\n\r\n\r\n 11\\ 11\\ 11\\ 11\\ 11\\ 11\\ 11\\\r\n 1111 | \\__| 11 | 111\\ 11 | 11 | 11 |\r\n \\_11 | 11\\ 1111111\\ 1111111\\ 1111111\\ 1111\\ 11 | 111111\\ 111111\\ 11\\ 11\\ 11\\ 111111\\ 111111\\ 11 | 11\\\r\n 11 | 11 |11 __11\\ 11 _____|11 __11\\ 11 11\\11 |11 __11\\\\_11 _| 11 | 11 | 11 |11 __11\\ 11 __11\\ 11 | 11 |\r\n 11 | 11 |11 | 11 |11 / 11 | 11 | 11 \\1111 |11111111 | 11 | 11 | 11 | 11 |11 / 11 |11 | \\__|111111 /\r\n 11 | 11 |11 | 11 |11 | 11 | 11 | 11 |\\111 |11 ____| 11 |11\\ 11 | 11 | 11 |11 | 11 |11 | 11 _11<\r\n 111111\\ 11 |11 | 11 |\\1111111\\ 11 | 11 | 11 | \\11 |\\1111111\\ \\1111 |\\11111\\1111 |\\111111 |11 | 11 | \\11\\\r\n \\______|\\__|\\__| \\__| \\_______|\\__| \\__| \\__| \\__| \\_______| \\____/ \\_____\\____/ \\______/ \\__| \\__| \\__|\r\n\r\n\r\n\r\n 111111\\ 11\\ 11\\\r\n 11 __11\\ 11 | \\__|\r\n 11 / 11 | 111111\\ 111111\\ 111111\\ 111111\\ 111111\\ 111111\\ 111111\\ 11\\ 111111\\ 1111111\\\r\n 11111111 |11 __11\\ 11 __11\\ 11 __11\\ 11 __11\\ 11 __11\\ \\____11\\\\_11 _| 11 |11 __11\\ 11 __11\\\r\n 11 __11 |11 / 11 |11 / 11 |11 | \\__|11111111 |11 / 11 | 1111111 | 11 | 11 |11 / 11 |11 | 11 |\r\n 11 | 11 |11 | 11 |11 | 11 |11 | 11 ____|11 | 11 |11 __11 | 11 |11\\ 11 |11 | 11 |11 | 11 |\r\n 11 | 11 |\\1111111 |\\1111111 |11 | \\1111111\\ \\1111111 |\\1111111 | \\1111 |11 |\\111111 |11 | 11 |\r\n \\__| \\__| \\____11 | \\____11 |\\__| \\_______| \\____11 | \\_______| \\____/ \\__| \\______/ \\__| \\__|\r\n 11\\ 11 |11\\ 11 | 11\\ 11 |\r\n \\111111 |\\111111 | \\111111 |\r\n \\______/ \\______/ \\______/\r\n 1111111\\ 11\\\r\n 11 __11\\ 11 |\r\n 11 | 11 | 111111\\ 11\\ 11\\ 111111\\ 111111\\ 111111\\\r\n 1111111 |11 __11\\ 11 | 11 |\\_11 _| 11 __11\\ 11 __11\\\r\n 11 __11< 11 / 11 |11 | 11 | 11 | 11111111 |11 | \\__|\r\n 11 | 11 |11 | 11 |11 | 11 | 11 |11\\ 11 ____|11 |\r\n 11 | 11 |\\111111 |\\111111 | \\1111 |\\1111111\\ 11 |\r\n \\__| \\__| \\______/ \\______/ \\____/ \\_______|\\__|\r\n*/\r\n\r\n// SPDX-License-Identifier: MIT\r\n\r\n// File contracts/interfaces/IClipperExchangeInterface.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n/// @title Clipper interface subset used in swaps\r\ninterface IClipperExchangeInterface {\r\n struct Signature {\r\n uint8 v;\r\n bytes32 r;\r\n bytes32 s;\r\n }\r\n\r\n function sellEthForToken(address outputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature calldata theSignature, bytes calldata auxiliaryData) external payable;\r\n function sellTokenForEth(address inputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature calldata theSignature, bytes calldata auxiliaryData) external;\r\n function swap(address inputToken, address outputToken, uint256 inputAmount, uint256 outputAmount, uint256 goodUntil, address destinationAddress, Signature calldata theSignature, bytes calldata auxiliaryData) external;\r\n}\r\n\r\n\r\n// File contracts/helpers/RouterErrors.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\nlibrary RouterErrors {\r\n error ReturnAmountIsNotEnough();\r\n error InvalidMsgValue();\r\n error ERC20TransferFailed();\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/EthReceiver.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\nabstract contract EthReceiver {\r\n error EthDepositRejected();\r\n\r\n receive() external payable {\r\n _receive();\r\n }\r\n\r\n function _receive() internal virtual {\r\n // solhint-disable-next-line avoid-tx-origin\r\n if (msg.sender == tx.origin) revert EthDepositRejected();\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC20 standard as defined in the EIP.\r\n */\r\ninterface IERC20 {\r\n /**\r\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\r\n * another (`to`).\r\n *\r\n * Note that `value` may be zero.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n\r\n /**\r\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\r\n * a call to {approve}. `value` is the new allowance.\r\n */\r\n event Approval(address indexed owner, address indexed spender, uint256 value);\r\n\r\n /**\r\n * @dev Returns the amount of tokens in existence.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns the amount of tokens owned by `account`.\r\n */\r\n function balanceOf(address account) external view returns (uint256);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from the caller's account to `to`.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transfer(address to, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Returns the remaining number of tokens that `spender` will be\r\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\r\n * zero by default.\r\n *\r\n * This value changes when {approve} or {transferFrom} are called.\r\n */\r\n function allowance(address owner, address spender) external view returns (uint256);\r\n\r\n /**\r\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\r\n * that someone may use both the old and the new allowance by unfortunate\r\n * transaction ordering. One possible solution to mitigate this race\r\n * condition is to first reduce the spender's allowance to 0 and set the\r\n * desired value afterwards:\r\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address spender, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from `from` to `to` using the\r\n * allowance mechanism. `amount` is then deducted from the caller's\r\n * allowance.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(\r\n address from,\r\n address to,\r\n uint256 amount\r\n ) external returns (bool);\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/interfaces/IDaiLikePermit.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\ninterface IDaiLikePermit {\r\n function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) external;\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/libraries/RevertReasonForwarder.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\nlibrary RevertReasonForwarder {\r\n function reRevert() internal pure {\r\n // bubble up revert reason from latest external call\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\r\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\r\n *\r\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\r\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\r\n * need to send a transaction, and thus is not required to hold Ether at all.\r\n */\r\ninterface IERC20Permit {\r\n /**\r\n * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\r\n * given ``owner``'s signed approval.\r\n *\r\n * IMPORTANT: The same issues {IERC20-approve} has related to transaction\r\n * ordering also apply here.\r\n *\r\n * Emits an {Approval} event.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n * - `deadline` must be a timestamp in the future.\r\n * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\r\n * over the EIP712-formatted function arguments.\r\n * - the signature must use ``owner``'s current nonce (see {nonces}).\r\n *\r\n * For more information on the signature format, see the\r\n * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\r\n * section].\r\n */\r\n function permit(\r\n address owner,\r\n address spender,\r\n uint256 value,\r\n uint256 deadline,\r\n uint8 v,\r\n bytes32 r,\r\n bytes32 s\r\n ) external;\r\n\r\n /**\r\n * @dev Returns the current nonce for `owner`. This value must be\r\n * included whenever a signature is generated for {permit}.\r\n *\r\n * Every successful call to {permit} increases ``owner``'s nonce by one. This\r\n * prevents a signature from being used multiple times.\r\n */\r\n function nonces(address owner) external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\r\n */\r\n // solhint-disable-next-line func-name-mixedcase\r\n function DOMAIN_SEPARATOR() external view returns (bytes32);\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/libraries/SafeERC20.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\nlibrary SafeERC20 {\r\n error SafeTransferFailed();\r\n error SafeTransferFromFailed();\r\n error ForceApproveFailed();\r\n error SafeIncreaseAllowanceFailed();\r\n error SafeDecreaseAllowanceFailed();\r\n error SafePermitBadLength();\r\n\r\n // Ensures method do not revert or return boolean `true`, admits call to non-smart-contract\r\n function safeTransferFrom(IERC20 token, address from, address to, uint256 amount) internal {\r\n bytes4 selector = token.transferFrom.selector;\r\n bool success;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let data := mload(0x40)\r\n\r\n mstore(data, selector)\r\n mstore(add(data, 0x04), from)\r\n mstore(add(data, 0x24), to)\r\n mstore(add(data, 0x44), amount)\r\n success := call(gas(), token, 0, data, 100, 0x0, 0x20)\r\n if success {\r\n switch returndatasize()\r\n case 0 { success := gt(extcodesize(token), 0) }\r\n default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\r\n }\r\n }\r\n if (!success) revert SafeTransferFromFailed();\r\n }\r\n\r\n // Ensures method do not revert or return boolean `true`, admits call to non-smart-contract\r\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\r\n if (!_makeCall(token, token.transfer.selector, to, value)) {\r\n revert SafeTransferFailed();\r\n }\r\n }\r\n\r\n // If `approve(from, to, amount)` fails, try to `approve(from, to, 0)` before retry\r\n function forceApprove(IERC20 token, address spender, uint256 value) internal {\r\n if (!_makeCall(token, token.approve.selector, spender, value)) {\r\n if (!_makeCall(token, token.approve.selector, spender, 0) ||\r\n !_makeCall(token, token.approve.selector, spender, value))\r\n {\r\n revert ForceApproveFailed();\r\n }\r\n }\r\n }\r\n\r\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\r\n uint256 allowance = token.allowance(address(this), spender);\r\n if (value > type(uint256).max - allowance) revert SafeIncreaseAllowanceFailed();\r\n forceApprove(token, spender, allowance + value);\r\n }\r\n\r\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\r\n uint256 allowance = token.allowance(address(this), spender);\r\n if (value > allowance) revert SafeDecreaseAllowanceFailed();\r\n forceApprove(token, spender, allowance - value);\r\n }\r\n\r\n function safePermit(IERC20 token, bytes calldata permit) internal {\r\n bool success;\r\n if (permit.length == 32 * 7) {\r\n success = _makeCalldataCall(token, IERC20Permit.permit.selector, permit);\r\n } else if (permit.length == 32 * 8) {\r\n success = _makeCalldataCall(token, IDaiLikePermit.permit.selector, permit);\r\n } else {\r\n revert SafePermitBadLength();\r\n }\r\n if (!success) RevertReasonForwarder.reRevert();\r\n }\r\n\r\n function _makeCall(IERC20 token, bytes4 selector, address to, uint256 amount) private returns(bool success) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let data := mload(0x40)\r\n\r\n mstore(data, selector)\r\n mstore(add(data, 0x04), to)\r\n mstore(add(data, 0x24), amount)\r\n success := call(gas(), token, 0, data, 0x44, 0x0, 0x20)\r\n if success {\r\n switch returndatasize()\r\n case 0 { success := gt(extcodesize(token), 0) }\r\n default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\r\n }\r\n }\r\n }\r\n\r\n function _makeCalldataCall(IERC20 token, bytes4 selector, bytes calldata args) private returns(bool success) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let len := add(4, args.length)\r\n let data := mload(0x40)\r\n\r\n mstore(data, selector)\r\n calldatacopy(add(data, 0x04), args.offset, args.length)\r\n success := call(gas(), token, 0, data, len, 0x0, 0x20)\r\n if success {\r\n switch returndatasize()\r\n case 0 { success := gt(extcodesize(token), 0) }\r\n default { success := and(gt(returndatasize(), 31), eq(mload(0), 1)) }\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/interfaces/IWETH.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\ninterface IWETH is IERC20 {\r\n function deposit() external payable;\r\n function withdraw(uint256 amount) external;\r\n}\r\n\r\n\r\n// File contracts/routers/ClipperRouter.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n\r\n\r\n\r\n\r\n/// @title Clipper router that allows to use `ClipperExchangeInterface` for swaps\r\ncontract ClipperRouter is EthReceiver {\r\n using SafeERC20 for IERC20;\r\n\r\n uint256 private constant _SIGNATURE_S_MASK = 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\r\n uint256 private constant _SIGNATURE_V_SHIFT = 255;\r\n bytes6 private constant _INCH_TAG_WITH_LENGTH_PREFIX = \"\\x051INCH\";\r\n IERC20 private constant _ETH = IERC20(address(0));\r\n IWETH private immutable _WETH; // solhint-disable-line var-name-mixedcase\r\n\r\n constructor(IWETH weth) {\r\n _WETH = weth;\r\n }\r\n\r\n /// @notice Same as `clipperSwapTo` but calls permit first,\r\n /// allowing to approve token spending and make a swap in one transaction.\r\n /// @dev See tests for examples\r\n /// @param recipient Address that will receive swap funds\r\n /// @param srcToken Source token\r\n /// @param dstToken Destination token\r\n /// @param inputAmount Amount of source tokens to swap\r\n /// @param outputAmount Amount of destination tokens to receive\r\n /// @param goodUntil Timestamp until the swap will be valid\r\n /// @param r Clipper order signature (r part)\r\n /// @param vs Clipper order signature (vs part)\r\n /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.\r\n /// @return returnAmount Amount of destination tokens received\r\n function clipperSwapToWithPermit(\r\n IClipperExchangeInterface clipperExchange,\r\n address payable recipient,\r\n IERC20 srcToken,\r\n IERC20 dstToken,\r\n uint256 inputAmount,\r\n uint256 outputAmount,\r\n uint256 goodUntil,\r\n bytes32 r,\r\n bytes32 vs,\r\n bytes calldata permit\r\n ) external returns(uint256 returnAmount) {\r\n srcToken.safePermit(permit);\r\n return clipperSwapTo(clipperExchange, recipient, srcToken, dstToken, inputAmount, outputAmount, goodUntil, r, vs);\r\n }\r\n\r\n /// @notice Same as `clipperSwapTo` but uses `msg.sender` as recipient\r\n /// @param srcToken Source token\r\n /// @param dstToken Destination token\r\n /// @param inputAmount Amount of source tokens to swap\r\n /// @param outputAmount Amount of destination tokens to receive\r\n /// @param goodUntil Timestamp until the swap will be valid\r\n /// @param r Clipper order signature (r part)\r\n /// @param vs Clipper order signature (vs part)\r\n /// @return returnAmount Amount of destination tokens received\r\n function clipperSwap(\r\n IClipperExchangeInterface clipperExchange,\r\n IERC20 srcToken,\r\n IERC20 dstToken,\r\n uint256 inputAmount,\r\n uint256 outputAmount,\r\n uint256 goodUntil,\r\n bytes32 r,\r\n bytes32 vs\r\n ) external payable returns(uint256 returnAmount) {\r\n return clipperSwapTo(clipperExchange, payable(msg.sender), srcToken, dstToken, inputAmount, outputAmount, goodUntil, r, vs);\r\n }\r\n\r\n /// @notice Performs swap using Clipper exchange. Wraps and unwraps ETH if required.\r\n /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited\r\n /// @param recipient Address that will receive swap funds\r\n /// @param srcToken Source token\r\n /// @param dstToken Destination token\r\n /// @param inputAmount Amount of source tokens to swap\r\n /// @param outputAmount Amount of destination tokens to receive\r\n /// @param goodUntil Timestamp until the swap will be valid\r\n /// @param r Clipper order signature (r part)\r\n /// @param vs Clipper order signature (vs part)\r\n /// @return returnAmount Amount of destination tokens received\r\n function clipperSwapTo(\r\n IClipperExchangeInterface clipperExchange,\r\n address payable recipient,\r\n IERC20 srcToken,\r\n IERC20 dstToken,\r\n uint256 inputAmount,\r\n uint256 outputAmount,\r\n uint256 goodUntil,\r\n bytes32 r,\r\n bytes32 vs\r\n ) public payable returns(uint256 returnAmount) {\r\n bool srcETH = srcToken == _ETH;\r\n if (srcETH) {\r\n if (msg.value != inputAmount) revert RouterErrors.InvalidMsgValue();\r\n } else if (srcToken == _WETH) {\r\n srcETH = true;\r\n if (msg.value != 0) revert RouterErrors.InvalidMsgValue();\r\n // _WETH.transferFrom(msg.sender, address(this), inputAmount);\r\n // _WETH.withdraw(inputAmount);\r\n address weth = address(_WETH);\r\n bytes4 transferFromSelector = _WETH.transferFrom.selector;\r\n bytes4 withdrawSelector = _WETH.withdraw.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, transferFromSelector)\r\n mstore(add(ptr, 0x04), caller())\r\n mstore(add(ptr, 0x24), address())\r\n mstore(add(ptr, 0x44), inputAmount)\r\n if iszero(call(gas(), weth, 0, ptr, 0x64, 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n\r\n mstore(ptr, withdrawSelector)\r\n mstore(add(ptr, 0x04), inputAmount)\r\n if iszero(call(gas(), weth, 0, ptr, 0x24, 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n }\r\n } else {\r\n if (msg.value != 0) revert RouterErrors.InvalidMsgValue();\r\n srcToken.safeTransferFrom(msg.sender, address(clipperExchange), inputAmount);\r\n }\r\n\r\n if (srcETH) {\r\n // clipperExchange.sellEthForToken{value: inputAmount}(address(dstToken), inputAmount, outputAmount, goodUntil, recipient, signature, _INCH_TAG);\r\n address clipper = address(clipperExchange);\r\n bytes4 selector = clipperExchange.sellEthForToken.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, selector)\r\n mstore(add(ptr, 0x04), dstToken)\r\n mstore(add(ptr, 0x24), inputAmount)\r\n mstore(add(ptr, 0x44), outputAmount)\r\n mstore(add(ptr, 0x64), goodUntil)\r\n mstore(add(ptr, 0x84), recipient)\r\n mstore(add(ptr, 0xa4), add(27, shr(_SIGNATURE_V_SHIFT, vs)))\r\n mstore(add(ptr, 0xc4), r)\r\n mstore(add(ptr, 0xe4), and(vs, _SIGNATURE_S_MASK))\r\n mstore(add(ptr, 0x104), 0x120)\r\n mstore(add(ptr, 0x143), _INCH_TAG_WITH_LENGTH_PREFIX)\r\n if iszero(call(gas(), clipper, inputAmount, ptr, 0x149, 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n }\r\n } else if (dstToken == _ETH || dstToken == _WETH) {\r\n // clipperExchange.sellTokenForEth(address(srcToken), inputAmount, outputAmount, goodUntil, recipient, signature, _INCH_TAG);\r\n address clipper = address(clipperExchange);\r\n bytes4 selector = clipperExchange.sellTokenForEth.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, selector)\r\n mstore(add(ptr, 0x04), srcToken)\r\n mstore(add(ptr, 0x24), inputAmount)\r\n mstore(add(ptr, 0x44), outputAmount)\r\n mstore(add(ptr, 0x64), goodUntil)\r\n switch iszero(dstToken)\r\n case 1 {\r\n mstore(add(ptr, 0x84), recipient)\r\n }\r\n default {\r\n mstore(add(ptr, 0x84), address())\r\n }\r\n mstore(add(ptr, 0xa4), add(27, shr(_SIGNATURE_V_SHIFT, vs)))\r\n mstore(add(ptr, 0xc4), r)\r\n mstore(add(ptr, 0xe4), and(vs, _SIGNATURE_S_MASK))\r\n mstore(add(ptr, 0x104), 0x120)\r\n mstore(add(ptr, 0x143), _INCH_TAG_WITH_LENGTH_PREFIX)\r\n if iszero(call(gas(), clipper, 0, ptr, 0x149, 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n }\r\n\r\n if (dstToken == _WETH) {\r\n // _WETH.deposit{value: outputAmount}();\r\n // _WETH.transfer(recipient, outputAmount);\r\n address weth = address(_WETH);\r\n bytes4 depositSelector = _WETH.deposit.selector;\r\n bytes4 transferSelector = _WETH.transfer.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, depositSelector)\r\n if iszero(call(gas(), weth, outputAmount, ptr, 0x04, 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n\r\n mstore(ptr, transferSelector)\r\n mstore(add(ptr, 0x04), recipient)\r\n mstore(add(ptr, 0x24), outputAmount)\r\n if iszero(call(gas(), weth, 0, ptr, 0x44, 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n }\r\n }\r\n } else {\r\n // clipperExchange.swap(address(srcToken), address(dstToken), inputAmount, outputAmount, goodUntil, recipient, signature, _INCH_TAG);\r\n address clipper = address(clipperExchange);\r\n bytes4 selector = clipperExchange.swap.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, selector)\r\n mstore(add(ptr, 0x04), srcToken)\r\n mstore(add(ptr, 0x24), dstToken)\r\n mstore(add(ptr, 0x44), inputAmount)\r\n mstore(add(ptr, 0x64), outputAmount)\r\n mstore(add(ptr, 0x84), goodUntil)\r\n mstore(add(ptr, 0xa4), recipient)\r\n mstore(add(ptr, 0xc4), add(27, shr(_SIGNATURE_V_SHIFT, vs)))\r\n mstore(add(ptr, 0xe4), r)\r\n mstore(add(ptr, 0x104), and(vs, _SIGNATURE_S_MASK))\r\n mstore(add(ptr, 0x124), 0x140)\r\n mstore(add(ptr, 0x163), _INCH_TAG_WITH_LENGTH_PREFIX)\r\n if iszero(call(gas(), clipper, 0, ptr, 0x169, 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n }\r\n }\r\n\r\n return outputAmount;\r\n }\r\n}\r\n\r\n\r\n// File contracts/interfaces/IAggregationExecutor.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n/// @title Interface for making arbitrary calls during swap\r\ninterface IAggregationExecutor {\r\n /// @notice propagates information about original msg.sender and executes arbitrary data\r\n function execute(address msgSender) external payable; // 0x4b64e492\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/interfaces/IERC20MetadataUppercase.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\ninterface IERC20MetadataUppercase {\r\n function NAME() external view returns (string memory); // solhint-disable-line func-name-mixedcase\r\n function SYMBOL() external view returns (string memory); // solhint-disable-line func-name-mixedcase\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/libraries/StringUtil.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/// @title Library with gas-efficient string operations\r\nlibrary StringUtil {\r\n function toHex(uint256 value) internal pure returns (string memory) {\r\n return toHex(abi.encodePacked(value));\r\n }\r\n\r\n function toHex(address value) internal pure returns (string memory) {\r\n return toHex(abi.encodePacked(value));\r\n }\r\n\r\n function toHex(bytes memory data) internal pure returns (string memory result) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n function _toHex16(input) -> output {\r\n output := or(\r\n and(input, 0xFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000),\r\n shr(64, and(input, 0x0000000000000000FFFFFFFFFFFFFFFF00000000000000000000000000000000))\r\n )\r\n output := or(\r\n and(output, 0xFFFFFFFF000000000000000000000000FFFFFFFF000000000000000000000000),\r\n shr(32, and(output, 0x00000000FFFFFFFF000000000000000000000000FFFFFFFF0000000000000000))\r\n )\r\n output := or(\r\n and(output, 0xFFFF000000000000FFFF000000000000FFFF000000000000FFFF000000000000),\r\n shr(16, and(output, 0x0000FFFF000000000000FFFF000000000000FFFF000000000000FFFF00000000))\r\n )\r\n output := or(\r\n and(output, 0xFF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000),\r\n shr(8, and(output, 0x00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000))\r\n )\r\n output := or(\r\n shr(4, and(output, 0xF000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000)),\r\n shr(8, and(output, 0x0F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F00))\r\n )\r\n output := add(\r\n add(0x3030303030303030303030303030303030303030303030303030303030303030, output),\r\n mul(\r\n and(\r\n shr(4, add(output, 0x0606060606060606060606060606060606060606060606060606060606060606)),\r\n 0x0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F\r\n ),\r\n 7 // Change 7 to 39 for lower case output\r\n )\r\n )\r\n }\r\n\r\n result := mload(0x40)\r\n let length := mload(data)\r\n let resultLength := shl(1, length)\r\n let toPtr := add(result, 0x22) // 32 bytes for length + 2 bytes for '0x'\r\n mstore(0x40, add(toPtr, resultLength)) // move free memory pointer\r\n mstore(add(result, 2), 0x3078) // 0x3078 is right aligned so we write to `result + 2`\r\n // to store the last 2 bytes in the beginning of the string\r\n mstore(result, add(resultLength, 2)) // extra 2 bytes for '0x'\r\n\r\n for {\r\n let fromPtr := add(data, 0x20)\r\n let endPtr := add(fromPtr, length)\r\n } lt(fromPtr, endPtr) {\r\n fromPtr := add(fromPtr, 0x20)\r\n } {\r\n let rawData := mload(fromPtr)\r\n let hexData := _toHex16(rawData)\r\n mstore(toPtr, hexData)\r\n toPtr := add(toPtr, 0x20)\r\n hexData := _toHex16(shl(128, rawData))\r\n mstore(toPtr, hexData)\r\n toPtr := add(toPtr, 0x20)\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface for the optional metadata functions from the ERC20 standard.\r\n *\r\n * _Available since v4.1._\r\n */\r\ninterface IERC20Metadata is IERC20 {\r\n /**\r\n * @dev Returns the name of the token.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the symbol of the token.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the decimals places of the token.\r\n */\r\n function decimals() external view returns (uint8);\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/libraries/UniERC20.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n\r\nlibrary UniERC20 {\r\n using SafeERC20 for IERC20;\r\n\r\n error InsufficientBalance();\r\n error ApproveCalledOnETH();\r\n error NotEnoughValue();\r\n error FromIsNotSender();\r\n error ToIsNotThis();\r\n error ETHTransferFailed();\r\n\r\n uint256 private constant _RAW_CALL_GAS_LIMIT = 5000;\r\n IERC20 private constant _ETH_ADDRESS = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);\r\n IERC20 private constant _ZERO_ADDRESS = IERC20(address(0));\r\n\r\n function isETH(IERC20 token) internal pure returns (bool) {\r\n return (token == _ZERO_ADDRESS || token == _ETH_ADDRESS);\r\n }\r\n\r\n function uniBalanceOf(IERC20 token, address account) internal view returns (uint256) {\r\n if (isETH(token)) {\r\n return account.balance;\r\n } else {\r\n return token.balanceOf(account);\r\n }\r\n }\r\n\r\n /// @dev note that this function does nothing in case of zero amount\r\n function uniTransfer(IERC20 token, address payable to, uint256 amount) internal {\r\n if (amount > 0) {\r\n if (isETH(token)) {\r\n if (address(this).balance < amount) revert InsufficientBalance();\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, ) = to.call{value: amount, gas: _RAW_CALL_GAS_LIMIT}(\"\");\r\n if (!success) revert ETHTransferFailed();\r\n } else {\r\n token.safeTransfer(to, amount);\r\n }\r\n }\r\n }\r\n\r\n /// @dev note that this function does nothing in case of zero amount\r\n function uniTransferFrom(IERC20 token, address payable from, address to, uint256 amount) internal {\r\n if (amount > 0) {\r\n if (isETH(token)) {\r\n if (msg.value < amount) revert NotEnoughValue();\r\n if (from != msg.sender) revert FromIsNotSender();\r\n if (to != address(this)) revert ToIsNotThis();\r\n if (msg.value > amount) {\r\n // Return remainder if exist\r\n unchecked {\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, ) = from.call{value: msg.value - amount, gas: _RAW_CALL_GAS_LIMIT}(\"\");\r\n if (!success) revert ETHTransferFailed();\r\n }\r\n }\r\n } else {\r\n token.safeTransferFrom(from, to, amount);\r\n }\r\n }\r\n }\r\n\r\n function uniSymbol(IERC20 token) internal view returns(string memory) {\r\n return _uniDecode(token, IERC20Metadata.symbol.selector, IERC20MetadataUppercase.SYMBOL.selector);\r\n }\r\n\r\n function uniName(IERC20 token) internal view returns(string memory) {\r\n return _uniDecode(token, IERC20Metadata.name.selector, IERC20MetadataUppercase.NAME.selector);\r\n }\r\n\r\n function uniApprove(IERC20 token, address to, uint256 amount) internal {\r\n if (isETH(token)) revert ApproveCalledOnETH();\r\n\r\n token.forceApprove(to, amount);\r\n }\r\n\r\n /// 20K gas is provided to account for possible implementations of name/symbol\r\n /// (token implementation might be behind proxy or store the value in storage)\r\n function _uniDecode(IERC20 token, bytes4 lowerCaseSelector, bytes4 upperCaseSelector) private view returns(string memory result) {\r\n if (isETH(token)) {\r\n return \"ETH\";\r\n }\r\n\r\n (bool success, bytes memory data) = address(token).staticcall{ gas: 20000 }(\r\n abi.encodeWithSelector(lowerCaseSelector)\r\n );\r\n if (!success) {\r\n (success, data) = address(token).staticcall{ gas: 20000 }(\r\n abi.encodeWithSelector(upperCaseSelector)\r\n );\r\n }\r\n\r\n if (success && data.length >= 0x40) {\r\n (uint256 offset, uint256 len) = abi.decode(data, (uint256, uint256));\r\n if (offset == 0x20 && len > 0 && data.length == 0x40 + len) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n result := add(data, 0x20)\r\n }\r\n return result;\r\n }\r\n }\r\n\r\n if (success && data.length == 32) {\r\n uint256 len = 0;\r\n while (len < data.length && data[len] >= 0x20 && data[len] <= 0x7E) {\r\n unchecked {\r\n len++;\r\n }\r\n }\r\n\r\n if (len > 0) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n mstore(data, len)\r\n }\r\n return string(data);\r\n }\r\n }\r\n\r\n return StringUtil.toHex(address(token));\r\n }\r\n}\r\n\r\n\r\n// File contracts/routers/GenericRouter.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n\r\n\r\n\r\ncontract GenericRouter is EthReceiver {\r\n using UniERC20 for IERC20;\r\n using SafeERC20 for IERC20;\r\n\r\n error ZeroMinReturn();\r\n error ZeroReturnAmount();\r\n\r\n uint256 private constant _PARTIAL_FILL = 1 << 0;\r\n uint256 private constant _REQUIRES_EXTRA_ETH = 1 << 1;\r\n\r\n struct SwapDescription {\r\n IERC20 srcToken;\r\n IERC20 dstToken;\r\n address payable srcReceiver;\r\n address payable dstReceiver;\r\n uint256 amount;\r\n uint256 minReturnAmount;\r\n uint256 flags;\r\n }\r\n\r\n /// @notice Performs a swap, delegating all calls encoded in `data` to `executor`. See tests for usage examples\r\n /// @dev router keeps 1 wei of every token on the contract balance for gas optimisations reasons. This affects first swap of every token by leaving 1 wei on the contract.\r\n /// @param executor Aggregation executor that executes calls described in `data`\r\n /// @param desc Swap description\r\n /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.\r\n /// @param data Encoded calls that `caller` should execute in between of swaps\r\n /// @return returnAmount Resulting token amount\r\n /// @return spentAmount Source token amount\r\n function swap(\r\n IAggregationExecutor executor,\r\n SwapDescription calldata desc,\r\n bytes calldata permit,\r\n bytes calldata data\r\n )\r\n external\r\n payable\r\n returns (\r\n uint256 returnAmount,\r\n uint256 spentAmount\r\n )\r\n {\r\n if (desc.minReturnAmount == 0) revert ZeroMinReturn();\r\n\r\n IERC20 srcToken = desc.srcToken;\r\n IERC20 dstToken = desc.dstToken;\r\n\r\n bool srcETH = srcToken.isETH();\r\n if (desc.flags & _REQUIRES_EXTRA_ETH != 0) {\r\n if (msg.value <= (srcETH ? desc.amount : 0)) revert RouterErrors.InvalidMsgValue();\r\n } else {\r\n if (msg.value != (srcETH ? desc.amount : 0)) revert RouterErrors.InvalidMsgValue();\r\n }\r\n\r\n if (!srcETH) {\r\n if (permit.length > 0) {\r\n srcToken.safePermit(permit);\r\n }\r\n srcToken.safeTransferFrom(msg.sender, desc.srcReceiver, desc.amount);\r\n }\r\n\r\n _execute(executor, msg.sender, desc.amount, data);\r\n\r\n spentAmount = desc.amount;\r\n // we leave 1 wei on the router for gas optimisations reasons\r\n returnAmount = dstToken.uniBalanceOf(address(this));\r\n if (returnAmount == 0) revert ZeroReturnAmount();\r\n unchecked { returnAmount--; }\r\n\r\n if (desc.flags & _PARTIAL_FILL != 0) {\r\n uint256 unspentAmount = srcToken.uniBalanceOf(address(this));\r\n if (unspentAmount > 1) {\r\n // we leave 1 wei on the router for gas optimisations reasons\r\n unchecked { unspentAmount--; }\r\n spentAmount -= unspentAmount;\r\n srcToken.uniTransfer(payable(msg.sender), unspentAmount);\r\n }\r\n if (returnAmount * desc.amount < desc.minReturnAmount * spentAmount) revert RouterErrors.ReturnAmountIsNotEnough();\r\n } else {\r\n if (returnAmount < desc.minReturnAmount) revert RouterErrors.ReturnAmountIsNotEnough();\r\n }\r\n\r\n address payable dstReceiver = (desc.dstReceiver == address(0)) ? payable(msg.sender) : desc.dstReceiver;\r\n dstToken.uniTransfer(dstReceiver, returnAmount);\r\n }\r\n\r\n function _execute(\r\n IAggregationExecutor executor,\r\n address srcTokenOwner,\r\n uint256 inputAmount,\r\n bytes calldata data\r\n ) private {\r\n bytes4 executeSelector = executor.execute.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, executeSelector)\r\n mstore(add(ptr, 0x04), srcTokenOwner)\r\n calldatacopy(add(ptr, 0x24), data.offset, data.length)\r\n mstore(add(add(ptr, 0x24), data.length), inputAmount)\r\n\r\n if iszero(call(gas(), executor, callvalue(), ptr, add(0x44, data.length), 0, 0)) {\r\n returndatacopy(ptr, 0, returndatasize())\r\n revert(ptr, returndatasize())\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n// File contracts/routers/UnoswapRouter.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n\r\n\r\ncontract UnoswapRouter is EthReceiver {\r\n using SafeERC20 for IERC20;\r\n\r\n error ReservesCallFailed();\r\n error SwapAmountTooLarge();\r\n\r\n bytes4 private constant _TRANSFER_FROM_CALL_SELECTOR = 0x23b872dd;\r\n bytes4 private constant _WETH_DEPOSIT_CALL_SELECTOR = 0xd0e30db0;\r\n bytes4 private constant _WETH_WITHDRAW_CALL_SELECTOR = 0x2e1a7d4d;\r\n bytes4 private constant _ERC20_TRANSFER_CALL_SELECTOR = 0xa9059cbb;\r\n uint256 private constant _ADDRESS_MASK = 0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff;\r\n uint256 private constant _REVERSE_MASK = 0x8000000000000000000000000000000000000000000000000000000000000000;\r\n uint256 private constant _WETH_MASK = 0x4000000000000000000000000000000000000000000000000000000000000000;\r\n uint256 private constant _NUMERATOR_MASK = 0x0000000000000000ffffffff0000000000000000000000000000000000000000;\r\n /// @dev WETH address is network-specific and needs to be changed before deployment.\r\n /// It can not be moved to immutable as immutables are not supported in assembly\r\n address private constant _WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;\r\n bytes4 private constant _UNISWAP_PAIR_RESERVES_CALL_SELECTOR = 0x0902f1ac;\r\n bytes4 private constant _UNISWAP_PAIR_SWAP_CALL_SELECTOR = 0x022c0d9f;\r\n uint256 private constant _DENOMINATOR = 1e9;\r\n uint256 private constant _NUMERATOR_OFFSET = 160;\r\n uint256 private constant _MAX_SWAP_AMOUNT = (1 << 112) - 1; // type(uint112).max;\r\n\r\n /// @notice Same as `unoswapTo` but calls permit first,\r\n /// allowing to approve token spending and make a swap in one transaction.\r\n /// @param recipient Address that will receive swapped funds\r\n /// @param srcToken Source token\r\n /// @param amount Amount of source tokens to swap\r\n /// @param minReturn Minimal allowed returnAmount to make transaction commit\r\n /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen\r\n /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.\r\n /// See tests for examples\r\n function unoswapToWithPermit(\r\n address payable recipient,\r\n IERC20 srcToken,\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools,\r\n bytes calldata permit\r\n ) external returns(uint256 returnAmount) {\r\n srcToken.safePermit(permit);\r\n return _unoswap(recipient, srcToken, amount, minReturn, pools);\r\n }\r\n\r\n /// @notice Performs swap using Uniswap exchange. Wraps and unwraps ETH if required.\r\n /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited\r\n /// @param recipient Address that will receive swapped funds\r\n /// @param srcToken Source token\r\n /// @param amount Amount of source tokens to swap\r\n /// @param minReturn Minimal allowed returnAmount to make transaction commit\r\n /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen\r\n function unoswapTo(\r\n address payable recipient,\r\n IERC20 srcToken,\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools\r\n ) external payable returns(uint256 returnAmount) {\r\n return _unoswap(recipient, srcToken, amount, minReturn, pools);\r\n }\r\n\r\n /// @notice Performs swap using Uniswap exchange. Wraps and unwraps ETH if required.\r\n /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited\r\n /// @param srcToken Source token\r\n /// @param amount Amount of source tokens to swap\r\n /// @param minReturn Minimal allowed returnAmount to make transaction commit\r\n /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen\r\n function unoswap(\r\n IERC20 srcToken,\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools\r\n ) external payable returns(uint256 returnAmount) {\r\n return _unoswap(payable(msg.sender), srcToken, amount, minReturn, pools);\r\n }\r\n\r\n function _unoswap(\r\n address payable recipient,\r\n IERC20 srcToken,\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools\r\n ) private returns(uint256 returnAmount) {\r\n assembly { // solhint-disable-line no-inline-assembly\r\n function reRevert() {\r\n returndatacopy(0, 0, returndatasize())\r\n revert(0, returndatasize())\r\n }\r\n\r\n function validateERC20Transfer(status) {\r\n if iszero(status) {\r\n reRevert()\r\n }\r\n let success := or(\r\n iszero(returndatasize()), // empty return data\r\n and(gt(returndatasize(), 31), eq(mload(0), 1)) // true in return data\r\n )\r\n if iszero(success) {\r\n mstore(0, 0xf27f64e400000000000000000000000000000000000000000000000000000000) // ERC20TransferFailed()\r\n revert(0, 4)\r\n }\r\n }\r\n\r\n function swap(emptyPtr, swapAmount, pair, reversed, numerator, to) -> ret {\r\n mstore(emptyPtr, _UNISWAP_PAIR_RESERVES_CALL_SELECTOR)\r\n if iszero(staticcall(gas(), pair, emptyPtr, 0x4, emptyPtr, 0x40)) {\r\n reRevert()\r\n }\r\n if iszero(eq(returndatasize(), 0x60)) {\r\n mstore(0, 0x85cd58dc00000000000000000000000000000000000000000000000000000000) // ReservesCallFailed()\r\n revert(0, 4)\r\n }\r\n\r\n let reserve0 := mload(emptyPtr)\r\n let reserve1 := mload(add(emptyPtr, 0x20))\r\n if reversed {\r\n let tmp := reserve0\r\n reserve0 := reserve1\r\n reserve1 := tmp\r\n }\r\n // this will not overflow as reserve0, reserve1 and ret fit to 112 bit and numerator and _DENOMINATOR fit to 32 bit\r\n ret := mul(swapAmount, numerator)\r\n ret := div(mul(ret, reserve1), add(ret, mul(reserve0, _DENOMINATOR)))\r\n\r\n mstore(emptyPtr, _UNISWAP_PAIR_SWAP_CALL_SELECTOR)\r\n reversed := iszero(reversed)\r\n mstore(add(emptyPtr, 0x04), mul(ret, iszero(reversed)))\r\n mstore(add(emptyPtr, 0x24), mul(ret, reversed))\r\n mstore(add(emptyPtr, 0x44), to)\r\n mstore(add(emptyPtr, 0x64), 0x80)\r\n mstore(add(emptyPtr, 0x84), 0)\r\n if iszero(call(gas(), pair, 0, emptyPtr, 0xa4, 0, 0)) {\r\n reRevert()\r\n }\r\n }\r\n\r\n // make sure that input amount fits in 112 bit\r\n if gt(amount, _MAX_SWAP_AMOUNT) {\r\n mstore(0, 0xcf0b4d3a00000000000000000000000000000000000000000000000000000000) // SwapAmountTooLarge()\r\n revert(0, 4)\r\n }\r\n\r\n let emptyPtr := mload(0x40)\r\n mstore(0x40, add(emptyPtr, 0xc0))\r\n\r\n let poolsEndOffset := add(pools.offset, shl(5, pools.length))\r\n let rawPair := calldataload(pools.offset)\r\n switch srcToken\r\n case 0 {\r\n if iszero(eq(amount, callvalue())) {\r\n mstore(0, 0x1841b4e100000000000000000000000000000000000000000000000000000000) // InvalidMsgValue()\r\n revert(0, 4)\r\n }\r\n\r\n mstore(emptyPtr, _WETH_DEPOSIT_CALL_SELECTOR)\r\n if iszero(call(gas(), _WETH, amount, emptyPtr, 0x4, 0, 0)) {\r\n reRevert()\r\n }\r\n\r\n mstore(emptyPtr, _ERC20_TRANSFER_CALL_SELECTOR)\r\n mstore(add(emptyPtr, 0x4), and(rawPair, _ADDRESS_MASK))\r\n mstore(add(emptyPtr, 0x24), amount)\r\n if iszero(call(gas(), _WETH, 0, emptyPtr, 0x44, 0, 0)) {\r\n reRevert()\r\n }\r\n }\r\n default {\r\n if callvalue() {\r\n mstore(0, 0x1841b4e100000000000000000000000000000000000000000000000000000000) // InvalidMsgValue()\r\n revert(0, 4)\r\n }\r\n\r\n mstore(emptyPtr, _TRANSFER_FROM_CALL_SELECTOR)\r\n mstore(add(emptyPtr, 0x4), caller())\r\n mstore(add(emptyPtr, 0x24), and(rawPair, _ADDRESS_MASK))\r\n mstore(add(emptyPtr, 0x44), amount)\r\n validateERC20Transfer(\r\n call(gas(), srcToken, 0, emptyPtr, 0x64, 0, 0x20)\r\n )\r\n }\r\n\r\n returnAmount := amount\r\n\r\n for {let i := add(pools.offset, 0x20)} lt(i, poolsEndOffset) {i := add(i, 0x20)} {\r\n let nextRawPair := calldataload(i)\r\n\r\n returnAmount := swap(\r\n emptyPtr,\r\n returnAmount,\r\n and(rawPair, _ADDRESS_MASK),\r\n and(rawPair, _REVERSE_MASK),\r\n shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),\r\n and(nextRawPair, _ADDRESS_MASK)\r\n )\r\n\r\n rawPair := nextRawPair\r\n }\r\n\r\n switch and(rawPair, _WETH_MASK)\r\n case 0 {\r\n returnAmount := swap(\r\n emptyPtr,\r\n returnAmount,\r\n and(rawPair, _ADDRESS_MASK),\r\n and(rawPair, _REVERSE_MASK),\r\n shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),\r\n recipient\r\n )\r\n }\r\n default {\r\n returnAmount := swap(\r\n emptyPtr,\r\n returnAmount,\r\n and(rawPair, _ADDRESS_MASK),\r\n and(rawPair, _REVERSE_MASK),\r\n shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),\r\n address()\r\n )\r\n\r\n mstore(emptyPtr, _WETH_WITHDRAW_CALL_SELECTOR)\r\n mstore(add(emptyPtr, 0x04), returnAmount)\r\n if iszero(call(gas(), _WETH, 0, emptyPtr, 0x24, 0, 0)) {\r\n reRevert()\r\n }\r\n\r\n if iszero(call(gas(), recipient, returnAmount, 0, 0, 0, 0)) {\r\n reRevert()\r\n }\r\n }\r\n }\r\n if (returnAmount < minReturn) revert RouterErrors.ReturnAmountIsNotEnough();\r\n }\r\n}\r\n\r\n\r\n// File contracts/interfaces/IUniswapV3Pool.sol\r\n\r\npragma solidity 0.8.17;\r\n\r\ninterface IUniswapV3Pool {\r\n /// @notice Swap token0 for token1, or token1 for token0\r\n /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\r\n /// @param recipient The address to receive the output of the swap\r\n /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\r\n /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\r\n /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\r\n /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\r\n /// @param data Any data to be passed through to the callback\r\n /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\r\n /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\r\n function swap(\r\n address recipient,\r\n bool zeroForOne,\r\n int256 amountSpecified,\r\n uint160 sqrtPriceLimitX96,\r\n bytes calldata data\r\n ) external returns (int256 amount0, int256 amount1);\r\n\r\n /// @notice The first of the two tokens of the pool, sorted by address\r\n /// @return The token contract address\r\n function token0() external view returns (address);\r\n\r\n /// @notice The second of the two tokens of the pool, sorted by address\r\n /// @return The token contract address\r\n function token1() external view returns (address);\r\n\r\n /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\r\n /// @return The fee\r\n function fee() external view returns (uint24);\r\n}\r\n\r\n\r\n// File contracts/interfaces/IUniswapV3SwapCallback.sol\r\n\r\npragma solidity 0.8.17;\r\n\r\n/// @title Callback for IUniswapV3PoolActions#swap\r\n/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface\r\ninterface IUniswapV3SwapCallback {\r\n /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\r\n /// @dev In the implementation you must pay the pool tokens owed for the swap.\r\n /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\r\n /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\r\n /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\r\n /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.\r\n /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\r\n /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.\r\n /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call\r\n function uniswapV3SwapCallback(\r\n int256 amount0Delta,\r\n int256 amount1Delta,\r\n bytes calldata data\r\n ) external;\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/utils/Address.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\r\n\r\npragma solidity ^0.8.1;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\r\n *\r\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\r\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\r\n * constructor.\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize/address.code.length, which returns 0\r\n // for contracts in construction, since the code is only stored at the end\r\n // of the constructor execution.\r\n\r\n return account.code.length > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n (bool success, ) = recipient.call{value: amount}(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain `call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(\r\n address target,\r\n bytes memory data,\r\n string memory errorMessage\r\n ) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(\r\n address target,\r\n bytes memory data,\r\n uint256 value\r\n ) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(\r\n address target,\r\n bytes memory data,\r\n uint256 value,\r\n string memory errorMessage\r\n ) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n (bool success, bytes memory returndata) = target.call{value: value}(data);\r\n return verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(\r\n address target,\r\n bytes memory data,\r\n string memory errorMessage\r\n ) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(\r\n address target,\r\n bytes memory data,\r\n string memory errorMessage\r\n ) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\r\n * revert reason using the provided one.\r\n *\r\n * _Available since v4.3._\r\n */\r\n function verifyCallResult(\r\n bool success,\r\n bytes memory returndata,\r\n string memory errorMessage\r\n ) internal pure returns (bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n /// @solidity memory-safe-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/utils/math/SafeCast.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/SafeCast.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow\r\n * checks.\r\n *\r\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\r\n * easily result in undesired exploitation or bugs, since developers usually\r\n * assume that overflows raise errors. `SafeCast` restores this intuition by\r\n * reverting the transaction when such an operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n *\r\n * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing\r\n * all math on `uint256` and `int256` and then downcasting.\r\n */\r\nlibrary SafeCast {\r\n /**\r\n * @dev Returns the downcasted uint248 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint248).\r\n *\r\n * Counterpart to Solidity's `uint248` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 248 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint248(uint256 value) internal pure returns (uint248) {\r\n require(value <= type(uint248).max, \"SafeCast: value doesn't fit in 248 bits\");\r\n return uint248(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint240 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint240).\r\n *\r\n * Counterpart to Solidity's `uint240` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 240 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint240(uint256 value) internal pure returns (uint240) {\r\n require(value <= type(uint240).max, \"SafeCast: value doesn't fit in 240 bits\");\r\n return uint240(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint232 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint232).\r\n *\r\n * Counterpart to Solidity's `uint232` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 232 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint232(uint256 value) internal pure returns (uint232) {\r\n require(value <= type(uint232).max, \"SafeCast: value doesn't fit in 232 bits\");\r\n return uint232(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint224 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint224).\r\n *\r\n * Counterpart to Solidity's `uint224` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 224 bits\r\n *\r\n * _Available since v4.2._\r\n */\r\n function toUint224(uint256 value) internal pure returns (uint224) {\r\n require(value <= type(uint224).max, \"SafeCast: value doesn't fit in 224 bits\");\r\n return uint224(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint216 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint216).\r\n *\r\n * Counterpart to Solidity's `uint216` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 216 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint216(uint256 value) internal pure returns (uint216) {\r\n require(value <= type(uint216).max, \"SafeCast: value doesn't fit in 216 bits\");\r\n return uint216(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint208 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint208).\r\n *\r\n * Counterpart to Solidity's `uint208` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 208 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint208(uint256 value) internal pure returns (uint208) {\r\n require(value <= type(uint208).max, \"SafeCast: value doesn't fit in 208 bits\");\r\n return uint208(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint200 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint200).\r\n *\r\n * Counterpart to Solidity's `uint200` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 200 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint200(uint256 value) internal pure returns (uint200) {\r\n require(value <= type(uint200).max, \"SafeCast: value doesn't fit in 200 bits\");\r\n return uint200(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint192 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint192).\r\n *\r\n * Counterpart to Solidity's `uint192` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 192 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint192(uint256 value) internal pure returns (uint192) {\r\n require(value <= type(uint192).max, \"SafeCast: value doesn't fit in 192 bits\");\r\n return uint192(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint184 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint184).\r\n *\r\n * Counterpart to Solidity's `uint184` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 184 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint184(uint256 value) internal pure returns (uint184) {\r\n require(value <= type(uint184).max, \"SafeCast: value doesn't fit in 184 bits\");\r\n return uint184(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint176 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint176).\r\n *\r\n * Counterpart to Solidity's `uint176` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 176 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint176(uint256 value) internal pure returns (uint176) {\r\n require(value <= type(uint176).max, \"SafeCast: value doesn't fit in 176 bits\");\r\n return uint176(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint168 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint168).\r\n *\r\n * Counterpart to Solidity's `uint168` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 168 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint168(uint256 value) internal pure returns (uint168) {\r\n require(value <= type(uint168).max, \"SafeCast: value doesn't fit in 168 bits\");\r\n return uint168(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint160 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint160).\r\n *\r\n * Counterpart to Solidity's `uint160` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 160 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint160(uint256 value) internal pure returns (uint160) {\r\n require(value <= type(uint160).max, \"SafeCast: value doesn't fit in 160 bits\");\r\n return uint160(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint152 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint152).\r\n *\r\n * Counterpart to Solidity's `uint152` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 152 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint152(uint256 value) internal pure returns (uint152) {\r\n require(value <= type(uint152).max, \"SafeCast: value doesn't fit in 152 bits\");\r\n return uint152(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint144 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint144).\r\n *\r\n * Counterpart to Solidity's `uint144` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 144 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint144(uint256 value) internal pure returns (uint144) {\r\n require(value <= type(uint144).max, \"SafeCast: value doesn't fit in 144 bits\");\r\n return uint144(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint136 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint136).\r\n *\r\n * Counterpart to Solidity's `uint136` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 136 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint136(uint256 value) internal pure returns (uint136) {\r\n require(value <= type(uint136).max, \"SafeCast: value doesn't fit in 136 bits\");\r\n return uint136(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint128 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint128).\r\n *\r\n * Counterpart to Solidity's `uint128` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 128 bits\r\n *\r\n * _Available since v2.5._\r\n */\r\n function toUint128(uint256 value) internal pure returns (uint128) {\r\n require(value <= type(uint128).max, \"SafeCast: value doesn't fit in 128 bits\");\r\n return uint128(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint120 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint120).\r\n *\r\n * Counterpart to Solidity's `uint120` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 120 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint120(uint256 value) internal pure returns (uint120) {\r\n require(value <= type(uint120).max, \"SafeCast: value doesn't fit in 120 bits\");\r\n return uint120(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint112 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint112).\r\n *\r\n * Counterpart to Solidity's `uint112` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 112 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint112(uint256 value) internal pure returns (uint112) {\r\n require(value <= type(uint112).max, \"SafeCast: value doesn't fit in 112 bits\");\r\n return uint112(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint104 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint104).\r\n *\r\n * Counterpart to Solidity's `uint104` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 104 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint104(uint256 value) internal pure returns (uint104) {\r\n require(value <= type(uint104).max, \"SafeCast: value doesn't fit in 104 bits\");\r\n return uint104(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint96 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint96).\r\n *\r\n * Counterpart to Solidity's `uint96` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 96 bits\r\n *\r\n * _Available since v4.2._\r\n */\r\n function toUint96(uint256 value) internal pure returns (uint96) {\r\n require(value <= type(uint96).max, \"SafeCast: value doesn't fit in 96 bits\");\r\n return uint96(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint88 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint88).\r\n *\r\n * Counterpart to Solidity's `uint88` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 88 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint88(uint256 value) internal pure returns (uint88) {\r\n require(value <= type(uint88).max, \"SafeCast: value doesn't fit in 88 bits\");\r\n return uint88(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint80 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint80).\r\n *\r\n * Counterpart to Solidity's `uint80` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 80 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint80(uint256 value) internal pure returns (uint80) {\r\n require(value <= type(uint80).max, \"SafeCast: value doesn't fit in 80 bits\");\r\n return uint80(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint72 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint72).\r\n *\r\n * Counterpart to Solidity's `uint72` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 72 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint72(uint256 value) internal pure returns (uint72) {\r\n require(value <= type(uint72).max, \"SafeCast: value doesn't fit in 72 bits\");\r\n return uint72(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint64 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint64).\r\n *\r\n * Counterpart to Solidity's `uint64` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 64 bits\r\n *\r\n * _Available since v2.5._\r\n */\r\n function toUint64(uint256 value) internal pure returns (uint64) {\r\n require(value <= type(uint64).max, \"SafeCast: value doesn't fit in 64 bits\");\r\n return uint64(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint56 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint56).\r\n *\r\n * Counterpart to Solidity's `uint56` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 56 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint56(uint256 value) internal pure returns (uint56) {\r\n require(value <= type(uint56).max, \"SafeCast: value doesn't fit in 56 bits\");\r\n return uint56(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint48 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint48).\r\n *\r\n * Counterpart to Solidity's `uint48` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 48 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint48(uint256 value) internal pure returns (uint48) {\r\n require(value <= type(uint48).max, \"SafeCast: value doesn't fit in 48 bits\");\r\n return uint48(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint40 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint40).\r\n *\r\n * Counterpart to Solidity's `uint40` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 40 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint40(uint256 value) internal pure returns (uint40) {\r\n require(value <= type(uint40).max, \"SafeCast: value doesn't fit in 40 bits\");\r\n return uint40(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint32 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint32).\r\n *\r\n * Counterpart to Solidity's `uint32` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 32 bits\r\n *\r\n * _Available since v2.5._\r\n */\r\n function toUint32(uint256 value) internal pure returns (uint32) {\r\n require(value <= type(uint32).max, \"SafeCast: value doesn't fit in 32 bits\");\r\n return uint32(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint24 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint24).\r\n *\r\n * Counterpart to Solidity's `uint24` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 24 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toUint24(uint256 value) internal pure returns (uint24) {\r\n require(value <= type(uint24).max, \"SafeCast: value doesn't fit in 24 bits\");\r\n return uint24(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint16 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint16).\r\n *\r\n * Counterpart to Solidity's `uint16` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 16 bits\r\n *\r\n * _Available since v2.5._\r\n */\r\n function toUint16(uint256 value) internal pure returns (uint16) {\r\n require(value <= type(uint16).max, \"SafeCast: value doesn't fit in 16 bits\");\r\n return uint16(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted uint8 from uint256, reverting on\r\n * overflow (when the input is greater than largest uint8).\r\n *\r\n * Counterpart to Solidity's `uint8` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 8 bits\r\n *\r\n * _Available since v2.5._\r\n */\r\n function toUint8(uint256 value) internal pure returns (uint8) {\r\n require(value <= type(uint8).max, \"SafeCast: value doesn't fit in 8 bits\");\r\n return uint8(value);\r\n }\r\n\r\n /**\r\n * @dev Converts a signed int256 into an unsigned uint256.\r\n *\r\n * Requirements:\r\n *\r\n * - input must be greater than or equal to 0.\r\n *\r\n * _Available since v3.0._\r\n */\r\n function toUint256(int256 value) internal pure returns (uint256) {\r\n require(value >= 0, \"SafeCast: value must be positive\");\r\n return uint256(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int248 from int256, reverting on\r\n * overflow (when the input is less than smallest int248 or\r\n * greater than largest int248).\r\n *\r\n * Counterpart to Solidity's `int248` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 248 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt248(int256 value) internal pure returns (int248) {\r\n require(value >= type(int248).min && value <= type(int248).max, \"SafeCast: value doesn't fit in 248 bits\");\r\n return int248(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int240 from int256, reverting on\r\n * overflow (when the input is less than smallest int240 or\r\n * greater than largest int240).\r\n *\r\n * Counterpart to Solidity's `int240` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 240 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt240(int256 value) internal pure returns (int240) {\r\n require(value >= type(int240).min && value <= type(int240).max, \"SafeCast: value doesn't fit in 240 bits\");\r\n return int240(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int232 from int256, reverting on\r\n * overflow (when the input is less than smallest int232 or\r\n * greater than largest int232).\r\n *\r\n * Counterpart to Solidity's `int232` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 232 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt232(int256 value) internal pure returns (int232) {\r\n require(value >= type(int232).min && value <= type(int232).max, \"SafeCast: value doesn't fit in 232 bits\");\r\n return int232(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int224 from int256, reverting on\r\n * overflow (when the input is less than smallest int224 or\r\n * greater than largest int224).\r\n *\r\n * Counterpart to Solidity's `int224` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 224 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt224(int256 value) internal pure returns (int224) {\r\n require(value >= type(int224).min && value <= type(int224).max, \"SafeCast: value doesn't fit in 224 bits\");\r\n return int224(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int216 from int256, reverting on\r\n * overflow (when the input is less than smallest int216 or\r\n * greater than largest int216).\r\n *\r\n * Counterpart to Solidity's `int216` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 216 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt216(int256 value) internal pure returns (int216) {\r\n require(value >= type(int216).min && value <= type(int216).max, \"SafeCast: value doesn't fit in 216 bits\");\r\n return int216(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int208 from int256, reverting on\r\n * overflow (when the input is less than smallest int208 or\r\n * greater than largest int208).\r\n *\r\n * Counterpart to Solidity's `int208` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 208 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt208(int256 value) internal pure returns (int208) {\r\n require(value >= type(int208).min && value <= type(int208).max, \"SafeCast: value doesn't fit in 208 bits\");\r\n return int208(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int200 from int256, reverting on\r\n * overflow (when the input is less than smallest int200 or\r\n * greater than largest int200).\r\n *\r\n * Counterpart to Solidity's `int200` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 200 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt200(int256 value) internal pure returns (int200) {\r\n require(value >= type(int200).min && value <= type(int200).max, \"SafeCast: value doesn't fit in 200 bits\");\r\n return int200(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int192 from int256, reverting on\r\n * overflow (when the input is less than smallest int192 or\r\n * greater than largest int192).\r\n *\r\n * Counterpart to Solidity's `int192` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 192 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt192(int256 value) internal pure returns (int192) {\r\n require(value >= type(int192).min && value <= type(int192).max, \"SafeCast: value doesn't fit in 192 bits\");\r\n return int192(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int184 from int256, reverting on\r\n * overflow (when the input is less than smallest int184 or\r\n * greater than largest int184).\r\n *\r\n * Counterpart to Solidity's `int184` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 184 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt184(int256 value) internal pure returns (int184) {\r\n require(value >= type(int184).min && value <= type(int184).max, \"SafeCast: value doesn't fit in 184 bits\");\r\n return int184(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int176 from int256, reverting on\r\n * overflow (when the input is less than smallest int176 or\r\n * greater than largest int176).\r\n *\r\n * Counterpart to Solidity's `int176` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 176 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt176(int256 value) internal pure returns (int176) {\r\n require(value >= type(int176).min && value <= type(int176).max, \"SafeCast: value doesn't fit in 176 bits\");\r\n return int176(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int168 from int256, reverting on\r\n * overflow (when the input is less than smallest int168 or\r\n * greater than largest int168).\r\n *\r\n * Counterpart to Solidity's `int168` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 168 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt168(int256 value) internal pure returns (int168) {\r\n require(value >= type(int168).min && value <= type(int168).max, \"SafeCast: value doesn't fit in 168 bits\");\r\n return int168(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int160 from int256, reverting on\r\n * overflow (when the input is less than smallest int160 or\r\n * greater than largest int160).\r\n *\r\n * Counterpart to Solidity's `int160` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 160 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt160(int256 value) internal pure returns (int160) {\r\n require(value >= type(int160).min && value <= type(int160).max, \"SafeCast: value doesn't fit in 160 bits\");\r\n return int160(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int152 from int256, reverting on\r\n * overflow (when the input is less than smallest int152 or\r\n * greater than largest int152).\r\n *\r\n * Counterpart to Solidity's `int152` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 152 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt152(int256 value) internal pure returns (int152) {\r\n require(value >= type(int152).min && value <= type(int152).max, \"SafeCast: value doesn't fit in 152 bits\");\r\n return int152(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int144 from int256, reverting on\r\n * overflow (when the input is less than smallest int144 or\r\n * greater than largest int144).\r\n *\r\n * Counterpart to Solidity's `int144` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 144 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt144(int256 value) internal pure returns (int144) {\r\n require(value >= type(int144).min && value <= type(int144).max, \"SafeCast: value doesn't fit in 144 bits\");\r\n return int144(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int136 from int256, reverting on\r\n * overflow (when the input is less than smallest int136 or\r\n * greater than largest int136).\r\n *\r\n * Counterpart to Solidity's `int136` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 136 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt136(int256 value) internal pure returns (int136) {\r\n require(value >= type(int136).min && value <= type(int136).max, \"SafeCast: value doesn't fit in 136 bits\");\r\n return int136(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int128 from int256, reverting on\r\n * overflow (when the input is less than smallest int128 or\r\n * greater than largest int128).\r\n *\r\n * Counterpart to Solidity's `int128` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 128 bits\r\n *\r\n * _Available since v3.1._\r\n */\r\n function toInt128(int256 value) internal pure returns (int128) {\r\n require(value >= type(int128).min && value <= type(int128).max, \"SafeCast: value doesn't fit in 128 bits\");\r\n return int128(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int120 from int256, reverting on\r\n * overflow (when the input is less than smallest int120 or\r\n * greater than largest int120).\r\n *\r\n * Counterpart to Solidity's `int120` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 120 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt120(int256 value) internal pure returns (int120) {\r\n require(value >= type(int120).min && value <= type(int120).max, \"SafeCast: value doesn't fit in 120 bits\");\r\n return int120(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int112 from int256, reverting on\r\n * overflow (when the input is less than smallest int112 or\r\n * greater than largest int112).\r\n *\r\n * Counterpart to Solidity's `int112` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 112 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt112(int256 value) internal pure returns (int112) {\r\n require(value >= type(int112).min && value <= type(int112).max, \"SafeCast: value doesn't fit in 112 bits\");\r\n return int112(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int104 from int256, reverting on\r\n * overflow (when the input is less than smallest int104 or\r\n * greater than largest int104).\r\n *\r\n * Counterpart to Solidity's `int104` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 104 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt104(int256 value) internal pure returns (int104) {\r\n require(value >= type(int104).min && value <= type(int104).max, \"SafeCast: value doesn't fit in 104 bits\");\r\n return int104(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int96 from int256, reverting on\r\n * overflow (when the input is less than smallest int96 or\r\n * greater than largest int96).\r\n *\r\n * Counterpart to Solidity's `int96` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 96 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt96(int256 value) internal pure returns (int96) {\r\n require(value >= type(int96).min && value <= type(int96).max, \"SafeCast: value doesn't fit in 96 bits\");\r\n return int96(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int88 from int256, reverting on\r\n * overflow (when the input is less than smallest int88 or\r\n * greater than largest int88).\r\n *\r\n * Counterpart to Solidity's `int88` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 88 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt88(int256 value) internal pure returns (int88) {\r\n require(value >= type(int88).min && value <= type(int88).max, \"SafeCast: value doesn't fit in 88 bits\");\r\n return int88(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int80 from int256, reverting on\r\n * overflow (when the input is less than smallest int80 or\r\n * greater than largest int80).\r\n *\r\n * Counterpart to Solidity's `int80` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 80 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt80(int256 value) internal pure returns (int80) {\r\n require(value >= type(int80).min && value <= type(int80).max, \"SafeCast: value doesn't fit in 80 bits\");\r\n return int80(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int72 from int256, reverting on\r\n * overflow (when the input is less than smallest int72 or\r\n * greater than largest int72).\r\n *\r\n * Counterpart to Solidity's `int72` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 72 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt72(int256 value) internal pure returns (int72) {\r\n require(value >= type(int72).min && value <= type(int72).max, \"SafeCast: value doesn't fit in 72 bits\");\r\n return int72(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int64 from int256, reverting on\r\n * overflow (when the input is less than smallest int64 or\r\n * greater than largest int64).\r\n *\r\n * Counterpart to Solidity's `int64` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 64 bits\r\n *\r\n * _Available since v3.1._\r\n */\r\n function toInt64(int256 value) internal pure returns (int64) {\r\n require(value >= type(int64).min && value <= type(int64).max, \"SafeCast: value doesn't fit in 64 bits\");\r\n return int64(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int56 from int256, reverting on\r\n * overflow (when the input is less than smallest int56 or\r\n * greater than largest int56).\r\n *\r\n * Counterpart to Solidity's `int56` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 56 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt56(int256 value) internal pure returns (int56) {\r\n require(value >= type(int56).min && value <= type(int56).max, \"SafeCast: value doesn't fit in 56 bits\");\r\n return int56(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int48 from int256, reverting on\r\n * overflow (when the input is less than smallest int48 or\r\n * greater than largest int48).\r\n *\r\n * Counterpart to Solidity's `int48` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 48 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt48(int256 value) internal pure returns (int48) {\r\n require(value >= type(int48).min && value <= type(int48).max, \"SafeCast: value doesn't fit in 48 bits\");\r\n return int48(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int40 from int256, reverting on\r\n * overflow (when the input is less than smallest int40 or\r\n * greater than largest int40).\r\n *\r\n * Counterpart to Solidity's `int40` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 40 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt40(int256 value) internal pure returns (int40) {\r\n require(value >= type(int40).min && value <= type(int40).max, \"SafeCast: value doesn't fit in 40 bits\");\r\n return int40(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int32 from int256, reverting on\r\n * overflow (when the input is less than smallest int32 or\r\n * greater than largest int32).\r\n *\r\n * Counterpart to Solidity's `int32` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 32 bits\r\n *\r\n * _Available since v3.1._\r\n */\r\n function toInt32(int256 value) internal pure returns (int32) {\r\n require(value >= type(int32).min && value <= type(int32).max, \"SafeCast: value doesn't fit in 32 bits\");\r\n return int32(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int24 from int256, reverting on\r\n * overflow (when the input is less than smallest int24 or\r\n * greater than largest int24).\r\n *\r\n * Counterpart to Solidity's `int24` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 24 bits\r\n *\r\n * _Available since v4.7._\r\n */\r\n function toInt24(int256 value) internal pure returns (int24) {\r\n require(value >= type(int24).min && value <= type(int24).max, \"SafeCast: value doesn't fit in 24 bits\");\r\n return int24(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int16 from int256, reverting on\r\n * overflow (when the input is less than smallest int16 or\r\n * greater than largest int16).\r\n *\r\n * Counterpart to Solidity's `int16` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 16 bits\r\n *\r\n * _Available since v3.1._\r\n */\r\n function toInt16(int256 value) internal pure returns (int16) {\r\n require(value >= type(int16).min && value <= type(int16).max, \"SafeCast: value doesn't fit in 16 bits\");\r\n return int16(value);\r\n }\r\n\r\n /**\r\n * @dev Returns the downcasted int8 from int256, reverting on\r\n * overflow (when the input is less than smallest int8 or\r\n * greater than largest int8).\r\n *\r\n * Counterpart to Solidity's `int8` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - input must fit into 8 bits\r\n *\r\n * _Available since v3.1._\r\n */\r\n function toInt8(int256 value) internal pure returns (int8) {\r\n require(value >= type(int8).min && value <= type(int8).max, \"SafeCast: value doesn't fit in 8 bits\");\r\n return int8(value);\r\n }\r\n\r\n /**\r\n * @dev Converts an unsigned uint256 into a signed int256.\r\n *\r\n * Requirements:\r\n *\r\n * - input must be less than or equal to maxInt256.\r\n *\r\n * _Available since v3.0._\r\n */\r\n function toInt256(uint256 value) internal pure returns (int256) {\r\n // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\r\n require(value <= uint256(type(int256).max), \"SafeCast: value doesn't fit in an int256\");\r\n return int256(value);\r\n }\r\n}\r\n\r\n\r\n// File contracts/routers/UnoswapV3Router.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\ncontract UnoswapV3Router is EthReceiver, IUniswapV3SwapCallback {\r\n using Address for address payable;\r\n using SafeERC20 for IERC20;\r\n\r\n error EmptyPools();\r\n error BadPool();\r\n\r\n uint256 private constant _ONE_FOR_ZERO_MASK = 1 << 255;\r\n uint256 private constant _WETH_UNWRAP_MASK = 1 << 253;\r\n bytes32 private constant _POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;\r\n bytes32 private constant _FF_FACTORY = 0xff1F98431c8aD98523631AE4a59f267346ea31F9840000000000000000000000;\r\n // concatenation of token0(), token1() fee(), transfer() and transferFrom() selectors\r\n bytes32 private constant _SELECTORS = 0x0dfe1681d21220a7ddca3f43a9059cbb23b872dd000000000000000000000000;\r\n uint256 private constant _ADDRESS_MASK = 0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff;\r\n /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)\r\n uint160 private constant _MIN_SQRT_RATIO = 4295128739 + 1;\r\n /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)\r\n uint160 private constant _MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342 - 1;\r\n IWETH private immutable _WETH; // solhint-disable-line var-name-mixedcase\r\n\r\n constructor(IWETH weth) {\r\n _WETH = weth;\r\n }\r\n\r\n /// @notice Same as `uniswapV3SwapTo` but calls permit first,\r\n /// allowing to approve token spending and make a swap in one transaction.\r\n /// @param recipient Address that will receive swap funds\r\n /// @param srcToken Source token\r\n /// @param amount Amount of source tokens to swap\r\n /// @param minReturn Minimal allowed returnAmount to make transaction commit\r\n /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen\r\n /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls.\r\n /// See tests for examples\r\n function uniswapV3SwapToWithPermit(\r\n address payable recipient,\r\n IERC20 srcToken,\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools,\r\n bytes calldata permit\r\n ) external returns(uint256 returnAmount) {\r\n srcToken.safePermit(permit);\r\n return _uniswapV3Swap(recipient, amount, minReturn, pools);\r\n }\r\n\r\n /// @notice Same as `uniswapV3SwapTo` but uses `msg.sender` as recipient\r\n /// @param amount Amount of source tokens to swap\r\n /// @param minReturn Minimal allowed returnAmount to make transaction commit\r\n /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen\r\n function uniswapV3Swap(\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools\r\n ) external payable returns(uint256 returnAmount) {\r\n return _uniswapV3Swap(payable(msg.sender), amount, minReturn, pools);\r\n }\r\n\r\n /// @notice Performs swap using Uniswap V3 exchange. Wraps and unwraps ETH if required.\r\n /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited\r\n /// @param recipient Address that will receive swap funds\r\n /// @param amount Amount of source tokens to swap\r\n /// @param minReturn Minimal allowed returnAmount to make transaction commit\r\n /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen\r\n function uniswapV3SwapTo(\r\n address payable recipient,\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools\r\n ) external payable returns(uint256 returnAmount) {\r\n return _uniswapV3Swap(recipient, amount, minReturn, pools);\r\n }\r\n\r\n function _uniswapV3Swap(\r\n address payable recipient,\r\n uint256 amount,\r\n uint256 minReturn,\r\n uint256[] calldata pools\r\n ) private returns(uint256 returnAmount) {\r\n unchecked {\r\n uint256 len = pools.length;\r\n if (len == 0) revert EmptyPools();\r\n uint256 lastIndex = len - 1;\r\n returnAmount = amount;\r\n bool wrapWeth = msg.value > 0;\r\n bool unwrapWeth = pools[lastIndex] & _WETH_UNWRAP_MASK > 0;\r\n if (wrapWeth) {\r\n if (msg.value != amount) revert RouterErrors.InvalidMsgValue();\r\n _WETH.deposit{value: amount}();\r\n }\r\n if (len > 1) {\r\n returnAmount = _makeSwap(address(this), wrapWeth ? address(this) : msg.sender, pools[0], returnAmount);\r\n\r\n for (uint256 i = 1; i < lastIndex; i++) {\r\n returnAmount = _makeSwap(address(this), address(this), pools[i], returnAmount);\r\n }\r\n returnAmount = _makeSwap(unwrapWeth ? address(this) : recipient, address(this), pools[lastIndex], returnAmount);\r\n } else {\r\n returnAmount = _makeSwap(unwrapWeth ? address(this) : recipient, wrapWeth ? address(this) : msg.sender, pools[0], returnAmount);\r\n }\r\n\r\n if (returnAmount < minReturn) revert RouterErrors.ReturnAmountIsNotEnough();\r\n\r\n if (unwrapWeth) {\r\n _WETH.withdraw(returnAmount);\r\n recipient.sendValue(returnAmount);\r\n }\r\n }\r\n }\r\n\r\n /// @inheritdoc IUniswapV3SwapCallback\r\n function uniswapV3SwapCallback(\r\n int256 amount0Delta,\r\n int256 amount1Delta,\r\n bytes calldata /* data */\r\n ) external override {\r\n assembly { // solhint-disable-line no-inline-assembly\r\n function reRevert() {\r\n returndatacopy(0, 0, returndatasize())\r\n revert(0, returndatasize())\r\n }\r\n\r\n function validateERC20Transfer(status) {\r\n if iszero(status) {\r\n reRevert()\r\n }\r\n let success := or(\r\n iszero(returndatasize()), // empty return data\r\n and(gt(returndatasize(), 31), eq(mload(0), 1)) // true in return data\r\n )\r\n if iszero(success) {\r\n mstore(0, 0xf27f64e400000000000000000000000000000000000000000000000000000000) // ERC20TransferFailed()\r\n revert(0, 4)\r\n }\r\n }\r\n\r\n let emptyPtr := mload(0x40)\r\n let resultPtr := add(emptyPtr, 0x15) // 0x15 = _FF_FACTORY size\r\n\r\n mstore(emptyPtr, _SELECTORS)\r\n if iszero(staticcall(gas(), caller(), emptyPtr, 0x4, resultPtr, 0x20)) {\r\n reRevert()\r\n }\r\n if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x4), 0x4, add(resultPtr, 0x20), 0x20)) {\r\n reRevert()\r\n }\r\n if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x8), 0x4, add(resultPtr, 0x40), 0x20)) {\r\n reRevert()\r\n }\r\n\r\n let token\r\n let amount\r\n switch sgt(amount0Delta, 0)\r\n case 1 {\r\n token := mload(resultPtr)\r\n amount := amount0Delta\r\n }\r\n default {\r\n token := mload(add(resultPtr, 0x20))\r\n amount := amount1Delta\r\n }\r\n\r\n mstore(emptyPtr, _FF_FACTORY)\r\n mstore(resultPtr, keccak256(resultPtr, 0x60)) // Compute the inner hash in-place\r\n mstore(add(resultPtr, 0x20), _POOL_INIT_CODE_HASH)\r\n let pool := and(keccak256(emptyPtr, 0x55), _ADDRESS_MASK)\r\n if xor(pool, caller()) {\r\n mstore(0, 0xb2c0272200000000000000000000000000000000000000000000000000000000) // BadPool()\r\n revert(0, 4)\r\n }\r\n\r\n let payer := calldataload(0x84)\r\n mstore(emptyPtr, _SELECTORS)\r\n switch eq(payer, address())\r\n case 1 {\r\n // token.safeTransfer(msg.sender,amount)\r\n mstore(add(emptyPtr, 0x10), caller())\r\n mstore(add(emptyPtr, 0x30), amount)\r\n validateERC20Transfer(\r\n call(gas(), token, 0, add(emptyPtr, 0x0c), 0x44, 0, 0x20)\r\n )\r\n }\r\n default {\r\n // token.safeTransferFrom(payer, msg.sender, amount);\r\n mstore(add(emptyPtr, 0x14), payer)\r\n mstore(add(emptyPtr, 0x34), caller())\r\n mstore(add(emptyPtr, 0x54), amount)\r\n validateERC20Transfer(\r\n call(gas(), token, 0, add(emptyPtr, 0x10), 0x64, 0, 0x20)\r\n )\r\n }\r\n }\r\n }\r\n\r\n function _makeSwap(address recipient, address payer, uint256 pool, uint256 amount) private returns (uint256) {\r\n bool zeroForOne = pool & _ONE_FOR_ZERO_MASK == 0;\r\n if (zeroForOne) {\r\n (, int256 amount1) = IUniswapV3Pool(address(uint160(pool))).swap(\r\n recipient,\r\n zeroForOne,\r\n SafeCast.toInt256(amount),\r\n _MIN_SQRT_RATIO,\r\n abi.encode(payer)\r\n );\r\n return SafeCast.toUint256(-amount1);\r\n } else {\r\n (int256 amount0,) = IUniswapV3Pool(address(uint160(pool))).swap(\r\n recipient,\r\n zeroForOne,\r\n SafeCast.toInt256(amount),\r\n _MAX_SQRT_RATIO,\r\n abi.encode(payer)\r\n );\r\n return SafeCast.toUint256(-amount0);\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/OnlyWethReceiver.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\nabstract contract OnlyWethReceiver is EthReceiver {\r\n address private immutable _WETH; // solhint-disable-line var-name-mixedcase\r\n\r\n constructor(address weth) {\r\n _WETH = address(weth);\r\n }\r\n\r\n function _receive() internal virtual override {\r\n if (msg.sender != _WETH) revert EthDepositRejected();\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/interfaces/IERC1271.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC1271 standard signature validation method for\r\n * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].\r\n *\r\n * _Available since v4.1._\r\n */\r\ninterface IERC1271 {\r\n /**\r\n * @dev Should return whether the signature provided is valid for the provided data\r\n * @param hash Hash of the data to be signed\r\n * @param signature Signature byte array associated with _data\r\n */\r\n function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);\r\n}\r\n\r\n\r\n// File @1inch/solidity-utils/contracts/libraries/ECDSA.sol@v2.1.1\r\n\r\n\r\npragma solidity ^0.8.0;\r\n\r\nlibrary ECDSA {\r\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\r\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\r\n // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\r\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\r\n //\r\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\r\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\r\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\r\n // these malleable signatures as well.\r\n uint256 private constant _S_BOUNDARY = 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 + 1;\r\n uint256 private constant _COMPACT_S_MASK = 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;\r\n uint256 private constant _COMPACT_V_SHIFT = 255;\r\n\r\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal view returns(address signer) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n if lt(s, _S_BOUNDARY) {\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, hash)\r\n mstore(add(ptr, 0x20), v)\r\n mstore(add(ptr, 0x40), r)\r\n mstore(add(ptr, 0x60), s)\r\n mstore(0, 0)\r\n pop(staticcall(gas(), 0x1, ptr, 0x80, 0, 0x20))\r\n signer := mload(0)\r\n }\r\n }\r\n }\r\n\r\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns(address signer) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let s := and(vs, _COMPACT_S_MASK)\r\n if lt(s, _S_BOUNDARY) {\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, hash)\r\n mstore(add(ptr, 0x20), add(27, shr(_COMPACT_V_SHIFT, vs)))\r\n mstore(add(ptr, 0x40), r)\r\n mstore(add(ptr, 0x60), s)\r\n mstore(0, 0)\r\n pop(staticcall(gas(), 0x1, ptr, 0x80, 0, 0x20))\r\n signer := mload(0)\r\n }\r\n }\r\n }\r\n\r\n /// WARNING!!!\r\n /// There is a known signature malleability issue with two representations of signatures!\r\n /// Even though this function is able to verify both standard 65-byte and compact 64-byte EIP-2098 signatures\r\n /// one should never use raw signatures for any kind of invalidation logic in their code.\r\n /// As the standard and compact representations are interchangeable any invalidation logic that relies on\r\n /// signature uniqueness will get rekt.\r\n /// More info: https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-4h98-2769-gh6h\r\n function recover(bytes32 hash, bytes calldata signature) internal view returns(address signer) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n // memory[ptr:ptr+0x80] = (hash, v, r, s)\r\n switch signature.length\r\n case 65 {\r\n // memory[ptr+0x20:ptr+0x80] = (v, r, s)\r\n mstore(add(ptr, 0x20), byte(0, calldataload(add(signature.offset, 0x40))))\r\n calldatacopy(add(ptr, 0x40), signature.offset, 0x40)\r\n }\r\n case 64 {\r\n // memory[ptr+0x20:ptr+0x80] = (v, r, s)\r\n let vs := calldataload(add(signature.offset, 0x20))\r\n mstore(add(ptr, 0x20), add(27, shr(_COMPACT_V_SHIFT, vs)))\r\n calldatacopy(add(ptr, 0x40), signature.offset, 0x20)\r\n mstore(add(ptr, 0x60), and(vs, _COMPACT_S_MASK))\r\n }\r\n default {\r\n ptr := 0\r\n }\r\n\r\n if ptr {\r\n if lt(mload(add(ptr, 0x60)), _S_BOUNDARY) {\r\n // memory[ptr:ptr+0x20] = (hash)\r\n mstore(ptr, hash)\r\n\r\n mstore(0, 0)\r\n pop(staticcall(gas(), 0x1, ptr, 0x80, 0, 0x20))\r\n signer := mload(0)\r\n }\r\n }\r\n }\r\n }\r\n\r\n function recoverOrIsValidSignature(address signer, bytes32 hash, bytes calldata signature) internal view returns(bool success) {\r\n if (signer == address(0)) return false;\r\n if ((signature.length == 64 || signature.length == 65) && recover(hash, signature) == signer) {\r\n return true;\r\n }\r\n return isValidSignature(signer, hash, signature);\r\n }\r\n\r\n function recoverOrIsValidSignature(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal view returns(bool success) {\r\n if (signer == address(0)) return false;\r\n if (recover(hash, v, r, s) == signer) {\r\n return true;\r\n }\r\n return isValidSignature(signer, hash, v, r, s);\r\n }\r\n\r\n function recoverOrIsValidSignature(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {\r\n if (signer == address(0)) return false;\r\n if (recover(hash, r, vs) == signer) {\r\n return true;\r\n }\r\n return isValidSignature(signer, hash, r, vs);\r\n }\r\n\r\n function recoverOrIsValidSignature65(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {\r\n if (signer == address(0)) return false;\r\n if (recover(hash, r, vs) == signer) {\r\n return true;\r\n }\r\n return isValidSignature65(signer, hash, r, vs);\r\n }\r\n\r\n function isValidSignature(address signer, bytes32 hash, bytes calldata signature) internal view returns(bool success) {\r\n // (bool success, bytes memory data) = signer.staticcall(abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature));\r\n // return success && data.length >= 4 && abi.decode(data, (bytes4)) == IERC1271.isValidSignature.selector;\r\n bytes4 selector = IERC1271.isValidSignature.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, selector)\r\n mstore(add(ptr, 0x04), hash)\r\n mstore(add(ptr, 0x24), 0x40)\r\n mstore(add(ptr, 0x44), signature.length)\r\n calldatacopy(add(ptr, 0x64), signature.offset, signature.length)\r\n if staticcall(gas(), signer, ptr, add(0x64, signature.length), 0, 0x20) {\r\n success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))\r\n }\r\n }\r\n }\r\n\r\n function isValidSignature(address signer, bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal view returns(bool success) {\r\n bytes4 selector = IERC1271.isValidSignature.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, selector)\r\n mstore(add(ptr, 0x04), hash)\r\n mstore(add(ptr, 0x24), 0x40)\r\n mstore(add(ptr, 0x44), 65)\r\n mstore(add(ptr, 0x64), r)\r\n mstore(add(ptr, 0x84), s)\r\n mstore8(add(ptr, 0xa4), v)\r\n if staticcall(gas(), signer, ptr, 0xa5, 0, 0x20) {\r\n success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))\r\n }\r\n }\r\n }\r\n\r\n function isValidSignature(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {\r\n // (bool success, bytes memory data) = signer.staticcall(abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, abi.encodePacked(r, vs)));\r\n // return success && data.length >= 4 && abi.decode(data, (bytes4)) == IERC1271.isValidSignature.selector;\r\n bytes4 selector = IERC1271.isValidSignature.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, selector)\r\n mstore(add(ptr, 0x04), hash)\r\n mstore(add(ptr, 0x24), 0x40)\r\n mstore(add(ptr, 0x44), 64)\r\n mstore(add(ptr, 0x64), r)\r\n mstore(add(ptr, 0x84), vs)\r\n if staticcall(gas(), signer, ptr, 0xa4, 0, 0x20) {\r\n success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))\r\n }\r\n }\r\n }\r\n\r\n function isValidSignature65(address signer, bytes32 hash, bytes32 r, bytes32 vs) internal view returns(bool success) {\r\n // (bool success, bytes memory data) = signer.staticcall(abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, abi.encodePacked(r, vs & ~uint256(1 << 255), uint8(vs >> 255))));\r\n // return success && data.length >= 4 && abi.decode(data, (bytes4)) == IERC1271.isValidSignature.selector;\r\n bytes4 selector = IERC1271.isValidSignature.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n mstore(ptr, selector)\r\n mstore(add(ptr, 0x04), hash)\r\n mstore(add(ptr, 0x24), 0x40)\r\n mstore(add(ptr, 0x44), 65)\r\n mstore(add(ptr, 0x64), r)\r\n mstore(add(ptr, 0x84), and(vs, _COMPACT_S_MASK))\r\n mstore8(add(ptr, 0xa4), add(27, shr(_COMPACT_V_SHIFT, vs)))\r\n if staticcall(gas(), signer, ptr, 0xa5, 0, 0x20) {\r\n success := and(eq(selector, mload(0)), eq(returndatasize(), 0x20))\r\n }\r\n }\r\n }\r\n\r\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 res) {\r\n // 32 is the length in bytes of hash, enforced by the type signature above\r\n // return keccak256(abi.encodePacked(\"\\x19Ethereum Signed Message:\\n32\", hash));\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n mstore(0, 0x19457468657265756d205369676e6564204d6573736167653a0a333200000000) // \"\\x19Ethereum Signed Message:\\n32\"\r\n mstore(28, hash)\r\n res := keccak256(0, 60)\r\n }\r\n }\r\n\r\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 res) {\r\n // return keccak256(abi.encodePacked(\"\\x19\\x01\", domainSeparator, structHash));\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n mstore(ptr, 0x1901000000000000000000000000000000000000000000000000000000000000) // \"\\x19\\x01\"\r\n mstore(add(ptr, 0x02), domainSeparator)\r\n mstore(add(ptr, 0x22), structHash)\r\n res := keccak256(ptr, 66)\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/OrderRFQLib.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\nlibrary OrderRFQLib {\r\n struct OrderRFQ {\r\n uint256 info; // lowest 64 bits is the order id, next 64 bits is the expiration timestamp\r\n address makerAsset;\r\n address takerAsset;\r\n address maker;\r\n address allowedSender; // equals to Zero address on public orders\r\n uint256 makingAmount;\r\n uint256 takingAmount;\r\n }\r\n\r\n bytes32 constant internal _LIMIT_ORDER_RFQ_TYPEHASH = keccak256(\r\n \"OrderRFQ(\"\r\n \"uint256 info,\"\r\n \"address makerAsset,\"\r\n \"address takerAsset,\"\r\n \"address maker,\"\r\n \"address allowedSender,\"\r\n \"uint256 makingAmount,\"\r\n \"uint256 takingAmount\"\r\n \")\"\r\n );\r\n\r\n function hash(OrderRFQ memory order, bytes32 domainSeparator) internal pure returns(bytes32 result) {\r\n bytes32 typehash = _LIMIT_ORDER_RFQ_TYPEHASH;\r\n bytes32 orderHash;\r\n // this assembly is memory unsafe :(\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := sub(order, 0x20)\r\n\r\n // keccak256(abi.encode(_LIMIT_ORDER_RFQ_TYPEHASH, order));\r\n let tmp := mload(ptr)\r\n mstore(ptr, typehash)\r\n orderHash := keccak256(ptr, 0x100)\r\n mstore(ptr, tmp)\r\n }\r\n return ECDSA.toTypedDataHash(domainSeparator, orderHash);\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/utils/Strings.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n bytes16 private constant _HEX_SYMBOLS = \"0123456789abcdef\";\r\n uint8 private constant _ADDRESS_LENGTH = 20;\r\n\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n while (value != 0) {\r\n digits -= 1;\r\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\r\n value /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\r\n */\r\n function toHexString(uint256 value) internal pure returns (string memory) {\r\n if (value == 0) {\r\n return \"0x00\";\r\n }\r\n uint256 temp = value;\r\n uint256 length = 0;\r\n while (temp != 0) {\r\n length++;\r\n temp >>= 8;\r\n }\r\n return toHexString(value, length);\r\n }\r\n\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\r\n */\r\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\r\n bytes memory buffer = new bytes(2 * length + 2);\r\n buffer[0] = \"0\";\r\n buffer[1] = \"x\";\r\n for (uint256 i = 2 * length + 1; i > 1; --i) {\r\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\r\n value >>= 4;\r\n }\r\n require(value == 0, \"Strings: hex length insufficient\");\r\n return string(buffer);\r\n }\r\n\r\n /**\r\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\r\n */\r\n function toHexString(address addr) internal pure returns (string memory) {\r\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/utils/cryptography/draft-EIP712.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.\r\n *\r\n * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,\r\n * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding\r\n * they need in their contracts using a combination of `abi.encode` and `keccak256`.\r\n *\r\n * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\r\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\r\n * ({_hashTypedDataV4}).\r\n *\r\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\r\n * the chain id to protect against replay attacks on an eventual fork of the chain.\r\n *\r\n * NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\r\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\r\n *\r\n * _Available since v3.4._\r\n */\r\nabstract contract EIP712 {\r\n /* solhint-disable var-name-mixedcase */\r\n // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\r\n // invalidate the cached domain separator if the chain id changes.\r\n bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;\r\n uint256 private immutable _CACHED_CHAIN_ID;\r\n address private immutable _CACHED_THIS;\r\n\r\n bytes32 private immutable _HASHED_NAME;\r\n bytes32 private immutable _HASHED_VERSION;\r\n bytes32 private immutable _TYPE_HASH;\r\n\r\n /* solhint-enable var-name-mixedcase */\r\n\r\n /**\r\n * @dev Initializes the domain separator and parameter caches.\r\n *\r\n * The meaning of `name` and `version` is specified in\r\n * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:\r\n *\r\n * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\r\n * - `version`: the current major version of the signing domain.\r\n *\r\n * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\r\n * contract upgrade].\r\n */\r\n constructor(string memory name, string memory version) {\r\n bytes32 hashedName = keccak256(bytes(name));\r\n bytes32 hashedVersion = keccak256(bytes(version));\r\n bytes32 typeHash = keccak256(\r\n \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"\r\n );\r\n _HASHED_NAME = hashedName;\r\n _HASHED_VERSION = hashedVersion;\r\n _CACHED_CHAIN_ID = block.chainid;\r\n _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);\r\n _CACHED_THIS = address(this);\r\n _TYPE_HASH = typeHash;\r\n }\r\n\r\n /**\r\n * @dev Returns the domain separator for the current chain.\r\n */\r\n function _domainSeparatorV4() internal view returns (bytes32) {\r\n if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {\r\n return _CACHED_DOMAIN_SEPARATOR;\r\n } else {\r\n return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);\r\n }\r\n }\r\n\r\n function _buildDomainSeparator(\r\n bytes32 typeHash,\r\n bytes32 nameHash,\r\n bytes32 versionHash\r\n ) private view returns (bytes32) {\r\n return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));\r\n }\r\n\r\n /**\r\n * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\r\n * function returns the hash of the fully encoded EIP712 message for this domain.\r\n *\r\n * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\r\n *\r\n * ```solidity\r\n * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\r\n * keccak256(\"Mail(address to,string contents)\"),\r\n * mailTo,\r\n * keccak256(bytes(mailContents))\r\n * )));\r\n * address signer = ECDSA.recover(digest, signature);\r\n * ```\r\n */\r\n function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\r\n return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/libraries/Errors.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\nlibrary Errors {\r\n error InvalidMsgValue();\r\n error ETHTransferFailed();\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/helpers/AmountCalculator.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n/// @title A helper contract for calculations related to order amounts\r\nlibrary AmountCalculator {\r\n /// @notice Calculates maker amount\r\n /// @return Result Floored maker amount\r\n function getMakingAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapTakerAmount) internal pure returns(uint256) {\r\n return swapTakerAmount * orderMakerAmount / orderTakerAmount;\r\n }\r\n\r\n /// @notice Calculates taker amount\r\n /// @return Result Ceiled taker amount\r\n function getTakingAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapMakerAmount) internal pure returns(uint256) {\r\n return (swapMakerAmount * orderTakerAmount + orderMakerAmount - 1) / orderMakerAmount;\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/OrderRFQMixin.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/// @title RFQ Limit Order mixin\r\nabstract contract OrderRFQMixin is EIP712, OnlyWethReceiver {\r\n using SafeERC20 for IERC20;\r\n using OrderRFQLib for OrderRFQLib.OrderRFQ;\r\n\r\n error RFQZeroTargetIsForbidden();\r\n error RFQPrivateOrder();\r\n error RFQBadSignature();\r\n error OrderExpired();\r\n error MakingAmountExceeded();\r\n error TakingAmountExceeded();\r\n error RFQSwapWithZeroAmount();\r\n error InvalidatedOrder();\r\n\r\n /**\r\n * @notice Emitted when RFQ gets filled\r\n * @param orderHash Hash of the order\r\n * @param makingAmount Amount of the maker asset that was transferred from maker to taker\r\n */\r\n event OrderFilledRFQ(\r\n bytes32 orderHash,\r\n uint256 makingAmount\r\n );\r\n\r\n uint256 private constant _RAW_CALL_GAS_LIMIT = 5000;\r\n uint256 private constant _MAKER_AMOUNT_FLAG = 1 << 255;\r\n uint256 private constant _SIGNER_SMART_CONTRACT_HINT = 1 << 254;\r\n uint256 private constant _IS_VALID_SIGNATURE_65_BYTES = 1 << 253;\r\n uint256 private constant _UNWRAP_WETH_FLAG = 1 << 252;\r\n uint256 private constant _AMOUNT_MASK = ~(\r\n _MAKER_AMOUNT_FLAG |\r\n _SIGNER_SMART_CONTRACT_HINT |\r\n _IS_VALID_SIGNATURE_65_BYTES |\r\n _UNWRAP_WETH_FLAG\r\n );\r\n\r\n IWETH private immutable _WETH; // solhint-disable-line var-name-mixedcase\r\n mapping(address => mapping(uint256 => uint256)) private _invalidator;\r\n\r\n constructor(IWETH weth) OnlyWethReceiver(address(weth)) {\r\n _WETH = weth;\r\n }\r\n\r\n /**\r\n * @notice Returns bitmask for double-spend invalidators based on lowest byte of order.info and filled quotes\r\n * @param maker Maker address\r\n * @param slot Slot number to return bitmask for\r\n * @return result Each bit represents whether corresponding was already invalidated\r\n */\r\n function invalidatorForOrderRFQ(address maker, uint256 slot) external view returns(uint256 /* result */) {\r\n return _invalidator[maker][slot];\r\n }\r\n\r\n /**\r\n * @notice Cancels order's quote\r\n * @param orderInfo Order info (only order id in lowest 64 bits is used)\r\n */\r\n function cancelOrderRFQ(uint256 orderInfo) external {\r\n _invalidateOrder(msg.sender, orderInfo, 0);\r\n }\r\n\r\n /// @notice Cancels multiple order's quotes\r\n function cancelOrderRFQ(uint256 orderInfo, uint256 additionalMask) external {\r\n _invalidateOrder(msg.sender, orderInfo, additionalMask);\r\n }\r\n\r\n /**\r\n * @notice Fills order's quote, fully or partially (whichever is possible)\r\n * @param order Order quote to fill\r\n * @param signature Signature to confirm quote ownership\r\n * @param flagsAndAmount Fill configuration flags with amount packed in one slot\r\n * @return filledMakingAmount Actual amount transferred from maker to taker\r\n * @return filledTakingAmount Actual amount transferred from taker to maker\r\n * @return orderHash Hash of the filled order\r\n */\r\n function fillOrderRFQ(\r\n OrderRFQLib.OrderRFQ memory order,\r\n bytes calldata signature,\r\n uint256 flagsAndAmount\r\n ) external payable returns(uint256 /* filledMakingAmount */, uint256 /* filledTakingAmount */, bytes32 /* orderHash */) {\r\n return fillOrderRFQTo(order, signature, flagsAndAmount, msg.sender);\r\n }\r\n\r\n /**\r\n * @notice Fills order's quote, fully or partially, with compact signature\r\n * @param order Order quote to fill\r\n * @param r R component of signature\r\n * @param vs VS component of signature\r\n * @param flagsAndAmount Fill configuration flags with amount packed in one slot\r\n * - Bits 0-252 contain the amount to fill\r\n * - Bit 253 is used to indicate whether signature is 64-bit (0) or 65-bit (1)\r\n * - Bit 254 is used to indicate whether smart contract (1) signed the order or not (0)\r\n * - Bit 255 is used to indicate whether maker (1) or taker amount (0) is given in the amount parameter\r\n * @return filledMakingAmount Actual amount transferred from maker to taker\r\n * @return filledTakingAmount Actual amount transferred from taker to maker\r\n * @return orderHash Hash of the filled order\r\n */\r\n function fillOrderRFQCompact(\r\n OrderRFQLib.OrderRFQ memory order,\r\n bytes32 r,\r\n bytes32 vs,\r\n uint256 flagsAndAmount\r\n ) external payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash) {\r\n orderHash = order.hash(_domainSeparatorV4());\r\n if (flagsAndAmount & _SIGNER_SMART_CONTRACT_HINT != 0) {\r\n if (flagsAndAmount & _IS_VALID_SIGNATURE_65_BYTES != 0) {\r\n if (!ECDSA.isValidSignature65(order.maker, orderHash, r, vs)) revert RFQBadSignature();\r\n } else {\r\n if (!ECDSA.isValidSignature(order.maker, orderHash, r, vs)) revert RFQBadSignature();\r\n }\r\n } else {\r\n if(!ECDSA.recoverOrIsValidSignature(order.maker, orderHash, r, vs)) revert RFQBadSignature();\r\n }\r\n\r\n (filledMakingAmount, filledTakingAmount) = _fillOrderRFQTo(order, flagsAndAmount, msg.sender);\r\n emit OrderFilledRFQ(orderHash, filledMakingAmount);\r\n }\r\n\r\n /**\r\n * @notice Same as `fillOrderRFQTo` but calls permit first.\r\n * It allows to approve token spending and make a swap in one transaction.\r\n * Also allows to specify funds destination instead of `msg.sender`\r\n * @param order Order quote to fill\r\n * @param signature Signature to confirm quote ownership\r\n * @param flagsAndAmount Fill configuration flags with amount packed in one slot\r\n * @param target Address that will receive swap funds\r\n * @param permit Should consist of abiencoded token address and encoded `IERC20Permit.permit` call.\r\n * @return filledMakingAmount Actual amount transferred from maker to taker\r\n * @return filledTakingAmount Actual amount transferred from taker to maker\r\n * @return orderHash Hash of the filled order\r\n * @dev See tests for examples\r\n */\r\n function fillOrderRFQToWithPermit(\r\n OrderRFQLib.OrderRFQ memory order,\r\n bytes calldata signature,\r\n uint256 flagsAndAmount,\r\n address target,\r\n bytes calldata permit\r\n ) external returns(uint256 /* filledMakingAmount */, uint256 /* filledTakingAmount */, bytes32 /* orderHash */) {\r\n IERC20(order.takerAsset).safePermit(permit);\r\n return fillOrderRFQTo(order, signature, flagsAndAmount, target);\r\n }\r\n\r\n /**\r\n * @notice Same as `fillOrderRFQ` but allows to specify funds destination instead of `msg.sender`\r\n * @param order Order quote to fill\r\n * @param signature Signature to confirm quote ownership\r\n * @param flagsAndAmount Fill configuration flags with amount packed in one slot\r\n * @param target Address that will receive swap funds\r\n * @return filledMakingAmount Actual amount transferred from maker to taker\r\n * @return filledTakingAmount Actual amount transferred from taker to maker\r\n * @return orderHash Hash of the filled order\r\n */\r\n function fillOrderRFQTo(\r\n OrderRFQLib.OrderRFQ memory order,\r\n bytes calldata signature,\r\n uint256 flagsAndAmount,\r\n address target\r\n ) public payable returns(uint256 filledMakingAmount, uint256 filledTakingAmount, bytes32 orderHash) {\r\n orderHash = order.hash(_domainSeparatorV4());\r\n if (flagsAndAmount & _SIGNER_SMART_CONTRACT_HINT != 0) {\r\n if (flagsAndAmount & _IS_VALID_SIGNATURE_65_BYTES != 0 && signature.length != 65) revert RFQBadSignature();\r\n if (!ECDSA.isValidSignature(order.maker, orderHash, signature)) revert RFQBadSignature();\r\n } else {\r\n if(!ECDSA.recoverOrIsValidSignature(order.maker, orderHash, signature)) revert RFQBadSignature();\r\n }\r\n (filledMakingAmount, filledTakingAmount) = _fillOrderRFQTo(order, flagsAndAmount, target);\r\n emit OrderFilledRFQ(orderHash, filledMakingAmount);\r\n }\r\n\r\n function _fillOrderRFQTo(\r\n OrderRFQLib.OrderRFQ memory order,\r\n uint256 flagsAndAmount,\r\n address target\r\n ) private returns(uint256 makingAmount, uint256 takingAmount) {\r\n if (target == address(0)) revert RFQZeroTargetIsForbidden();\r\n\r\n address maker = order.maker;\r\n\r\n // Validate order\r\n if (order.allowedSender != address(0) && order.allowedSender != msg.sender) revert RFQPrivateOrder();\r\n\r\n { // Stack too deep\r\n uint256 info = order.info;\r\n // Check time expiration\r\n uint256 expiration = uint128(info) >> 64;\r\n if (expiration != 0 && block.timestamp > expiration) revert OrderExpired(); // solhint-disable-line not-rely-on-time\r\n _invalidateOrder(maker, info, 0);\r\n }\r\n\r\n { // Stack too deep\r\n uint256 orderMakingAmount = order.makingAmount;\r\n uint256 orderTakingAmount = order.takingAmount;\r\n uint256 amount = flagsAndAmount & _AMOUNT_MASK;\r\n // Compute partial fill if needed\r\n if (amount == 0) {\r\n // zero amount means whole order\r\n makingAmount = orderMakingAmount;\r\n takingAmount = orderTakingAmount;\r\n }\r\n else if (flagsAndAmount & _MAKER_AMOUNT_FLAG != 0) {\r\n if (amount > orderMakingAmount) revert MakingAmountExceeded();\r\n makingAmount = amount;\r\n takingAmount = AmountCalculator.getTakingAmount(orderMakingAmount, orderTakingAmount, makingAmount);\r\n }\r\n else {\r\n if (amount > orderTakingAmount) revert TakingAmountExceeded();\r\n takingAmount = amount;\r\n makingAmount = AmountCalculator.getMakingAmount(orderMakingAmount, orderTakingAmount, takingAmount);\r\n }\r\n }\r\n\r\n if (makingAmount == 0 || takingAmount == 0) revert RFQSwapWithZeroAmount();\r\n\r\n // Maker => Taker\r\n if (order.makerAsset == address(_WETH) && flagsAndAmount & _UNWRAP_WETH_FLAG != 0) {\r\n _WETH.transferFrom(maker, address(this), makingAmount);\r\n _WETH.withdraw(makingAmount);\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, ) = target.call{value: makingAmount, gas: _RAW_CALL_GAS_LIMIT}(\"\");\r\n if (!success) revert Errors.ETHTransferFailed();\r\n } else {\r\n IERC20(order.makerAsset).safeTransferFrom(maker, target, makingAmount);\r\n }\r\n\r\n // Taker => Maker\r\n if (order.takerAsset == address(_WETH) && msg.value > 0) {\r\n if (msg.value != takingAmount) revert Errors.InvalidMsgValue();\r\n _WETH.deposit{ value: takingAmount }();\r\n _WETH.transfer(maker, takingAmount);\r\n } else {\r\n if (msg.value != 0) revert Errors.InvalidMsgValue();\r\n IERC20(order.takerAsset).safeTransferFrom(msg.sender, maker, takingAmount);\r\n }\r\n }\r\n\r\n function _invalidateOrder(address maker, uint256 orderInfo, uint256 additionalMask) private {\r\n uint256 invalidatorSlot = uint64(orderInfo) >> 8;\r\n uint256 invalidatorBits = (1 << uint8(orderInfo)) | additionalMask;\r\n mapping(uint256 => uint256) storage invalidatorStorage = _invalidator[maker];\r\n uint256 invalidator = invalidatorStorage[invalidatorSlot];\r\n if (invalidator & invalidatorBits == invalidatorBits) revert InvalidatedOrder();\r\n invalidatorStorage[invalidatorSlot] = invalidator | invalidatorBits;\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/OrderLib.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\nlibrary OrderLib {\r\n struct Order {\r\n uint256 salt;\r\n address makerAsset;\r\n address takerAsset;\r\n address maker;\r\n address receiver;\r\n address allowedSender; // equals to Zero address on public orders\r\n uint256 makingAmount;\r\n uint256 takingAmount;\r\n uint256 offsets;\r\n // bytes makerAssetData;\r\n // bytes takerAssetData;\r\n // bytes getMakingAmount; // this.staticcall(abi.encodePacked(bytes, swapTakerAmount)) => (swapMakerAmount)\r\n // bytes getTakingAmount; // this.staticcall(abi.encodePacked(bytes, swapMakerAmount)) => (swapTakerAmount)\r\n // bytes predicate; // this.staticcall(bytes) => (bool)\r\n // bytes permit; // On first fill: permit.1.call(abi.encodePacked(permit.selector, permit.2))\r\n // bytes preInteraction;\r\n // bytes postInteraction;\r\n bytes interactions; // concat(makerAssetData, takerAssetData, getMakingAmount, getTakingAmount, predicate, permit, preIntercation, postInteraction)\r\n }\r\n\r\n bytes32 constant internal _LIMIT_ORDER_TYPEHASH = keccak256(\r\n \"Order(\"\r\n \"uint256 salt,\"\r\n \"address makerAsset,\"\r\n \"address takerAsset,\"\r\n \"address maker,\"\r\n \"address receiver,\"\r\n \"address allowedSender,\"\r\n \"uint256 makingAmount,\"\r\n \"uint256 takingAmount,\"\r\n \"uint256 offsets,\"\r\n \"bytes interactions\"\r\n \")\"\r\n );\r\n\r\n enum DynamicField {\r\n MakerAssetData,\r\n TakerAssetData,\r\n GetMakingAmount,\r\n GetTakingAmount,\r\n Predicate,\r\n Permit,\r\n PreInteraction,\r\n PostInteraction\r\n }\r\n\r\n function getterIsFrozen(bytes calldata getter) internal pure returns(bool) {\r\n return getter.length == 1 && getter[0] == \"x\";\r\n }\r\n\r\n function _get(Order calldata order, DynamicField field) private pure returns(bytes calldata) {\r\n uint256 bitShift = uint256(field) << 5; // field * 32\r\n return order.interactions[\r\n uint32((order.offsets << 32) >> bitShift):\r\n uint32(order.offsets >> bitShift)\r\n ];\r\n }\r\n\r\n function makerAssetData(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.MakerAssetData);\r\n }\r\n\r\n function takerAssetData(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.TakerAssetData);\r\n }\r\n\r\n function getMakingAmount(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.GetMakingAmount);\r\n }\r\n\r\n function getTakingAmount(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.GetTakingAmount);\r\n }\r\n\r\n function predicate(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.Predicate);\r\n }\r\n\r\n function permit(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.Permit);\r\n }\r\n\r\n function preInteraction(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.PreInteraction);\r\n }\r\n\r\n function postInteraction(Order calldata order) internal pure returns(bytes calldata) {\r\n return _get(order, DynamicField.PostInteraction);\r\n }\r\n\r\n function hash(Order calldata order, bytes32 domainSeparator) internal pure returns(bytes32 result) {\r\n bytes calldata interactions = order.interactions;\r\n bytes32 typehash = _LIMIT_ORDER_TYPEHASH;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let ptr := mload(0x40)\r\n\r\n // keccak256(abi.encode(_LIMIT_ORDER_TYPEHASH, orderWithoutInteractions, keccak256(order.interactions)));\r\n calldatacopy(ptr, interactions.offset, interactions.length)\r\n mstore(add(ptr, 0x140), keccak256(ptr, interactions.length))\r\n calldatacopy(add(ptr, 0x20), order, 0x120)\r\n mstore(ptr, typehash)\r\n result := keccak256(ptr, 0x160)\r\n }\r\n result = ECDSA.toTypedDataHash(domainSeparator, result);\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/libraries/ArgumentsDecoder.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n/// @title Library with gas efficient alternatives to `abi.decode`\r\nlibrary ArgumentsDecoder {\r\n error IncorrectDataLength();\r\n\r\n function decodeUint256(bytes calldata data, uint256 offset) internal pure returns(uint256 value) {\r\n unchecked { if (data.length < offset + 32) revert IncorrectDataLength(); }\r\n // no memory ops inside so this insertion is automatically memory safe\r\n assembly { // solhint-disable-line no-inline-assembly\r\n value := calldataload(add(data.offset, offset))\r\n }\r\n }\r\n\r\n function decodeSelector(bytes calldata data) internal pure returns(bytes4 value) {\r\n if (data.length < 4) revert IncorrectDataLength();\r\n // no memory ops inside so this insertion is automatically memory safe\r\n assembly { // solhint-disable-line no-inline-assembly\r\n value := calldataload(data.offset)\r\n }\r\n }\r\n\r\n function decodeTailCalldata(bytes calldata data, uint256 tailOffset) internal pure returns(bytes calldata args) {\r\n if (data.length < tailOffset) revert IncorrectDataLength();\r\n // no memory ops inside so this insertion is automatically memory safe\r\n assembly { // solhint-disable-line no-inline-assembly\r\n args.offset := add(data.offset, tailOffset)\r\n args.length := sub(data.length, tailOffset)\r\n }\r\n }\r\n\r\n function decodeTargetAndCalldata(bytes calldata data) internal pure returns(address target, bytes calldata args) {\r\n if (data.length < 20) revert IncorrectDataLength();\r\n // no memory ops inside so this insertion is automatically memory safe\r\n assembly { // solhint-disable-line no-inline-assembly\r\n target := shr(96, calldataload(data.offset))\r\n args.offset := add(data.offset, 20)\r\n args.length := sub(data.length, 20)\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/helpers/NonceManager.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n/// @title A helper contract for managing nonce of tx sender\r\ncontract NonceManager {\r\n error AdvanceNonceFailed();\r\n event NonceIncreased(address indexed maker, uint256 newNonce);\r\n\r\n mapping(address => uint256) public nonce;\r\n\r\n /// @notice Advances nonce by one\r\n function increaseNonce() external {\r\n advanceNonce(1);\r\n }\r\n\r\n /// @notice Advances nonce by specified amount\r\n function advanceNonce(uint8 amount) public {\r\n if (amount == 0) revert AdvanceNonceFailed();\r\n uint256 newNonce = nonce[msg.sender] + amount;\r\n nonce[msg.sender] = newNonce;\r\n emit NonceIncreased(msg.sender, newNonce);\r\n }\r\n\r\n /// @notice Checks if `makerAddress` has specified `makerNonce`\r\n /// @return Result True if `makerAddress` has specified nonce. Otherwise, false\r\n function nonceEquals(address makerAddress, uint256 makerNonce) public view returns(bool) {\r\n return nonce[makerAddress] == makerNonce;\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/helpers/PredicateHelper.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n/// @title A helper contract for executing boolean functions on arbitrary target call results\r\ncontract PredicateHelper is NonceManager {\r\n using ArgumentsDecoder for bytes;\r\n\r\n error ArbitraryStaticCallFailed();\r\n\r\n /// @notice Calls every target with corresponding data\r\n /// @return Result True if call to any target returned True. Otherwise, false\r\n function or(uint256 offsets, bytes calldata data) public view returns(bool) {\r\n uint256 current;\r\n uint256 previous;\r\n for (uint256 i = 0; (current = uint32(offsets >> i)) != 0; i += 32) {\r\n (bool success, uint256 res) = _selfStaticCall(data[previous:current]);\r\n if (success && res == 1) {\r\n return true;\r\n }\r\n previous = current;\r\n }\r\n return false;\r\n }\r\n\r\n /// @notice Calls every target with corresponding data\r\n /// @return Result True if calls to all targets returned True. Otherwise, false\r\n function and(uint256 offsets, bytes calldata data) public view returns(bool) {\r\n uint256 current;\r\n uint256 previous;\r\n for (uint256 i = 0; (current = uint32(offsets >> i)) != 0; i += 32) {\r\n (bool success, uint256 res) = _selfStaticCall(data[previous:current]);\r\n if (!success || res != 1) {\r\n return false;\r\n }\r\n previous = current;\r\n }\r\n return true;\r\n }\r\n\r\n /// @notice Calls target with specified data and tests if it's equal to the value\r\n /// @param value Value to test\r\n /// @return Result True if call to target returns the same value as `value`. Otherwise, false\r\n function eq(uint256 value, bytes calldata data) public view returns(bool) {\r\n (bool success, uint256 res) = _selfStaticCall(data);\r\n return success && res == value;\r\n }\r\n\r\n /// @notice Calls target with specified data and tests if it's lower than value\r\n /// @param value Value to test\r\n /// @return Result True if call to target returns value which is lower than `value`. Otherwise, false\r\n function lt(uint256 value, bytes calldata data) public view returns(bool) {\r\n (bool success, uint256 res) = _selfStaticCall(data);\r\n return success && res < value;\r\n }\r\n\r\n /// @notice Calls target with specified data and tests if it's bigger than value\r\n /// @param value Value to test\r\n /// @return Result True if call to target returns value which is bigger than `value`. Otherwise, false\r\n function gt(uint256 value, bytes calldata data) public view returns(bool) {\r\n (bool success, uint256 res) = _selfStaticCall(data);\r\n return success && res > value;\r\n }\r\n\r\n /// @notice Checks passed time against block timestamp\r\n /// @return Result True if current block timestamp is lower than `time`. Otherwise, false\r\n function timestampBelow(uint256 time) public view returns(bool) {\r\n return block.timestamp < time; // solhint-disable-line not-rely-on-time\r\n }\r\n\r\n /// @notice Performs an arbitrary call to target with data\r\n /// @return Result Bytes transmuted to uint256\r\n function arbitraryStaticCall(address target, bytes calldata data) public view returns(uint256) {\r\n (bool success, uint256 res) = _staticcallForUint(target, data);\r\n if (!success) revert ArbitraryStaticCallFailed();\r\n return res;\r\n }\r\n\r\n function timestampBelowAndNonceEquals(uint256 timeNonceAccount) public view returns(bool) {\r\n uint256 _time = uint48(timeNonceAccount >> 208);\r\n uint256 _nonce = uint48(timeNonceAccount >> 160);\r\n address _account = address(uint160(timeNonceAccount));\r\n return timestampBelow(_time) && nonceEquals(_account, _nonce);\r\n }\r\n\r\n function _selfStaticCall(bytes calldata data) internal view returns(bool, uint256) {\r\n uint256 selector = uint32(data.decodeSelector());\r\n uint256 arg = data.decodeUint256(4);\r\n\r\n // special case for the most often used predicate\r\n if (selector == uint32(this.timestampBelowAndNonceEquals.selector)) { // 0x2cc2878d\r\n return (true, timestampBelowAndNonceEquals(arg) ? 1 : 0);\r\n }\r\n\r\n if (selector < uint32(this.arbitraryStaticCall.selector)) { // 0xbf15fcd8\r\n if (selector < uint32(this.eq.selector)) { // 0x6fe7b0ba\r\n if (selector == uint32(this.gt.selector)) { // 0x4f38e2b8\r\n return (true, gt(arg, data.decodeTailCalldata(100)) ? 1 : 0);\r\n } else if (selector == uint32(this.timestampBelow.selector)) { // 0x63592c2b\r\n return (true, timestampBelow(arg) ? 1 : 0);\r\n }\r\n } else {\r\n if (selector == uint32(this.eq.selector)) { // 0x6fe7b0ba\r\n return (true, eq(arg, data.decodeTailCalldata(100)) ? 1 : 0);\r\n } else if (selector == uint32(this.or.selector)) { // 0x74261145\r\n return (true, or(arg, data.decodeTailCalldata(100)) ? 1 : 0);\r\n }\r\n }\r\n } else {\r\n if (selector < uint32(this.lt.selector)) { // 0xca4ece22\r\n if (selector == uint32(this.arbitraryStaticCall.selector)) { // 0xbf15fcd8\r\n return (true, arbitraryStaticCall(address(uint160(arg)), data.decodeTailCalldata(100)));\r\n } else if (selector == uint32(this.and.selector)) { // 0xbfa75143\r\n return (true, and(arg, data.decodeTailCalldata(100)) ? 1 : 0);\r\n }\r\n } else {\r\n if (selector == uint32(this.lt.selector)) { // 0xca4ece22\r\n return (true, lt(arg, data.decodeTailCalldata(100)) ? 1 : 0);\r\n } else if (selector == uint32(this.nonceEquals.selector)) { // 0xcf6fc6e3\r\n return (true, nonceEquals(address(uint160(arg)), data.decodeUint256(0x24)) ? 1 : 0);\r\n }\r\n }\r\n }\r\n\r\n return _staticcallForUint(address(this), data);\r\n }\r\n\r\n function _staticcallForUint(address target, bytes calldata input) private view returns(bool success, uint256 res) {\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let data := mload(0x40)\r\n\r\n calldatacopy(data, input.offset, input.length)\r\n success := staticcall(gas(), target, data, input.length, 0x0, 0x20)\r\n success := and(success, eq(returndatasize(), 32))\r\n if success {\r\n res := mload(0)\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/interfaces/IOrderMixin.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\ninterface IOrderMixin {\r\n /**\r\n * @notice Returns unfilled amount for order. Throws if order does not exist\r\n * @param orderHash Order's hash. Can be obtained by the `hashOrder` function\r\n * @return amount Unfilled amount\r\n */\r\n function remaining(bytes32 orderHash) external view returns(uint256 amount);\r\n\r\n /**\r\n * @notice Returns unfilled amount for order\r\n * @param orderHash Order's hash. Can be obtained by the `hashOrder` function\r\n * @return rawAmount Unfilled amount of order plus one if order exists. Otherwise 0\r\n */\r\n function remainingRaw(bytes32 orderHash) external view returns(uint256 rawAmount);\r\n\r\n /**\r\n * @notice Same as `remainingRaw` but for multiple orders\r\n * @param orderHashes Array of hashes\r\n * @return rawAmounts Array of amounts for each order plus one if order exists or 0 otherwise\r\n */\r\n function remainingsRaw(bytes32[] memory orderHashes) external view returns(uint256[] memory rawAmounts);\r\n\r\n /**\r\n * @notice Checks order predicate\r\n * @param order Order to check predicate for\r\n * @return result Predicate evaluation result. True if predicate allows to fill the order, false otherwise\r\n */\r\n function checkPredicate(OrderLib.Order calldata order) external view returns(bool result);\r\n\r\n /**\r\n * @notice Returns order hash according to EIP712 standard\r\n * @param order Order to get hash for\r\n * @return orderHash Hash of the order\r\n */\r\n function hashOrder(OrderLib.Order calldata order) external view returns(bytes32);\r\n\r\n /**\r\n * @notice Delegates execution to custom implementation. Could be used to validate if `transferFrom` works properly\r\n * @dev The function always reverts and returns the simulation results in revert data.\r\n * @param target Addresses that will be delegated\r\n * @param data Data that will be passed to delegatee\r\n */\r\n function simulate(address target, bytes calldata data) external;\r\n\r\n /**\r\n * @notice Cancels order.\r\n * @dev Order is cancelled by setting remaining amount to _ORDER_FILLED value\r\n * @param order Order quote to cancel\r\n * @return orderRemaining Unfilled amount of order before cancellation\r\n * @return orderHash Hash of the filled order\r\n */\r\n function cancelOrder(OrderLib.Order calldata order) external returns(uint256 orderRemaining, bytes32 orderHash);\r\n\r\n /**\r\n * @notice Fills an order. If one doesn't exist (first fill) it will be created using order.makerAssetData\r\n * @param order Order quote to fill\r\n * @param signature Signature to confirm quote ownership\r\n * @param interaction A call data for InteractiveNotificationReceiver. Taker may execute interaction after getting maker assets and before sending taker assets.\r\n * @param makingAmount Making amount\r\n * @param takingAmount Taking amount\r\n * @param skipPermitAndThresholdAmount Specifies maximum allowed takingAmount when takingAmount is zero, otherwise specifies minimum allowed makingAmount. Top-most bit specifies whether taker wants to skip maker's permit.\r\n * @return actualMakingAmount Actual amount transferred from maker to taker\r\n * @return actualTakingAmount Actual amount transferred from taker to maker\r\n * @return orderHash Hash of the filled order\r\n */\r\n function fillOrder(\r\n OrderLib.Order calldata order,\r\n bytes calldata signature,\r\n bytes calldata interaction,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 skipPermitAndThresholdAmount\r\n ) external payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash);\r\n\r\n /**\r\n * @notice Same as `fillOrderTo` but calls permit first,\r\n * allowing to approve token spending and make a swap in one transaction.\r\n * Also allows to specify funds destination instead of `msg.sender`\r\n * @dev See tests for examples\r\n * @param order Order quote to fill\r\n * @param signature Signature to confirm quote ownership\r\n * @param interaction A call data for InteractiveNotificationReceiver. Taker may execute interaction after getting maker assets and before sending taker assets.\r\n * @param makingAmount Making amount\r\n * @param takingAmount Taking amount\r\n * @param skipPermitAndThresholdAmount Specifies maximum allowed takingAmount when takingAmount is zero, otherwise specifies minimum allowed makingAmount. Top-most bit specifies whether taker wants to skip maker's permit.\r\n * @param target Address that will receive swap funds\r\n * @param permit Should consist of abiencoded token address and encoded `IERC20Permit.permit` call.\r\n * @return actualMakingAmount Actual amount transferred from maker to taker\r\n * @return actualTakingAmount Actual amount transferred from taker to maker\r\n * @return orderHash Hash of the filled order\r\n */\r\n function fillOrderToWithPermit(\r\n OrderLib.Order calldata order,\r\n bytes calldata signature,\r\n bytes calldata interaction,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 skipPermitAndThresholdAmount,\r\n address target,\r\n bytes calldata permit\r\n ) external returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash);\r\n\r\n /**\r\n * @notice Same as `fillOrder` but allows to specify funds destination instead of `msg.sender`\r\n * @param order_ Order quote to fill\r\n * @param signature Signature to confirm quote ownership\r\n * @param interaction A call data for InteractiveNotificationReceiver. Taker may execute interaction after getting maker assets and before sending taker assets.\r\n * @param makingAmount Making amount\r\n * @param takingAmount Taking amount\r\n * @param skipPermitAndThresholdAmount Specifies maximum allowed takingAmount when takingAmount is zero, otherwise specifies minimum allowed makingAmount. Top-most bit specifies whether taker wants to skip maker's permit.\r\n * @param target Address that will receive swap funds\r\n * @return actualMakingAmount Actual amount transferred from maker to taker\r\n * @return actualTakingAmount Actual amount transferred from taker to maker\r\n * @return orderHash Hash of the filled order\r\n */\r\n function fillOrderTo(\r\n OrderLib.Order calldata order_,\r\n bytes calldata signature,\r\n bytes calldata interaction,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 skipPermitAndThresholdAmount,\r\n address target\r\n ) external payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash);\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/interfaces/NotificationReceiver.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n/// @title Interface for interactor which acts between `maker => taker` and `taker => maker` transfers.\r\ninterface PreInteractionNotificationReceiver {\r\n function fillOrderPreInteraction(\r\n bytes32 orderHash,\r\n address maker,\r\n address taker,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 remainingAmount,\r\n bytes memory interactiveData\r\n ) external;\r\n}\r\n\r\ninterface PostInteractionNotificationReceiver {\r\n /// @notice Callback method that gets called after taker transferred funds to maker but before\r\n /// the opposite transfer happened\r\n function fillOrderPostInteraction(\r\n bytes32 orderHash,\r\n address maker,\r\n address taker,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 remainingAmount,\r\n bytes memory interactiveData\r\n ) external;\r\n}\r\n\r\ninterface InteractionNotificationReceiver {\r\n function fillOrderInteraction(\r\n address taker,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n bytes memory interactiveData\r\n ) external returns(uint256 offeredTakingAmount);\r\n}\r\n\r\n\r\n// File @1inch/limit-order-protocol/contracts/OrderMixin.sol@v0.3.0-prerelease\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/// @title Regular Limit Order mixin\r\nabstract contract OrderMixin is IOrderMixin, EIP712, PredicateHelper {\r\n using SafeERC20 for IERC20;\r\n using ArgumentsDecoder for bytes;\r\n using OrderLib for OrderLib.Order;\r\n\r\n error UnknownOrder();\r\n error AccessDenied();\r\n error AlreadyFilled();\r\n error PermitLengthTooLow();\r\n error ZeroTargetIsForbidden();\r\n error RemainingAmountIsZero();\r\n error PrivateOrder();\r\n error BadSignature();\r\n error ReentrancyDetected();\r\n error PredicateIsNotTrue();\r\n error OnlyOneAmountShouldBeZero();\r\n error TakingAmountTooHigh();\r\n error MakingAmountTooLow();\r\n error SwapWithZeroAmount();\r\n error TransferFromMakerToTakerFailed();\r\n error TransferFromTakerToMakerFailed();\r\n error WrongAmount();\r\n error WrongGetter();\r\n error GetAmountCallFailed();\r\n error TakingAmountIncreased();\r\n error SimulationResults(bool success, bytes res);\r\n\r\n /// @notice Emitted every time order gets filled, including partial fills\r\n event OrderFilled(\r\n address indexed maker,\r\n bytes32 orderHash,\r\n uint256 remaining\r\n );\r\n\r\n /// @notice Emitted when order gets cancelled\r\n event OrderCanceled(\r\n address indexed maker,\r\n bytes32 orderHash,\r\n uint256 remainingRaw\r\n );\r\n\r\n uint256 constant private _ORDER_DOES_NOT_EXIST = 0;\r\n uint256 constant private _ORDER_FILLED = 1;\r\n uint256 constant private _SKIP_PERMIT_FLAG = 1 << 255;\r\n uint256 constant private _THRESHOLD_MASK = ~_SKIP_PERMIT_FLAG;\r\n\r\n IWETH private immutable _WETH; // solhint-disable-line var-name-mixedcase\r\n /// @notice Stores unfilled amounts for each order plus one.\r\n /// Therefore 0 means order doesn't exist and 1 means order was filled\r\n mapping(bytes32 => uint256) private _remaining;\r\n\r\n constructor(IWETH weth) {\r\n _WETH = weth;\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-remaining}.\r\n */\r\n function remaining(bytes32 orderHash) external view returns(uint256 /* amount */) {\r\n uint256 amount = _remaining[orderHash];\r\n if (amount == _ORDER_DOES_NOT_EXIST) revert UnknownOrder();\r\n unchecked { return amount - 1; }\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-remainingRaw}.\r\n */\r\n function remainingRaw(bytes32 orderHash) external view returns(uint256 /* rawAmount */) {\r\n return _remaining[orderHash];\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-remainingsRaw}.\r\n */\r\n function remainingsRaw(bytes32[] memory orderHashes) external view returns(uint256[] memory /* rawAmounts */) {\r\n uint256[] memory results = new uint256[](orderHashes.length);\r\n for (uint256 i = 0; i < orderHashes.length; i++) {\r\n results[i] = _remaining[orderHashes[i]];\r\n }\r\n return results;\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-simulate}.\r\n */\r\n function simulate(address target, bytes calldata data) external {\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory result) = target.delegatecall(data);\r\n revert SimulationResults(success, result);\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-cancelOrder}.\r\n */\r\n function cancelOrder(OrderLib.Order calldata order) external returns(uint256 orderRemaining, bytes32 orderHash) {\r\n if (order.maker != msg.sender) revert AccessDenied();\r\n\r\n orderHash = hashOrder(order);\r\n orderRemaining = _remaining[orderHash];\r\n if (orderRemaining == _ORDER_FILLED) revert AlreadyFilled();\r\n emit OrderCanceled(msg.sender, orderHash, orderRemaining);\r\n _remaining[orderHash] = _ORDER_FILLED;\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-fillOrder}.\r\n */\r\n function fillOrder(\r\n OrderLib.Order calldata order,\r\n bytes calldata signature,\r\n bytes calldata interaction,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 skipPermitAndThresholdAmount\r\n ) external payable returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */, bytes32 /* orderHash */) {\r\n return fillOrderTo(order, signature, interaction, makingAmount, takingAmount, skipPermitAndThresholdAmount, msg.sender);\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-fillOrderToWithPermit}.\r\n */\r\n function fillOrderToWithPermit(\r\n OrderLib.Order calldata order,\r\n bytes calldata signature,\r\n bytes calldata interaction,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 skipPermitAndThresholdAmount,\r\n address target,\r\n bytes calldata permit\r\n ) external returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */, bytes32 /* orderHash */) {\r\n if (permit.length < 20) revert PermitLengthTooLow();\r\n { // Stack too deep\r\n (address token, bytes calldata permitData) = permit.decodeTargetAndCalldata();\r\n IERC20(token).safePermit(permitData);\r\n }\r\n return fillOrderTo(order, signature, interaction, makingAmount, takingAmount, skipPermitAndThresholdAmount, target);\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-fillOrderTo}.\r\n */\r\n function fillOrderTo(\r\n OrderLib.Order calldata order_,\r\n bytes calldata signature,\r\n bytes calldata interaction,\r\n uint256 makingAmount,\r\n uint256 takingAmount,\r\n uint256 skipPermitAndThresholdAmount,\r\n address target\r\n ) public payable returns(uint256 actualMakingAmount, uint256 actualTakingAmount, bytes32 orderHash) {\r\n if (target == address(0)) revert ZeroTargetIsForbidden();\r\n orderHash = hashOrder(order_);\r\n\r\n OrderLib.Order calldata order = order_; // Helps with \"Stack too deep\"\r\n actualMakingAmount = makingAmount;\r\n actualTakingAmount = takingAmount;\r\n\r\n uint256 remainingMakingAmount = _remaining[orderHash];\r\n if (remainingMakingAmount == _ORDER_FILLED) revert RemainingAmountIsZero();\r\n if (order.allowedSender != address(0) && order.allowedSender != msg.sender) revert PrivateOrder();\r\n if (remainingMakingAmount == _ORDER_DOES_NOT_EXIST) {\r\n // First fill: validate order and permit maker asset\r\n if (!ECDSA.recoverOrIsValidSignature(order.maker, orderHash, signature)) revert BadSignature();\r\n remainingMakingAmount = order.makingAmount;\r\n\r\n bytes calldata permit = order.permit();\r\n if (skipPermitAndThresholdAmount & _SKIP_PERMIT_FLAG == 0 && permit.length >= 20) {\r\n // proceed only if taker is willing to execute permit and its length is enough to store address\r\n (address token, bytes calldata permitCalldata) = permit.decodeTargetAndCalldata();\r\n IERC20(token).safePermit(permitCalldata);\r\n if (_remaining[orderHash] != _ORDER_DOES_NOT_EXIST) revert ReentrancyDetected();\r\n }\r\n } else {\r\n unchecked { remainingMakingAmount -= 1; }\r\n }\r\n\r\n // Check if order is valid\r\n if (order.predicate().length > 0) {\r\n if (!checkPredicate(order)) revert PredicateIsNotTrue();\r\n }\r\n\r\n // Compute maker and taker assets amount\r\n if ((actualTakingAmount == 0) == (actualMakingAmount == 0)) {\r\n revert OnlyOneAmountShouldBeZero();\r\n } else if (actualTakingAmount == 0) {\r\n if (actualMakingAmount > remainingMakingAmount) {\r\n actualMakingAmount = remainingMakingAmount;\r\n }\r\n actualTakingAmount = _getTakingAmount(order.getTakingAmount(), order.makingAmount, actualMakingAmount, order.takingAmount, remainingMakingAmount, orderHash);\r\n uint256 thresholdAmount = skipPermitAndThresholdAmount & _THRESHOLD_MASK;\r\n // check that actual rate is not worse than what was expected\r\n // actualTakingAmount / actualMakingAmount <= thresholdAmount / makingAmount\r\n if (actualTakingAmount * makingAmount > thresholdAmount * actualMakingAmount) revert TakingAmountTooHigh();\r\n } else {\r\n actualMakingAmount = _getMakingAmount(order.getMakingAmount(), order.takingAmount, actualTakingAmount, order.makingAmount, remainingMakingAmount, orderHash);\r\n if (actualMakingAmount > remainingMakingAmount) {\r\n actualMakingAmount = remainingMakingAmount;\r\n actualTakingAmount = _getTakingAmount(order.getTakingAmount(), order.makingAmount, actualMakingAmount, order.takingAmount, remainingMakingAmount, orderHash);\r\n if (actualTakingAmount > takingAmount) revert TakingAmountIncreased();\r\n }\r\n uint256 thresholdAmount = skipPermitAndThresholdAmount & _THRESHOLD_MASK;\r\n // check that actual rate is not worse than what was expected\r\n // actualMakingAmount / actualTakingAmount >= thresholdAmount / takingAmount\r\n if (actualMakingAmount * takingAmount < thresholdAmount * actualTakingAmount) revert MakingAmountTooLow();\r\n }\r\n\r\n if (actualMakingAmount == 0 || actualTakingAmount == 0) revert SwapWithZeroAmount();\r\n\r\n // Update remaining amount in storage\r\n unchecked {\r\n remainingMakingAmount = remainingMakingAmount - actualMakingAmount;\r\n _remaining[orderHash] = remainingMakingAmount + 1;\r\n }\r\n emit OrderFilled(order_.maker, orderHash, remainingMakingAmount);\r\n\r\n // Maker can handle funds interactively\r\n if (order.preInteraction().length >= 20) {\r\n // proceed only if interaction length is enough to store address\r\n (address interactionTarget, bytes calldata interactionData) = order.preInteraction().decodeTargetAndCalldata();\r\n PreInteractionNotificationReceiver(interactionTarget).fillOrderPreInteraction(\r\n orderHash, order.maker, msg.sender, actualMakingAmount, actualTakingAmount, remainingMakingAmount, interactionData\r\n );\r\n }\r\n\r\n // Maker => Taker\r\n if (!_callTransferFrom(\r\n order.makerAsset,\r\n order.maker,\r\n target,\r\n actualMakingAmount,\r\n order.makerAssetData()\r\n )) revert TransferFromMakerToTakerFailed();\r\n\r\n if (interaction.length >= 20) {\r\n // proceed only if interaction length is enough to store address\r\n (address interactionTarget, bytes calldata interactionData) = interaction.decodeTargetAndCalldata();\r\n uint256 offeredTakingAmount = InteractionNotificationReceiver(interactionTarget).fillOrderInteraction(\r\n msg.sender, actualMakingAmount, actualTakingAmount, interactionData\r\n );\r\n\r\n if (offeredTakingAmount > actualTakingAmount &&\r\n !OrderLib.getterIsFrozen(order.getMakingAmount()) &&\r\n !OrderLib.getterIsFrozen(order.getTakingAmount()))\r\n {\r\n actualTakingAmount = offeredTakingAmount;\r\n }\r\n }\r\n\r\n // Taker => Maker\r\n if (order.takerAsset == address(_WETH) && msg.value > 0) {\r\n if (msg.value < actualTakingAmount) revert Errors.InvalidMsgValue();\r\n if (msg.value > actualTakingAmount) {\r\n unchecked {\r\n (bool success, ) = msg.sender.call{value: msg.value - actualTakingAmount}(\"\"); // solhint-disable-line avoid-low-level-calls\r\n if (!success) revert Errors.ETHTransferFailed();\r\n }\r\n }\r\n _WETH.deposit{ value: actualTakingAmount }();\r\n _WETH.transfer(order.receiver == address(0) ? order.maker : order.receiver, actualTakingAmount);\r\n } else {\r\n if (msg.value != 0) revert Errors.InvalidMsgValue();\r\n if (!_callTransferFrom(\r\n order.takerAsset,\r\n msg.sender,\r\n order.receiver == address(0) ? order.maker : order.receiver,\r\n actualTakingAmount,\r\n order.takerAssetData()\r\n )) revert TransferFromTakerToMakerFailed();\r\n }\r\n\r\n // Maker can handle funds interactively\r\n if (order.postInteraction().length >= 20) {\r\n // proceed only if interaction length is enough to store address\r\n (address interactionTarget, bytes calldata interactionData) = order.postInteraction().decodeTargetAndCalldata();\r\n PostInteractionNotificationReceiver(interactionTarget).fillOrderPostInteraction(\r\n orderHash, order.maker, msg.sender, actualMakingAmount, actualTakingAmount, remainingMakingAmount, interactionData\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-checkPredicate}.\r\n */\r\n function checkPredicate(OrderLib.Order calldata order) public view returns(bool) {\r\n (bool success, uint256 res) = _selfStaticCall(order.predicate());\r\n return success && res == 1;\r\n }\r\n\r\n /**\r\n * @notice See {IOrderMixin-hashOrder}.\r\n */\r\n function hashOrder(OrderLib.Order calldata order) public view returns(bytes32) {\r\n return order.hash(_domainSeparatorV4());\r\n }\r\n\r\n function _callTransferFrom(address asset, address from, address to, uint256 amount, bytes calldata input) private returns(bool success) {\r\n bytes4 selector = IERC20.transferFrom.selector;\r\n /// @solidity memory-safe-assembly\r\n assembly { // solhint-disable-line no-inline-assembly\r\n let data := mload(0x40)\r\n\r\n mstore(data, selector)\r\n mstore(add(data, 0x04), from)\r\n mstore(add(data, 0x24), to)\r\n mstore(add(data, 0x44), amount)\r\n calldatacopy(add(data, 0x64), input.offset, input.length)\r\n let status := call(gas(), asset, 0, data, add(0x64, input.length), 0x0, 0x20)\r\n success := and(status, or(iszero(returndatasize()), and(gt(returndatasize(), 31), eq(mload(0), 1))))\r\n }\r\n }\r\n\r\n function _getMakingAmount(\r\n bytes calldata getter,\r\n uint256 orderTakingAmount,\r\n uint256 requestedTakingAmount,\r\n uint256 orderMakingAmount,\r\n uint256 remainingMakingAmount,\r\n bytes32 orderHash\r\n ) private view returns(uint256) {\r\n if (getter.length == 0) {\r\n // Linear proportion\r\n return AmountCalculator.getMakingAmount(orderMakingAmount, orderTakingAmount, requestedTakingAmount);\r\n }\r\n return _callGetter(getter, orderTakingAmount, requestedTakingAmount, orderMakingAmount, remainingMakingAmount, orderHash);\r\n }\r\n\r\n function _getTakingAmount(\r\n bytes calldata getter,\r\n uint256 orderMakingAmount,\r\n uint256 requestedMakingAmount,\r\n uint256 orderTakingAmount,\r\n uint256 remainingMakingAmount,\r\n bytes32 orderHash\r\n ) private view returns(uint256) {\r\n if (getter.length == 0) {\r\n // Linear proportion\r\n return AmountCalculator.getTakingAmount(orderMakingAmount, orderTakingAmount, requestedMakingAmount);\r\n }\r\n return _callGetter(getter, orderMakingAmount, requestedMakingAmount, orderTakingAmount, remainingMakingAmount, orderHash);\r\n }\r\n\r\n function _callGetter(\r\n bytes calldata getter,\r\n uint256 orderExpectedAmount,\r\n uint256 requestedAmount,\r\n uint256 orderResultAmount,\r\n uint256 remainingMakingAmount,\r\n bytes32 orderHash\r\n ) private view returns(uint256) {\r\n if (getter.length == 1) {\r\n if (OrderLib.getterIsFrozen(getter)) {\r\n // On \"x\" getter calldata only exact amount is allowed\r\n if (requestedAmount != orderExpectedAmount) revert WrongAmount();\r\n return orderResultAmount;\r\n } else {\r\n revert WrongGetter();\r\n }\r\n } else {\r\n (address target, bytes calldata data) = getter.decodeTargetAndCalldata();\r\n (bool success, bytes memory result) = target.staticcall(abi.encodePacked(data, requestedAmount, remainingMakingAmount, orderHash));\r\n if (!success || result.length != 32) revert GetAmountCallFailed();\r\n return abi.decode(result, (uint256));\r\n }\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/utils/Context.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes calldata) {\r\n return msg.data;\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/access/Ownable.sol@v4.7.3\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Contract module which provides a basic access control mechanism, where\r\n * there is an account (an owner) that can be granted exclusive access to\r\n * specific functions.\r\n *\r\n * By default, the owner account will be the one that deploys the contract. This\r\n * can later be changed with {transferOwnership}.\r\n *\r\n * This module is used through inheritance. It will make available the modifier\r\n * `onlyOwner`, which can be applied to your functions to restrict their use to\r\n * the owner.\r\n */\r\nabstract contract Ownable is Context {\r\n address private _owner;\r\n\r\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\r\n\r\n /**\r\n * @dev Initializes the contract setting the deployer as the initial owner.\r\n */\r\n constructor() {\r\n _transferOwnership(_msgSender());\r\n }\r\n\r\n /**\r\n * @dev Throws if called by any account other than the owner.\r\n */\r\n modifier onlyOwner() {\r\n _checkOwner();\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Returns the address of the current owner.\r\n */\r\n function owner() public view virtual returns (address) {\r\n return _owner;\r\n }\r\n\r\n /**\r\n * @dev Throws if the sender is not the owner.\r\n */\r\n function _checkOwner() internal view virtual {\r\n require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\r\n }\r\n\r\n /**\r\n * @dev Leaves the contract without owner. It will not be possible to call\r\n * `onlyOwner` functions anymore. Can only be called by the current owner.\r\n *\r\n * NOTE: Renouncing ownership will leave the contract without an owner,\r\n * thereby removing any functionality that is only available to the owner.\r\n */\r\n function renounceOwnership() public virtual onlyOwner {\r\n _transferOwnership(address(0));\r\n }\r\n\r\n /**\r\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n * Can only be called by the current owner.\r\n */\r\n function transferOwnership(address newOwner) public virtual onlyOwner {\r\n require(newOwner != address(0), \"Ownable: new owner is the zero address\");\r\n _transferOwnership(newOwner);\r\n }\r\n\r\n /**\r\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n * Internal function without access restriction.\r\n */\r\n function _transferOwnership(address newOwner) internal virtual {\r\n address oldOwner = _owner;\r\n _owner = newOwner;\r\n emit OwnershipTransferred(oldOwner, newOwner);\r\n }\r\n}\r\n\r\n\r\n// File contracts/AggregationRouterV5.sol\r\n\r\n\r\npragma solidity 0.8.17;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/// @notice Main contract incorporates a number of routers to perform swaps and limit orders protocol to fill limit orders\r\ncontract AggregationRouterV5 is EIP712(\"1inch Aggregation Router\", \"5\"), Ownable,\r\n ClipperRouter, GenericRouter, UnoswapRouter, UnoswapV3Router, OrderMixin, OrderRFQMixin\r\n{\r\n using UniERC20 for IERC20;\r\n\r\n error ZeroAddress();\r\n\r\n /**\r\n * @dev Sets the wrapped eth token and clipper exhange interface\r\n * Both values are immutable: they can only be set once during\r\n * construction.\r\n */\r\n constructor(IWETH weth)\r\n UnoswapV3Router(weth)\r\n ClipperRouter(weth)\r\n OrderMixin(weth)\r\n OrderRFQMixin(weth)\r\n {\r\n if (address(weth) == address(0)) revert ZeroAddress();\r\n }\r\n\r\n /**\r\n * @notice Retrieves funds accidently sent directly to the contract address\r\n * @param token ERC20 token to retrieve\r\n * @param amount amount to retrieve\r\n */\r\n function rescueFunds(IERC20 token, uint256 amount) external onlyOwner {\r\n token.uniTransfer(payable(msg.sender), amount);\r\n }\r\n\r\n /**\r\n * @notice Destroys the contract and sends eth to sender. Use with caution.\r\n * The only case when the use of the method is justified is if there is an exploit found.\r\n * And the damage from the exploit is greater than from just an urgent contract change.\r\n */\r\n function destroy() external onlyOwner {\r\n selfdestruct(payable(msg.sender));\r\n }\r\n\r\n function _receive() internal override(EthReceiver, OnlyWethReceiver) {\r\n EthReceiver._receive();\r\n }\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"contract IWETH\",\"name\":\"weth\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AdvanceNonceFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyFilled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ArbitraryStaticCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BadPool\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BadSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ETHTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ETHTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyPools\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthDepositRejected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GetAmountCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectDataLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidatedOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MakingAmountExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MakingAmountTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyOneAmountShouldBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PermitLengthTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PredicateIsNotTrue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrivateOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQBadSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQPrivateOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQSwapWithZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RFQZeroTargetIsForbidden\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyDetected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RemainingAmountIsZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReservesCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReturnAmountIsNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SafePermitBadLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SafeTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SafeTransferFromFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"res\",\"type\":\"bytes\"}],\"name\":\"SimulationResults\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapAmountTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapWithZeroAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TakingAmountExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TakingAmountIncreased\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TakingAmountTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromMakerToTakerFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromTakerToMakerFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnknownOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WrongAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WrongGetter\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroMinReturn\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroReturnAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroTargetIsForbidden\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"}],\"name\":\"NonceIncreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remainingRaw\",\"type\":\"uint256\"}],\"name\":\"OrderCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remaining\",\"type\":\"uint256\"}],\"name\":\"OrderFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"}],\"name\":\"OrderFilledRFQ\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"amount\",\"type\":\"uint8\"}],\"name\":\"advanceNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"and\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"arbitraryStaticCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"struct OrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"cancelOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"orderRemaining\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderInfo\",\"type\":\"uint256\"}],\"name\":\"cancelOrderRFQ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderInfo\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"additionalMask\",\"type\":\"uint256\"}],\"name\":\"cancelOrderRFQ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"struct OrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"checkPredicate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IClipperExchangeInterface\",\"name\":\"clipperExchange\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"goodUntil\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"name\":\"clipperSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IClipperExchangeInterface\",\"name\":\"clipperExchange\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"goodUntil\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"name\":\"clipperSwapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IClipperExchangeInterface\",\"name\":\"clipperExchange\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outputAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"goodUntil\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"clipperSwapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"eq\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"struct OrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"skipPermitAndThresholdAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"}],\"name\":\"fillOrderRFQCompact\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"filledMakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"filledTakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"fillOrderRFQTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"filledMakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"filledTakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderRFQLib.OrderRFQ\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"flagsAndAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"fillOrderRFQToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"struct OrderLib.Order\",\"name\":\"order_\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"skipPermitAndThresholdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"fillOrderTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"actualMakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualTakingAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"struct OrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"interaction\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"skipPermitAndThresholdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"fillOrderToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"gt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"makerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"takerAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"allowedSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"takingAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"interactions\",\"type\":\"bytes\"}],\"internalType\":\"struct OrderLib.Order\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"hashOrder\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increaseNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"invalidatorForOrderRFQ\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"lt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"makerAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"makerNonce\",\"type\":\"uint256\"}],\"name\":\"nonceEquals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offsets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"or\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"remaining\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"remainingRaw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"orderHashes\",\"type\":\"bytes32[]\"}],\"name\":\"remainingsRaw\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"simulate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IAggregationExecutor\",\"name\":\"executor\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"srcReceiver\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"dstReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"}],\"internalType\":\"struct GenericRouter.SwapDescription\",\"name\":\"desc\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"spentAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"timestampBelow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timeNonceAccount\",\"type\":\"uint256\"}],\"name\":\"timestampBelowAndNonceEquals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"uniswapV3Swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"uniswapV3SwapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"unoswap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"}],\"name\":\"unoswapTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minReturn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"pools\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"permit\",\"type\":\"bytes\"}],\"name\":\"unoswapToWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"AggregationRouterV5","CompilerVersion":"v0.8.17+commit.8df45f5f","CompilerType":"solc","OptimizationUsed":"1","Runs":"1000","ConstructorArguments":"000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","EVMVersion":"Default","Library":"","LicenseType":"MIT","Proxy":"0","Implementation":"","SwarmSource":"ipfs://40321861ce858a2c911db7a2e1f42f4368d23b5251b80dd661a6f2abf19c358d","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/268b826152cbddb735c1033b665c1ab06eec7620cce23e63da09387c9882feab b/tests/cachedrpc/268b826152cbddb735c1033b665c1ab06eec7620cce23e63da09387c9882feab new file mode 100644 index 00000000..0283eb2f --- /dev/null +++ b/tests/cachedrpc/268b826152cbddb735c1033b665c1ab06eec7620cce23e63da09387c9882feab @@ -0,0 +1 @@ +{"jsonrpc":"2.0","id":1,"result":{"storage":{"0xb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6":{"key":"0x0000000000000000000000000000000000000000000000000000000000000001","value":"0x000000000000000000000000c0a4272bb5df52134178df25d77561cfb17ce407"}},"nextKey":null}} diff --git a/tests/cachedrpc/26bdbd562d4947fe8b5970659f62ffa401fa4dad345599e81d287583badf7fce b/tests/cachedrpc/26bdbd562d4947fe8b5970659f62ffa401fa4dad345599e81d287583badf7fce new file mode 100644 index 00000000..2216dca6 --- /dev/null +++ b/tests/cachedrpc/26bdbd562d4947fe8b5970659f62ffa401fa4dad345599e81d287583badf7fce @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"FactRegistry.sol\": {\r\n \"content\": \"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nimport \\\"IQueryableFactRegistry.sol\\\";\\n\\ncontract FactRegistry is IQueryableFactRegistry {\\n // Mapping: fact hash -> true.\\n mapping(bytes32 => bool) private verifiedFact;\\n\\n // Indicates whether the Fact Registry has at least one fact registered.\\n bool anyFactRegistered = false;\\n\\n /*\\n Checks if a fact has been verified.\\n */\\n function isValid(bytes32 fact) external view override returns (bool) {\\n return _factCheck(fact);\\n }\\n\\n /*\\n This is an internal method to check if the fact is already registered.\\n In current implementation of FactRegistry it's identical to isValid().\\n But the check is against the local fact registry,\\n So for a derived referral fact registry, it's not the same.\\n */\\n function _factCheck(bytes32 fact) internal view returns (bool) {\\n return verifiedFact[fact];\\n }\\n\\n function registerFact(bytes32 factHash) internal {\\n // This function stores the fact hash in the mapping.\\n verifiedFact[factHash] = true;\\n\\n // Mark first time off.\\n if (!anyFactRegistered) {\\n anyFactRegistered = true;\\n }\\n }\\n\\n /*\\n Indicates whether at least one fact was registered.\\n */\\n function hasRegisteredFact() external view override returns (bool) {\\n return anyFactRegistered;\\n }\\n}\\n\"\r\n },\r\n \"IFactRegistry.sol\": {\r\n \"content\": \"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\n/*\\n The Fact Registry design pattern is a way to separate cryptographic verification from the\\n business logic of the contract flow.\\n\\n A fact registry holds a hash table of verified \\\"facts\\\" which are represented by a hash of claims\\n that the registry hash check and found valid. This table may be queried by accessing the\\n isValid() function of the registry with a given hash.\\n\\n In addition, each fact registry exposes a registry specific function for submitting new claims\\n together with their proofs. The information submitted varies from one registry to the other\\n depending of the type of fact requiring verification.\\n\\n For further reading on the Fact Registry design pattern see this\\n `StarkWare blog post `_.\\n*/\\ninterface IFactRegistry {\\n /*\\n Returns true if the given fact was previously registered in the contract.\\n */\\n function isValid(bytes32 fact) external view returns (bool);\\n}\\n\"\r\n },\r\n \"IQueryableFactRegistry.sol\": {\r\n \"content\": \"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nimport \\\"IFactRegistry.sol\\\";\\n\\n/*\\n Extends the IFactRegistry interface with a query method that indicates\\n whether the fact registry has successfully registered any fact or is still empty of such facts.\\n*/\\ninterface IQueryableFactRegistry is IFactRegistry {\\n /*\\n Returns true if at least one fact has been registered.\\n */\\n function hasRegisteredFact() external view returns (bool);\\n}\\n\"\r\n },\r\n \"MemoryPageFactRegistry.sol\": {\r\n \"content\": \"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nimport \\\"FactRegistry.sol\\\";\\n\\ncontract MemoryPageFactRegistryConstants {\\n // A page based on a list of pairs (address, value).\\n // In this case, memoryHash = hash(address, value, address, value, address, value, ...).\\n uint256 internal constant REGULAR_PAGE = 0;\\n // A page based on adjacent memory cells, starting from a given address.\\n // In this case, memoryHash = hash(value, value, value, ...).\\n uint256 internal constant CONTINUOUS_PAGE = 1;\\n}\\n\\n/*\\n A fact registry for the claim:\\n I know n pairs (addr, value) for which the hash of the pairs is memoryHash, and the cumulative\\n product: \\\\prod_i( z - (addr_i + alpha * value_i) ) is prod.\\n The exact format of the hash depends on the type of the page\\n (see MemoryPageFactRegistryConstants).\\n The fact consists of (pageType, prime, n, z, alpha, prod, memoryHash, address).\\n Note that address is only available for CONTINUOUS_PAGE, and otherwise it is 0.\\n*/\\ncontract MemoryPageFactRegistry is FactRegistry, MemoryPageFactRegistryConstants {\\n event LogMemoryPageFactRegular(bytes32 factHash, uint256 memoryHash, uint256 prod);\\n event LogMemoryPageFactContinuous(bytes32 factHash, uint256 memoryHash, uint256 prod);\\n\\n /*\\n Registers a fact based of the given memory (address, value) pairs (REGULAR_PAGE).\\n */\\n function registerRegularMemoryPage(\\n uint256[] calldata memoryPairs,\\n uint256 z,\\n uint256 alpha,\\n uint256 prime\\n )\\n external\\n returns (\\n bytes32 factHash,\\n uint256 memoryHash,\\n uint256 prod\\n )\\n {\\n // Ensure 'memoryPairs.length' is bounded as a sanity check (the bound is somewhat arbitrary).\\n require(memoryPairs.length < 2**20, \\\"Too many memory values.\\\");\\n require(memoryPairs.length % 2 == 0, \\\"Size of memoryPairs must be even.\\\");\\n require(z < prime, \\\"Invalid value of z.\\\");\\n require(alpha < prime, \\\"Invalid value of alpha.\\\");\\n (factHash, memoryHash, prod) = computeFactHash(memoryPairs, z, alpha, prime);\\n emit LogMemoryPageFactRegular(factHash, memoryHash, prod);\\n\\n registerFact(factHash);\\n }\\n\\n function computeFactHash(\\n uint256[] memory memoryPairs,\\n uint256 z,\\n uint256 alpha,\\n uint256 prime\\n )\\n private\\n pure\\n returns (\\n bytes32 factHash,\\n uint256 memoryHash,\\n uint256 prod\\n )\\n {\\n uint256 memorySize = memoryPairs.length / 2; // NOLINT: divide-before-multiply.\\n\\n prod = 1;\\n\\n assembly {\\n let memoryPtr := add(memoryPairs, 0x20)\\n\\n // Each value of memoryPairs is a pair: (address, value).\\n let lastPtr := add(memoryPtr, mul(memorySize, 0x40))\\n for {\\n let ptr := memoryPtr\\n } lt(ptr, lastPtr) {\\n ptr := add(ptr, 0x40)\\n } {\\n // Compute address + alpha * value.\\n let address_value_lin_comb := addmod(\\n // address=\\n mload(ptr),\\n mulmod(\\n // value=\\n mload(add(ptr, 0x20)),\\n alpha,\\n prime\\n ),\\n prime\\n )\\n prod := mulmod(prod, add(z, sub(prime, address_value_lin_comb)), prime)\\n }\\n\\n memoryHash := keccak256(\\n memoryPtr,\\n mul(\\n // 0x20 * 2.\\n 0x40,\\n memorySize\\n )\\n )\\n }\\n\\n factHash = keccak256(\\n abi.encodePacked(\\n REGULAR_PAGE,\\n prime,\\n memorySize,\\n z,\\n alpha,\\n prod,\\n memoryHash,\\n uint256(0)\\n )\\n );\\n }\\n\\n /*\\n Registers a fact based on the given values, assuming continuous addresses.\\n values should be [value at startAddr, value at (startAddr + 1), ...].\\n */\\n function registerContinuousMemoryPage(\\n // NOLINT: external-function.\\n uint256 startAddr,\\n uint256[] memory values,\\n uint256 z,\\n uint256 alpha,\\n uint256 prime\\n )\\n public\\n returns (\\n bytes32 factHash,\\n uint256 memoryHash,\\n uint256 prod\\n )\\n {\\n require(values.length < 2**20, \\\"Too many memory values.\\\");\\n require(prime < 2**254, \\\"prime is too big for the optimizations in this function.\\\");\\n require(z < prime, \\\"Invalid value of z.\\\");\\n require(alpha < prime, \\\"Invalid value of alpha.\\\");\\n // Ensure 'startAddr' less then prime and bounded as a sanity check (the bound is somewhat arbitrary).\\n require((startAddr < prime) && (startAddr < 2**64), \\\"Invalid value of startAddr.\\\");\\n\\n uint256 nValues = values.length;\\n\\n assembly {\\n // Initialize prod to 1.\\n prod := 1\\n // Initialize valuesPtr to point to the first value in the array.\\n let valuesPtr := add(values, 0x20)\\n\\n let minus_z := mod(sub(prime, z), prime)\\n\\n // Start by processing full batches of 8 cells, addr represents the last address in each\\n // batch.\\n let addr := add(startAddr, 7)\\n let lastAddr := add(startAddr, nValues)\\n for {\\n\\n } lt(addr, lastAddr) {\\n addr := add(addr, 8)\\n } {\\n // Compute the product of (lin_comb - z) instead of (z - lin_comb), since we're\\n // doing an even number of iterations, the result is the same.\\n prod := mulmod(\\n prod,\\n mulmod(\\n add(add(sub(addr, 7), mulmod(mload(valuesPtr), alpha, prime)), minus_z),\\n add(\\n add(sub(addr, 6), mulmod(mload(add(valuesPtr, 0x20)), alpha, prime)),\\n minus_z\\n ),\\n prime\\n ),\\n prime\\n )\\n\\n prod := mulmod(\\n prod,\\n mulmod(\\n add(\\n add(sub(addr, 5), mulmod(mload(add(valuesPtr, 0x40)), alpha, prime)),\\n minus_z\\n ),\\n add(\\n add(sub(addr, 4), mulmod(mload(add(valuesPtr, 0x60)), alpha, prime)),\\n minus_z\\n ),\\n prime\\n ),\\n prime\\n )\\n\\n prod := mulmod(\\n prod,\\n mulmod(\\n add(\\n add(sub(addr, 3), mulmod(mload(add(valuesPtr, 0x80)), alpha, prime)),\\n minus_z\\n ),\\n add(\\n add(sub(addr, 2), mulmod(mload(add(valuesPtr, 0xa0)), alpha, prime)),\\n minus_z\\n ),\\n prime\\n ),\\n prime\\n )\\n\\n prod := mulmod(\\n prod,\\n mulmod(\\n add(\\n add(sub(addr, 1), mulmod(mload(add(valuesPtr, 0xc0)), alpha, prime)),\\n minus_z\\n ),\\n add(add(addr, mulmod(mload(add(valuesPtr, 0xe0)), alpha, prime)), minus_z),\\n prime\\n ),\\n prime\\n )\\n\\n valuesPtr := add(valuesPtr, 0x100)\\n }\\n\\n // Handle leftover.\\n // Translate addr to the beginning of the last incomplete batch.\\n addr := sub(addr, 7)\\n for {\\n\\n } lt(addr, lastAddr) {\\n addr := add(addr, 1)\\n } {\\n let address_value_lin_comb := addmod(\\n addr,\\n mulmod(mload(valuesPtr), alpha, prime),\\n prime\\n )\\n prod := mulmod(prod, add(z, sub(prime, address_value_lin_comb)), prime)\\n valuesPtr := add(valuesPtr, 0x20)\\n }\\n\\n memoryHash := keccak256(add(values, 0x20), mul(0x20, nValues))\\n }\\n\\n factHash = keccak256(\\n abi.encodePacked(CONTINUOUS_PAGE, prime, nValues, z, alpha, prod, memoryHash, startAddr)\\n );\\n\\n emit LogMemoryPageFactContinuous(factHash, memoryHash, prod);\\n\\n registerFact(factHash);\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"metadata\": {\r\n \"useLiteralContent\": true\r\n },\r\n \"libraries\": {},\r\n \"remappings\": [],\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 1000000\r\n },\r\n \"evmVersion\": \"istanbul\",\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n }\r\n }\r\n}}","ABI":"[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"factHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"memoryHash\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"prod\",\"type\":\"uint256\"}],\"name\":\"LogMemoryPageFactContinuous\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"factHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"memoryHash\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"prod\",\"type\":\"uint256\"}],\"name\":\"LogMemoryPageFactRegular\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"hasRegisteredFact\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"fact\",\"type\":\"bytes32\"}],\"name\":\"isValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startAddr\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"z\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"alpha\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prime\",\"type\":\"uint256\"}],\"name\":\"registerContinuousMemoryPage\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"factHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"memoryHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prod\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"memoryPairs\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"z\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"alpha\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prime\",\"type\":\"uint256\"}],\"name\":\"registerRegularMemoryPage\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"factHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"memoryHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prod\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"MemoryPageFactRegistry","CompilerVersion":"v0.6.12+commit.27d51765","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"1000000","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"Apache-2.0","Proxy":"0","Implementation":"","SwarmSource":"","SimilarMatch":"0x43f421734536731CfdeB3272813d74081e9C86E2"}]} \ No newline at end of file diff --git a/tests/cachedrpc/289f493d0616ff4fa99b947858657ef31fddf9fda1ceee41590b0ca00cc8527f b/tests/cachedrpc/289f493d0616ff4fa99b947858657ef31fddf9fda1ceee41590b0ca00cc8527f new file mode 100644 index 00000000..5814c5a7 --- /dev/null +++ b/tests/cachedrpc/289f493d0616ff4fa99b947858657ef31fddf9fda1ceee41590b0ca00cc8527f @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"src/frxETHMinter.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity ^0.8.0;\\n\\n// ====================================================================\\n// | ______ _______ |\\n// | / _____________ __ __ / ____(_____ ____ _____ ________ |\\n// | / /_ / ___/ __ `| |/_/ / /_ / / __ \\\\/ __ `/ __ \\\\/ ___/ _ \\\\ |\\n// | / __/ / / / /_/ _> < / __/ / / / / / /_/ / / / / /__/ __/ |\\n// | /_/ /_/ \\\\__,_/_/|_| /_/ /_/_/ /_/\\\\__,_/_/ /_/\\\\___/\\\\___/ |\\n// | |\\n// ====================================================================\\n// ============================ frxETHMinter ==========================\\n// ====================================================================\\n// Frax Finance: https://github.com/FraxFinance\\n\\n// Primary Author(s)\\n// Jack Corddry: https://github.com/corddry\\n// Justin Moore: https://github.com/0xJM\\n\\n// Reviewer(s) / Contributor(s)\\n// Travis Moore: https://github.com/FortisFortuna\\n// Dennis: https://github.com/denett\\n// Jamie Turley: https://github.com/jyturley\\n\\nimport { frxETH } from \\\"./frxETH.sol\\\";\\nimport { IsfrxETH } from \\\"./IsfrxETH.sol\\\";\\nimport \\\"openzeppelin-contracts/contracts/security/ReentrancyGuard.sol\\\";\\nimport \\\"openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\\\";\\nimport { IDepositContract } from \\\"./DepositContract.sol\\\";\\nimport \\\"./OperatorRegistry.sol\\\";\\n\\n/// @title Authorized minter contract for frxETH\\n/// @notice Accepts user-supplied ETH and converts it to frxETH (submit()), and also optionally inline stakes it for sfrxETH (submitAndDeposit())\\n/** @dev Has permission to mint frxETH. \\n Once +32 ETH has accumulated, adds it to a validator, which then deposits it for ETH 2.0 staking (depositEther())\\n Withhold ratio refers to what percentage of ETH this contract keeps whenever a user makes a deposit. 0% is kept initially */\\ncontract frxETHMinter is OperatorRegistry, ReentrancyGuard { \\n uint256 public constant DEPOSIT_SIZE = 32 ether; // ETH 2.0 minimum deposit size\\n uint256 public constant RATIO_PRECISION = 1e6; // 1,000,000 \\n\\n uint256 public withholdRatio; // What we keep and don't deposit whenever someone submit()'s ETH\\n uint256 public currentWithheldETH; // Needed for internal tracking\\n mapping(bytes => bool) public activeValidators; // Tracks validators (via their pubkeys) that already have 32 ETH in them\\n\\n IDepositContract public immutable depositContract; // ETH 2.0 deposit contract\\n frxETH public immutable frxETHToken;\\n IsfrxETH public immutable sfrxETHToken;\\n\\n bool public submitPaused;\\n bool public depositEtherPaused;\\n\\n constructor(\\n address depositContractAddress, \\n address frxETHAddress, \\n address sfrxETHAddress, \\n address _owner, \\n address _timelock_address,\\n bytes memory _withdrawalCredential\\n ) OperatorRegistry(_owner, _timelock_address, _withdrawalCredential) {\\n depositContract = IDepositContract(depositContractAddress);\\n frxETHToken = frxETH(frxETHAddress);\\n sfrxETHToken = IsfrxETH(sfrxETHAddress);\\n withholdRatio = 0; // No ETH is withheld initially\\n currentWithheldETH = 0;\\n }\\n\\n /// @notice Mint frxETH and deposit it to receive sfrxETH in one transaction\\n /** @dev Could try using EIP-712 / EIP-2612 here in the future if you replace this contract,\\n but you might run into msg.sender vs tx.origin issues with the ERC4626 */\\n function submitAndDeposit(address recipient) external payable returns (uint256 shares) {\\n // Give the frxETH to this contract after it is generated\\n _submit(address(this));\\n\\n // Approve frxETH to sfrxETH for staking\\n frxETHToken.approve(address(sfrxETHToken), msg.value);\\n\\n // Deposit the frxETH and give the generated sfrxETH to the final recipient\\n uint256 sfrxeth_recieved = sfrxETHToken.deposit(msg.value, recipient);\\n require(sfrxeth_recieved > 0, 'No sfrxETH was returned');\\n\\n return sfrxeth_recieved;\\n }\\n\\n /// @notice Mint frxETH to the recipient using sender's funds. Internal portion\\n function _submit(address recipient) internal nonReentrant {\\n // Initial pause and value checks\\n require(!submitPaused, \\\"Submit is paused\\\");\\n require(msg.value != 0, \\\"Cannot submit 0\\\");\\n\\n // Give the sender frxETH\\n frxETHToken.minter_mint(recipient, msg.value);\\n\\n // Track the amount of ETH that we are keeping\\n uint256 withheld_amt = 0;\\n if (withholdRatio != 0) {\\n withheld_amt = (msg.value * withholdRatio) / RATIO_PRECISION;\\n currentWithheldETH += withheld_amt;\\n }\\n\\n emit ETHSubmitted(msg.sender, recipient, msg.value, withheld_amt);\\n }\\n\\n /// @notice Mint frxETH to the sender depending on the ETH value sent\\n function submit() external payable {\\n _submit(msg.sender);\\n }\\n\\n /// @notice Mint frxETH to the recipient using sender's funds\\n function submitAndGive(address recipient) external payable {\\n _submit(recipient);\\n }\\n\\n /// @notice Fallback to minting frxETH to the sender\\n receive() external payable {\\n _submit(msg.sender);\\n }\\n\\n /// @notice Deposit batches of ETH to the ETH 2.0 deposit contract\\n /// @dev Usually a bot will call this periodically\\n /// @param max_deposits Used to prevent gassing out if a whale drops in a huge amount of ETH. Break it down into batches.\\n function depositEther(uint256 max_deposits) external nonReentrant {\\n // Initial pause check\\n require(!depositEtherPaused, \\\"Depositing ETH is paused\\\");\\n\\n // See how many deposits can be made. Truncation desired.\\n uint256 numDeposits = (address(this).balance - currentWithheldETH) / DEPOSIT_SIZE;\\n require(numDeposits > 0, \\\"Not enough ETH in contract\\\");\\n\\n uint256 loopsToUse = numDeposits;\\n if (max_deposits == 0) loopsToUse = numDeposits;\\n else if (numDeposits > max_deposits) loopsToUse = max_deposits;\\n\\n // Give each deposit chunk to an empty validator\\n for (uint256 i = 0; i < loopsToUse; ++i) {\\n // Get validator information\\n (\\n bytes memory pubKey,\\n bytes memory withdrawalCredential,\\n bytes memory signature,\\n bytes32 depositDataRoot\\n ) = getNextValidator(); // Will revert if there are not enough free validators\\n\\n // Make sure the validator hasn't been deposited into already, to prevent stranding an extra 32 eth\\n // until withdrawals are allowed\\n require(!activeValidators[pubKey], \\\"Validator already has 32 ETH\\\");\\n\\n // Deposit the ether in the ETH 2.0 deposit contract\\n depositContract.deposit{value: DEPOSIT_SIZE}(\\n pubKey,\\n withdrawalCredential,\\n signature,\\n depositDataRoot\\n );\\n\\n // Set the validator as used so it won't get an extra 32 ETH\\n activeValidators[pubKey] = true;\\n\\n emit DepositSent(pubKey, withdrawalCredential);\\n }\\n }\\n\\n /// @param newRatio of ETH that is sent to deposit contract vs withheld, 1e6 precision\\n /// @notice An input of 1e6 results in 100% of Eth deposited, 0% withheld\\n function setWithholdRatio(uint256 newRatio) external onlyByOwnGov {\\n require (newRatio <= RATIO_PRECISION, \\\"Ratio cannot surpass 100%\\\");\\n withholdRatio = newRatio;\\n emit WithholdRatioSet(newRatio);\\n }\\n\\n /// @notice Give the withheld ETH to the \\\"to\\\" address\\n function moveWithheldETH(address payable to, uint256 amount) external onlyByOwnGov {\\n require(amount <= currentWithheldETH, \\\"Not enough withheld ETH in contract\\\");\\n currentWithheldETH -= amount;\\n\\n (bool success,) = payable(to).call{ value: amount }(\\\"\\\");\\n require(success, \\\"Invalid transfer\\\");\\n\\n emit WithheldETHMoved(to, amount);\\n }\\n\\n /// @notice Toggle allowing submites\\n function togglePauseSubmits() external onlyByOwnGov {\\n submitPaused = !submitPaused;\\n\\n emit SubmitPaused(submitPaused);\\n }\\n\\n /// @notice Toggle allowing depositing ETH to validators\\n function togglePauseDepositEther() external onlyByOwnGov {\\n depositEtherPaused = !depositEtherPaused;\\n\\n emit DepositEtherPaused(depositEtherPaused);\\n }\\n\\n /// @notice For emergencies if something gets stuck\\n function recoverEther(uint256 amount) external onlyByOwnGov {\\n (bool success,) = address(owner).call{ value: amount }(\\\"\\\");\\n require(success, \\\"Invalid transfer\\\");\\n\\n emit EmergencyEtherRecovered(amount);\\n }\\n\\n /// @notice For emergencies if someone accidentally sent some ERC20 tokens here\\n function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyByOwnGov {\\n require(IERC20(tokenAddress).transfer(owner, tokenAmount), \\\"recoverERC20: Transfer failed\\\");\\n\\n emit EmergencyERC20Recovered(tokenAddress, tokenAmount);\\n }\\n\\n event EmergencyEtherRecovered(uint256 amount);\\n event EmergencyERC20Recovered(address tokenAddress, uint256 tokenAmount);\\n event ETHSubmitted(address indexed sender, address indexed recipient, uint256 sent_amount, uint256 withheld_amt);\\n event DepositEtherPaused(bool new_status);\\n event DepositSent(bytes indexed pubKey, bytes withdrawalCredential);\\n event SubmitPaused(bool new_status);\\n event WithheldETHMoved(address indexed to, uint256 amount);\\n event WithholdRatioSet(uint256 newRatio);\\n}\\n\"\r\n },\r\n \"src/frxETH.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity ^0.8.0;\\n\\n// ====================================================================\\n// | ______ _______ |\\n// | / _____________ __ __ / ____(_____ ____ _____ ________ |\\n// | / /_ / ___/ __ `| |/_/ / /_ / / __ \\\\/ __ `/ __ \\\\/ ___/ _ \\\\ |\\n// | / __/ / / / /_/ _> < / __/ / / / / / /_/ / / / / /__/ __/ |\\n// | /_/ /_/ \\\\__,_/_/|_| /_/ /_/_/ /_/\\\\__,_/_/ /_/\\\\___/\\\\___/ |\\n// | |\\n// ====================================================================\\n// ============================== frxETH ==============================\\n// ====================================================================\\n// Frax Finance: https://github.com/FraxFinance\\n\\n// Primary Author(s)\\n// Jack Corddry: https://github.com/corddry\\n// Nader Ghazvini: https://github.com/amirnader-ghazvini \\n\\n// Reviewer(s) / Contributor(s)\\n// Sam Kazemian: https://github.com/samkazemian\\n// Dennis: https://github.com/denett\\n// Travis Moore: https://github.com/FortisFortuna\\n// Jamie Turley: https://github.com/jyturley\\n\\n/// @title Stablecoin pegged to Ether for use within the Frax ecosystem\\n/** @notice Does not accrue ETH 2.0 staking yield: it must be staked at the sfrxETH contract first.\\n ETH -> frxETH conversion is permanent, so a market will develop for the latter.\\n Withdraws are not live (as of deploy time) so loosely pegged to eth but is possible will float */\\n/// @dev frxETH adheres to EIP-712/EIP-2612 and can use permits\\nimport { ERC20PermitPermissionedMint } from \\\"./ERC20/ERC20PermitPermissionedMint.sol\\\";\\n\\ncontract frxETH is ERC20PermitPermissionedMint {\\n\\n /* ========== CONSTRUCTOR ========== */\\n constructor(\\n address _creator_address,\\n address _timelock_address\\n ) \\n ERC20PermitPermissionedMint(_creator_address, _timelock_address, \\\"Frax Ether\\\", \\\"frxETH\\\") \\n {}\\n\\n}\"\r\n },\r\n \"src/IsfrxETH.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.8.0;\\n\\n// Primarily added to prevent ERC20 name collisions in frxETHMinter.sol\\ninterface IsfrxETH {\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n function allowance(address, address) external view returns (uint256);\\n function approve(address spender, uint256 amount) external returns (bool);\\n function asset() external view returns (address);\\n function balanceOf(address) external view returns (uint256);\\n function convertToAssets(uint256 shares) external view returns (uint256);\\n function convertToShares(uint256 assets) external view returns (uint256);\\n function decimals() external view returns (uint8);\\n function deposit(uint256 assets, address receiver) external returns (uint256 shares);\\n function depositWithSignature(uint256 assets, address receiver, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint256 shares);\\n function lastRewardAmount() external view returns (uint192);\\n function lastSync() external view returns (uint32);\\n function maxDeposit(address) external view returns (uint256);\\n function maxMint(address) external view returns (uint256);\\n function maxRedeem(address owner) external view returns (uint256);\\n function maxWithdraw(address owner) external view returns (uint256);\\n function mint(uint256 shares, address receiver) external returns (uint256 assets);\\n function name() external view returns (string memory);\\n function nonces(address) external view returns (uint256);\\n function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;\\n function previewDeposit(uint256 assets) external view returns (uint256);\\n function previewMint(uint256 shares) external view returns (uint256);\\n function previewRedeem(uint256 shares) external view returns (uint256);\\n function previewWithdraw(uint256 assets) external view returns (uint256);\\n function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);\\n function rewardsCycleEnd() external view returns (uint32);\\n function rewardsCycleLength() external view returns (uint32);\\n function symbol() external view returns (string memory);\\n function syncRewards() external;\\n function totalAssets() external view returns (uint256);\\n function totalSupply() external view returns (uint256);\\n function transfer(address to, uint256 amount) external returns (bool);\\n function transferFrom(address from, address to, uint256 amount) external returns (bool);\\n function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor() {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and making it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n _nonReentrantBefore();\\n _;\\n _nonReentrantAfter();\\n }\\n\\n function _nonReentrantBefore() private {\\n // On the first call to nonReentrant, _status will be _NOT_ENTERED\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n }\\n\\n function _nonReentrantAfter() private {\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address to, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `from` to `to` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address from,\\n address to,\\n uint256 amount\\n ) external returns (bool);\\n}\\n\"\r\n },\r\n \"src/DepositContract.sol\": {\r\n \"content\": \"// ┏━━━┓━┏┓━┏┓━━┏━━━┓━━┏━━━┓━━━━┏━━━┓━━━━━━━━━━━━━━━━━━━┏┓━━━━━┏━━━┓━━━━━━━━━┏┓━━━━━━━━━━━━━━┏┓━\\n// ┃┏━━┛┏┛┗┓┃┃━━┃┏━┓┃━━┃┏━┓┃━━━━┗┓┏┓┃━━━━━━━━━━━━━━━━━━┏┛┗┓━━━━┃┏━┓┃━━━━━━━━┏┛┗┓━━━━━━━━━━━━┏┛┗┓\\n// ┃┗━━┓┗┓┏┛┃┗━┓┗┛┏┛┃━━┃┃━┃┃━━━━━┃┃┃┃┏━━┓┏━━┓┏━━┓┏━━┓┏┓┗┓┏┛━━━━┃┃━┗┛┏━━┓┏━┓━┗┓┏┛┏━┓┏━━┓━┏━━┓┗┓┏┛\\n// ┃┏━━┛━┃┃━┃┏┓┃┏━┛┏┛━━┃┃━┃┃━━━━━┃┃┃┃┃┏┓┃┃┏┓┃┃┏┓┃┃━━┫┣┫━┃┃━━━━━┃┃━┏┓┃┏┓┃┃┏┓┓━┃┃━┃┏┛┗━┓┃━┃┏━┛━┃┃━\\n// ┃┗━━┓━┃┗┓┃┃┃┃┃┃┗━┓┏┓┃┗━┛┃━━━━┏┛┗┛┃┃┃━┫┃┗┛┃┃┗┛┃┣━━┃┃┃━┃┗┓━━━━┃┗━┛┃┃┗┛┃┃┃┃┃━┃┗┓┃┃━┃┗┛┗┓┃┗━┓━┃┗┓\\n// ┗━━━┛━┗━┛┗┛┗┛┗━━━┛┗┛┗━━━┛━━━━┗━━━┛┗━━┛┃┏━┛┗━━┛┗━━┛┗┛━┗━┛━━━━┗━━━┛┗━━┛┗┛┗┛━┗━┛┗┛━┗━━━┛┗━━┛━┗━┛\\n// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┃┃━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\\n// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┗┛━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\\n\\n// SPDX-License-Identifier: CC0-1.0\\n\\npragma solidity ^0.8.0;\\n\\n// This interface is designed to be compatible with the Vyper version.\\n/// @notice This is the Ethereum 2.0 deposit contract interface.\\n/// For more information see the Phase 0 specification under https://github.com/ethereum/eth2.0-specs\\ninterface IDepositContract {\\n /// @notice A processed deposit event.\\n event DepositEvent(\\n bytes pubkey,\\n bytes withdrawal_credentials,\\n bytes amount,\\n bytes signature,\\n bytes index\\n );\\n\\n /// @notice Submit a Phase 0 DepositData object.\\n /// @param pubkey A BLS12-381 public key.\\n /// @param withdrawal_credentials Commitment to a public key for withdrawals.\\n /// @param signature A BLS12-381 signature.\\n /// @param deposit_data_root The SHA-256 hash of the SSZ-encoded DepositData object.\\n /// Used as a protection against malformed input.\\n function deposit(\\n bytes calldata pubkey,\\n bytes calldata withdrawal_credentials,\\n bytes calldata signature,\\n bytes32 deposit_data_root\\n ) external payable;\\n\\n /// @notice Query the current deposit root hash.\\n /// @return The deposit root hash.\\n function get_deposit_root() external view returns (bytes32);\\n\\n /// @notice Query the current deposit count.\\n /// @return The deposit count encoded as a little endian 64-bit number.\\n function get_deposit_count() external view returns (bytes memory);\\n}\\n\\n// Based on official specification in https://eips.ethereum.org/EIPS/eip-165\\ninterface ERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceId` and\\n /// `interfaceId` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external pure returns (bool);\\n}\\n\\n// This is a rewrite of the Vyper Eth2.0 deposit contract in Solidity.\\n// It tries to stay as close as possible to the original source code.\\n/// @notice This is the Ethereum 2.0 deposit contract interface.\\n/// For more information see the Phase 0 specification under https://github.com/ethereum/eth2.0-specs\\ncontract DepositContract is IDepositContract, ERC165 {\\n uint constant DEPOSIT_CONTRACT_TREE_DEPTH = 32;\\n // NOTE: this also ensures `deposit_count` will fit into 64-bits\\n uint constant MAX_DEPOSIT_COUNT = 2**DEPOSIT_CONTRACT_TREE_DEPTH - 1;\\n\\n bytes32[DEPOSIT_CONTRACT_TREE_DEPTH] branch;\\n uint256 deposit_count;\\n\\n bytes32[DEPOSIT_CONTRACT_TREE_DEPTH] zero_hashes;\\n\\n constructor() public {\\n // Compute hashes in empty sparse Merkle tree\\n for (uint height = 0; height < DEPOSIT_CONTRACT_TREE_DEPTH - 1; height++)\\n zero_hashes[height + 1] = sha256(abi.encodePacked(zero_hashes[height], zero_hashes[height]));\\n }\\n\\n function get_deposit_root() override external view returns (bytes32) {\\n bytes32 node;\\n uint size = deposit_count;\\n for (uint height = 0; height < DEPOSIT_CONTRACT_TREE_DEPTH; height++) {\\n if ((size & 1) == 1)\\n node = sha256(abi.encodePacked(branch[height], node));\\n else\\n node = sha256(abi.encodePacked(node, zero_hashes[height]));\\n size /= 2;\\n }\\n return sha256(abi.encodePacked(\\n node,\\n to_little_endian_64(uint64(deposit_count)),\\n bytes24(0)\\n ));\\n }\\n\\n function get_deposit_count() override external view returns (bytes memory) {\\n return to_little_endian_64(uint64(deposit_count));\\n }\\n\\n function deposit(\\n bytes calldata pubkey,\\n bytes calldata withdrawal_credentials,\\n bytes calldata signature,\\n bytes32 deposit_data_root\\n ) override external payable {\\n // Extended ABI length checks since dynamic types are used.\\n require(pubkey.length == 48, \\\"DepositContract: invalid pubkey length\\\");\\n require(withdrawal_credentials.length == 32, \\\"DepositContract: invalid withdrawal_credentials length\\\");\\n require(signature.length == 96, \\\"DepositContract: invalid signature length\\\");\\n\\n // Check deposit amount\\n require(msg.value >= 1 ether, \\\"DepositContract: deposit value too low\\\");\\n require(msg.value % 1 gwei == 0, \\\"DepositContract: deposit value not multiple of gwei\\\");\\n uint deposit_amount = msg.value / 1 gwei;\\n require(deposit_amount <= type(uint64).max, \\\"DepositContract: deposit value too high\\\");\\n\\n // Emit `DepositEvent` log\\n bytes memory amount = to_little_endian_64(uint64(deposit_amount));\\n emit DepositEvent(\\n pubkey,\\n withdrawal_credentials,\\n amount,\\n signature,\\n to_little_endian_64(uint64(deposit_count))\\n );\\n\\n // Compute deposit data root (`DepositData` hash tree root)\\n bytes32 pubkey_root = sha256(abi.encodePacked(pubkey, bytes16(0)));\\n bytes32 signature_root = sha256(abi.encodePacked(\\n sha256(abi.encodePacked(signature[:64])),\\n sha256(abi.encodePacked(signature[64:], bytes32(0)))\\n ));\\n bytes32 node = sha256(abi.encodePacked(\\n sha256(abi.encodePacked(pubkey_root, withdrawal_credentials)),\\n sha256(abi.encodePacked(amount, bytes24(0), signature_root))\\n ));\\n\\n // Verify computed and expected deposit data roots match\\n require(node == deposit_data_root, \\\"DepositContract: reconstructed DepositData does not match supplied deposit_data_root\\\");\\n\\n // Avoid overflowing the Merkle tree (and prevent edge case in computing `branch`)\\n require(deposit_count < MAX_DEPOSIT_COUNT, \\\"DepositContract: merkle tree full\\\");\\n\\n // Add deposit data root to Merkle tree (update a single `branch` node)\\n deposit_count += 1;\\n uint size = deposit_count;\\n for (uint height = 0; height < DEPOSIT_CONTRACT_TREE_DEPTH; height++) {\\n if ((size & 1) == 1) {\\n branch[height] = node;\\n return;\\n }\\n node = sha256(abi.encodePacked(branch[height], node));\\n size /= 2;\\n }\\n // As the loop should always end prematurely with the `return` statement,\\n // this code should be unreachable. We assert `false` just to be safe.\\n assert(false);\\n }\\n\\n function supportsInterface(bytes4 interfaceId) override external pure returns (bool) {\\n return interfaceId == type(ERC165).interfaceId || interfaceId == type(IDepositContract).interfaceId;\\n }\\n\\n function to_little_endian_64(uint64 value) internal pure returns (bytes memory ret) {\\n ret = new bytes(8);\\n bytes8 bytesValue = bytes8(value);\\n // Byteswapping during copying to bytes.\\n ret[0] = bytesValue[7];\\n ret[1] = bytesValue[6];\\n ret[2] = bytesValue[5];\\n ret[3] = bytesValue[4];\\n ret[4] = bytesValue[3];\\n ret[5] = bytesValue[2];\\n ret[6] = bytesValue[1];\\n ret[7] = bytesValue[0];\\n }\\n}\"\r\n },\r\n \"src/OperatorRegistry.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity ^0.8.0;\\n\\n// ====================================================================\\n// | ______ _______ |\\n// | / _____________ __ __ / ____(_____ ____ _____ ________ |\\n// | / /_ / ___/ __ `| |/_/ / /_ / / __ \\\\/ __ `/ __ \\\\/ ___/ _ \\\\ |\\n// | / __/ / / / /_/ _> < / __/ / / / / / /_/ / / / / /__/ __/ |\\n// | /_/ /_/ \\\\__,_/_/|_| /_/ /_/_/ /_/\\\\__,_/_/ /_/\\\\___/\\\\___/ |\\n// | |\\n// ====================================================================\\n// ========================= OperatorRegistry =========================\\n// ====================================================================\\n// Frax Finance: https://github.com/FraxFinance\\n\\n// Primary Author(s)\\n// Jack Corddry: https://github.com/corddry\\n// Justin Moore: https://github.com/0xJM\\n\\n// Reviewer(s) / Contributor(s)\\n// Travis Moore: https://github.com/FortisFortuna\\n// Dennis: https://github.com/denett\\n\\nimport \\\"./Utils/Owned.sol\\\";\\n\\n/// @title Keeps track of validators used for ETH 2.0 staking\\n/// @notice A permissioned owner can add and removed them at will\\ncontract OperatorRegistry is Owned {\\n\\n struct Validator {\\n bytes pubKey;\\n bytes signature;\\n bytes32 depositDataRoot;\\n }\\n\\n Validator[] validators; // Array of unused / undeposited validators that can be used at a future time\\n bytes curr_withdrawal_pubkey; // Pubkey for ETH 2.0 withdrawal creds. If you change it, you must empty the validators array\\n address public timelock_address;\\n\\n constructor(address _owner, address _timelock_address, bytes memory _withdrawal_pubkey) Owned(_owner) {\\n timelock_address = _timelock_address;\\n curr_withdrawal_pubkey = _withdrawal_pubkey;\\n }\\n\\n modifier onlyByOwnGov() {\\n require(msg.sender == timelock_address || msg.sender == owner, \\\"Not owner or timelock\\\");\\n _;\\n }\\n\\n /// @notice Add a new validator\\n /** @dev You should verify offchain that the validator is indeed valid before adding it\\n Reason we don't do that here is for gas */\\n function addValidator(Validator calldata validator) public onlyByOwnGov {\\n validators.push(validator);\\n emit ValidatorAdded(validator.pubKey, curr_withdrawal_pubkey);\\n }\\n\\n /// @notice Add multiple new validators in one function call\\n /** @dev You should verify offchain that the validators are indeed valid before adding them\\n Reason we don't do that here is for gas */\\n function addValidators(Validator[] calldata validatorArray) external onlyByOwnGov {\\n uint arrayLength = validatorArray.length;\\n for (uint256 i = 0; i < arrayLength; ++i) {\\n addValidator(validatorArray[i]);\\n }\\n }\\n\\n /// @notice Swap the location of one validator with another\\n function swapValidator(uint256 from_idx, uint256 to_idx) public onlyByOwnGov {\\n // Get the original values\\n Validator memory fromVal = validators[from_idx];\\n Validator memory toVal = validators[to_idx];\\n\\n // Set the swapped values\\n validators[to_idx] = fromVal;\\n validators[from_idx] = toVal;\\n\\n emit ValidatorsSwapped(fromVal.pubKey, toVal.pubKey, from_idx, to_idx);\\n }\\n\\n /// @notice Remove validators from the end of the validators array, in case they were added in error\\n function popValidators(uint256 times) public onlyByOwnGov {\\n // Loop through and remove validator entries at the end\\n for (uint256 i = 0; i < times; ++i) {\\n validators.pop();\\n }\\n\\n emit ValidatorsPopped(times);\\n }\\n\\n /** @notice Remove a validator from the array. If dont_care_about_ordering is true, \\n a swap and pop will occur instead of a more gassy loop */ \\n function removeValidator(uint256 remove_idx, bool dont_care_about_ordering) public onlyByOwnGov {\\n // Get the pubkey for the validator to remove (for informational purposes)\\n bytes memory removed_pubkey = validators[remove_idx].pubKey;\\n\\n // Less gassy to swap and pop\\n if (dont_care_about_ordering){\\n // Swap the (validator to remove) with the (last validator in the array)\\n swapValidator(remove_idx, validators.length - 1);\\n\\n // Pop off the validator to remove, which is now at the end of the array\\n validators.pop();\\n }\\n // More gassy, loop\\n else {\\n // Save the original validators\\n Validator[] memory original_validators = validators;\\n\\n // Clear the original validators list\\n delete validators;\\n\\n // Fill the new validators array with all except the value to remove\\n for (uint256 i = 0; i < original_validators.length; ++i) {\\n if (i != remove_idx) {\\n validators.push(original_validators[i]);\\n }\\n }\\n }\\n\\n emit ValidatorRemoved(removed_pubkey, remove_idx, dont_care_about_ordering);\\n }\\n\\n // Internal\\n /// @dev Remove the last validator from the validators array and return its information\\n function getNextValidator()\\n internal\\n returns (\\n bytes memory pubKey,\\n bytes memory withdrawalCredentials,\\n bytes memory signature,\\n bytes32 depositDataRoot\\n )\\n {\\n // Make sure there are free validators available\\n uint numVals = numValidators();\\n require(numVals != 0, \\\"Validator stack is empty\\\");\\n\\n // Pop the last validator off the array\\n Validator memory popped = validators[numVals - 1];\\n validators.pop();\\n\\n // Return the validator's information\\n pubKey = popped.pubKey;\\n withdrawalCredentials = curr_withdrawal_pubkey;\\n signature = popped.signature;\\n depositDataRoot = popped.depositDataRoot;\\n }\\n\\n /// @notice Return the information of the i'th validator in the registry\\n function getValidator(uint i) \\n view\\n external\\n returns (\\n bytes memory pubKey,\\n bytes memory withdrawalCredentials,\\n bytes memory signature,\\n bytes32 depositDataRoot\\n )\\n {\\n Validator memory v = validators[i];\\n\\n // Return the validator's information\\n pubKey = v.pubKey;\\n withdrawalCredentials = curr_withdrawal_pubkey;\\n signature = v.signature;\\n depositDataRoot = v.depositDataRoot;\\n }\\n\\n /// @notice Returns a Validator struct of the given inputs to make formatting addValidator inputs easier\\n function getValidatorStruct(\\n bytes memory pubKey, \\n bytes memory signature, \\n bytes32 depositDataRoot\\n ) external pure returns (Validator memory) {\\n return Validator(pubKey, signature, depositDataRoot);\\n }\\n\\n /// @notice Requires empty validator stack as changing withdrawal creds invalidates signature\\n /// @dev May need to call clearValidatorArray() first\\n function setWithdrawalCredential(bytes memory _new_withdrawal_pubkey) external onlyByOwnGov {\\n require(numValidators() == 0, \\\"Clear validator array first\\\");\\n curr_withdrawal_pubkey = _new_withdrawal_pubkey;\\n\\n emit WithdrawalCredentialSet(_new_withdrawal_pubkey);\\n }\\n\\n /// @notice Empties the validator array\\n /// @dev Need to do this before setWithdrawalCredential()\\n function clearValidatorArray() external onlyByOwnGov {\\n delete validators;\\n\\n emit ValidatorArrayCleared();\\n }\\n\\n /// @notice Returns the number of validators\\n function numValidators() public view returns (uint256) {\\n return validators.length;\\n }\\n\\n /// @notice Set the timelock contract\\n function setTimelock(address _timelock_address) external onlyByOwnGov {\\n require(_timelock_address != address(0), \\\"Zero address detected\\\");\\n timelock_address = _timelock_address;\\n emit TimelockChanged(_timelock_address);\\n }\\n\\n event TimelockChanged(address timelock_address);\\n event WithdrawalCredentialSet(bytes _withdrawalCredential);\\n event ValidatorAdded(bytes pubKey, bytes withdrawalCredential);\\n event ValidatorArrayCleared();\\n event ValidatorRemoved(bytes pubKey, uint256 remove_idx, bool dont_care_about_ordering);\\n event ValidatorsPopped(uint256 times);\\n event ValidatorsSwapped(bytes from_pubKey, bytes to_pubKey, uint256 from_idx, uint256 to_idx);\\n event KeysCleared();\\n}\\n\"\r\n },\r\n \"src/ERC20/ERC20PermitPermissionedMint.sol\": {\r\n \"content\": \"//SPDX-License-Identifier: Unlicense\\npragma solidity ^0.8.0;\\n\\nimport \\\"openzeppelin-contracts/contracts/token/ERC20/ERC20.sol\\\";\\nimport \\\"openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\\\";\\nimport \\\"openzeppelin-contracts/contracts/token/ERC20/extensions/draft-ERC20Permit.sol\\\";\\nimport \\\"openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol\\\";\\nimport \\\"../Utils/Owned.sol\\\";\\n\\n/// @title Parent contract for frxETH.sol\\n/** @notice Combines Openzeppelin's ERC20Permit and ERC20Burnable with Synthetix's Owned. \\n Also includes a list of authorized minters */\\n/// @dev frxETH adheres to EIP-712/EIP-2612 and can use permits\\ncontract ERC20PermitPermissionedMint is ERC20Permit, ERC20Burnable, Owned {\\n // Core\\n address public timelock_address;\\n\\n // Minters\\n address[] public minters_array; // Allowed to mint\\n mapping(address => bool) public minters; // Mapping is also used for faster verification\\n\\n /* ========== CONSTRUCTOR ========== */\\n\\n constructor(\\n address _creator_address,\\n address _timelock_address,\\n string memory _name,\\n string memory _symbol\\n ) \\n ERC20(_name, _symbol)\\n ERC20Permit(_name) \\n Owned(_creator_address)\\n {\\n timelock_address = _timelock_address;\\n }\\n\\n\\n /* ========== MODIFIERS ========== */\\n\\n modifier onlyByOwnGov() {\\n require(msg.sender == timelock_address || msg.sender == owner, \\\"Not owner or timelock\\\");\\n _;\\n }\\n\\n modifier onlyMinters() {\\n require(minters[msg.sender] == true, \\\"Only minters\\\");\\n _;\\n } \\n\\n /* ========== RESTRICTED FUNCTIONS ========== */\\n\\n // Used by minters when user redeems\\n function minter_burn_from(address b_address, uint256 b_amount) public onlyMinters {\\n super.burnFrom(b_address, b_amount);\\n emit TokenMinterBurned(b_address, msg.sender, b_amount);\\n }\\n\\n // This function is what other minters will call to mint new tokens \\n function minter_mint(address m_address, uint256 m_amount) public onlyMinters {\\n super._mint(m_address, m_amount);\\n emit TokenMinterMinted(msg.sender, m_address, m_amount);\\n }\\n\\n // Adds whitelisted minters \\n function addMinter(address minter_address) public onlyByOwnGov {\\n require(minter_address != address(0), \\\"Zero address detected\\\");\\n\\n require(minters[minter_address] == false, \\\"Address already exists\\\");\\n minters[minter_address] = true; \\n minters_array.push(minter_address);\\n\\n emit MinterAdded(minter_address);\\n }\\n\\n // Remove a minter \\n function removeMinter(address minter_address) public onlyByOwnGov {\\n require(minter_address != address(0), \\\"Zero address detected\\\");\\n require(minters[minter_address] == true, \\\"Address nonexistant\\\");\\n \\n // Delete from the mapping\\n delete minters[minter_address];\\n\\n // 'Delete' from the array by setting the address to 0x0\\n for (uint i = 0; i < minters_array.length; i++){ \\n if (minters_array[i] == minter_address) {\\n minters_array[i] = address(0); // This will leave a null in the array and keep the indices the same\\n break;\\n }\\n }\\n\\n emit MinterRemoved(minter_address);\\n }\\n\\n function setTimelock(address _timelock_address) public onlyByOwnGov {\\n require(_timelock_address != address(0), \\\"Zero address detected\\\"); \\n timelock_address = _timelock_address;\\n emit TimelockChanged(_timelock_address);\\n }\\n\\n /* ========== EVENTS ========== */\\n \\n event TokenMinterBurned(address indexed from, address indexed to, uint256 amount);\\n event TokenMinterMinted(address indexed from, address indexed to, uint256 amount);\\n event MinterAdded(address minter_address);\\n event MinterRemoved(address minter_address);\\n event TimelockChanged(address timelock_address);\\n}\"\r\n },\r\n \"src/Utils/Owned.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity ^0.8.0;\\n\\n// https://docs.synthetix.io/contracts/Owned\\n// NO NEED TO AUDIT\\ncontract Owned {\\n address public owner;\\n address public nominatedOwner;\\n\\n constructor (address _owner) {\\n require(_owner != address(0), \\\"Owner address cannot be 0\\\");\\n owner = _owner;\\n emit OwnerChanged(address(0), _owner);\\n }\\n\\n function nominateNewOwner(address _owner) external onlyOwner {\\n nominatedOwner = _owner;\\n emit OwnerNominated(_owner);\\n }\\n\\n function acceptOwnership() external {\\n require(msg.sender == nominatedOwner, \\\"You must be nominated before you can accept ownership\\\");\\n emit OwnerChanged(owner, nominatedOwner);\\n owner = nominatedOwner;\\n nominatedOwner = address(0);\\n }\\n\\n modifier onlyOwner {\\n require(msg.sender == owner, \\\"Only the contract owner may perform this action\\\");\\n _;\\n }\\n\\n event OwnerNominated(address newOwner);\\n event OwnerChanged(address oldOwner, address newOwner);\\n}\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"./extensions/IERC20Metadata.sol\\\";\\nimport \\\"../../utils/Context.sol\\\";\\n\\n/**\\n * @dev Implementation of the {IERC20} interface.\\n *\\n * This implementation is agnostic to the way tokens are created. This means\\n * that a supply mechanism has to be added in a derived contract using {_mint}.\\n * For a generic mechanism see {ERC20PresetMinterPauser}.\\n *\\n * TIP: For a detailed writeup see our guide\\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\\n * to implement supply mechanisms].\\n *\\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\\n * instead returning `false` on failure. This behavior is nonetheless\\n * conventional and does not conflict with the expectations of ERC20\\n * applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\n mapping(address => uint256) private _balances;\\n\\n mapping(address => mapping(address => uint256)) private _allowances;\\n\\n uint256 private _totalSupply;\\n\\n string private _name;\\n string private _symbol;\\n\\n /**\\n * @dev Sets the values for {name} and {symbol}.\\n *\\n * The default value of {decimals} is 18. To select a different value for\\n * {decimals} you should overload it.\\n *\\n * All two of these values are immutable: they can only be set once during\\n * construction.\\n */\\n constructor(string memory name_, string memory symbol_) {\\n _name = name_;\\n _symbol = symbol_;\\n }\\n\\n /**\\n * @dev Returns the name of the token.\\n */\\n function name() public view virtual override returns (string memory) {\\n return _name;\\n }\\n\\n /**\\n * @dev Returns the symbol of the token, usually a shorter version of the\\n * name.\\n */\\n function symbol() public view virtual override returns (string memory) {\\n return _symbol;\\n }\\n\\n /**\\n * @dev Returns the number of decimals used to get its user representation.\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\n * be displayed to a user as `5.05` (`505 / 10 ** 2`).\\n *\\n * Tokens usually opt for a value of 18, imitating the relationship between\\n * Ether and Wei. This is the value {ERC20} uses, unless this function is\\n * overridden;\\n *\\n * NOTE: This information is only used for _display_ purposes: it in\\n * no way affects any of the arithmetic of the contract, including\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\n */\\n function decimals() public view virtual override returns (uint8) {\\n return 18;\\n }\\n\\n /**\\n * @dev See {IERC20-totalSupply}.\\n */\\n function totalSupply() public view virtual override returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @dev See {IERC20-balanceOf}.\\n */\\n function balanceOf(address account) public view virtual override returns (uint256) {\\n return _balances[account];\\n }\\n\\n /**\\n * @dev See {IERC20-transfer}.\\n *\\n * Requirements:\\n *\\n * - `to` cannot be the zero address.\\n * - the caller must have a balance of at least `amount`.\\n */\\n function transfer(address to, uint256 amount) public virtual override returns (bool) {\\n address owner = _msgSender();\\n _transfer(owner, to, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-allowance}.\\n */\\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n return _allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See {IERC20-approve}.\\n *\\n * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on\\n * `transferFrom`. This is semantically equivalent to an infinite approval.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\\n address owner = _msgSender();\\n _approve(owner, spender, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-transferFrom}.\\n *\\n * Emits an {Approval} event indicating the updated allowance. This is not\\n * required by the EIP. See the note at the beginning of {ERC20}.\\n *\\n * NOTE: Does not update the allowance if the current allowance\\n * is the maximum `uint256`.\\n *\\n * Requirements:\\n *\\n * - `from` and `to` cannot be the zero address.\\n * - `from` must have a balance of at least `amount`.\\n * - the caller must have allowance for ``from``'s tokens of at least\\n * `amount`.\\n */\\n function transferFrom(\\n address from,\\n address to,\\n uint256 amount\\n ) public virtual override returns (bool) {\\n address spender = _msgSender();\\n _spendAllowance(from, spender, amount);\\n _transfer(from, to, amount);\\n return true;\\n }\\n\\n /**\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n address owner = _msgSender();\\n _approve(owner, spender, allowance(owner, spender) + addedValue);\\n return true;\\n }\\n\\n /**\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `spender` must have allowance for the caller of at least\\n * `subtractedValue`.\\n */\\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n address owner = _msgSender();\\n uint256 currentAllowance = allowance(owner, spender);\\n require(currentAllowance >= subtractedValue, \\\"ERC20: decreased allowance below zero\\\");\\n unchecked {\\n _approve(owner, spender, currentAllowance - subtractedValue);\\n }\\n\\n return true;\\n }\\n\\n /**\\n * @dev Moves `amount` of tokens from `from` to `to`.\\n *\\n * This internal function is equivalent to {transfer}, and can be used to\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\n *\\n * Emits a {Transfer} event.\\n *\\n * Requirements:\\n *\\n * - `from` cannot be the zero address.\\n * - `to` cannot be the zero address.\\n * - `from` must have a balance of at least `amount`.\\n */\\n function _transfer(\\n address from,\\n address to,\\n uint256 amount\\n ) internal virtual {\\n require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n _beforeTokenTransfer(from, to, amount);\\n\\n uint256 fromBalance = _balances[from];\\n require(fromBalance >= amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n unchecked {\\n _balances[from] = fromBalance - amount;\\n // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\\n // decrementing then incrementing.\\n _balances[to] += amount;\\n }\\n\\n emit Transfer(from, to, amount);\\n\\n _afterTokenTransfer(from, to, amount);\\n }\\n\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n * the total supply.\\n *\\n * Emits a {Transfer} event with `from` set to the zero address.\\n *\\n * Requirements:\\n *\\n * - `account` cannot be the zero address.\\n */\\n function _mint(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n _beforeTokenTransfer(address(0), account, amount);\\n\\n _totalSupply += amount;\\n unchecked {\\n // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\\n _balances[account] += amount;\\n }\\n emit Transfer(address(0), account, amount);\\n\\n _afterTokenTransfer(address(0), account, amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, reducing the\\n * total supply.\\n *\\n * Emits a {Transfer} event with `to` set to the zero address.\\n *\\n * Requirements:\\n *\\n * - `account` cannot be the zero address.\\n * - `account` must have at least `amount` tokens.\\n */\\n function _burn(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n _beforeTokenTransfer(account, address(0), amount);\\n\\n uint256 accountBalance = _balances[account];\\n require(accountBalance >= amount, \\\"ERC20: burn amount exceeds balance\\\");\\n unchecked {\\n _balances[account] = accountBalance - amount;\\n // Overflow not possible: amount <= accountBalance <= totalSupply.\\n _totalSupply -= amount;\\n }\\n\\n emit Transfer(account, address(0), amount);\\n\\n _afterTokenTransfer(account, address(0), amount);\\n }\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\\n *\\n * This internal function is equivalent to `approve`, and can be used to\\n * e.g. set automatic allowances for certain subsystems, etc.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `owner` cannot be the zero address.\\n * - `spender` cannot be the zero address.\\n */\\n function _approve(\\n address owner,\\n address spender,\\n uint256 amount\\n ) internal virtual {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n _allowances[owner][spender] = amount;\\n emit Approval(owner, spender, amount);\\n }\\n\\n /**\\n * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\n *\\n * Does not update the allowance amount in case of infinite allowance.\\n * Revert if not enough allowance is available.\\n *\\n * Might emit an {Approval} event.\\n */\\n function _spendAllowance(\\n address owner,\\n address spender,\\n uint256 amount\\n ) internal virtual {\\n uint256 currentAllowance = allowance(owner, spender);\\n if (currentAllowance != type(uint256).max) {\\n require(currentAllowance >= amount, \\\"ERC20: insufficient allowance\\\");\\n unchecked {\\n _approve(owner, spender, currentAllowance - amount);\\n }\\n }\\n }\\n\\n /**\\n * @dev Hook that is called before any transfer of tokens. This includes\\n * minting and burning.\\n *\\n * Calling conditions:\\n *\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * will be transferred to `to`.\\n * - when `from` is zero, `amount` tokens will be minted for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n * - `from` and `to` are never both zero.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _beforeTokenTransfer(\\n address from,\\n address to,\\n uint256 amount\\n ) internal virtual {}\\n\\n /**\\n * @dev Hook that is called after any transfer of tokens. This includes\\n * minting and burning.\\n *\\n * Calling conditions:\\n *\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * has been transferred to `to`.\\n * - when `from` is zero, `amount` tokens have been minted for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\n * - `from` and `to` are never both zero.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _afterTokenTransfer(\\n address from,\\n address to,\\n uint256 amount\\n ) internal virtual {}\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-ERC20Permit.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./draft-IERC20Permit.sol\\\";\\nimport \\\"../ERC20.sol\\\";\\nimport \\\"../../../utils/cryptography/ECDSA.sol\\\";\\nimport \\\"../../../utils/cryptography/EIP712.sol\\\";\\nimport \\\"../../../utils/Counters.sol\\\";\\n\\n/**\\n * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n *\\n * _Available since v3.4._\\n */\\nabstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {\\n using Counters for Counters.Counter;\\n\\n mapping(address => Counters.Counter) private _nonces;\\n\\n // solhint-disable-next-line var-name-mixedcase\\n bytes32 private constant _PERMIT_TYPEHASH =\\n keccak256(\\\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\\\");\\n /**\\n * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.\\n * However, to ensure consistency with the upgradeable transpiler, we will continue\\n * to reserve a slot.\\n * @custom:oz-renamed-from _PERMIT_TYPEHASH\\n */\\n // solhint-disable-next-line var-name-mixedcase\\n bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;\\n\\n /**\\n * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `\\\"1\\\"`.\\n *\\n * It's a good idea to use the same `name` that is defined as the ERC20 token name.\\n */\\n constructor(string memory name) EIP712(name, \\\"1\\\") {}\\n\\n /**\\n * @dev See {IERC20Permit-permit}.\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) public virtual override {\\n require(block.timestamp <= deadline, \\\"ERC20Permit: expired deadline\\\");\\n\\n bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));\\n\\n bytes32 hash = _hashTypedDataV4(structHash);\\n\\n address signer = ECDSA.recover(hash, v, r, s);\\n require(signer == owner, \\\"ERC20Permit: invalid signature\\\");\\n\\n _approve(owner, spender, value);\\n }\\n\\n /**\\n * @dev See {IERC20Permit-nonces}.\\n */\\n function nonces(address owner) public view virtual override returns (uint256) {\\n return _nonces[owner].current();\\n }\\n\\n /**\\n * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function DOMAIN_SEPARATOR() external view override returns (bytes32) {\\n return _domainSeparatorV4();\\n }\\n\\n /**\\n * @dev \\\"Consume a nonce\\\": return the current value and increment.\\n *\\n * _Available since v4.1._\\n */\\n function _useNonce(address owner) internal virtual returns (uint256 current) {\\n Counters.Counter storage nonce = _nonces[owner];\\n current = nonce.current();\\n nonce.increment();\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC20.sol\\\";\\nimport \\\"../../../utils/Context.sol\\\";\\n\\n/**\\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\\n * tokens and those that they have an allowance for, in a way that can be\\n * recognized off-chain (via event analysis).\\n */\\nabstract contract ERC20Burnable is Context, ERC20 {\\n /**\\n * @dev Destroys `amount` tokens from the caller.\\n *\\n * See {ERC20-_burn}.\\n */\\n function burn(uint256 amount) public virtual {\\n _burn(_msgSender(), amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, deducting from the caller's\\n * allowance.\\n *\\n * See {ERC20-_burn} and {ERC20-allowance}.\\n *\\n * Requirements:\\n *\\n * - the caller must have allowance for ``accounts``'s tokens of at least\\n * `amount`.\\n */\\n function burnFrom(address account, uint256 amount) public virtual {\\n _spendAllowance(account, _msgSender(), amount);\\n _burn(account, amount);\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\n *\\n * _Available since v4.1._\\n */\\ninterface IERC20Metadata is IERC20 {\\n /**\\n * @dev Returns the name of the token.\\n */\\n function name() external view returns (string memory);\\n\\n /**\\n * @dev Returns the symbol of the token.\\n */\\n function symbol() external view returns (string memory);\\n\\n /**\\n * @dev Returns the decimals places of the token.\\n */\\n function decimals() external view returns (uint8);\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/utils/Context.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n /**\\n * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n * given ``owner``'s signed approval.\\n *\\n * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n * ordering also apply here.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `deadline` must be a timestamp in the future.\\n * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n * over the EIP712-formatted function arguments.\\n * - the signature must use ``owner``'s current nonce (see {nonces}).\\n *\\n * For more information on the signature format, see the\\n * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n * section].\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external;\\n\\n /**\\n * @dev Returns the current nonce for `owner`. This value must be\\n * included whenever a signature is generated for {permit}.\\n *\\n * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n * prevents a signature from being used multiple times.\\n */\\n function nonces(address owner) external view returns (uint256);\\n\\n /**\\n * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Strings.sol\\\";\\n\\n/**\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\n *\\n * These functions can be used to verify that a message was signed by the holder\\n * of the private keys of a given address.\\n */\\nlibrary ECDSA {\\n enum RecoverError {\\n NoError,\\n InvalidSignature,\\n InvalidSignatureLength,\\n InvalidSignatureS,\\n InvalidSignatureV // Deprecated in v4.8\\n }\\n\\n function _throwError(RecoverError error) private pure {\\n if (error == RecoverError.NoError) {\\n return; // no error: do nothing\\n } else if (error == RecoverError.InvalidSignature) {\\n revert(\\\"ECDSA: invalid signature\\\");\\n } else if (error == RecoverError.InvalidSignatureLength) {\\n revert(\\\"ECDSA: invalid signature length\\\");\\n } else if (error == RecoverError.InvalidSignatureS) {\\n revert(\\\"ECDSA: invalid signature 's' value\\\");\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature` or error string. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n *\\n * Documentation for signature generation:\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\n if (signature.length == 65) {\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n /// @solidity memory-safe-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n return tryRecover(hash, v, r, s);\\n } else {\\n return (address(0), RecoverError.InvalidSignatureLength);\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature`. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\n *\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(\\n bytes32 hash,\\n bytes32 r,\\n bytes32 vs\\n ) internal pure returns (address, RecoverError) {\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\n return tryRecover(hash, v, r, s);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\n *\\n * _Available since v4.2._\\n */\\n function recover(\\n bytes32 hash,\\n bytes32 r,\\n bytes32 vs\\n ) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(\\n bytes32 hash,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address, RecoverError) {\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\n return (address(0), RecoverError.InvalidSignatureS);\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n address signer = ecrecover(hash, v, r, s);\\n if (signer == address(0)) {\\n return (address(0), RecoverError.InvalidSignature);\\n }\\n\\n return (signer, RecoverError.NoError);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n */\\n function recover(\\n bytes32 hash,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\n // 32 is the length in bytes of hash,\\n // enforced by the type signature above\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n32\\\", hash));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n\\\", Strings.toString(s.length), s));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\n * to the one signed with the\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\n * JSON-RPC method as part of EIP-712.\\n *\\n * See {recover}.\\n */\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19\\\\x01\\\", domainSeparator, structHash));\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./ECDSA.sol\\\";\\n\\n/**\\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.\\n *\\n * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,\\n * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding\\n * they need in their contracts using a combination of `abi.encode` and `keccak256`.\\n *\\n * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\\n * ({_hashTypedDataV4}).\\n *\\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\\n * the chain id to protect against replay attacks on an eventual fork of the chain.\\n *\\n * NOTE: This contract implements the version of the encoding known as \\\"v4\\\", as implemented by the JSON RPC method\\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\\n *\\n * _Available since v3.4._\\n */\\nabstract contract EIP712 {\\n /* solhint-disable var-name-mixedcase */\\n // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\\n // invalidate the cached domain separator if the chain id changes.\\n bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;\\n uint256 private immutable _CACHED_CHAIN_ID;\\n address private immutable _CACHED_THIS;\\n\\n bytes32 private immutable _HASHED_NAME;\\n bytes32 private immutable _HASHED_VERSION;\\n bytes32 private immutable _TYPE_HASH;\\n\\n /* solhint-enable var-name-mixedcase */\\n\\n /**\\n * @dev Initializes the domain separator and parameter caches.\\n *\\n * The meaning of `name` and `version` is specified in\\n * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:\\n *\\n * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\\n * - `version`: the current major version of the signing domain.\\n *\\n * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\\n * contract upgrade].\\n */\\n constructor(string memory name, string memory version) {\\n bytes32 hashedName = keccak256(bytes(name));\\n bytes32 hashedVersion = keccak256(bytes(version));\\n bytes32 typeHash = keccak256(\\n \\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\"\\n );\\n _HASHED_NAME = hashedName;\\n _HASHED_VERSION = hashedVersion;\\n _CACHED_CHAIN_ID = block.chainid;\\n _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);\\n _CACHED_THIS = address(this);\\n _TYPE_HASH = typeHash;\\n }\\n\\n /**\\n * @dev Returns the domain separator for the current chain.\\n */\\n function _domainSeparatorV4() internal view returns (bytes32) {\\n if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {\\n return _CACHED_DOMAIN_SEPARATOR;\\n } else {\\n return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);\\n }\\n }\\n\\n function _buildDomainSeparator(\\n bytes32 typeHash,\\n bytes32 nameHash,\\n bytes32 versionHash\\n ) private view returns (bytes32) {\\n return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));\\n }\\n\\n /**\\n * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\\n * function returns the hash of the fully encoded EIP712 message for this domain.\\n *\\n * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\\n *\\n * ```solidity\\n * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\\n * keccak256(\\\"Mail(address to,string contents)\\\"),\\n * mailTo,\\n * keccak256(bytes(mailContents))\\n * )));\\n * address signer = ECDSA.recover(digest, signature);\\n * ```\\n */\\n function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\\n return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/utils/Counters.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title Counters\\n * @author Matt Condon (@shrugs)\\n * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number\\n * of elements in a mapping, issuing ERC721 ids, or counting request ids.\\n *\\n * Include with `using Counters for Counters.Counter;`\\n */\\nlibrary Counters {\\n struct Counter {\\n // This variable should never be directly accessed by users of the library: interactions must be restricted to\\n // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add\\n // this feature: see https://github.com/ethereum/solidity/issues/4637\\n uint256 _value; // default: 0\\n }\\n\\n function current(Counter storage counter) internal view returns (uint256) {\\n return counter._value;\\n }\\n\\n function increment(Counter storage counter) internal {\\n unchecked {\\n counter._value += 1;\\n }\\n }\\n\\n function decrement(Counter storage counter) internal {\\n uint256 value = counter._value;\\n require(value > 0, \\\"Counter: decrement overflow\\\");\\n unchecked {\\n counter._value = value - 1;\\n }\\n }\\n\\n function reset(Counter storage counter) internal {\\n counter._value = 0;\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/utils/Strings.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./math/Math.sol\\\";\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant _SYMBOLS = \\\"0123456789abcdef\\\";\\n uint8 private constant _ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\n */\\n function toString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n uint256 length = Math.log10(value) + 1;\\n string memory buffer = new string(length);\\n uint256 ptr;\\n /// @solidity memory-safe-assembly\\n assembly {\\n ptr := add(buffer, add(32, length))\\n }\\n while (true) {\\n ptr--;\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore8(ptr, byte(mod(value, 10), _SYMBOLS))\\n }\\n value /= 10;\\n if (value == 0) break;\\n }\\n return buffer;\\n }\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\n */\\n function toHexString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n return toHexString(value, Math.log256(value) + 1);\\n }\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\n */\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\n bytes memory buffer = new bytes(2 * length + 2);\\n buffer[0] = \\\"0\\\";\\n buffer[1] = \\\"x\\\";\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\n buffer[i] = _SYMBOLS[value & 0xf];\\n value >>= 4;\\n }\\n require(value == 0, \\\"Strings: hex length insufficient\\\");\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\n }\\n}\\n\"\r\n },\r\n \"lib/openzeppelin-contracts/contracts/utils/math/Math.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Standard math utilities missing in the Solidity language.\\n */\\nlibrary Math {\\n enum Rounding {\\n Down, // Toward negative infinity\\n Up, // Toward infinity\\n Zero // Toward zero\\n }\\n\\n /**\\n * @dev Returns the largest of two numbers.\\n */\\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two numbers.\\n */\\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two numbers. The result is rounded towards\\n * zero.\\n */\\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b) / 2 can overflow.\\n return (a & b) + (a ^ b) / 2;\\n }\\n\\n /**\\n * @dev Returns the ceiling of the division of two numbers.\\n *\\n * This differs from standard division with `/` in that it rounds up instead\\n * of rounding down.\\n */\\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b - 1) / b can overflow on addition, so we distribute.\\n return a == 0 ? 0 : (a - 1) / b + 1;\\n }\\n\\n /**\\n * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\\n * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\\n * with further edits by Uniswap Labs also under MIT license.\\n */\\n function mulDiv(\\n uint256 x,\\n uint256 y,\\n uint256 denominator\\n ) internal pure returns (uint256 result) {\\n unchecked {\\n // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\\n // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\\n // variables such that product = prod1 * 2^256 + prod0.\\n uint256 prod0; // Least significant 256 bits of the product\\n uint256 prod1; // Most significant 256 bits of the product\\n assembly {\\n let mm := mulmod(x, y, not(0))\\n prod0 := mul(x, y)\\n prod1 := sub(sub(mm, prod0), lt(mm, prod0))\\n }\\n\\n // Handle non-overflow cases, 256 by 256 division.\\n if (prod1 == 0) {\\n return prod0 / denominator;\\n }\\n\\n // Make sure the result is less than 2^256. Also prevents denominator == 0.\\n require(denominator > prod1);\\n\\n ///////////////////////////////////////////////\\n // 512 by 256 division.\\n ///////////////////////////////////////////////\\n\\n // Make division exact by subtracting the remainder from [prod1 prod0].\\n uint256 remainder;\\n assembly {\\n // Compute remainder using mulmod.\\n remainder := mulmod(x, y, denominator)\\n\\n // Subtract 256 bit number from 512 bit number.\\n prod1 := sub(prod1, gt(remainder, prod0))\\n prod0 := sub(prod0, remainder)\\n }\\n\\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.\\n // See https://cs.stackexchange.com/q/138556/92363.\\n\\n // Does not overflow because the denominator cannot be zero at this stage in the function.\\n uint256 twos = denominator & (~denominator + 1);\\n assembly {\\n // Divide denominator by twos.\\n denominator := div(denominator, twos)\\n\\n // Divide [prod1 prod0] by twos.\\n prod0 := div(prod0, twos)\\n\\n // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\\n twos := add(div(sub(0, twos), twos), 1)\\n }\\n\\n // Shift in bits from prod1 into prod0.\\n prod0 |= prod1 * twos;\\n\\n // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\\n // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\\n // four bits. That is, denominator * inv = 1 mod 2^4.\\n uint256 inverse = (3 * denominator) ^ 2;\\n\\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works\\n // in modular arithmetic, doubling the correct bits in each step.\\n inverse *= 2 - denominator * inverse; // inverse mod 2^8\\n inverse *= 2 - denominator * inverse; // inverse mod 2^16\\n inverse *= 2 - denominator * inverse; // inverse mod 2^32\\n inverse *= 2 - denominator * inverse; // inverse mod 2^64\\n inverse *= 2 - denominator * inverse; // inverse mod 2^128\\n inverse *= 2 - denominator * inverse; // inverse mod 2^256\\n\\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\\n // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\\n // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\\n // is no longer required.\\n result = prod0 * inverse;\\n return result;\\n }\\n }\\n\\n /**\\n * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\\n */\\n function mulDiv(\\n uint256 x,\\n uint256 y,\\n uint256 denominator,\\n Rounding rounding\\n ) internal pure returns (uint256) {\\n uint256 result = mulDiv(x, y, denominator);\\n if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\\n result += 1;\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\\n *\\n * Inspired by Henry S. Warren, Jr.'s \\\"Hacker's Delight\\\" (Chapter 11).\\n */\\n function sqrt(uint256 a) internal pure returns (uint256) {\\n if (a == 0) {\\n return 0;\\n }\\n\\n // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\\n //\\n // We know that the \\\"msb\\\" (most significant bit) of our target number `a` is a power of 2 such that we have\\n // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\\n //\\n // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\\n // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\\n // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\\n //\\n // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\\n uint256 result = 1 << (log2(a) >> 1);\\n\\n // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\\n // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\\n // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\\n // into the expected uint128 result.\\n unchecked {\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n return min(result, a / result);\\n }\\n }\\n\\n /**\\n * @notice Calculates sqrt(a), following the selected rounding direction.\\n */\\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = sqrt(a);\\n return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 2, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 128;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 64;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 32;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 16;\\n }\\n if (value >> 8 > 0) {\\n value >>= 8;\\n result += 8;\\n }\\n if (value >> 4 > 0) {\\n value >>= 4;\\n result += 4;\\n }\\n if (value >> 2 > 0) {\\n value >>= 2;\\n result += 2;\\n }\\n if (value >> 1 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log2(value);\\n return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 10, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >= 10**64) {\\n value /= 10**64;\\n result += 64;\\n }\\n if (value >= 10**32) {\\n value /= 10**32;\\n result += 32;\\n }\\n if (value >= 10**16) {\\n value /= 10**16;\\n result += 16;\\n }\\n if (value >= 10**8) {\\n value /= 10**8;\\n result += 8;\\n }\\n if (value >= 10**4) {\\n value /= 10**4;\\n result += 4;\\n }\\n if (value >= 10**2) {\\n value /= 10**2;\\n result += 2;\\n }\\n if (value >= 10**1) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log10(value);\\n return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 256, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n *\\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\\n */\\n function log256(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 16;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 8;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 4;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 2;\\n }\\n if (value >> 8 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log256(value);\\n return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);\\n }\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"remappings\": [\r\n \"ERC4626/=lib/ERC4626/src/\",\r\n \"ds-test/=lib/solmate/lib/ds-test/src/\",\r\n \"forge-std/=lib/forge-std/src/\",\r\n \"openzeppelin-contracts/=lib/openzeppelin-contracts/\",\r\n \"solmate/=lib/solmate/src/\"\r\n ],\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 200\r\n },\r\n \"metadata\": {\r\n \"bytecodeHash\": \"ipfs\"\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"evmVersion\": \"london\",\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"depositContractAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"frxETHAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sfrxETHAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_timelock_address\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_withdrawalCredential\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"new_status\",\"type\":\"bool\"}],\"name\":\"DepositEtherPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"withdrawalCredential\",\"type\":\"bytes\"}],\"name\":\"DepositSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sent_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withheld_amt\",\"type\":\"uint256\"}],\"name\":\"ETHSubmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"EmergencyERC20Recovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EmergencyEtherRecovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"KeysCleared\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"new_status\",\"type\":\"bool\"}],\"name\":\"SubmitPaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"timelock_address\",\"type\":\"address\"}],\"name\":\"TimelockChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"withdrawalCredential\",\"type\":\"bytes\"}],\"name\":\"ValidatorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"ValidatorArrayCleared\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remove_idx\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"dont_care_about_ordering\",\"type\":\"bool\"}],\"name\":\"ValidatorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"times\",\"type\":\"uint256\"}],\"name\":\"ValidatorsPopped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"from_pubKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"to_pubKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"from_idx\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"to_idx\",\"type\":\"uint256\"}],\"name\":\"ValidatorsSwapped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_withdrawalCredential\",\"type\":\"bytes\"}],\"name\":\"WithdrawalCredentialSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithheldETHMoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newRatio\",\"type\":\"uint256\"}],\"name\":\"WithholdRatioSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEPOSIT_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RATIO_PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"activeValidators\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"depositDataRoot\",\"type\":\"bytes32\"}],\"internalType\":\"struct OperatorRegistry.Validator\",\"name\":\"validator\",\"type\":\"tuple\"}],\"name\":\"addValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"depositDataRoot\",\"type\":\"bytes32\"}],\"internalType\":\"struct OperatorRegistry.Validator[]\",\"name\":\"validatorArray\",\"type\":\"tuple[]\"}],\"name\":\"addValidators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"clearValidatorArray\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentWithheldETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositContract\",\"outputs\":[{\"internalType\":\"contract IDepositContract\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"max_deposits\",\"type\":\"uint256\"}],\"name\":\"depositEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEtherPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"frxETHToken\",\"outputs\":[{\"internalType\":\"contract frxETH\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"getValidator\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"withdrawalCredentials\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"depositDataRoot\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"depositDataRoot\",\"type\":\"bytes32\"}],\"name\":\"getValidatorStruct\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"depositDataRoot\",\"type\":\"bytes32\"}],\"internalType\":\"struct OperatorRegistry.Validator\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"moveWithheldETH\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"nominateNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nominatedOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"numValidators\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"times\",\"type\":\"uint256\"}],\"name\":\"popValidators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"recoverERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"recoverEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"remove_idx\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"dont_care_about_ordering\",\"type\":\"bool\"}],\"name\":\"removeValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_timelock_address\",\"type\":\"address\"}],\"name\":\"setTimelock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_new_withdrawal_pubkey\",\"type\":\"bytes\"}],\"name\":\"setWithdrawalCredential\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newRatio\",\"type\":\"uint256\"}],\"name\":\"setWithholdRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sfrxETHToken\",\"outputs\":[{\"internalType\":\"contract IsfrxETH\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"submitAndDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"submitAndGive\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submitPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"from_idx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to_idx\",\"type\":\"uint256\"}],\"name\":\"swapValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timelock_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"togglePauseDepositEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"togglePauseSubmits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withholdRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"frxETHMinter","CompilerVersion":"v0.8.16+commit.07a7930e","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"","SimilarMatch":"0x2dd1b4d4548accea497050619965f91f78b3b532"}]} \ No newline at end of file diff --git a/tests/cachedrpc/29b9f6303d92e0c3280960c8faf076642454bce9094939c8616d7226784ed83e b/tests/cachedrpc/29b9f6303d92e0c3280960c8faf076642454bce9094939c8616d7226784ed83e new file mode 100644 index 00000000..cf80a430 --- /dev/null +++ b/tests/cachedrpc/29b9f6303d92e0c3280960c8faf076642454bce9094939c8616d7226784ed83e @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x4a220e6096b25eadb88358cb44068a3248254675","contractCreator":"0xf5e38bbedc78efea055e0c56035adb320e64c4bc","txHash":"0xae16f475aa5968cd36a491f1c22afa095bd3fe527074df382eb373b2853c337c","blockNumber":"5392950","timestamp":"1523044361","contractFactory":"","creationBytecode":"0x60606040526a259c03024205ba6ae00000600155341561001e57600080fd5b6040516020806114ea83398101604052808051906020019091905050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561007657600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050611423806100c76000396000f3006060604052600436106100d0576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146100d5578063095ea7b31461016357806318160ddd146101bd57806323b872dd146101e6578063313ce5671461025f57806340c10f191461028e578063414d784e146102d057806366188463146102f957806370a082311461035357806395d89b41146103a05780639c1e03a01461042e578063a9059cbb14610483578063d73dd623146104dd578063dd62ed3e14610537575b600080fd5b34156100e057600080fd5b6100e86105a3565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561012857808201518184015260208101905061010d565b50505050905090810190601f1680156101555780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016e57600080fd5b6101a3600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506105dc565b604051808215151515815260200191505060405180910390f35b34156101c857600080fd5b6101d06106ce565b6040518082815260200191505060405180910390f35b34156101f157600080fd5b610245600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506106d8565b604051808215151515815260200191505060405180910390f35b341561026a57600080fd5b610272610a92565b604051808260ff1660ff16815260200191505060405180910390f35b341561029957600080fd5b6102ce600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610a97565b005b34156102db57600080fd5b6102e3610bda565b6040518082815260200191505060405180910390f35b341561030457600080fd5b610339600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610be6565b604051808215151515815260200191505060405180910390f35b341561035e57600080fd5b61038a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610e77565b6040518082815260200191505060405180910390f35b34156103ab57600080fd5b6103b3610ebf565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103f35780820151818401526020810190506103d8565b50505050905090810190601f1680156104205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561043957600080fd5b610441610ef8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561048e57600080fd5b6104c3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610f1e565b604051808215151515815260200191505060405180910390f35b34156104e857600080fd5b61051d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061113d565b604051808215151515815260200191505060405180910390f35b341561054257600080fd5b61058d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611339565b6040518082815260200191505060405180910390f35b6040805190810160405280600581526020017f5175616e7400000000000000000000000000000000000000000000000000000081525081565b600081600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600154905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415151561071557600080fd5b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561076257600080fd5b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482111515156107ed57600080fd5b61083e826000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113c090919063ffffffff16565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506108d1826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113d990919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109a282600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113c090919063ffffffff16565b600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b601281565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610af357600080fd5b610b44816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113d990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff1660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b670de0b6b3a764000081565b600080600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115610cf7576000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d8b565b610d0a83826113c090919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6040805190810160405280600381526020017f514e54000000000000000000000000000000000000000000000000000000000081525081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610f5b57600080fd5b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515610fa857600080fd5b610ff9826000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113c090919063ffffffff16565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061108c826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113d990919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b60006111ce82600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113d990919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008282111515156113ce57fe5b818303905092915050565b60008082840190508381101515156113ed57fe5b80915050929150505600a165627a7a723058204bce3a4b997483544b2195001c91d3290db7fa036a3de40d15ccfd8aa892139d0029000000000000000000000000398e41ac3d5972b4bac2320cd130c7a25ca446f7"}]} \ No newline at end of file diff --git a/tests/cachedrpc/29e108c3a89c803e8885b95e5b0a542722ecb30541c69bf638558459a5f3937b b/tests/cachedrpc/29e108c3a89c803e8885b95e5b0a542722ecb30541c69bf638558459a5f3937b new file mode 100644 index 00000000..c01485f7 --- /dev/null +++ b/tests/cachedrpc/29e108c3a89c803e8885b95e5b0a542722ecb30541c69bf638558459a5f3937b @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xfd14567eaf9ba941cb8c8a94eec14831ca7fd1b4","contractCreator":"0x5751a83170bea11fe7cda5d599b04153c021f21a","txHash":"0xd3d71400665995ca9c59bcebe68d2d43fd5c2199b1379a534ac72678a20dc613","blockNumber":"16428703","timestamp":"1673984795","contractFactory":"","creationBytecode":"0x60806040526001805460ff1916905534801561001a57600080fd5b50610a138061002a6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063405a6362146100515780635578ceae146100eb5780636a938567146101a0578063d6354e15146101d1575b600080fd5b6100cd6004803603608081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460208302840111640100000000831117156100b657600080fd5b9193509150803590602081013590604001356101d9565b60408051938452602084019290925282820152519081900360600190f35b6100cd600480360360a081101561010157600080fd5b8135919081019060408101602082013564010000000081111561012357600080fd5b82018360208201111561013557600080fd5b8035906020019184602083028401116401000000008311171561015757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505082359350505060208101359060400135610422565b6101bd600480360360208110156101b657600080fd5b5035610821565b604080519115158252519081900360200190f35b6101bd610832565b6000808062100000871061024e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f546f6f206d616e79206d656d6f72792076616c7565732e000000000000000000604482015290519081900360640190fd5b60028706156102a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806109856021913960400191505060405180910390fd5b83861061031657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e76616c69642076616c7565206f66207a2e00000000000000000000000000604482015290519081900360640190fd5b83851061038457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f496e76616c69642076616c7565206f6620616c7068612e000000000000000000604482015290519081900360640190fd5b6103c58888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508a925089915088905061083b565b6040805184815260208101849052808201839052905193965091945092507f98fd0d40bd3e226c28fb29ff2d386bd8f9e19f2f8436441e6b854651d3b687b3919081900360600190a1610417836108ff565b955095509592505050565b60008060006210000087511061049957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f546f6f206d616e79206d656d6f72792076616c7565732e000000000000000000604482015290519081900360640190fd5b7f40000000000000000000000000000000000000000000000000000000000000008410610511576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806109a66038913960400191505060405180910390fd5b83861061057f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e76616c69642076616c7565206f66207a2e00000000000000000000000000604482015290519081900360640190fd5b8385106105ed57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f496e76616c69642076616c7565206f6620616c7068612e000000000000000000604482015290519081900360640190fd5b838810801561060457506801000000000000000088105b61066f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f496e76616c69642076616c7565206f66207374617274416464722e0000000000604482015290519081900360640190fd5b5085516001906020880187860386900660078b018b84015b8082101561072f578889848b8d602089015109600686030101858c8e89510960078703010109870995508889848b8d606089015109600486030101858c8e60408a01510960058703010109870995508889848b8d60a089015109600286030101858c8e60808a01510960038703010109870995508889848b8d60e089015109850101858c8e60c08a015109600187030101098709955061010084019350600882019150610687565b6007820391505b808210156107635788898b8651098308925088838a038c0187099550602084019350600182019150610736565b50505060208083028a820120604080516001818501528082018a905260608101869052608081018c905260a081018b905260c0810187905260e081018390526101008082018f905282518083039091018152610120820180845281519190950120938490526101408101839052610160810187905290519297509095507fb8b9c39aeba1cfd98c38dfeebe11c2f7e02b334cbe9f05f22b442a5d9c1ea0c592508190036101800190a1610815846108ff565b50955095509592505050565b600061082c8261096f565b92915050565b60015460ff1690565b600080600080600288518161084c57fe5b0490506001915060208801604082028101815b818110156108865787888a60208401510982510888818a038c01870995505060400161085f565b5050816040028120935050600085828989868860006040516020018089815260200188815260200187815260200186815260200185815260200184815260200183815260200182815260200198505050505050505050604051602081830303815290604052805190602001209350509450945094915050565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091555460ff1661096c57600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016811790555b50565b60009081526020819052604090205460ff169056fe53697a65206f66206d656d6f72795061697273206d757374206265206576656e2e7072696d6520697320746f6f2062696720666f7220746865206f7074696d697a6174696f6e7320696e20746869732066756e6374696f6e2ea264697066735822122061ff6ed408d62c2309dc9363499b79569e9671cb34008f6f3acec159a41f379f64736f6c634300060c0033"}]} \ No newline at end of file diff --git a/tests/cachedrpc/2ada0d62219d5d0d95c885d13925daac8f83ade57f4dee17599854b33df7506d b/tests/cachedrpc/2ada0d62219d5d0d95c885d13925daac8f83ade57f4dee17599854b33df7506d new file mode 100644 index 00000000..6fc61a06 --- /dev/null +++ b/tests/cachedrpc/2ada0d62219d5d0d95c885d13925daac8f83ade57f4dee17599854b33df7506d @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x881d40237659c251811cec9c364ef91dc08d300c","contractCreator":"0x7f18bb4dd92cf2404c54cba1a9be4a1153bdb078","txHash":"0xb61e1747cb5b2b9ff4a5dd18e625c1b5547a655d4d5136505e7cabd5e5299e93","blockNumber":"11041725","timestamp":"1602518535","contractFactory":"","creationBytecode":"0x60c06040523480156200001157600080fd5b506040516200268038038062002680833981810160405260208110156200003757600080fd5b5051600062000045620000f5565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055600180556001600160601b0319606082901b16608052604051620000c090620000f9565b604051809103906000f080158015620000dd573d6000803e3d6000fd5b5060601b6001600160601b03191660a0525062000107565b3390565b6104c080620021c083390190565b60805160601c60a05160601c6120806200014060003980611468528061179d528061184052508061108e528061144452506120806000f3fe6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063b84f5d1e11610059578063b84f5d1e14610595578063c92aecc414610703578063e8edc81614610718578063f2fde38b1461072d576100dd565b80638da5cb5b1461048f5780639804a380146104cd578063b5268389146104e2576100dd565b80635c975abb116100bb5780635c975abb146102895780635f575529146102b25780636b68764c14610396578063715018a61461047a576100dd565b80633ef11fd7146100e2578063459a39fb14610161578063558b7dd114610274575b600080fd5b3480156100ee57600080fd5b5061015f6004803603602081101561010557600080fd5b81019060208101813564010000000081111561012057600080fd5b82018360208201111561013257600080fd5b8035906020019184600183028401116401000000008311171561015457600080fd5b50909250905061076d565b005b34801561016d57600080fd5b5061015f6004803603608081101561018457600080fd5b81019060208101813564010000000081111561019f57600080fd5b8201836020820111156101b157600080fd5b803590602001918460018302840111640100000000831117156101d357600080fd5b9193909273ffffffffffffffffffffffffffffffffffffffff833516927fffffffff0000000000000000000000000000000000000000000000000000000060208201351692919060608101906040013564010000000081111561023557600080fd5b82018360208201111561024757600080fd5b8035906020019184600183028401116401000000008311171561026957600080fd5b5090925090506109bf565b34801561028057600080fd5b5061015f610d91565b34801561029557600080fd5b5061029e610e2c565b604080519115158252519081900360200190f35b61015f600480360360808110156102c857600080fd5b8101906020810181356401000000008111156102e357600080fd5b8201836020820111156102f557600080fd5b8035906020019184600183028401116401000000008311171561031757600080fd5b9193909273ffffffffffffffffffffffffffffffffffffffff83351692602081013592919060608101906040013564010000000081111561035757600080fd5b82018360208201111561036957600080fd5b8035906020019184600183028401116401000000008311171561038b57600080fd5b509092509050610e4d565b61015f600480360360808110156103ac57600080fd5b8101906020810181356401000000008111156103c757600080fd5b8201836020820111156103d957600080fd5b803590602001918460018302840111640100000000831117156103fb57600080fd5b9193909273ffffffffffffffffffffffffffffffffffffffff83351692602081013592919060608101906040013564010000000081111561043b57600080fd5b82018360208201111561044d57600080fd5b8035906020019184600183028401116401000000008311171561046f57600080fd5b509092509050610f68565b34801561048657600080fd5b5061015f611166565b34801561049b57600080fd5b506104a4611266565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156104d957600080fd5b5061015f611282565b3480156104ee57600080fd5b5061029e6004803603602081101561050557600080fd5b81019060208101813564010000000081111561052057600080fd5b82018360208201111561053257600080fd5b8035906020019184600183028401116401000000008311171561055457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061131b945050505050565b3480156105a157600080fd5b50610648600480360360208110156105b857600080fd5b8101906020810181356401000000008111156105d357600080fd5b8201836020820111156105e557600080fd5b8035906020019184600183028401116401000000008311171561060757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061133b945050505050565b604051808473ffffffffffffffffffffffffffffffffffffffff168152602001837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106c65781810151838201526020016106ae565b50505050905090810190601f1680156106f35780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b34801561070f57600080fd5b506104a4611442565b34801561072457600080fd5b506104a4611466565b34801561073957600080fd5b5061015f6004803603602081101561075057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661148a565b610775611614565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146107fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff166002838360405180838380828437919091019485525050604051928390036020019092205473ffffffffffffffffffffffffffffffffffffffff16929092141591506108c5905057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f414441505445525f444f45535f4e4f545f455849535400000000000000000000604482015290519081900360640190fd5b60028282604051808383808284379190910194855250506040519283900360200190922080547fffffffffffffffff0000000000000000000000000000000000000000000000001681559150600090506109226001830182611f02565b50506001600383836040518083838082843791909101948552505060405192839003602001832080549415157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090951694909417909355508391508290808383808284376040519201829003822094507fb00061f7cc154fc23eb34671ab724fc7eb7b806abae871abae8f1eafce97213593506000925050a25050565b6109c7611614565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610a5057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a6f8473ffffffffffffffffffffffffffffffffffffffff16611618565b610ada57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f414441505445525f49535f4e4f545f415f434f4e545241435400000000000000604482015290519081900360640190fd5b6003868660405180838380828437919091019485525050604051928390036020019092205460ff16159150610b72905057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f414441505445525f52454d4f5645440000000000000000000000000000000000604482015290519081900360640190fd5b6000600287876040518083838082843791909101948552505060405192839003602001909220805490935073ffffffffffffffffffffffffffffffffffffffff16159150610c23905057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f414441505445525f455849535453000000000000000000000000000000000000604482015290519081900360640190fd5b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616177fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000060e086901c02178155610cae600182018484611f49565b508473ffffffffffffffffffffffffffffffffffffffff16878760405180838380828437604080519190930181900381207fffffffff000000000000000000000000000000000000000000000000000000008c168252602082018481529382018a905295507f779d768d36d59231b0853572f8ee1997a2a762b871abf2c81f18f4bf2af3c72694508a9350899289925060608201848480828437600083820152604051601f9091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016909201829003965090945050505050a350505050505050565b610d99611614565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610e2257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610e2a61161e565b565b60005474010000000000000000000000000000000000000000900460ff1690565b60005474010000000000000000000000000000000000000000900460ff1615610ed757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b60026001541415610f4957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155610f5c86868686868661173a565b50506001805550505050565b60005474010000000000000000000000000000000000000000900460ff1615610ff257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6002600154141561106457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015560005a905061107c87878787878761173a565b6000601036025a8361520801030190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663079d229f3361a3db8461374a01816110d857fe5b046040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561112c57600080fd5b505af1158015611140573d6000803e3d6000fd5b505050506040513d602081101561115657600080fd5b5050600180555050505050505050565b61116e611614565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146111f757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b61128a611614565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461131357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610e2a611a8f565b805160208183018101805160038252928201919093012091525460ff1681565b80516020818301810180516002808352938301948301949094209390528254600180850180546040805161010094831615949094027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190911695909504601f810185900485028301850190955284825273ffffffffffffffffffffffffffffffffffffffff8316957401000000000000000000000000000000000000000090930460e01b949293919290918301828280156114385780601f1061140d57610100808354040283529160200191611438565b820191906000526020600020905b81548152906001019060200180831161141b57829003601f168201915b5050505050905083565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b611492611614565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461151b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611587576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611ffb6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b3b151590565b60005474010000000000000000000000000000000000000000900460ff16156116a857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611710611614565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b60006002878760405180838380828437919091019485525050604051928390036020019092209250505073ffffffffffffffffffffffffffffffffffffffff8516156117c2576117c273ffffffffffffffffffffffffffffffffffffffff8616337f000000000000000000000000000000000000000000000000000000000000000087611b69565b805460408051336020808301919091528251808303820181528284019093527fffffffff0000000000000000000000000000000000000000000000000000000074010000000000000000000000000000000000000000850460e01b90811660608401908152845173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081169763e35473359734979190921695919360018b01938d938d9360640191908701908083835b602083106118c357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611886565b6001836020036101000a0380198251168184511680821785525050505050509050018480546001816001161561010002031660029004801561193c5780601f1061191a57610100808354040283529182019161193c565b820191906000526020600020905b815481529060010190602001808311611928575b505083838082843780830192505050955050505050506040516020818303038152906040526040518463ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156119c95781810151838201526020016119b1565b50505050905090810190601f1680156119f65780820380516001836020036101000a031916815260200191505b5093505050506000604051808303818588803b158015611a1557600080fd5b505af1158015611a29573d6000803e3d6000fd5b50505050503373ffffffffffffffffffffffffffffffffffffffff168787604051808383808284376040519201829003822094507fbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d93506000925050a350505050505050565b60005474010000000000000000000000000000000000000000900460ff16611b1857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611710611614565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611bfe908590611c04565b50505050565b6060611c66826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ce19092919063ffffffff16565b805190915015611cdc57808060200190516020811015611c8557600080fd5b5051611cdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612021602a913960400191505060405180910390fd5b505050565b6060611cf08484600085611cf8565b949350505050565b6060611d0385611618565b611d6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310611dd857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611d9b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e3a576040519150601f19603f3d011682016040523d82523d6000602084013e611e3f565b606091505b50915091508115611e53579150611cf09050565b805115611e635780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ec7578181015183820152602001611eaf565b50505050905090810190601f168015611ef45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50805460018160011615610100020316600290046000825580601f10611f285750611f46565b601f016020900490600052602060002090810190611f469190611fe5565b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611fa8578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555611fd5565b82800160010185558215611fd5579182015b82811115611fd5578235825591602001919060010190611fba565b50611fe1929150611fe5565b5090565b5b80821115611fe15760008155600101611fe656fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212204c84e3d1a47f4d4e4a44e54ba6a342bb93298db951016cc23468022fbeb4941764736f6c634300060c003360a060405234801561001057600080fd5b5033606081901b60805261048b6100356000398060f85280610132525061048b6000f3fe6080604052600436106100295760003560e01c80634776e4731461002b578063e354733514610069575b005b34801561003757600080fd5b506100406100f6565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100296004803603604081101561007f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691908101906040810160208201356401000000008111156100b757600080fd5b8201836020820111156100c957600080fd5b803590602001918460018302840111640100000000831117156100eb57600080fd5b50909250905061011a565b7f000000000000000000000000000000000000000000000000000000000000000081565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146101be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff831661024057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f414441505445525f4e4f545f50524f5649444544000000000000000000000000604482015290519081900360640190fd5b6102b58383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060408051808201909152601b81527f414441505445525f44454c454741544543414c4c5f4641494c45440000000000602082015291506102bb9050565b50505050565b6060600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b6020831061032657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016102e9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610386576040519150601f19603f3d011682016040523d82523d6000602084013e61038b565b606091505b5091509150811561039f57915061044e9050565b8051156103af5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156104135781810151838201526020016103fb565b50505050905090810190601f1680156104405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fea2646970667358221220fcb8f4f30203340a84fb3281a8f6f11931d3bba7bfc927a40ff42c9624d5f0ba64736f6c634300060c00330000000000000000000000000000000000004946c0e9f43f4dee607b0ef1fa1c"}]} \ No newline at end of file diff --git a/tests/cachedrpc/2ee08e12e252ca87df86195ba49fe582b705876b9768da31f6fa21da58d8435b b/tests/cachedrpc/2ee08e12e252ca87df86195ba49fe582b705876b9768da31f6fa21da58d8435b new file mode 100644 index 00000000..8a02b484 --- /dev/null +++ b/tests/cachedrpc/2ee08e12e252ca87df86195ba49fe582b705876b9768da31f6fa21da58d8435b @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol\r\n\r\npragma solidity >=0.5.0;\r\n\r\ninterface IUniswapV2Factory {\r\n event PairCreated(address indexed token0, address indexed token1, address pair, uint);\r\n\r\n function feeTo() external view returns (address);\r\n function feeToSetter() external view returns (address);\r\n\r\n function getPair(address tokenA, address tokenB) external view returns (address pair);\r\n function allPairs(uint) external view returns (address pair);\r\n function allPairsLength() external view returns (uint);\r\n\r\n function createPair(address tokenA, address tokenB) external returns (address pair);\r\n\r\n function setFeeTo(address) external;\r\n function setFeeToSetter(address) external;\r\n}\r\n\r\n// File: @uniswap/lib/contracts/libraries/TransferHelper.sol\r\n\r\npragma solidity >=0.6.0;\r\n\r\n// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false\r\nlibrary TransferHelper {\r\n function safeApprove(address token, address to, uint value) internal {\r\n // bytes4(keccak256(bytes('approve(address,uint256)')));\r\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));\r\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');\r\n }\r\n\r\n function safeTransfer(address token, address to, uint value) internal {\r\n // bytes4(keccak256(bytes('transfer(address,uint256)')));\r\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));\r\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');\r\n }\r\n\r\n function safeTransferFrom(address token, address from, address to, uint value) internal {\r\n // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));\r\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));\r\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');\r\n }\r\n\r\n function safeTransferETH(address to, uint value) internal {\r\n (bool success,) = to.call{value:value}(new bytes(0));\r\n require(success, 'TransferHelper: ETH_TRANSFER_FAILED');\r\n }\r\n}\r\n\r\n// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\r\n\r\npragma solidity >=0.5.0;\r\n\r\ninterface IUniswapV2Pair {\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n function name() external pure returns (string memory);\r\n function symbol() external pure returns (string memory);\r\n function decimals() external pure returns (uint8);\r\n function totalSupply() external view returns (uint);\r\n function balanceOf(address owner) external view returns (uint);\r\n function allowance(address owner, address spender) external view returns (uint);\r\n\r\n function approve(address spender, uint value) external returns (bool);\r\n function transfer(address to, uint value) external returns (bool);\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n\r\n function DOMAIN_SEPARATOR() external view returns (bytes32);\r\n function PERMIT_TYPEHASH() external pure returns (bytes32);\r\n function nonces(address owner) external view returns (uint);\r\n\r\n function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;\r\n\r\n event Mint(address indexed sender, uint amount0, uint amount1);\r\n event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);\r\n event Swap(\r\n address indexed sender,\r\n uint amount0In,\r\n uint amount1In,\r\n uint amount0Out,\r\n uint amount1Out,\r\n address indexed to\r\n );\r\n event Sync(uint112 reserve0, uint112 reserve1);\r\n\r\n function MINIMUM_LIQUIDITY() external pure returns (uint);\r\n function factory() external view returns (address);\r\n function token0() external view returns (address);\r\n function token1() external view returns (address);\r\n function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);\r\n function price0CumulativeLast() external view returns (uint);\r\n function price1CumulativeLast() external view returns (uint);\r\n function kLast() external view returns (uint);\r\n\r\n function mint(address to) external returns (uint liquidity);\r\n function burn(address to) external returns (uint amount0, uint amount1);\r\n function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;\r\n function skim(address to) external;\r\n function sync() external;\r\n\r\n function initialize(address, address) external;\r\n}\r\n\r\n// File: contracts/libraries/SafeMath.sol\r\n\r\npragma solidity =0.6.6;\r\n\r\n// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)\r\n\r\nlibrary SafeMath {\r\n function add(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x + y) >= x, 'ds-math-add-overflow');\r\n }\r\n\r\n function sub(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x - y) <= x, 'ds-math-sub-underflow');\r\n }\r\n\r\n function mul(uint x, uint y) internal pure returns (uint z) {\r\n require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');\r\n }\r\n}\r\n\r\n// File: contracts/libraries/UniswapV2Library.sol\r\n\r\npragma solidity >=0.5.0;\r\n\r\n\r\n\r\nlibrary UniswapV2Library {\r\n using SafeMath for uint;\r\n\r\n // returns sorted token addresses, used to handle return values from pairs sorted in this order\r\n function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {\r\n require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');\r\n (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);\r\n require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');\r\n }\r\n\r\n // calculates the CREATE2 address for a pair without making any external calls\r\n function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {\r\n (address token0, address token1) = sortTokens(tokenA, tokenB);\r\n pair = address(uint(keccak256(abi.encodePacked(\r\n hex'ff',\r\n factory,\r\n keccak256(abi.encodePacked(token0, token1)),\r\n hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash\r\n ))));\r\n }\r\n\r\n // fetches and sorts the reserves for a pair\r\n function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {\r\n (address token0,) = sortTokens(tokenA, tokenB);\r\n (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();\r\n (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);\r\n }\r\n\r\n // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset\r\n function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {\r\n require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');\r\n require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');\r\n amountB = amountA.mul(reserveB) / reserveA;\r\n }\r\n\r\n // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset\r\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {\r\n require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');\r\n require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');\r\n uint amountInWithFee = amountIn.mul(997);\r\n uint numerator = amountInWithFee.mul(reserveOut);\r\n uint denominator = reserveIn.mul(1000).add(amountInWithFee);\r\n amountOut = numerator / denominator;\r\n }\r\n\r\n // given an output amount of an asset and pair reserves, returns a required input amount of the other asset\r\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {\r\n require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');\r\n require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');\r\n uint numerator = reserveIn.mul(amountOut).mul(1000);\r\n uint denominator = reserveOut.sub(amountOut).mul(997);\r\n amountIn = (numerator / denominator).add(1);\r\n }\r\n\r\n // performs chained getAmountOut calculations on any number of pairs\r\n function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {\r\n require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');\r\n amounts = new uint[](path.length);\r\n amounts[0] = amountIn;\r\n for (uint i; i < path.length - 1; i++) {\r\n (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);\r\n amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);\r\n }\r\n }\r\n\r\n // performs chained getAmountIn calculations on any number of pairs\r\n function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {\r\n require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');\r\n amounts = new uint[](path.length);\r\n amounts[amounts.length - 1] = amountOut;\r\n for (uint i = path.length - 1; i > 0; i--) {\r\n (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);\r\n amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);\r\n }\r\n }\r\n}\r\n\r\n// File: contracts/interfaces/IUniswapV2Router01.sol\r\n\r\npragma solidity >=0.6.2;\r\n\r\ninterface IUniswapV2Router01 {\r\n function factory() external pure returns (address);\r\n function WETH() external pure returns (address);\r\n\r\n function addLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint amountADesired,\r\n uint amountBDesired,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) external returns (uint amountA, uint amountB, uint liquidity);\r\n function addLiquidityETH(\r\n address token,\r\n uint amountTokenDesired,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) external payable returns (uint amountToken, uint amountETH, uint liquidity);\r\n function removeLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) external returns (uint amountA, uint amountB);\r\n function removeLiquidityETH(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) external returns (uint amountToken, uint amountETH);\r\n function removeLiquidityWithPermit(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external returns (uint amountA, uint amountB);\r\n function removeLiquidityETHWithPermit(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external returns (uint amountToken, uint amountETH);\r\n function swapExactTokensForTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external returns (uint[] memory amounts);\r\n function swapTokensForExactTokens(\r\n uint amountOut,\r\n uint amountInMax,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external returns (uint[] memory amounts);\r\n function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n payable\r\n returns (uint[] memory amounts);\r\n function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)\r\n external\r\n returns (uint[] memory amounts);\r\n function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n returns (uint[] memory amounts);\r\n function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)\r\n external\r\n payable\r\n returns (uint[] memory amounts);\r\n\r\n function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);\r\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);\r\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);\r\n function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);\r\n function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);\r\n}\r\n\r\n// File: contracts/interfaces/IERC20.sol\r\n\r\npragma solidity >=0.5.0;\r\n\r\ninterface IERC20 {\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n function name() external view returns (string memory);\r\n function symbol() external view returns (string memory);\r\n function decimals() external view returns (uint8);\r\n function totalSupply() external view returns (uint);\r\n function balanceOf(address owner) external view returns (uint);\r\n function allowance(address owner, address spender) external view returns (uint);\r\n\r\n function approve(address spender, uint value) external returns (bool);\r\n function transfer(address to, uint value) external returns (bool);\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n}\r\n\r\n// File: contracts/interfaces/IWETH.sol\r\n\r\npragma solidity >=0.5.0;\r\n\r\ninterface IWETH {\r\n function deposit() external payable;\r\n function transfer(address to, uint value) external returns (bool);\r\n function withdraw(uint) external;\r\n}\r\n\r\n// File: contracts/UniswapV2Router01.sol\r\n\r\npragma solidity =0.6.6;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\ncontract UniswapV2Router01 is IUniswapV2Router01 {\r\n address public immutable override factory;\r\n address public immutable override WETH;\r\n\r\n modifier ensure(uint deadline) {\r\n require(deadline >= block.timestamp, 'UniswapV2Router: EXPIRED');\r\n _;\r\n }\r\n\r\n constructor(address _factory, address _WETH) public {\r\n factory = _factory;\r\n WETH = _WETH;\r\n }\r\n\r\n receive() external payable {\r\n assert(msg.sender == WETH); // only accept ETH via fallback from the WETH contract\r\n }\r\n\r\n // **** ADD LIQUIDITY ****\r\n function _addLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint amountADesired,\r\n uint amountBDesired,\r\n uint amountAMin,\r\n uint amountBMin\r\n ) private returns (uint amountA, uint amountB) {\r\n // create the pair if it doesn't exist yet\r\n if (IUniswapV2Factory(factory).getPair(tokenA, tokenB) == address(0)) {\r\n IUniswapV2Factory(factory).createPair(tokenA, tokenB);\r\n }\r\n (uint reserveA, uint reserveB) = UniswapV2Library.getReserves(factory, tokenA, tokenB);\r\n if (reserveA == 0 && reserveB == 0) {\r\n (amountA, amountB) = (amountADesired, amountBDesired);\r\n } else {\r\n uint amountBOptimal = UniswapV2Library.quote(amountADesired, reserveA, reserveB);\r\n if (amountBOptimal <= amountBDesired) {\r\n require(amountBOptimal >= amountBMin, 'UniswapV2Router: INSUFFICIENT_B_AMOUNT');\r\n (amountA, amountB) = (amountADesired, amountBOptimal);\r\n } else {\r\n uint amountAOptimal = UniswapV2Library.quote(amountBDesired, reserveB, reserveA);\r\n assert(amountAOptimal <= amountADesired);\r\n require(amountAOptimal >= amountAMin, 'UniswapV2Router: INSUFFICIENT_A_AMOUNT');\r\n (amountA, amountB) = (amountAOptimal, amountBDesired);\r\n }\r\n }\r\n }\r\n function addLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint amountADesired,\r\n uint amountBDesired,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) external override ensure(deadline) returns (uint amountA, uint amountB, uint liquidity) {\r\n (amountA, amountB) = _addLiquidity(tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin);\r\n address pair = UniswapV2Library.pairFor(factory, tokenA, tokenB);\r\n TransferHelper.safeTransferFrom(tokenA, msg.sender, pair, amountA);\r\n TransferHelper.safeTransferFrom(tokenB, msg.sender, pair, amountB);\r\n liquidity = IUniswapV2Pair(pair).mint(to);\r\n }\r\n function addLiquidityETH(\r\n address token,\r\n uint amountTokenDesired,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) external override payable ensure(deadline) returns (uint amountToken, uint amountETH, uint liquidity) {\r\n (amountToken, amountETH) = _addLiquidity(\r\n token,\r\n WETH,\r\n amountTokenDesired,\r\n msg.value,\r\n amountTokenMin,\r\n amountETHMin\r\n );\r\n address pair = UniswapV2Library.pairFor(factory, token, WETH);\r\n TransferHelper.safeTransferFrom(token, msg.sender, pair, amountToken);\r\n IWETH(WETH).deposit{value: amountETH}();\r\n assert(IWETH(WETH).transfer(pair, amountETH));\r\n liquidity = IUniswapV2Pair(pair).mint(to);\r\n if (msg.value > amountETH) TransferHelper.safeTransferETH(msg.sender, msg.value - amountETH); // refund dust eth, if any\r\n }\r\n\r\n // **** REMOVE LIQUIDITY ****\r\n function removeLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) public override ensure(deadline) returns (uint amountA, uint amountB) {\r\n address pair = UniswapV2Library.pairFor(factory, tokenA, tokenB);\r\n IUniswapV2Pair(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair\r\n (uint amount0, uint amount1) = IUniswapV2Pair(pair).burn(to);\r\n (address token0,) = UniswapV2Library.sortTokens(tokenA, tokenB);\r\n (amountA, amountB) = tokenA == token0 ? (amount0, amount1) : (amount1, amount0);\r\n require(amountA >= amountAMin, 'UniswapV2Router: INSUFFICIENT_A_AMOUNT');\r\n require(amountB >= amountBMin, 'UniswapV2Router: INSUFFICIENT_B_AMOUNT');\r\n }\r\n function removeLiquidityETH(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) public override ensure(deadline) returns (uint amountToken, uint amountETH) {\r\n (amountToken, amountETH) = removeLiquidity(\r\n token,\r\n WETH,\r\n liquidity,\r\n amountTokenMin,\r\n amountETHMin,\r\n address(this),\r\n deadline\r\n );\r\n TransferHelper.safeTransfer(token, to, amountToken);\r\n IWETH(WETH).withdraw(amountETH);\r\n TransferHelper.safeTransferETH(to, amountETH);\r\n }\r\n function removeLiquidityWithPermit(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external override returns (uint amountA, uint amountB) {\r\n address pair = UniswapV2Library.pairFor(factory, tokenA, tokenB);\r\n uint value = approveMax ? uint(-1) : liquidity;\r\n IUniswapV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);\r\n (amountA, amountB) = removeLiquidity(tokenA, tokenB, liquidity, amountAMin, amountBMin, to, deadline);\r\n }\r\n function removeLiquidityETHWithPermit(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external override returns (uint amountToken, uint amountETH) {\r\n address pair = UniswapV2Library.pairFor(factory, token, WETH);\r\n uint value = approveMax ? uint(-1) : liquidity;\r\n IUniswapV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);\r\n (amountToken, amountETH) = removeLiquidityETH(token, liquidity, amountTokenMin, amountETHMin, to, deadline);\r\n }\r\n\r\n // **** SWAP ****\r\n // requires the initial amount to have already been sent to the first pair\r\n function _swap(uint[] memory amounts, address[] memory path, address _to) private {\r\n for (uint i; i < path.length - 1; i++) {\r\n (address input, address output) = (path[i], path[i + 1]);\r\n (address token0,) = UniswapV2Library.sortTokens(input, output);\r\n uint amountOut = amounts[i + 1];\r\n (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOut) : (amountOut, uint(0));\r\n address to = i < path.length - 2 ? UniswapV2Library.pairFor(factory, output, path[i + 2]) : _to;\r\n IUniswapV2Pair(UniswapV2Library.pairFor(factory, input, output)).swap(amount0Out, amount1Out, to, new bytes(0));\r\n }\r\n }\r\n function swapExactTokensForTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external override ensure(deadline) returns (uint[] memory amounts) {\r\n amounts = UniswapV2Library.getAmountsOut(factory, amountIn, path);\r\n require(amounts[amounts.length - 1] >= amountOutMin, 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]);\r\n _swap(amounts, path, to);\r\n }\r\n function swapTokensForExactTokens(\r\n uint amountOut,\r\n uint amountInMax,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external override ensure(deadline) returns (uint[] memory amounts) {\r\n amounts = UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n require(amounts[0] <= amountInMax, 'UniswapV2Router: EXCESSIVE_INPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]);\r\n _swap(amounts, path, to);\r\n }\r\n function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n override\r\n payable\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[0] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsOut(factory, msg.value, path);\r\n require(amounts[amounts.length - 1] >= amountOutMin, 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');\r\n IWETH(WETH).deposit{value: amounts[0]}();\r\n assert(IWETH(WETH).transfer(UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]));\r\n _swap(amounts, path, to);\r\n }\r\n function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)\r\n external\r\n override\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[path.length - 1] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n require(amounts[0] <= amountInMax, 'UniswapV2Router: EXCESSIVE_INPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]);\r\n _swap(amounts, path, address(this));\r\n IWETH(WETH).withdraw(amounts[amounts.length - 1]);\r\n TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);\r\n }\r\n function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n override\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[path.length - 1] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsOut(factory, amountIn, path);\r\n require(amounts[amounts.length - 1] >= amountOutMin, 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]);\r\n _swap(amounts, path, address(this));\r\n IWETH(WETH).withdraw(amounts[amounts.length - 1]);\r\n TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);\r\n }\r\n function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)\r\n external\r\n override\r\n payable\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[0] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n require(amounts[0] <= msg.value, 'UniswapV2Router: EXCESSIVE_INPUT_AMOUNT');\r\n IWETH(WETH).deposit{value: amounts[0]}();\r\n assert(IWETH(WETH).transfer(UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]));\r\n _swap(amounts, path, to);\r\n if (msg.value > amounts[0]) TransferHelper.safeTransferETH(msg.sender, msg.value - amounts[0]); // refund dust eth, if any\r\n }\r\n\r\n function quote(uint amountA, uint reserveA, uint reserveB) public pure override returns (uint amountB) {\r\n return UniswapV2Library.quote(amountA, reserveA, reserveB);\r\n }\r\n\r\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) public pure override returns (uint amountOut) {\r\n return UniswapV2Library.getAmountOut(amountIn, reserveIn, reserveOut);\r\n }\r\n\r\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) public pure override returns (uint amountIn) {\r\n return UniswapV2Library.getAmountOut(amountOut, reserveIn, reserveOut);\r\n }\r\n\r\n function getAmountsOut(uint amountIn, address[] memory path) public view override returns (uint[] memory amounts) {\r\n return UniswapV2Library.getAmountsOut(factory, amountIn, path);\r\n }\r\n\r\n function getAmountsIn(uint amountOut, address[] memory path) public view override returns (uint[] memory amounts) {\r\n return UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n }\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_WETH\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountADesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsIn\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsOut\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapETHForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"UniswapV2Router01","CompilerVersion":"v0.6.6+commit.6c089d02","CompilerType":"solc","OptimizationUsed":"1","Runs":"999999","ConstructorArguments":"0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","EVMVersion":"Default","Library":"","LicenseType":"GNU GPLv3","Proxy":"0","Implementation":"","SwarmSource":"ipfs://b430cc168eec157f24fadd56d0b90b2652ce5b0abb39cf9d64713138a400fb8c","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/32374dcad0bbd6eae6325c55ddcbddb862a8d28fe6c7548437949b6d62aed911 b/tests/cachedrpc/32374dcad0bbd6eae6325c55ddcbddb862a8d28fe6c7548437949b6d62aed911 new file mode 100644 index 00000000..4dec6c5d --- /dev/null +++ b/tests/cachedrpc/32374dcad0bbd6eae6325c55ddcbddb862a8d28fe6c7548437949b6d62aed911 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xd19d4b5d358258f05d7b411e21a1460d11b0876f","contractCreator":"0x6dd3120e329dc5faa3d2cf65705ef4f6486f65f7","txHash":"0x3564f15a274bdc49a6ad8af161113d20a678d87efbd3d708540a9b4d026f1122","blockNumber":"17677070","timestamp":"1689159923","contractFactory":"","creationBytecode":"0x608060405260405162000eda38038062000eda83398101604081905262000026916200049d565b828162000036828260006200004d565b50620000449050826200008a565b505050620005d0565b6200005883620000e5565b600082511180620000665750805b1562000085576200008383836200012760201b620001791760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000b562000156565b604080516001600160a01b03928316815291841660208301520160405180910390a1620000e2816200018f565b50565b620000f08162000244565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606200014f838360405180606001604052806027815260200162000eb360279139620002f8565b9392505050565b60006200018060008051602062000e9383398151915260001b6200037760201b620001a51760201c565b546001600160a01b0316919050565b6001600160a01b038116620001fa5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200022360008051602062000e9383398151915260001b6200037760201b620001a51760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6200025a816200037a60201b620001a81760201c565b620002be5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620001f1565b80620002237f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200037760201b620001a51760201c565b6060600080856001600160a01b0316856040516200031791906200057d565b600060405180830381855af49150503d806000811462000354576040519150601f19603f3d011682016040523d82523d6000602084013e62000359565b606091505b5090925090506200036d8683838762000389565b9695505050505050565b90565b6001600160a01b03163b151590565b60608315620003fa578251620003f2576001600160a01b0385163b620003f25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001f1565b508162000406565b6200040683836200040e565b949350505050565b8151156200041f5781518083602001fd5b8060405162461bcd60e51b8152600401620001f191906200059b565b80516001600160a01b03811681146200045357600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200048b57818101518382015260200162000471565b83811115620000835750506000910152565b600080600060608486031215620004b357600080fd5b620004be846200043b565b9250620004ce602085016200043b565b60408501519092506001600160401b0380821115620004ec57600080fd5b818601915086601f8301126200050157600080fd5b81518181111562000516576200051662000458565b604051601f8201601f19908116603f0116810190838211818310171562000541576200054162000458565b816040528281528960208487010111156200055b57600080fd5b6200056e8360208301602088016200046e565b80955050505050509250925092565b60008251620005918184602087016200046e565b9190910192915050565b6020815260008251806020840152620005bc8160408501602087016200046e565b601f01601f19169190910160400192915050565b6108b380620005e06000396000f3fe60806040523661001357610011610017565b005b6100115b61001f6101b7565b6001600160a01b0316336001600160a01b0316141561016f5760606001600160e01b031960003516631b2ce7f360e11b8114156100655761005e6101ea565b9150610167565b6001600160e01b0319811663278f794360e11b14156100865761005e610241565b6001600160e01b031981166308f2839760e41b14156100a75761005e610287565b6001600160e01b031981166303e1469160e61b14156100c85761005e6102b8565b6001600160e01b03198116635c60da1b60e01b14156100e95761005e6102f8565b60405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b815160208301f35b61017761030c565b565b606061019e83836040518060600160405280602781526020016108576027913961031c565b9392505050565b90565b6001600160a01b03163b151590565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b60606101f4610394565b600061020336600481846106a2565b81019061021091906106e8565b905061022d8160405180602001604052806000815250600061039f565b505060408051602081019091526000815290565b606060008061025336600481846106a2565b8101906102609190610719565b915091506102708282600161039f565b604051806020016040528060008152509250505090565b6060610291610394565b60006102a036600481846106a2565b8101906102ad91906106e8565b905061022d816103cb565b60606102c2610394565b60006102cc6101b7565b604080516001600160a01b03831660208201529192500160405160208183030381529060405291505090565b6060610302610394565b60006102cc610422565b610177610317610422565b610431565b6060600080856001600160a01b0316856040516103399190610807565b600060405180830381855af49150503d8060008114610374576040519150601f19603f3d011682016040523d82523d6000602084013e610379565b606091505b509150915061038a86838387610455565b9695505050505050565b341561017757600080fd5b6103a8836104d3565b6000825111806103b55750805b156103c6576103c48383610179565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103f46101b7565b604080516001600160a01b03928316815291841660208301520160405180910390a161041f81610513565b50565b600061042c6105bc565b905090565b3660008037600080366000845af43d6000803e808015610450573d6000f35b3d6000fd5b606083156104c15782516104ba576001600160a01b0385163b6104ba5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161015e565b50816104cb565b6104cb83836105e4565b949350505050565b6104dc8161060e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166105785760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b606482015260840161015e565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6101db565b8151156105f45781518083602001fd5b8060405162461bcd60e51b815260040161015e9190610823565b6001600160a01b0381163b61067b5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161015e565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61059b565b600080858511156106b257600080fd5b838611156106bf57600080fd5b5050820193919092039150565b80356001600160a01b03811681146106e357600080fd5b919050565b6000602082840312156106fa57600080fd5b61019e826106cc565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561072c57600080fd5b610735836106cc565b9150602083013567ffffffffffffffff8082111561075257600080fd5b818501915085601f83011261076657600080fd5b81358181111561077857610778610703565b604051601f8201601f19908116603f011681019083821181831017156107a0576107a0610703565b816040528281528860208487010111156107b957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60005b838110156107f65781810151838201526020016107de565b838111156103c45750506000910152565b600082516108198184602087016107db565b9190910192915050565b60208152600082518060208401526108428160408501602087016107db565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122012bb4f564f73959a03513dc74fc3c6e40e8386e6f02c16b78d6db00ce0aa16af64736f6c63430008090033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000e8f627df6cb02e415b2e6d6e112323bd269b4706000000000000000000000000f5058616517c068c7b8c7ebc69ff636ade9066d6000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001247973ead615db68f72459ed8a690d41c5a41cb348ecde16a45f4c9d1118bb84a81eab0b890000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c01e6807db9fb9cc75e9fe622ba8e7f3eb9f2b32000000000000000000000000892bb7eed71efb060ab90140e7825d8127991dd300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000151800000000000000000000000000000000000000000000000056bc75e2d6310000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000009228624c3185fcbcf24c1c9db76d8bef5f5dad6400000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/3367cf83b069dc7e31599cc57d2374c286ad0b30f41145f537f7c1447e4b1bc6 b/tests/cachedrpc/3367cf83b069dc7e31599cc57d2374c286ad0b30f41145f537f7c1447e4b1bc6 new file mode 100644 index 00000000..6dd9cdfd --- /dev/null +++ b/tests/cachedrpc/3367cf83b069dc7e31599cc57d2374c286ad0b30f41145f537f7c1447e4b1bc6 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"@openzeppelin/contracts/access/Ownable.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor() {\\n _transferOwnership(_msgSender());\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/access/Ownable2Step.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (access/Ownable2Step.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./Ownable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership} and {acceptOwnership}.\\n *\\n * This module is used through inheritance. It will make available all functions\\n * from parent (Ownable).\\n */\\nabstract contract Ownable2Step is Ownable {\\n address private _pendingOwner;\\n\\n event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Returns the address of the pending owner.\\n */\\n function pendingOwner() public view virtual returns (address) {\\n return _pendingOwner;\\n }\\n\\n /**\\n * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual override onlyOwner {\\n _pendingOwner = newOwner;\\n emit OwnershipTransferStarted(owner(), newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual override {\\n delete _pendingOwner;\\n super._transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev The new owner accepts the ownership transfer.\\n */\\n function acceptOwnership() external {\\n address sender = _msgSender();\\n require(pendingOwner() == sender, \\\"Ownable2Step: caller is not the new owner\\\");\\n _transferOwnership(sender);\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/Context.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n}\\n\"\r\n },\r\n \"cache/solpp-generated-contracts/zksync/interfaces/IExecutor.sol\": {\r\n \"content\": \"pragma solidity ^0.8.13;\\n\\n// SPDX-License-Identifier: MIT\\n\\n\\n\\ninterface IExecutor {\\n /// @notice Rollup block stored data\\n /// @param blockNumber Rollup block number\\n /// @param blockHash Hash of L2 block\\n /// @param indexRepeatedStorageChanges The serial number of the shortcut index that's used as a unique identifier for storage keys that were used twice or more\\n /// @param numberOfLayer1Txs Number of priority operations to be processed\\n /// @param priorityOperationsHash Hash of all priority operations from this block\\n /// @param l2LogsTreeRoot Root hash of tree that contains L2 -> L1 messages from this block\\n /// @param timestamp Rollup block timestamp, have the same format as Ethereum block constant\\n /// @param commitment Verified input for the zkSync circuit\\n struct StoredBlockInfo {\\n uint64 blockNumber;\\n bytes32 blockHash;\\n uint64 indexRepeatedStorageChanges;\\n uint256 numberOfLayer1Txs;\\n bytes32 priorityOperationsHash;\\n bytes32 l2LogsTreeRoot;\\n uint256 timestamp;\\n bytes32 commitment;\\n }\\n\\n /// @notice Data needed to commit new block\\n /// @param blockNumber Number of the committed block\\n /// @param timestamp Unix timestamp denoting the start of the block execution\\n /// @param indexRepeatedStorageChanges The serial number of the shortcut index that's used as a unique identifier for storage keys that were used twice or more\\n /// @param newStateRoot The state root of the full state tree\\n /// @param numberOfLayer1Txs Number of priority operations to be processed\\n /// @param l2LogsTreeRoot The root hash of the tree that contains all L2 -> L1 logs in the block\\n /// @param priorityOperationsHash Hash of all priority operations from this block\\n /// @param initialStorageChanges Storage write access as a concatenation key-value\\n /// @param repeatedStorageChanges Storage write access as a concatenation index-value\\n /// @param l2Logs concatenation of all L2 -> L1 logs in the block\\n /// @param l2ArbitraryLengthMessages array of hash preimages that were sent as value of L2 logs by special system L2 contract\\n /// @param factoryDeps array of l2 bytecodes that were marked as known on L2\\n struct CommitBlockInfo {\\n uint64 blockNumber;\\n uint64 timestamp;\\n uint64 indexRepeatedStorageChanges;\\n bytes32 newStateRoot;\\n uint256 numberOfLayer1Txs;\\n bytes32 l2LogsTreeRoot;\\n bytes32 priorityOperationsHash;\\n bytes initialStorageChanges;\\n bytes repeatedStorageChanges;\\n bytes l2Logs;\\n bytes[] l2ArbitraryLengthMessages;\\n bytes[] factoryDeps;\\n }\\n\\n /// @notice Recursive proof input data (individual commitments are constructed onchain)\\n struct ProofInput {\\n uint256[] recursiveAggregationInput;\\n uint256[] serializedProof;\\n }\\n\\n function commitBlocks(StoredBlockInfo calldata _lastCommittedBlockData, CommitBlockInfo[] calldata _newBlocksData)\\n external;\\n\\n function proveBlocks(\\n StoredBlockInfo calldata _prevBlock,\\n StoredBlockInfo[] calldata _committedBlocks,\\n ProofInput calldata _proof\\n ) external;\\n\\n function executeBlocks(StoredBlockInfo[] calldata _blocksData) external;\\n\\n function revertBlocks(uint256 _newLastBlock) external;\\n\\n /// @notice Event emitted when a block is committed\\n event BlockCommit(uint256 indexed blockNumber, bytes32 indexed blockHash, bytes32 indexed commitment);\\n\\n /// @notice Event emitted when blocks are verified\\n event BlocksVerification(uint256 indexed previousLastVerifiedBlock, uint256 indexed currentLastVerifiedBlock);\\n\\n /// @notice Event emitted when a block is executed\\n event BlockExecution(uint256 indexed blockNumber, bytes32 indexed blockHash, bytes32 indexed commitment);\\n\\n /// @notice Event emitted when blocks are reverted\\n event BlocksRevert(uint256 totalBlocksCommitted, uint256 totalBlocksVerified, uint256 totalBlocksExecuted);\\n}\\n\"\r\n },\r\n \"cache/solpp-generated-contracts/zksync/ValidatorTimelock.sol\": {\r\n \"content\": \"pragma solidity ^0.8.13;\\n\\n// SPDX-License-Identifier: MIT\\n\\n\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable2Step.sol\\\";\\nimport \\\"./interfaces/IExecutor.sol\\\";\\n\\n/// @author Matter Labs\\n/// @notice Intermediate smart contract between the validator EOA account and the zkSync smart contract.\\n/// @dev The primary purpose of this contract is to provide a trustless means of delaying block execution without\\n/// modifying the main zkSync contract. As such, even if this contract is compromised, it will not impact the main contract.\\n/// @dev zkSync actively monitors the chain activity and reacts to any suspicious activity by freezing the chain.\\n/// This allows time for investigation and mitigation before resuming normal operations.\\n/// @dev The contract overloads all of the 4 methods, that are used in state transition. When the block is committed, the\\n/// timestamp is stored for it. Later, when the owner calls the block execution, the contract checks that block\\n/// was committed not earlier than X time ago.\\ncontract ValidatorTimelock is IExecutor, Ownable2Step {\\n /// @notice The delay between committing and executing blocks is changed.\\n event NewExecutionDelay(uint256 _newExecutionDelay);\\n\\n /// @notice The validator address is changed.\\n event NewValidator(address _oldValidator, address _newValidator);\\n\\n /// @dev The main zkSync smart contract.\\n address public immutable zkSyncContract;\\n\\n /// @dev The mapping of L2 block number => timestamp when it was commited.\\n mapping(uint256 => uint256) public committedBlockTimestamp;\\n\\n /// @dev The address that can commit/revert/validate/execute blocks.\\n address public validator;\\n\\n /// @dev The delay between committing and executing blocks.\\n uint256 public executionDelay;\\n\\n constructor(\\n address _initialOwner,\\n address _zkSyncContract,\\n uint256 _executionDelay,\\n address _validator\\n ) {\\n _transferOwnership(_initialOwner);\\n zkSyncContract = _zkSyncContract;\\n executionDelay = _executionDelay;\\n validator = _validator;\\n }\\n\\n /// @dev Set new validator address.\\n function setValidator(address _newValidator) external onlyOwner {\\n address oldValidator = validator;\\n validator = _newValidator;\\n emit NewValidator(oldValidator, _newValidator);\\n }\\n\\n /// @dev Set the delay between committing and executing blocks.\\n function setExecutionDelay(uint256 _executionDelay) external onlyOwner {\\n executionDelay = _executionDelay;\\n emit NewExecutionDelay(_executionDelay);\\n }\\n\\n /// @notice Checks if the caller is a validator.\\n modifier onlyValidator() {\\n require(msg.sender == validator, \\\"8h\\\");\\n _;\\n }\\n\\n /// @dev Records the timestamp for all provided committed blocks and make\\n /// a call to the zkSync contract with the same calldata.\\n function commitBlocks(StoredBlockInfo calldata, CommitBlockInfo[] calldata _newBlocksData) external onlyValidator {\\n for (uint256 i = 0; i < _newBlocksData.length; ++i) {\\n committedBlockTimestamp[_newBlocksData[i].blockNumber] = block.timestamp;\\n }\\n\\n _propagateToZkSync();\\n }\\n\\n /// @dev Make a call to the zkSync contract with the same calldata.\\n /// Note: If the block is reverted, it needs to be committed first before the execution.\\n /// So it's safe to not override the committed blocks.\\n function revertBlocks(uint256) external onlyValidator {\\n _propagateToZkSync();\\n }\\n\\n /// @dev Make a call to the zkSync contract with the same calldata.\\n /// Note: We don't track the time when blocks are proven, since all information about\\n /// the block is known on the commit stage and the proved is not finalized (may be reverted).\\n function proveBlocks(\\n StoredBlockInfo calldata,\\n StoredBlockInfo[] calldata,\\n ProofInput calldata\\n ) external onlyValidator {\\n _propagateToZkSync();\\n }\\n\\n /// @dev Check that blocks were committed at least X time ago and\\n /// make a call to the zkSync contract with the same calldata.\\n function executeBlocks(StoredBlockInfo[] calldata _newBlocksData) external onlyValidator {\\n for (uint256 i = 0; i < _newBlocksData.length; ++i) {\\n uint256 commitBlockTimestamp = committedBlockTimestamp[_newBlocksData[i].blockNumber];\\n\\n // Note: if the `commitBlockTimestamp` is zero, that means either:\\n // * The block was committed, but not though this contract.\\n // * The block wasn't committed at all, so execution will fail in the zkSync contract.\\n // We allow executing such blocks.\\n\\n require(block.timestamp > commitBlockTimestamp + executionDelay, \\\"5c\\\"); // The delay is not passed\\n }\\n\\n _propagateToZkSync();\\n }\\n\\n /// @dev Call the zkSync contract with the same calldata as this contract was called.\\n /// Note: it is called the zkSync contract, not delegatecalled!\\n function _propagateToZkSync() internal {\\n address contractAddress = zkSyncContract;\\n assembly {\\n // Copy function signature and arguments from calldata at zero position into memory at pointer position\\n calldatacopy(0, 0, calldatasize())\\n // Call method of the zkSync contract returns 0 on error\\n let result := call(gas(), contractAddress, 0, 0, calldatasize(), 0, 0)\\n // Get the size of the last return data\\n let size := returndatasize()\\n // Copy the size length of bytes from return data at zero position to pointer position\\n returndatacopy(0, 0, size)\\n // Depending on the result value\\n switch result\\n case 0 {\\n // End execution and revert state changes\\n revert(0, size)\\n }\\n default {\\n // Return data with length of size at pointers position\\n return(0, size)\\n }\\n }\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 200\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_initialOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_zkSyncContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_executionDelay\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_validator\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"BlockCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"BlockExecution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBlocksCommitted\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBlocksVerified\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBlocksExecuted\",\"type\":\"uint256\"}],\"name\":\"BlocksRevert\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"previousLastVerifiedBlock\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"currentLastVerifiedBlock\",\"type\":\"uint256\"}],\"name\":\"BlocksVerification\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newExecutionDelay\",\"type\":\"uint256\"}],\"name\":\"NewExecutionDelay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_oldValidator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newValidator\",\"type\":\"address\"}],\"name\":\"NewValidator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"struct IExecutor.StoredBlockInfo\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"initialStorageChanges\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"repeatedStorageChanges\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"l2Logs\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"l2ArbitraryLengthMessages\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"factoryDeps\",\"type\":\"bytes[]\"}],\"internalType\":\"struct IExecutor.CommitBlockInfo[]\",\"name\":\"_newBlocksData\",\"type\":\"tuple[]\"}],\"name\":\"commitBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"committedBlockTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"struct IExecutor.StoredBlockInfo[]\",\"name\":\"_newBlocksData\",\"type\":\"tuple[]\"}],\"name\":\"executeBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executionDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"struct IExecutor.StoredBlockInfo\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"struct IExecutor.StoredBlockInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"recursiveAggregationInput\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"serializedProof\",\"type\":\"uint256[]\"}],\"internalType\":\"struct IExecutor.ProofInput\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"proveBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"revertBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_executionDelay\",\"type\":\"uint256\"}],\"name\":\"setExecutionDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newValidator\",\"type\":\"address\"}],\"name\":\"setValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"validator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zkSyncContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]","ContractName":"ValidatorTimelock","CompilerVersion":"v0.8.17+commit.8df45f5f","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"000000000000000000000000c301f8b2a2c08958e6e7a286ab49a986c1f7ef6a00000000000000000000000032400084c286cf3e17e7b677ea9583e60a0003240000000000000000000000000000000000000000000000000000000000015180000000000000000000000000112200eaa6d57120c86b8b51a8b6049d56b82211","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/3518934779fb6845642def482792b3fef82c2006e3d27cf921430bf23e36d33d b/tests/cachedrpc/3518934779fb6845642def482792b3fef82c2006e3d27cf921430bf23e36d33d new file mode 100644 index 00000000..aacce8a0 --- /dev/null +++ b/tests/cachedrpc/3518934779fb6845642def482792b3fef82c2006e3d27cf921430bf23e36d33d @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984","contractCreator":"0x41653c7d61609d856f29355e404f310ec4142cfb","txHash":"0x4b37d2f343608457ca3322accdab2811c707acf3eb07a40dd8d9567093ea5b82","blockNumber":"10861674","timestamp":"1600107086","contractFactory":"","creationBytecode":"0x60806040526b033b2e3c9fd0803ce80000006000553480156200002157600080fd5b506040516200341338038062003413833981016040819052620000449162000171565b42811015620000705760405162461bcd60e51b8152600401620000679062000273565b60405180910390fd5b600080546001600160a01b0385168083526004602052604080842080546001600160601b0319166001600160601b0390941693909317909255825491519092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620000de919062000285565b60405180910390a3600180546001600160a01b0319166001600160a01b0384811691909117918290556040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6926200013d926000929116906200024d565b60405180910390a160025550620002ec9050565b80516200015e81620002c7565b92915050565b80516200015e81620002e1565b6000806000606084860312156200018757600080fd5b600062000195868662000151565b9350506020620001a88682870162000151565b9250506040620001bb8682870162000164565b9150509250925092565b620001d081620002b3565b82525050565b620001d0816200029e565b6000620001f060398362000295565b7f556e693a3a636f6e7374727563746f723a206d696e74696e672063616e206f6e81527f6c7920626567696e206166746572206465706c6f796d656e7400000000000000602082015260400192915050565b620001d081620002b0565b604081016200025d8285620001c5565b6200026c6020830184620001d6565b9392505050565b602080825281016200015e81620001e1565b602081016200015e828462000242565b90815260200190565b60006001600160a01b0382166200015e565b90565b60006200015e8260006200015e826200029e565b620002d2816200029e565b8114620002de57600080fd5b50565b620002d281620002b0565b61311780620002fc6000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c80636fcfff45116100f9578063b4b5ea5711610097578063dd62ed3e11610071578063dd62ed3e1461036b578063e7a324dc1461037e578063f1127ed814610386578063fca3b5aa146103a7576101b9565b8063b4b5ea5714610332578063c3cda52014610345578063d505accf14610358576101b9565b8063782d6fe1116100d3578063782d6fe1146102e45780637ecebe001461030457806395d89b4114610317578063a9059cbb1461031f576101b9565b80636fcfff45146102b657806370a08231146102c957806376c71ca1146102dc576101b9565b806330adf81f1161016657806340c10f191161014057806340c10f1914610266578063587cde1e1461027b5780635c11d62f1461028e5780635c19a95c146102a3576101b9565b806330adf81f1461024157806330b36cef14610249578063313ce56714610251576101b9565b806318160ddd1161019757806318160ddd1461021157806320606b701461022657806323b872dd1461022e576101b9565b806306fdde03146101be57806307546172146101dc578063095ea7b3146101f1575b600080fd5b6101c66103ba565b6040516101d39190612c72565b60405180910390f35b6101e46103f3565b6040516101d39190612b45565b6102046101ff3660046122aa565b61040f565b6040516101d39190612b6e565b610219610534565b6040516101d39190612b7c565b61021961053a565b61020461023c3660046121c1565b610551565b6102196106f5565b610219610701565b610259610707565b6040516101d39190612dac565b6102796102743660046122aa565b61070c565b005b6101e4610289366004612161565b6109fc565b610296610a24565b6040516101d39190612d83565b6102796102b1366004612161565b610a2c565b6102966102c4366004612161565b610a39565b6102196102d7366004612161565b610a51565b610259610a87565b6102f76102f23660046122aa565b610a8c565b6040516101d39190612dc8565b610219610312366004612161565b610d6e565b6101c6610d80565b61020461032d3660046122aa565b610db9565b6102f7610340366004612161565b610df5565b6102796103533660046122da565b610ea3565b61027961036636600461220e565b611128565b610219610379366004612187565b61155d565b6102196115a3565b610399610394366004612361565b6115af565b6040516101d3929190612d91565b6102796103b5366004612161565b6115ea565b6040518060400160405280600781526020017f556e69737761700000000000000000000000000000000000000000000000000081525081565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6000807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83141561046157507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610486565b61048383604051806060016040528060248152602001613082602491396116d6565b90505b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff891680855292529182902080547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166bffffffffffffffffffffffff861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610520908590612dba565b60405180910390a360019150505b92915050565b60005481565b60405161054690612b2f565b604051809103902081565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083203380855290835281842054825160608101909352602480845291936bffffffffffffffffffffffff9091169285926105bb9288929190613082908301396116d6565b90508673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561060757506bffffffffffffffffffffffff82811614155b156106db57600061063183836040518060600160405280603c8152602001612f02603c9139611728565b73ffffffffffffffffffffffffffffffffffffffff8981166000818152600360209081526040808320948a16808452949091529081902080547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166bffffffffffffffffffffffff86161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906106d1908590612dba565b60405180910390a3505b6106e687878361178b565b600193505050505b9392505050565b60405161054690612b24565b60025481565b601281565b60015473ffffffffffffffffffffffffffffffffffffffff163314610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d13565b60405180910390fd5b6002544210156107a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612cd3565b73ffffffffffffffffffffffffffffffffffffffff82166107ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612cc3565b6107fd426301e133806119f2565b600281905550600061082782604051806060016040528060218152602001613061602191396116d6565b905061084361083c600054600260ff16611a31565b6064611a85565b816bffffffffffffffffffffffff16111561088a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d03565b6108c56108a7600054836bffffffffffffffffffffffff166119f2565b604051806060016040528060268152602001612f3e602691396116d6565b6bffffffffffffffffffffffff908116600090815573ffffffffffffffffffffffffffffffffffffffff85168152600460209081526040918290205482516060810190935260248084526109299491909116928592909190612ede90830139611ac7565b73ffffffffffffffffffffffffffffffffffffffff841660008181526004602052604080822080547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166bffffffffffffffffffffffff959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906109bd908590612dba565b60405180910390a373ffffffffffffffffffffffffffffffffffffffff8084166000908152600560205260408120546109f7921683611b22565b505050565b60056020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6301e1338081565b610a363382611d69565b50565b60076020526000908152604090205463ffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff166000908152600460205260409020546bffffffffffffffffffffffff1690565b600281565b6000438210610ac7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612cb3565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205463ffffffff1680610b0257600091505061052e565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260066020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860181168552925290912054168310610bda5773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9490940163ffffffff168352929052205464010000000090046bffffffffffffffffffffffff16905061052e565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260066020908152604080832083805290915290205463ffffffff16831015610c2257600091505061052e565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8163ffffffff168163ffffffff161115610d1657600282820363ffffffff16048103610c7261211e565b5073ffffffffffffffffffffffffffffffffffffffff8716600090815260066020908152604080832063ffffffff8581168552908352928190208151808301909252549283168082526401000000009093046bffffffffffffffffffffffff169181019190915290871415610cf15760200151945061052e9350505050565b805163ffffffff16871115610d0857819350610d0f565b6001820392505b5050610c48565b5073ffffffffffffffffffffffffffffffffffffffff8516600090815260066020908152604080832063ffffffff909416835292905220546bffffffffffffffffffffffff6401000000009091041691505092915050565b60086020526000908152604090205481565b6040518060400160405280600381526020017f554e49000000000000000000000000000000000000000000000000000000000081525081565b600080610dde8360405180606001604052806025815260200161303c602591396116d6565b9050610deb33858361178b565b5060019392505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526007602052604081205463ffffffff1680610e2d5760006106ee565b73ffffffffffffffffffffffffffffffffffffffff831660009081526006602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff850163ffffffff16845290915290205464010000000090046bffffffffffffffffffffffff169392505050565b6000604051610eb190612b2f565b60408051918290038220828201909152600782527f556e6973776170000000000000000000000000000000000000000000000000006020909201919091527f99c45e8ee5dde061ced9c812089094fbd28a020e7e37f2851198887e5ca64985610f18611e1d565b30604051602001610f2c9493929190612c22565b6040516020818303038152906040528051906020012090506000604051610f5290612b3a565b604051908190038120610f6d918a908a908a90602001612be4565b60405160208183030381529060405280519060200120905060008282604051602001610f9a929190612af3565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610fd79493929190612c57565b6020604051602081039080840390855afa158015610ff9573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612ca3565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260086020526040902080546001810190915589146110d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d33565b87421115611111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612c83565b61111b818b611d69565b505050505b505050505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86141561117957507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61119e565b61119b86604051806060016040528060238152602001612f99602391396116d6565b90505b60006040516111ac90612b2f565b60408051918290038220828201909152600782527f556e6973776170000000000000000000000000000000000000000000000000006020909201919091527f99c45e8ee5dde061ced9c812089094fbd28a020e7e37f2851198887e5ca64985611213611e1d565b306040516020016112279493929190612c22565b604051602081830303815290604052805190602001209050600060405161124d90612b24565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff8d1660009081526008602090815292902080546001810190915561129c9391928e928e928e9290918e9101612b8a565b604051602081830303815290604052805190602001209050600082826040516020016112c9929190612af3565b6040516020818303038152906040528051906020012090506000600182898989604051600081526020016040526040516113069493929190612c57565b6020604051602081039080840390855afa158015611328573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166113a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d63565b8b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611405576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d73565b8842111561143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d53565b84600360008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055508a73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516115479190612dba565b60405180910390a3505050505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526003602090815260408083209390941682529190915220546bffffffffffffffffffffffff1690565b60405161054690612b3a565b600660209081526000928352604080842090915290825290205463ffffffff81169064010000000090046bffffffffffffffffffffffff1682565b60015473ffffffffffffffffffffffffffffffffffffffff16331461163b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d23565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6916116879173ffffffffffffffffffffffffffffffffffffffff909116908490612b53565b60405180910390a1600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000816c010000000000000000000000008410611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d9190612c72565b509192915050565b6000836bffffffffffffffffffffffff16836bffffffffffffffffffffffff1611158290611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d9190612c72565b505050900390565b73ffffffffffffffffffffffffffffffffffffffff83166117d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612d43565b73ffffffffffffffffffffffffffffffffffffffff8216611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612ce3565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260046020908152604091829020548251606081019093526035808452611882936bffffffffffffffffffffffff9092169285929190612f6490830139611728565b73ffffffffffffffffffffffffffffffffffffffff848116600090815260046020908152604080832080547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166bffffffffffffffffffffffff96871617905592861682529082902054825160608101909352602f80845261191494919091169285929091906130a690830139611ac7565b73ffffffffffffffffffffffffffffffffffffffff8381166000818152600460205260409081902080547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166bffffffffffffffffffffffff95909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906119ab908590612dba565b60405180910390a373ffffffffffffffffffffffffffffffffffffffff8084166000908152600560205260408082205485841683529120546109f792918216911683611b22565b6000828201838110156106ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612c93565b600082611a405750600061052e565b82820282848281611a4d57fe5b04146106ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90612cf3565b60006106ee83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e21565b6000838301826bffffffffffffffffffffffff8087169083161015611b19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d9190612c72565b50949350505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611b6c57506000816bffffffffffffffffffffffff16115b156109f75773ffffffffffffffffffffffffffffffffffffffff831615611c6f5773ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604081205463ffffffff169081611bc6576000611c36565b73ffffffffffffffffffffffffffffffffffffffff851660009081526006602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860163ffffffff16845290915290205464010000000090046bffffffffffffffffffffffff165b90506000611c5d828560405180606001604052806027815260200161301560279139611728565b9050611c6b86848484611e72565b5050505b73ffffffffffffffffffffffffffffffffffffffff8216156109f75773ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604081205463ffffffff169081611cc4576000611d34565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860163ffffffff16845290915290205464010000000090046bffffffffffffffffffffffff165b90506000611d5b8285604051806060016040528060268152602001612fbc60269139611ac7565b905061112085848484611e72565b73ffffffffffffffffffffffffffffffffffffffff808316600081815260056020818152604080842080546004845282862054949093528787167fffffffffffffffffffffffff000000000000000000000000000000000000000084168117909155905191909516946bffffffffffffffffffffffff9092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611e17828483611b22565b50505050565b4690565b60008183611e5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d9190612c72565b506000838581611e6857fe5b0495945050505050565b6000611e9643604051806060016040528060338152602001612fe2603391396120dc565b905060008463ffffffff16118015611f0a575073ffffffffffffffffffffffffffffffffffffffff8516600090815260066020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8901811685529252909120548282169116145b15611fa95773ffffffffffffffffffffffffffffffffffffffff851660009081526006602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff880163ffffffff168452909152902080547fffffffffffffffffffffffffffffffff000000000000000000000000ffffffff166401000000006bffffffffffffffffffffffff851602179055612085565b60408051808201825263ffffffff80841682526bffffffffffffffffffffffff808616602080850191825273ffffffffffffffffffffffffffffffffffffffff8b166000818152600683528781208c871682528352878120965187549451909516640100000000027fffffffffffffffffffffffffffffffff000000000000000000000000ffffffff9587167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000958616179590951694909417909555938252600790935292909220805460018801909316929091169190911790555b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516120cd929190612dd6565b60405180910390a25050505050565b6000816401000000008410611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d9190612c72565b604080518082019091526000808252602082015290565b803561052e81612eae565b803561052e81612ec2565b803561052e81612ecb565b803561052e81612ed4565b60006020828403121561217357600080fd5b600061217f8484612135565b949350505050565b6000806040838503121561219a57600080fd5b60006121a68585612135565b92505060206121b785828601612135565b9150509250929050565b6000806000606084860312156121d657600080fd5b60006121e28686612135565b93505060206121f386828701612135565b925050604061220486828701612140565b9150509250925092565b600080600080600080600060e0888a03121561222957600080fd5b60006122358a8a612135565b97505060206122468a828b01612135565b96505060406122578a828b01612140565b95505060606122688a828b01612140565b94505060806122798a828b01612156565b93505060a061228a8a828b01612140565b92505060c061229b8a828b01612140565b91505092959891949750929550565b600080604083850312156122bd57600080fd5b60006122c98585612135565b92505060206121b785828601612140565b60008060008060008060c087890312156122f357600080fd5b60006122ff8989612135565b965050602061231089828a01612140565b955050604061232189828a01612140565b945050606061233289828a01612156565b935050608061234389828a01612140565b92505060a061235489828a01612140565b9150509295509295509295565b6000806040838503121561237457600080fd5b60006123808585612135565b92505060206121b78582860161214b565b61239a81612e03565b82525050565b61239a81612e0e565b61239a81612e13565b61239a6123be82612e13565b612e13565b60006123ce82612df1565b6123d88185612df5565b93506123e8818560208601612e5a565b6123f181612e86565b9093019392505050565b6000612408602583612df5565b7f556e693a3a64656c656761746542795369673a207369676e617475726520657881527f7069726564000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000612467600283612dfe565b7f1901000000000000000000000000000000000000000000000000000000000000815260020192915050565b60006124a0601b83612df5565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b60006124d9602583612df5565b7f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e81527f6174757265000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000612538602683612df5565b7f556e693a3a6765745072696f72566f7465733a206e6f7420796574206465746581527f726d696e65640000000000000000000000000000000000000000000000000000602082015260400192915050565b6000612597602e83612df5565b7f556e693a3a6d696e743a2063616e6e6f74207472616e7366657220746f20746881527f65207a65726f2061646472657373000000000000000000000000000000000000602082015260400192915050565b60006125f6605283612dfe565b7f5065726d69742861646472657373206f776e65722c616464726573732073706581527f6e6465722c75696e743235362076616c75652c75696e74323536206e6f6e636560208201527f2c75696e7432353620646561646c696e65290000000000000000000000000000604082015260520192915050565b600061267b602283612df5565b7f556e693a3a6d696e743a206d696e74696e67206e6f7420616c6c6f776564207981527f6574000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006126da604383612dfe565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201527f6374290000000000000000000000000000000000000000000000000000000000604082015260430192915050565b600061275f603983612df5565b7f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726181527f6e7366657220746f20746865207a65726f206164647265737300000000000000602082015260400192915050565b60006127be602183612df5565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b600061281d601c83612df5565b7f556e693a3a6d696e743a206578636565646564206d696e742063617000000000815260200192915050565b6000612856602383612df5565b7f556e693a3a6d696e743a206f6e6c7920746865206d696e7465722063616e206d81527f696e740000000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006128b5603d83612df5565b7f556e693a3a7365744d696e7465723a206f6e6c7920746865206d696e7465722081527f63616e206368616e676520746865206d696e7465722061646472657373000000602082015260400192915050565b6000612914602183612df5565b7f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e6381527f6500000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000612973603b83612df5565b7f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726181527f6e736665722066726f6d20746865207a65726f20616464726573730000000000602082015260400192915050565b60006129d2601e83612df5565b7f556e693a3a7065726d69743a207369676e617475726520657870697265640000815260200192915050565b6000612a0b603a83612dfe565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0192915050565b6000612a6a601e83612df5565b7f556e693a3a7065726d69743a20696e76616c6964207369676e61747572650000815260200192915050565b6000612aa3601983612df5565b7f556e693a3a7065726d69743a20756e617574686f72697a656400000000000000815260200192915050565b61239a81612e2f565b61239a81612e38565b61239a81612e4f565b61239a81612e3e565b6000612afe8261245a565b9150612b0a82856123b2565b602082019150612b1a82846123b2565b5060200192915050565b600061052e826125e9565b600061052e826126cd565b600061052e826129fe565b6020810161052e8284612391565b60408101612b618285612391565b6106ee6020830184612391565b6020810161052e82846123a0565b6020810161052e82846123a9565b60c08101612b9882896123a9565b612ba56020830188612391565b612bb26040830187612391565b612bbf60608301866123a9565b612bcc60808301856123a9565b612bd960a08301846123a9565b979650505050505050565b60808101612bf282876123a9565b612bff6020830186612391565b612c0c60408301856123a9565b612c1960608301846123a9565b95945050505050565b60808101612c3082876123a9565b612c3d60208301866123a9565b612c4a60408301856123a9565b612c196060830184612391565b60808101612c6582876123a9565b612bff6020830186612ad8565b602080825281016106ee81846123c3565b6020808252810161052e816123fb565b6020808252810161052e81612493565b6020808252810161052e816124cc565b6020808252810161052e8161252b565b6020808252810161052e8161258a565b6020808252810161052e8161266e565b6020808252810161052e81612752565b6020808252810161052e816127b1565b6020808252810161052e81612810565b6020808252810161052e81612849565b6020808252810161052e816128a8565b6020808252810161052e81612907565b6020808252810161052e81612966565b6020808252810161052e816129c5565b6020808252810161052e81612a5d565b6020808252810161052e81612a96565b6020810161052e8284612acf565b60408101612d9f8285612acf565b6106ee6020830184612aea565b6020810161052e8284612ad8565b6020810161052e8284612ae1565b6020810161052e8284612aea565b60408101612de48285612ae1565b6106ee6020830184612ae1565b5190565b90815260200190565b919050565b600061052e82612e16565b151590565b90565b73ffffffffffffffffffffffffffffffffffffffff1690565b63ffffffff1690565b60ff1690565b6bffffffffffffffffffffffff1690565b600061052e82612e3e565b60005b83811015612e75578181015183820152602001612e5d565b83811115611e175750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b612eb781612e03565b8114610a3657600080fd5b612eb781612e13565b612eb781612e2f565b612eb781612e3856fe556e693a3a6d696e743a207472616e7366657220616d6f756e74206f766572666c6f7773556e693a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365556e693a3a6d696e743a20746f74616c537570706c7920657863656564732039362062697473556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365556e693a3a7065726d69743a20616d6f756e7420657863656564732039362062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773556e693a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473556e693a3a6d696e743a20616d6f756e7420657863656564732039362062697473556e693a3a617070726f76653a20616d6f756e7420657863656564732039362062697473556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773a365627a7a7231582068d42e51eae03f461fed8d2db904ba521e900521e0a2199b4a57d733502ad3da6c6578706572696d656e74616cf564736f6c6343000510004000000000000000000000000041653c7d61609d856f29355e404f310ec4142cfb00000000000000000000000041653c7d61609d856f29355e404f310ec4142cfb0000000000000000000000000000000000000000000000000000000065920080"}]} \ No newline at end of file diff --git a/tests/cachedrpc/358cd9761d67c48e1cfe50364d1d3feca6ddacfa5cd99e391925b2a09e54fad9 b/tests/cachedrpc/358cd9761d67c48e1cfe50364d1d3feca6ddacfa5cd99e391925b2a09e54fad9 new file mode 100644 index 00000000..d2a3687e --- /dev/null +++ b/tests/cachedrpc/358cd9761d67c48e1cfe50364d1d3feca6ddacfa5cd99e391925b2a09e54fad9 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// File: contracts/zeppelin/Proxy.sol\r\n\r\npragma solidity 0.4.24;\r\n\r\n/**\r\n * @title Proxy\r\n * @dev Implements delegation of calls to other contracts, with proper\r\n * forwarding of return values and bubbling of failures.\r\n * It defines a fallback function that delegates all calls to the address\r\n * returned by the abstract _implementation() internal function.\r\n */\r\ncontract Proxy {\r\n /**\r\n * @dev Fallback function.\r\n * Implemented entirely in `_fallback`.\r\n */\r\n function () payable external {\r\n _fallback();\r\n }\r\n\r\n /**\r\n * @return The Address of the implementation.\r\n */\r\n function _implementation() internal view returns (address);\r\n\r\n /**\r\n * @dev Delegates execution to an implementation contract.\r\n * This is a low level function that doesn't return to its internal call site.\r\n * It will return to the external caller whatever the implementation returns.\r\n * @param implementation Address to delegate.\r\n */\r\n function _delegate(address implementation) internal {\r\n assembly {\r\n // Copy msg.data. We take full control of memory in this inline assembly\r\n // block because it will not return to Solidity code. We overwrite the\r\n // Solidity scratch pad at memory position 0.\r\n calldatacopy(0, 0, calldatasize)\r\n\r\n // Call the implementation.\r\n // out and outsize are 0 because we don't know the size yet.\r\n let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)\r\n\r\n // Copy the returned data.\r\n returndatacopy(0, 0, returndatasize)\r\n\r\n switch result\r\n // delegatecall returns 0 on error.\r\n case 0 { revert(0, returndatasize) }\r\n default { return(0, returndatasize) }\r\n }\r\n }\r\n\r\n /**\r\n * @dev Function that is run as the first thing in the fallback function.\r\n * Can be redefined in derived contracts to add functionality.\r\n * Redefinitions must call super._willFallback().\r\n */\r\n function _willFallback() internal {\r\n }\r\n\r\n /**\r\n * @dev fallback implementation.\r\n * Extracted to enable manual triggering.\r\n */\r\n function _fallback() internal {\r\n _willFallback();\r\n _delegate(_implementation());\r\n }\r\n}\r\n\r\n// File: contracts/zeppelin/AddressUtils.sol\r\n\r\npragma solidity 0.4.24;\r\n\r\n\r\n/**\r\n * Utility library of inline functions on addresses\r\n */\r\nlibrary AddressUtils {\r\n\r\n /**\r\n * Returns whether the target address is a contract\r\n * @dev This function will return false if invoked during the constructor of a contract,\r\n * as the code is not actually created until after the constructor finishes.\r\n * @param addr address to check\r\n * @return whether the target address is a contract\r\n */\r\n function isContract(address addr) internal view returns (bool) {\r\n uint256 size;\r\n // XXX Currently there is no better way to check if there is a contract in an address\r\n // than to check the size of the code at that address.\r\n // See https://ethereum.stackexchange.com/a/14016/36603\r\n // for more details about how this works.\r\n // TODO Check this again before the Serenity release, because all addresses will be\r\n // contracts then.\r\n // solium-disable-next-line security/no-inline-assembly\r\n assembly { size := extcodesize(addr) }\r\n return size > 0;\r\n }\r\n\r\n}\r\n\r\n// File: contracts/zeppelin/UpgradeabilityProxy.sol\r\n\r\npragma solidity 0.4.24;\r\n\r\n\r\n\r\n/**\r\n * @title UpgradeabilityProxy\r\n * @dev This contract implements a proxy that allows to change the\r\n * implementation address to which it will delegate.\r\n * Such a change is called an implementation upgrade.\r\n */\r\ncontract UpgradeabilityProxy is Proxy {\r\n /**\r\n * @dev Emitted when the implementation is upgraded.\r\n * @param implementation Address of the new implementation.\r\n */\r\n event Upgraded(address implementation);\r\n\r\n /**\r\n * @dev Storage slot with the address of the current implementation.\r\n * This is the keccak-256 hash of \"org.zeppelinos.proxy.implementation\", and is\r\n * validated in the constructor.\r\n */\r\n bytes32 private constant IMPLEMENTATION_SLOT = 0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3;\r\n\r\n /**\r\n * @dev Contract constructor.\r\n * @param _implementation Address of the initial implementation.\r\n */\r\n constructor(address _implementation) public {\r\n assert(IMPLEMENTATION_SLOT == keccak256(\"org.zeppelinos.proxy.implementation\"));\r\n\r\n _setImplementation(_implementation);\r\n }\r\n\r\n /**\r\n * @dev Returns the current implementation.\r\n * @return Address of the current implementation\r\n */\r\n function _implementation() internal view returns (address impl) {\r\n bytes32 slot = IMPLEMENTATION_SLOT;\r\n assembly {\r\n impl := sload(slot)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Upgrades the proxy to a new implementation.\r\n * @param newImplementation Address of the new implementation.\r\n */\r\n function _upgradeTo(address newImplementation) internal {\r\n _setImplementation(newImplementation);\r\n emit Upgraded(newImplementation);\r\n }\r\n\r\n /**\r\n * @dev Sets the implementation address of the proxy.\r\n * @param newImplementation Address of the new implementation.\r\n */\r\n function _setImplementation(address newImplementation) private {\r\n require(AddressUtils.isContract(newImplementation), \"Cannot set a proxy implementation to a non-contract address\");\r\n\r\n bytes32 slot = IMPLEMENTATION_SLOT;\r\n\r\n assembly {\r\n sstore(slot, newImplementation)\r\n }\r\n }\r\n}\r\n\r\n// File: contracts/zeppelin/AdminUpgradeabilityProxy.sol\r\n\r\npragma solidity 0.4.24;\r\n\r\n\r\n/**\r\n * @title AdminUpgradeabilityProxy\r\n * @dev This contract combines an upgradeability proxy with an authorization\r\n * mechanism for administrative tasks.\r\n * All external functions in this contract must be guarded by the\r\n * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity\r\n * feature proposal that would enable this to be done automatically.\r\n */\r\ncontract AdminUpgradeabilityProxy is UpgradeabilityProxy {\r\n /**\r\n * @dev Emitted when the administration has been transferred.\r\n * @param previousAdmin Address of the previous admin.\r\n * @param newAdmin Address of the new admin.\r\n */\r\n event AdminChanged(address previousAdmin, address newAdmin);\r\n\r\n /**\r\n * @dev Storage slot with the admin of the contract.\r\n * This is the keccak-256 hash of \"org.zeppelinos.proxy.admin\", and is\r\n * validated in the constructor.\r\n */\r\n bytes32 private constant ADMIN_SLOT = 0x10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b;\r\n\r\n /**\r\n * @dev Modifier to check whether the `msg.sender` is the admin.\r\n * If it is, it will run the function. Otherwise, it will delegate the call\r\n * to the implementation.\r\n */\r\n modifier ifAdmin() {\r\n if (msg.sender == _admin()) {\r\n _;\r\n } else {\r\n _fallback();\r\n }\r\n }\r\n\r\n /**\r\n * Contract constructor.\r\n * It sets the `msg.sender` as the proxy administrator.\r\n * @param _implementation address of the initial implementation.\r\n */\r\n constructor(address _implementation) UpgradeabilityProxy(_implementation) public {\r\n assert(ADMIN_SLOT == keccak256(\"org.zeppelinos.proxy.admin\"));\r\n\r\n _setAdmin(msg.sender);\r\n }\r\n\r\n /**\r\n * @return The address of the proxy admin.\r\n */\r\n function admin() external view ifAdmin returns (address) {\r\n return _admin();\r\n }\r\n\r\n /**\r\n * @return The address of the implementation.\r\n */\r\n function implementation() external view ifAdmin returns (address) {\r\n return _implementation();\r\n }\r\n\r\n /**\r\n * @dev Changes the admin of the proxy.\r\n * Only the current admin can call this function.\r\n * @param newAdmin Address to transfer proxy administration to.\r\n */\r\n function changeAdmin(address newAdmin) external ifAdmin {\r\n require(newAdmin != address(0), \"Cannot change the admin of a proxy to the zero address\");\r\n emit AdminChanged(_admin(), newAdmin);\r\n _setAdmin(newAdmin);\r\n }\r\n\r\n /**\r\n * @dev Upgrade the backing implementation of the proxy.\r\n * Only the admin can call this function.\r\n * @param newImplementation Address of the new implementation.\r\n */\r\n function upgradeTo(address newImplementation) external ifAdmin {\r\n _upgradeTo(newImplementation);\r\n }\r\n\r\n /**\r\n * @dev Upgrade the backing implementation of the proxy and call a function\r\n * on the new implementation.\r\n * This is useful to initialize the proxied contract.\r\n * @param newImplementation Address of the new implementation.\r\n * @param data Data to send as msg.data in the low level call.\r\n * It should include the signature and the parameters of the function to be\r\n * called, as described in\r\n * https://solidity.readthedocs.io/en/develop/abi-spec.html#function-selector-and-argument-encoding.\r\n */\r\n function upgradeToAndCall(address newImplementation, bytes data) payable external ifAdmin {\r\n _upgradeTo(newImplementation);\r\n require(address(this).call.value(msg.value)(data));\r\n }\r\n\r\n /**\r\n * @return The admin slot.\r\n */\r\n function _admin() internal view returns (address adm) {\r\n bytes32 slot = ADMIN_SLOT;\r\n assembly {\r\n adm := sload(slot)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Sets the address of the proxy admin.\r\n * @param newAdmin Address of the new proxy admin.\r\n */\r\n function _setAdmin(address newAdmin) internal {\r\n bytes32 slot = ADMIN_SLOT;\r\n\r\n assembly {\r\n sstore(slot, newAdmin)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Only fall back when the sender is not the admin.\r\n */\r\n function _willFallback() internal {\r\n require(msg.sender != _admin(), \"Cannot call fallback function from the proxy admin\");\r\n super._willFallback();\r\n }\r\n}","ABI":"[{\"constant\":false,\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_implementation\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}]","ContractName":"AdminUpgradeabilityProxy","CompilerVersion":"v0.4.24+commit.e67f0147","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"0000000000000000000000005864c777697Bf9881220328BF2f16908c9aFCD7e","EVMVersion":"Default","Library":"","LicenseType":"MIT","Proxy":"1","Implementation":"0x2a3f1a37c04f82aa274f5353834b2d002db91015","SwarmSource":"bzzr://b274fe16b200679a229fcce27c65314a32b3cff995c434133f535dd565bba474","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/3803b82992b63555ac88623a3c06804754bdaa74143a0406064f9236ff569417 b/tests/cachedrpc/3803b82992b63555ac88623a3c06804754bdaa74143a0406064f9236ff569417 new file mode 100644 index 00000000..c48209cb --- /dev/null +++ b/tests/cachedrpc/3803b82992b63555ac88623a3c06804754bdaa74143a0406064f9236ff569417 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","contractCreator":"0x95ba4cf87d6723ad9c0db21737d862be80e93911","txHash":"0xe7e0fe390354509cd08c9a0168536938600ddc552b3f7cb96030ebef62e75895","blockNumber":"6082465","timestamp":"1533324504","contractFactory":"","creationBytecode":"0x608060405234801561001057600080fd5b50604051602080610b2983398101806040528101908080519060200190929190505050808060405180807f6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e74617481526020017f696f6e000000000000000000000000000000000000000000000000000000000081525060230190506040518091039020600019167f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3600102600019161415156100c657fe5b6100de81610169640100000000026401000000009004565b5060405180807f6f72672e7a657070656c696e6f732e70726f78792e61646d696e000000000000815250601a0190506040518091039020600019167f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b6001026000191614151561014a57fe5b6101623361024e640100000000026401000000009004565b5050610290565b60006101878261027d6401000000000261084b176401000000009004565b1515610221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001807f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81526020017f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000081525060400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b600080823b905060008111915050919050565b61088a8061029f6000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633659cfe6146100775780634f1ef286146100ba5780635c60da1b146101085780638f2839701461015f578063f851a440146101a2575b6100756101f9565b005b34801561008357600080fd5b506100b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610213565b005b610106600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390505050610268565b005b34801561011457600080fd5b5061011d610308565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561016b57600080fd5b506101a0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610360565b005b3480156101ae57600080fd5b506101b761051e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610201610576565b61021161020c610651565b610682565b565b61021b6106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561025c57610257816106d9565b610265565b6102646101f9565b5b50565b6102706106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102fa576102ac836106d9565b3073ffffffffffffffffffffffffffffffffffffffff163483836040518083838082843782019150509250505060006040518083038185875af19250505015156102f557600080fd5b610303565b6103026101f9565b5b505050565b60006103126106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103545761034d610651565b905061035d565b61035c6101f9565b5b90565b6103686106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561051257600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610466576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001807f43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f81526020017f787920746f20746865207a65726f20616464726573730000000000000000000081525060400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61048f6106a8565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a161050d81610748565b61051b565b61051a6101f9565b5b50565b60006105286106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561056a576105636106a8565b9050610573565b6105726101f9565b5b90565b61057e6106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151515610647576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001807f43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e20667281526020017f6f6d207468652070726f78792061646d696e000000000000000000000000000081525060400191505060405180910390fd5b61064f610777565b565b6000807f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c36001029050805491505090565b3660008037600080366000845af43d6000803e80600081146106a3573d6000f35b3d6000fd5b6000807f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b6001029050805491505090565b6106e281610779565b7fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b565b60006107848261084b565b151561081e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001807f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81526020017f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000081525060400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b600080823b9050600081119150509190505600a165627a7a72305820a4a547cfc7202c5acaaae74d428e988bc62ad5024eb0165532d3a8f91db4ed2400290000000000000000000000000882477e7895bdc5cea7cb1552ed914ab157fe56"}]} \ No newline at end of file diff --git a/tests/cachedrpc/390629716766e5b64739dbd2713a5fc8f4a002042681077658a19e6687429702 b/tests/cachedrpc/390629716766e5b64739dbd2713a5fc8f4a002042681077658a19e6687429702 new file mode 100644 index 00000000..893d74c0 --- /dev/null +++ b/tests/cachedrpc/390629716766e5b64739dbd2713a5fc8f4a002042681077658a19e6687429702 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x1111111254eeb25477b68fb85ed929f73a960582","contractCreator":"0xccbdbd9b0309a77fc6a56e087ff2765ff394012e","txHash":"0x25657f496bedb705c9e922bfd4141b3af6ea85358fede0cabe0eb07871e58c17","blockNumber":"15894742","timestamp":"1667541899","contractFactory":"","creationBytecode":"0x6101e06040523480156200001257600080fd5b5060405162005ab138038062005ab18339810160408190526200003591620001d3565b604080518082018252601881527f31696e6368204167677265676174696f6e20526f75746572000000000000000060208083019182528351808501855260018152603560f81b908201529151902060e08190527fceebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c16101008190524660a081815285517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818701819052818801959095526060810193909352608080840192909252308382018190528651808503909201825260c09384019096528051940193909320909252919052610120528080808080620001313362000183565b6001600160a01b039081166101405290811661016052908116610180529081166101a0529081166101c05281166200017c5760405163d92e233d60e01b815260040160405180910390fd5b5062000205565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620001e657600080fd5b81516001600160a01b0381168114620001fe57600080fd5b9392505050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516157d4620002dd6000396000818161375e015281816137f30152818161387701528181613976015281816139e00152613a75015260005050600081816120fd015281816121e1015261225a015260008181612f3e01526130ac01526000818161090a0152818161098601528181610acb01528181610bbb0152610c02015260006131bb0152600061320a015260006131e50152600061313e015260006131680152600061319201526157d46000f3fe6080604052600436106102f65760003560e01c80637e54f0921161018f578063bf15fcd8116100e1578063d365c6951161008a578063f2fde38b11610064578063f2fde38b14610859578063f78dc25314610879578063fa461e331461088c57600080fd5b8063d365c69514610813578063e449022e14610833578063e5d7bde61461084657600080fd5b8063c805a666116100bb578063c805a66614610799578063ca4ece22146107b9578063cf6fc6e3146107d957600080fd5b8063bf15fcd814610744578063bfa7514314610764578063c53a02921461078457600080fd5b8063942461bb11610143578063bc80f1a81161011d578063bc80f1a8146106f1578063bd61951d14610704578063bddccd351461072457600080fd5b8063942461bb146106915780639570eeee146106be578063bc1ed74c146106d157600080fd5b806383197ef01161017457806383197ef01461064157806384bd6d29146106565780638da5cb5b1461066957600080fd5b80637e54f092146105f4578063825caba11461062157600080fd5b80635a0998431161024857806370ae92d2116101fc57806372c244a8116101d657806372c244a81461059457806374261145146105b457806378e3214f146105d457600080fd5b806370ae92d21461053257806370ccbd311461055f578063715018a61461057f57600080fd5b806363592c2b1161022d57806363592c2b146104d25780636c838250146104f25780636fe7b0ba1461051257600080fd5b80635a099843146104ac57806362e238bb146104bf57600080fd5b80632d9a56f6116102aa5780633eca9c0a116102845780633eca9c0a1461041b5780634f38e2b81461044957806356f161241461046957600080fd5b80632d9a56f6146103bb57806337e7316f146103db5780633c15fd91146103fb57600080fd5b806312aa3caf116102db57806312aa3caf146103435780632521b9301461036b5780632cc2878d1461038b57600080fd5b80630502b1c51461030a578063093d4fa51461033057600080fd5b36610305576103036108ac565b005b600080fd5b61031d61031836600461483f565b6108b6565b6040519081526020015b60405180910390f35b61031d61033e3660046148a9565b6108d0565b610356610351366004614975565b610d16565b60408051928352602083019190915201610327565b34801561037757600080fd5b5061031d610386366004614a17565b610fd1565b34801561039757600080fd5b506103ab6103a6366004614abf565b611001565b6040519015158152602001610327565b3480156103c757600080fd5b506103566103d6366004614af1565b61104b565b3480156103e757600080fd5b5061031d6103f6366004614af1565b61114a565b34801561040757600080fd5b5061031d610416366004614a17565b611164565b61042e610429366004614c15565b611188565b60408051938452602084019290925290820152606001610327565b34801561045557600080fd5b506103ab610464366004614c72565b6111aa565b34801561047557600080fd5b5061031d610484366004614cbe565b6001600160a01b03919091166000908152600360209081526040808320938352929052205490565b61042e6104ba366004614cea565b6111d5565b61042e6104cd366004614d60565b61132b565b3480156104de57600080fd5b506103ab6104ed366004614abf565b421090565b3480156104fe57600080fd5b506103ab61050d366004614af1565b611355565b34801561051e57600080fd5b506103ab61052d366004614c72565b611384565b34801561053e57600080fd5b5061031d61054d366004614e0c565b60016020526000908152604090205481565b34801561056b57600080fd5b5061042e61057a366004614e29565b6113aa565b34801561058b57600080fd5b506103036113f1565b3480156105a057600080fd5b506103036105af366004614ecd565b611403565b3480156105c057600080fd5b506103ab6105cf366004614c72565b6114b2565b3480156105e057600080fd5b506103036105ef366004614cbe565b611524565b34801561060057600080fd5b5061031d61060f366004614abf565b60009081526002602052604090205490565b34801561062d57600080fd5b5061030361063c366004614abf565b611544565b34801561064d57600080fd5b50610303611553565b61031d610664366004614ef0565b61155e565b34801561067557600080fd5b506000546040516001600160a01b039091168152602001610327565b34801561069d57600080fd5b506106b16106ac366004614f67565b611571565b6040516103279190615001565b61042e6106cc366004615045565b61162a565b3480156106dd57600080fd5b5061031d6106ec366004614abf565b611767565b61031d6106ff36600461483f565b6117b7565b34801561071057600080fd5b5061030361071f366004615082565b6117c6565b34801561073057600080fd5b5061030361073f3660046150be565b611867565b34801561075057600080fd5b5061031d61075f366004615082565b611872565b34801561077057600080fd5b506103ab61077f366004614c72565b6118bd565b34801561079057600080fd5b50610303611930565b3480156107a557600080fd5b5061031d6107b43660046150e0565b61193a565b3480156107c557600080fd5b506103ab6107d4366004614c72565b611971565b3480156107e557600080fd5b506103ab6107f4366004614cbe565b6001600160a01b03919091166000908152600160205260409020541490565b34801561081f57600080fd5b5061042e61082e3660046151a4565b611998565b61031d610841366004615295565b611a2c565b61042e6108543660046152e8565b611a3b565b34801561086557600080fd5b50610303610874366004614e0c565b6124cb565b61031d6108873660046153ac565b612558565b34801561089857600080fd5b506103036108a7366004615416565b612573565b6108b4612785565b565b60006108c63387878787876127be565b9695505050505050565b60006001600160a01b0388161580156109085786341461090357604051631841b4e160e01b815260040160405180910390fd5b610a24565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316896001600160a01b0316036109f057506001341561096357604051631841b4e160e01b815260040160405180910390fd5b6040516323b872dd60e01b808252336004830152306024830152604482018990527f000000000000000000000000000000000000000000000000000000000000000091632e1a7d4d60e01b9060008060648382885af16109c6573d6000823e3d81fd5b8181528a60048201526000806024836000885af16109e7573d6000823e3d81fd5b50505050610a24565b3415610a0f57604051631841b4e160e01b815260040160405180910390fd5b610a246001600160a01b038a16338d8a612b30565b8015610ab85760008b905060006327a9b42460e01b90506040518181528a60048201528960248201528860448201528760648201528c60848201528560ff1c601b0160a48201528660c48201526001600160ff1b03861660e482015261012061010482015264a62929c86960d31b610143820152600080610149838d875af1610ab0573d6000823e3d81fd5b505050610d07565b6001600160a01b0388161580610aff57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b0316145b15610c75576040517f4cb6864c00000000000000000000000000000000000000000000000000000000808252600482018b90526024820189905260448201889052606482018790528c918a1560018114610b5e57306084830152610b65565b8d60848301525b508560ff1c601b0160a48201528660c48201526001600160ff1b03861660e482015261012061010482015264a62929c86960d31b610143820152600080610149836000875af1610bb8573d6000823e3d81fd5b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168a6001600160a01b031603610c6e57604051630d0e30db60e41b8082527f00000000000000000000000000000000000000000000000000000000000000009163a9059cbb60e01b906000806004838f885af1610c42573d6000823e3d81fd5b8181528f60048201528b60248201526000806044836000885af1610c69573d6000823e3d81fd5b505050505b5050610d07565b60008b90506000632b651a6c60e01b90506040518181528b60048201528a60248201528960448201528860648201528760848201528c60a48201528560ff1c601b0160c48201528660e48201526001600160ff1b03861661010482015261014061012482015264a62929c86960d31b610163820152600080610169836000875af1610d03573d6000823e3d81fd5b5050505b50939998505050505050505050565b6000808660a00135600003610d57576040517f0262dde400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610d666020890189614e0c565b90506000610d7a60408a0160208b01614e0c565b90506000610d90836001600160a01b0316612bcd565b905060c08a013560021615610dd55780610dab576000610db1565b89608001355b3411610dd057604051631841b4e160e01b815260040160405180910390fd5b610e06565b80610de1576000610de7565b89608001355b3414610e0657604051631841b4e160e01b815260040160405180910390fd5b80610e4f578715610e2557610e256001600160a01b0384168a8a612c06565b610e4f33610e3960608d0160408e01614e0c565b6001600160a01b038616919060808e0135612b30565b610e608b338c608001358a8a612cbf565b60808a01359350610e7a6001600160a01b03831630612d1f565b945084600003610eb6576040517f28ebf24700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000199094019360c08a013560011615610f4f576000610edf6001600160a01b03851630612d1f565b90506001811115610f0e5760001901610ef88186615473565b9450610f0e6001600160a01b0385163383612dca565b610f1c8560a08d0135615486565b610f2a60808d013588615486565b1015610f495760405163f32bec2f60e01b815260040160405180910390fd5b50610f74565b8960a00135851015610f745760405163f32bec2f60e01b815260040160405180910390fd5b600080610f8760808d0160608e01614e0c565b6001600160a01b031614610faa57610fa560808c0160608d01614e0c565b610fac565b335b9050610fc26001600160a01b0384168288612dca565b50505050965096945050505050565b6000610fe76001600160a01b0389168484612c06565b610ff48988888888612eaa565b9998505050505050505050565b600060d082901c60a083901c65ffffffffffff168361101f83421090565b801561104257506001600160a01b03811660009081526001602052604090205482145b95945050505050565b6000803361105f6080850160608601614e0c565b6001600160a01b03161461109f576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110a88361114a565b6000818152600260205260409020549250905060001982016110f6576040517f41a26a6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518281526020810184905233917fcbfa7d191838ece7ba4783ca3a30afd316619b7f368094b57ee7ffde9a923db1910160405180910390a26000818152600260205260409020600190559092909150565b600061115e611157613131565b8390613258565b92915050565b600061117a6001600160a01b0389168484612c06565b610ff48989898989896127be565b600080600061119a87878787336111d5565b9250925092509450945094915050565b60008060006111b985856132d7565b915091508180156111c957508581115b925050505b9392505050565b60008060006112356111e5613131565b601f198a0180517f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f4582526101008220915260405161190160f01b8152600281019290925260228201526042902090565b9050600160fe1b8516156112a957600160fd1b851615801590611259575060418614155b15611277576040516317c2b1f160e01b815260040160405180910390fd5b6112878860600151828989613466565b6112a4576040516317c2b1f160e01b815260040160405180910390fd5b6112d6565b6112b988606001518289896134bb565b6112d6576040516317c2b1f160e01b815260040160405180910390fd5b6112e1888686613522565b60408051848152602081018490529295509093507fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127910160405180910390a1955095509592505050565b60008060006113418b8b8b8b8b8b8b8b33611a3b565b925092509250985098509895505050505050565b600080600061136b61136685613b2e565b6132d7565b9150915081801561137c5750806001145b949350505050565b600080600061139385856132d7565b915091508180156111c95750909414949350505050565b60008060006113d185858c604001516001600160a01b0316612c069092919063ffffffff16565b6113de8a8a8a8a8a6111d5565b9250925092509750975097945050505050565b6113f9613b45565b6108b46000613b9f565b8060ff16600003611440576040517fbd71636d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526001602052604081205461145e9060ff84169061549d565b336000818152600160205260409081902083905551919250907ffc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db906114a69084815260200190565b60405180910390a25050565b60008080805b63ffffffff87821c1692508215611517576000806114db61136686868a8c6154b0565b915091508180156114ec5750806001145b156114ff576001955050505050506111ce565b50839250611510905060208261549d565b90506114b8565b5060009695505050505050565b61152c613b45565b6115406001600160a01b0383163383612dca565b5050565b61155033826000613c07565b50565b61155b613b45565b33ff5b6000610ff489338a8a8a8a8a8a8a6108d0565b60606000825167ffffffffffffffff81111561158f5761158f614b26565b6040519080825280602002602001820160405280156115b8578160200160208202803683370190505b50905060005b835181101561162357600260008583815181106115dd576115dd6154da565b6020026020010151815260200190815260200160002054828281518110611606576116066154da565b60209081029190910101528061161b816154f0565b9150506115be565b5092915050565b600080600061168a61163a613131565b601f19890180517f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f4582526101008220915260405161190160f01b8152600281019290925260228201526042902090565b9050600160fe1b8416156116e657600160fd1b8416156116d6576116b48760600151828888613c9b565b6116d1576040516317c2b1f160e01b815260040160405180910390fd5b611713565b6116b48760600151828888613d05565b6116f68760600151828888613d5a565b611713576040516317c2b1f160e01b815260040160405180910390fd5b61171e878533613522565b60408051848152602081018490529295509093507fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127910160405180910390a19450945094915050565b600081815260026020526040812054806117ad576040517fb838de9600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000190192915050565b60006108c68686868686612eaa565b600080846001600160a01b031684846040516117e3929190615509565b600060405180830381855af49150503d806000811461181e576040519150601f19603f3d011682016040523d82523d6000602084013e611823565b606091505b509150915081816040517f1934afc800000000000000000000000000000000000000000000000000000000815260040161185e929190615569565b60405180910390fd5b611540338383613c07565b6000806000611882868686613da9565b9150915081611042576040517f1f1b8f6100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008080805b63ffffffff87821c1692508215611923576000806118e661136686868a8c6154b0565b915091508115806118f8575080600114155b1561190b576000955050505050506111ce565b5083925061191c905060208261549d565b90506118c3565b5060019695505050505050565b6108b46001611403565b60006119506001600160a01b038b168484612c06565b6119618c8c8c8c8c8c8c8c8c6108d0565b9c9b505050505050505050505050565b600080600061198085856132d7565b915091508180156111c9575094909410949350505050565b6000808060148410156119d7576040517fd9e1c6dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660006119e68888613dd7565b91945092509050611a016001600160a01b0384168383612c06565b505050611a158e8e8e8e8e8e8e8e8e611a3b565b9250925092509b509b509b98505050505050505050565b60006110423386868686612eaa565b600080806001600160a01b038416611a7f576040517fb0c4d05f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a888c61114a565b6000818152600260205260409020548894508793509091508c906000198101611add576040517fecef366400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611aef60c0840160a08501614e0c565b6001600160a01b031614158015611b1e575033611b1260c0840160a08501614e0c565b6001600160a01b031614155b15611b55576040517fd4dfdafe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80611c5857611b75611b6d6080840160608501614e0c565b848f8f6134bb565b611bab576040517f5cd5d23300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060c0810135366000611bbd84613e15565b91509150600160ff1b89166000148015611bd8575060148110155b15611c51576000366000611bec8585613dd7565b91945092509050611c076001600160a01b0384168383612c06565b60008881526002602052604090205415611c4d576040517fc5f2be5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505b5050611c5d565b600019015b6000611c6883613b2e565b90501115611caf57611c7982611355565b611caf576040517fb6629c0200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8415841503611ce9576040517ee2a52200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83600003611d795780851115611cfd578094505b611d1b611d0983613e23565b8460c00135888660e001358689613e31565b93506001600160ff1b038716611d318682615486565b611d3b8b87615486565b1115611d73576040517ffb8ae12900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50611e44565b611d97611d8583613e67565b8460e00135878660c001358689613e75565b945080851115611dec57809450611db0611d0983613e23565b935087841115611dec576040517f939c420400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160ff1b038716611e008582615486565b611e0a8a88615486565b1015611e42576040517f481ea39200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b841580611e4f575083155b15611e86576040517ffba5a27600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84810390508060010160026000858152602001908152602001600020819055508d6060016020810190611eb99190614e0c565b6001600160a01b03167fb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f028483604051611efc929190918252602082015260400190565b60405180910390a26014611f0f83613e89565b905010611fb2576000366000611f2c611f2786613e89565b613dd7565b919450925090506001600160a01b0383166396a10e3387611f536080890160608a01614e0c565b338c8c8a89896040518963ffffffff1660e01b8152600401611f7c9897969594939291906155ad565b600060405180830381600087803b158015611f9657600080fd5b505af1158015611faa573d6000803e3d6000fd5b505050505050505b611fe5611fc56040840160208501614e0c565b611fd56080850160608601614e0c565b8888611fe087613e97565b613ea5565b61201b576040517f70a03f4800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60148a106120f35760003660006120328e8e613dd7565b9250925092506000836001600160a01b031663ccee33d7338b8b87876040518663ffffffff1660e01b815260040161206e959493929190615600565b6020604051808303816000875af115801561208d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b1919061562f565b905087811180156120d057506120ce6120c987613e67565b613f00565b155b80156120e557506120e36120c987613e23565b155b156120ee578097505b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661212d6060840160408501614e0c565b6001600160a01b03161480156121435750600034115b15612359578334101561216957604051631841b4e160e01b815260040160405180910390fd5b833411156121df57604051600090339034879003908381818185875af1925050503d80600081146121b6576040519150601f19603f3d011682016040523d82523d6000602084013e6121bb565b606091505b50509050806121dd5760405163b12d13eb60e01b815260040160405180910390fd5b505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561223a57600080fd5b505af115801561224e573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a9059cbb91506000905061229760a0860160808701614e0c565b6001600160a01b0316146122ba576122b560a0850160808601614e0c565b6122ca565b6122ca6080850160608601614e0c565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018790526044016020604051808303816000875af115801561232f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123539190615648565b50612411565b341561237857604051631841b4e160e01b815260040160405180910390fd5b6123db61238b6060840160408501614e0c565b33600061239e60a0870160808801614e0c565b6001600160a01b0316146123c1576123bc60a0860160808701614e0c565b6123d1565b6123d16080860160608701614e0c565b87611fe087613f75565b612411576040517f478a520500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601461241c83613f83565b9050106124ba576000366000612434611f2786613f83565b919450925090506001600160a01b038316633504ed628761245b6080890160608a01614e0c565b338c8c8a89896040518963ffffffff1660e01b81526004016124849897969594939291906155ad565b600060405180830381600087803b15801561249e57600080fd5b505af11580156124b2573d6000803e3d6000fd5b505050505050505b505099509950999650505050505050565b6124d3613b45565b6001600160a01b03811661254f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161185e565b61155081613b9f565b60006125688787878787876127be565b979650505050505050565b6125cc565b3d6000803e3d6000fd5b8061258f5761258f612578565b600160005114601f3d11163d151780611540577ff27f64e40000000000000000000000000000000000000000000000000000000060005260046000fd5b604051601581017f0dfe1681d21220a7ddca3f43a9059cbb23b872dd0000000000000000000000008252602081600484335afa61260b5761260b612578565b60208082016004808501335afa61262457612624612578565b602060408201600460088501335afa61263f5761263f612578565b600080600088136001811461265d5760208401519250879150612665565b835192508891505b507fff1f98431c8ad98523631ae4a59f267346ea31f984000000000000000000000084526060832083527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460208401526001600160a01b0360558520169250338318156126f6577fb2c027220000000000000000000000000000000000000000000000000000000060005260046000fd5b60843592507f0dfe1681d21220a7ddca3f43a9059cbb23b872dd00000000000000000000000084523083146001811461275757836014860152336034860152816054860152612752602060006064601089016000885af1612582565b61277a565b33601086015281603086015261277a602060006044600c89016000885af1612582565b505050505050505050565b3233036108b4576040517f1b10b0f900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128b9565b7f0902f1ac0000000000000000000000000000000000000000000000000000000081526000604082600484875afa6127ff576127ff612578565b60603d14612831577f85cd58dc0000000000000000000000000000000000000000000000000000000060005260046000fd5b81516020830151861561284057905b8785029250633b9aca008202830181840204925050507f022c0d9f000000000000000000000000000000000000000000000000000000008252841594508415810260048301528481026024830152866044830152608060648301526000608483015260008060a4846000885af16108c6576108c6612578565b6dffffffffffffffffffffffffffff8511156128f9577fcf0b4d3a0000000000000000000000000000000000000000000000000000000060005260046000fd5b60405160c081016040528260051b84018435886000811461296957341561292b57631841b4e160e01b60005260046000fd5b6323b872dd60e01b84523360048501526001600160a01b03821660248501528860448501526129646020600060648760008f5af1612582565b6129ff565b34891461298157631841b4e160e01b60005260046000fd5b630d0e30db60e41b84526000806004868c73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af16129b5576129b5612578565b63a9059cbb60e01b84526001600160a01b0382166004850152886024850152600080604486600073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af16129ff576129ff612578565b50879350602086015b82811015612a50578035612a446001600160a01b03821663ffffffff60a01b851660a01c600160ff1b86166001600160a01b0387168a8a6127c5565b95509150602001612a08565b50600160fe1b81168015612adf57612a873063ffffffff60a01b841660a01c600160ff1b85166001600160a01b03861689896127c5565b9450632e1a7d4d60e01b8452846004850152600080602486600073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af1612ac457612ac4612578565b600080600080888f5af1612ada57612ada612578565b612b0b565b612b088b63ffffffff60a01b841660a01c600160ff1b85166001600160a01b03861689896127c5565b94505b50505050838110156108c65760405163f32bec2f60e01b815260040160405180910390fd5b60006323b872dd60e01b905060006040518281528560048201528460248201528360448201526020600060648360008b5af19150508015612b8e573d8015612b8457600160005114601f3d11169150612b8c565b6000873b1191505b505b80612bc5576040517ff405907100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050565b60006001600160a01b038216158061115e57506001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1492915050565b600060e0829003612c4457612c3d847fd505accf000000000000000000000000000000000000000000000000000000008585613f91565b9050612cac565b610100829003612c7a57612c3d847f8fcbaf0c000000000000000000000000000000000000000000000000000000008585613f91565b6040517f6827585700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80612cb957612cb9613fe3565b50505050565b6040517f4b64e4920000000000000000000000000000000000000000000000000000000080825260048201869052908284602483013784836024830101526000808460440183348b5af1612d16573d6000823e3d81fd5b50505050505050565b6000612d2a83612bcd565b15612d4057506001600160a01b0381163161115e565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301528416906370a0823190602401602060405180830381865afa158015612d9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc3919061562f565b905061115e565b8015612ea557612dd983612bcd565b15612e915780471015612e18576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826001600160a01b03168261138890604051600060405180830381858888f193505050503d8060008114612e6a576040519150601f19603f3d011682016040523d82523d6000602084013e612e6f565b606091505b5050905080612cb95760405163b12d13eb60e01b815260040160405180910390fd5b612ea56001600160a01b0384168383613fef565b505050565b600081808203612ee6576040517f67e7c0f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8591506000198101341515600080600160fd1b888886818110612f0b57612f0b6154da565b90506020020135161190508115612fb157883414612f3c57604051631841b4e160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db08a6040518263ffffffff1660e01b81526004016000604051808303818588803b158015612f9757600080fd5b505af1158015612fab573d6000803e3d6000fd5b50505050505b600184111561305157612feb3083612fc95733612fcb565b305b89896000818110612fde57612fde6154da565b9050602002013588614038565b945060015b838110156130265761301c30308a8a8581811061300f5761300f6154da565b9050602002013589614038565b9550600101612ff0565b5061304a81613035578a613037565b305b30898987818110612fde57612fde6154da565b945061306f565b61306c8161305f578a613061565b305b83612fc95733612fcb565b94505b878510156130905760405163f32bec2f60e01b815260040160405180910390fd5b801561312457604051632e1a7d4d60e01b8152600481018690527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b1580156130f857600080fd5b505af115801561310c573d6000803e3d6000fd5b50613124925050506001600160a01b038b16866141d4565b5050505095945050505050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561318a57507f000000000000000000000000000000000000000000000000000000000000000046145b156131b457507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000368161326a61012086018661566a565b60405191935091507f0a244ca8a150ac294c14fcff9277051ced9a5b23e966a0ff0522e989da23116c9082848237828120610140820152610120876020830137818152610160902060405161190160f01b81526002810187905260228101829052604290209094506108c6565b60008060006132e685856142ed565b60e01c905060006132f986866004614317565b9050632cc2878c19820161333057600161331282611001565b61331d576000613320565b60015b90945060ff16925061345f915050565b63bf15fcd88210156133be57636fe7b0ba82101561338257634f38e2b71982016133665760016133128261046489896064614348565b6363592c2a19820161337d57600161331282421090565b61344d565b636fe7b0b91982016133a05760016133128261052d89896064614348565b637426114419820161337d576001613312826105cf89896064614348565b63ca4ece228210156134115763bf15fcd71982016133f35760016133e88261075f89896064614348565b93509350505061345f565b63bfa7514219820161337d5760016133128261077f89896064614348565b63ca4ece2119820161342f576001613312826107d489896064614348565b63cf6fc6e219820161344d576001613312826107f489896024614317565b613458308787613da9565b9350935050505b9250929050565b600080631626ba7e60e01b905060405181815285600482015260406024820152836044820152838560648301376020600085606401838a5afa156134b15760203d1460005183141692505b5050949350505050565b60006001600160a01b0385166134d35750600061137c565b60408214806134e25750604182145b80156135095750846001600160a01b03166134fe858585614378565b6001600160a01b0316145b156135165750600161137c565b61104285858585613466565b6000806001600160a01b038316613565576040517f692e45e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606085015160808601516001600160a01b031615801590613593575060808601516001600160a01b03163314155b156135ca576040517fe8c6632100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b855167ffffffffffffffff604082901c1680158015906135e957508042115b15613620576040517fc56873ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61362c83836000613c07565b505060a086015160c08701517f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8716600081900361366f57829550819450613715565b600160ff1b8816156136ca57828111156136b5576040517faa34b69600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8095506136c383838861442d565b9450613715565b81811115613704576040517f7f902a9300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80945061371283838761445b565b95505b5050508260001480613725575081155b1561375c576040517f07b6e79f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686602001516001600160a01b03161480156137c257507f1000000000000000000000000000000000000000000000000000000000000000851615155b1561395a576040516323b872dd60e01b81526001600160a01b038281166004830152306024830152604482018590527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064016020604051808303816000875af115801561383c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138609190615648565b50604051632e1a7d4d60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b1580156138c357600080fd5b505af11580156138d7573d6000803e3d6000fd5b505050506000846001600160a01b03168461138890604051600060405180830381858888f193505050503d806000811461392d576040519150601f19603f3d011682016040523d82523d6000602084013e613932565b606091505b50509050806139545760405163b12d13eb60e01b815260040160405180910390fd5b50613974565b6020860151613974906001600160a01b0316828686612b30565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686604001516001600160a01b03161480156139b95750600034115b15613aec578134146139de57604051631841b4e160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b158015613a3957600080fd5b505af1158015613a4d573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b038581166004830152602482018790527f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb925060440190506020604051808303816000875af1158015613ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ae69190615648565b50613b25565b3415613b0b57604051631841b4e160e01b815260040160405180910390fd5b6040860151613b25906001600160a01b0316338385612b30565b50935093915050565b366000613b3c836004614468565b91509150915091565b6000546001600160a01b031633146108b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161185e565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316600090815260036020908152604080832066ffffffffffffff600887901c16808552928190529220549091600160ff86161b841791808316839003613c82576040517ff71fbda200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000938452602091909152604090922091179055505050565b600080631626ba7e60e01b905060405181815285600482015260406024820152604160448201528460648201526001600160ff1b03841660848201528360ff1c601b0160a48201536020600060a5838a5afa156134b15750600051143d6020141695945050505050565b600080631626ba7e60e01b905060405181815285600482015260406024820152604060448201528460648201528360848201526020600060a4838a5afa156134b15750600051143d6020141695945050505050565b60006001600160a01b038516613d725750600061137c565b846001600160a01b0316613d878585856144c3565b6001600160a01b031603613d9d5750600161137c565b61104285858585613d05565b60008060405183858237602060008583895afa3d602014169250508115613dcf57506000515b935093915050565b600036816014841015613dfd5760405163779ab6bd60e11b815260040160405180910390fd5b505050813560601c9260149092019160131990910190565b366000613b3c836005614468565b366000613b3c836003614468565b6000868103613e4c57613e4586858761442d565b9050612568565b613e5b88888888888888614532565b98975050505050505050565b366000613b3c836002614468565b6000868103613e4c57613e4584878761445b565b366000613b3c836006614468565b366000613b3c836000614468565b6040516323b872dd60e01b8082526004820187905260248201869052604482018590526000918385606483013760206000856064018360008d5af19050600160005114601f3d11163d15178116925050509695505050505050565b60006001821480156111ce575082826000818110613f2057613f206154da565b9050013560f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f7800000000000000000000000000000000000000000000000000000000000000149392505050565b366000613b3c836001614468565b366000613b3c836007614468565b6000816004016040518581528385600483013760206000838360008b5af192505050801561137c573d8015613fd257600160005114601f3d11169150613fda565b6000863b1191505b50949350505050565b6040513d6000823e3d81fd5b6140028363a9059cbb60e01b84846146be565b612ea5576040517ffb7f507900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160ff1b831615801561410e576000846001600160a01b031663128acb08888461406488614700565b604080516001600160a01b038d1660208201526401000276a491016040516020818303038152906040526040518663ffffffff1660e01b81526004016140ae9594939291906156b1565b60408051808303816000875af11580156140cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140f091906156eb565b915050614105816141009061570f565b614783565b9250505061137c565b6000846001600160a01b031663128acb08888461412a88614700565b604080516001600160a01b038d16602082015273fffd8963efd1fc6a506488495d951d5263988d2591016040516020818303038152906040526040518663ffffffff1660e01b81526004016141839594939291906156b1565b60408051808303816000875af11580156141a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141c591906156eb565b5090506141056141008261570f565b804710156142245760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161185e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614271576040519150601f19603f3d011682016040523d82523d6000602084013e614276565b606091505b5050905080612ea55760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161185e565b600060048210156143115760405163779ab6bd60e11b815260040160405180910390fd5b50503590565b60006020820183101561433d5760405163779ab6bd60e11b815260040160405180910390fd5b509190910135919050565b3660008284101561436c5760405163779ab6bd60e11b815260040160405180910390fd5b50509182019291900390565b6000604051826041811461439757604081146143b157600091506143d9565b604085013560001a602083015260408560408401376143d9565b60208501358060ff1c601b01602084015260208660408501376001600160ff1b031660608301525b508015614425577f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a16060820151101561442557848152600080526020600060808360015afa5060005191505b509392505050565b60008360018161443d8686615486565b614447919061549d565b6144519190615473565b61137c919061572b565b6000826144518584615486565b3660008060058460078111156144805761448061574d565b901b905061449261012086018661566a565b6144b79161010088013580851c63ffffffff9081169360209290921b861c16916154b0565b92509250509250929050565b60006001600160ff1b0382167f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1811015614425576040518581528360ff1c601b016020820152846040820152816060820152600080526020600060808360015afa505060005195945050505050565b600060018790036145be576145478888613f00565b1561458c57858514614585576040517f49986e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5082612568565b6040517fbec74c8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660006145cd8b8b613dd7565b925092509250600080846001600160a01b031684848c8b8b6040516020016145f9959493929190615763565b60408051601f198184030181529082905261461391615782565b600060405180830381855afa9150503d806000811461464e576040519150601f19603f3d011682016040523d82523d6000602084013e614653565b606091505b509150915081158061466757508051602014155b1561469e576040517f110b8e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808060200190518101906146b2919061562f565b95505050505050612568565b60006040518481528360048201528260248201526020600060448360008a5af1915050801561137c573d8015613fd257600160005114601f3d11169150613fda565b60006001600160ff1b0382111561477f5760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e206160448201527f6e20696e74323536000000000000000000000000000000000000000000000000606482015260840161185e565b5090565b60008082121561477f5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f736974697665604482015260640161185e565b6001600160a01b038116811461155057600080fd5b80356147f5816147d5565b919050565b60008083601f84011261480c57600080fd5b50813567ffffffffffffffff81111561482457600080fd5b6020830191508360208260051b850101111561345f57600080fd5b60008060008060006080868803121561485757600080fd5b8535614862816147d5565b94506020860135935060408601359250606086013567ffffffffffffffff81111561488c57600080fd5b614898888289016147fa565b969995985093965092949392505050565b60008060008060008060008060006101208a8c0312156148c857600080fd5b89356148d3816147d5565b985060208a01356148e3816147d5565b975060408a01356148f3816147d5565b965060608a0135614903816147d5565b989b979a50959860808101359760a0820135975060c0820135965060e08201359550610100909101359350915050565b60008083601f84011261494557600080fd5b50813567ffffffffffffffff81111561495d57600080fd5b60208301915083602082850101111561345f57600080fd5b60008060008060008086880361014081121561499057600080fd5b873561499b816147d5565b965060e0601f19820112156149af57600080fd5b5060208701945061010087013567ffffffffffffffff808211156149d257600080fd5b6149de8a838b01614933565b90965094506101208901359150808211156149f857600080fd5b50614a0589828a01614933565b979a9699509497509295939492505050565b60008060008060008060008060c0898b031215614a3357600080fd5b8835614a3e816147d5565b97506020890135614a4e816147d5565b96506040890135955060608901359450608089013567ffffffffffffffff80821115614a7957600080fd5b614a858c838d016147fa565b909650945060a08b0135915080821115614a9e57600080fd5b50614aab8b828c01614933565b999c989b5096995094979396929594505050565b600060208284031215614ad157600080fd5b5035919050565b60006101408284031215614aeb57600080fd5b50919050565b600060208284031215614b0357600080fd5b813567ffffffffffffffff811115614b1a57600080fd5b61137c84828501614ad8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614b6557614b65614b26565b604052919050565b600060e08284031215614b7f57600080fd5b60405160e0810181811067ffffffffffffffff82111715614ba257614ba2614b26565b604052823581529050806020830135614bba816147d5565b60208201526040830135614bcd816147d5565b60408201526060830135614be0816147d5565b60608201526080830135614bf3816147d5565b8060808301525060a083013560a082015260c083013560c08201525092915050565b6000806000806101208587031215614c2c57600080fd5b614c368686614b6d565b935060e085013567ffffffffffffffff811115614c5257600080fd5b614c5e87828801614933565b959890975094956101000135949350505050565b600080600060408486031215614c8757600080fd5b83359250602084013567ffffffffffffffff811115614ca557600080fd5b614cb186828701614933565b9497909650939450505050565b60008060408385031215614cd157600080fd5b8235614cdc816147d5565b946020939093013593505050565b60008060008060006101408688031215614d0357600080fd5b614d0d8787614b6d565b945060e086013567ffffffffffffffff811115614d2957600080fd5b614d3588828901614933565b9095509350506101008601359150610120860135614d52816147d5565b809150509295509295909350565b60008060008060008060008060c0898b031215614d7c57600080fd5b883567ffffffffffffffff80821115614d9457600080fd5b614da08c838d01614ad8565b995060208b0135915080821115614db657600080fd5b614dc28c838d01614933565b909950975060408b0135915080821115614ddb57600080fd5b50614de88b828c01614933565b999c989b5096999698976060880135976080810135975060a0013595509350505050565b600060208284031215614e1e57600080fd5b81356111ce816147d5565b6000806000806000806000610160888a031215614e4557600080fd5b614e4f8989614b6d565b965060e088013567ffffffffffffffff80821115614e6c57600080fd5b614e788b838c01614933565b90985096506101008a013595506101208a01359150614e96826147d5565b9093506101408901359080821115614ead57600080fd5b50614eba8a828b01614933565b989b979a50959850939692959293505050565b600060208284031215614edf57600080fd5b813560ff811681146111ce57600080fd5b600080600080600080600080610100898b031215614f0d57600080fd5b8835614f18816147d5565b97506020890135614f28816147d5565b96506040890135614f38816147d5565b979a96995096976060810135975060808101359660a0820135965060c0820135955060e0909101359350915050565b60006020808385031215614f7a57600080fd5b823567ffffffffffffffff80821115614f9257600080fd5b818501915085601f830112614fa657600080fd5b813581811115614fb857614fb8614b26565b8060051b9150614fc9848301614b3c565b8181529183018401918481019088841115614fe357600080fd5b938501935b83851015613e5b57843582529385019390850190614fe8565b6020808252825182820181905260009190848201906040850190845b818110156150395783518352928401929184019160010161501d565b50909695505050505050565b600080600080610140858703121561505c57600080fd5b6150668686614b6d565b9660e08601359650610100860135956101200135945092505050565b60008060006040848603121561509757600080fd5b83356150a2816147d5565b9250602084013567ffffffffffffffff811115614ca557600080fd5b600080604083850312156150d157600080fd5b50508035926020909101359150565b60008060008060008060008060008060006101408c8e03121561510257600080fd5b8b3561510d816147d5565b9a5060208c013561511d816147d5565b995060408c013561512d816147d5565b985060608c013561513d816147d5565b975060808c0135965060a08c0135955060c08c0135945060e08c013593506101008c013592506101208c013567ffffffffffffffff81111561517e57600080fd5b61518a8e828f01614933565b915080935050809150509295989b509295989b9093969950565b60008060008060008060008060008060006101008c8e0312156151c657600080fd5b67ffffffffffffffff808d3511156151dd57600080fd5b6151ea8e8e358f01614ad8565b9b508060208e013511156151fd57600080fd5b61520d8e60208f01358f01614933565b909b50995060408d013581101561522357600080fd5b6152338e60408f01358f01614933565b909950975060608d0135965060808d0135955060a08d0135945061525960c08e016147ea565b93508060e08e0135111561526c57600080fd5b5061527d8d60e08e01358e01614933565b81935080925050509295989b509295989b9093969950565b600080600080606085870312156152ab57600080fd5b8435935060208501359250604085013567ffffffffffffffff8111156152d057600080fd5b6152dc878288016147fa565b95989497509550505050565b600080600080600080600080600060e08a8c03121561530657600080fd5b893567ffffffffffffffff8082111561531e57600080fd5b61532a8d838e01614ad8565b9a5060208c013591508082111561534057600080fd5b61534c8d838e01614933565b909a50985060408c013591508082111561536557600080fd5b506153728c828d01614933565b90975095505060608a0135935060808a0135925060a08a0135915060c08a013561539b816147d5565b809150509295985092959850929598565b60008060008060008060a087890312156153c557600080fd5b86356153d0816147d5565b955060208701356153e0816147d5565b94506040870135935060608701359250608087013567ffffffffffffffff81111561540a57600080fd5b614a0589828a016147fa565b6000806000806060858703121561542c57600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561545157600080fd5b6152dc87828801614933565b634e487b7160e01b600052601160045260246000fd5b8181038181111561115e5761115e61545d565b808202811582820484141761115e5761115e61545d565b8082018082111561115e5761115e61545d565b600080858511156154c057600080fd5b838611156154cd57600080fd5b5050820193919092039150565b634e487b7160e01b600052603260045260246000fd5b6000600182016155025761550261545d565b5060010190565b8183823760009101908152919050565b60005b8381101561553457818101518382015260200161551c565b50506000910152565b60008151808452615555816020860160208601615519565b601f01601f19169290920160200192915050565b821515815260406020820152600061137c604083018461553d565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b88815260006001600160a01b03808a1660208401528089166040840152508660608301528560808301528460a083015260e060c08301526155f260e083018486615584565b9a9950505050505050505050565b6001600160a01b0386168152846020820152836040820152608060608201526000612568608083018486615584565b60006020828403121561564157600080fd5b5051919050565b60006020828403121561565a57600080fd5b815180151581146111ce57600080fd5b6000808335601e1984360301811261568157600080fd5b83018035915067ffffffffffffffff82111561569c57600080fd5b60200191503681900382131561345f57600080fd5b60006001600160a01b038088168352861515602084015285604084015280851660608401525060a0608083015261256860a083018461553d565b600080604083850312156156fe57600080fd5b505080516020909101519092909150565b6000600160ff1b82036157245761572461545d565b5060000390565b60008261574857634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b8486823790930191825260208201526040810191909152606001919050565b60008251615794818460208701615519565b919091019291505056fea264697066735822122040321861ce858a2c911db7a2e1f42f4368d23b5251b80dd661a6f2abf19c358d64736f6c63430008110033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}]} \ No newline at end of file diff --git a/tests/cachedrpc/39839374791588b474cb5265fa65809b9d10834f287410099d7711c77bb3bb75 b/tests/cachedrpc/39839374791588b474cb5265fa65809b9d10834f287410099d7711c77bb3bb75 new file mode 100644 index 00000000..e96da291 --- /dev/null +++ b/tests/cachedrpc/39839374791588b474cb5265fa65809b9d10834f287410099d7711c77bb3bb75 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"contracts/interfaces/IERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\"\r\n },\r\n \"contracts/interfaces/IERC20Detailed.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\nimport {IERC20} from \\\"./IERC20.sol\\\";\\n\\ninterface IERC20Detailed is IERC20 {\\n function name() external view returns(string memory);\\n function symbol() external view returns(string memory);\\n function decimals() external view returns(uint8);\\n}\\n\"\r\n },\r\n \"contracts/interfaces/ITransferHook.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\ninterface ITransferHook {\\n function onTransfer(address from, address to, uint256 amount) external;\\n}\"\r\n },\r\n \"contracts/open-zeppelin/Address.sol\": {\r\n \"content\": \"pragma solidity ^0.6.2;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // According to EIP-1052, 0x0 is the value returned for not-yet created accounts\\n // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned\\n // for accounts without code, i.e. `keccak256('')`\\n bytes32 codehash;\\n bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { codehash := extcodehash(account) }\\n return (codehash != accountHash && codehash != 0x0);\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n}\"\r\n },\r\n \"contracts/open-zeppelin/BaseAdminUpgradeabilityProxy.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\n\\nimport './UpgradeabilityProxy.sol';\\n\\n/**\\n * @title BaseAdminUpgradeabilityProxy\\n * @dev This contract combines an upgradeability proxy with an authorization\\n * mechanism for administrative tasks.\\n * All external functions in this contract must be guarded by the\\n * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity\\n * feature proposal that would enable this to be done automatically.\\n */\\ncontract BaseAdminUpgradeabilityProxy is BaseUpgradeabilityProxy {\\n /**\\n * @dev Emitted when the administration has been transferred.\\n * @param previousAdmin Address of the previous admin.\\n * @param newAdmin Address of the new admin.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n\\n bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Modifier to check whether the `msg.sender` is the admin.\\n * If it is, it will run the function. Otherwise, it will delegate the call\\n * to the implementation.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _admin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @return The address of the proxy admin.\\n */\\n function admin() external ifAdmin returns (address) {\\n return _admin();\\n }\\n\\n /**\\n * @return The address of the implementation.\\n */\\n function implementation() external ifAdmin returns (address) {\\n return _implementation();\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n * Only the current admin can call this function.\\n * @param newAdmin Address to transfer proxy administration to.\\n */\\n function changeAdmin(address newAdmin) external ifAdmin {\\n require(newAdmin != address(0), \\\"Cannot change the admin of a proxy to the zero address\\\");\\n emit AdminChanged(_admin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrade the backing implementation of the proxy.\\n * Only the admin can call this function.\\n * @param newImplementation Address of the new implementation.\\n */\\n function upgradeTo(address newImplementation) external ifAdmin {\\n _upgradeTo(newImplementation);\\n }\\n\\n /**\\n * @dev Upgrade the backing implementation of the proxy and call a function\\n * on the new implementation.\\n * This is useful to initialize the proxied contract.\\n * @param newImplementation Address of the new implementation.\\n * @param data Data to send as msg.data in the low level call.\\n * It should include the signature and the parameters of the function to be called, as described in\\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data) payable external ifAdmin {\\n _upgradeTo(newImplementation);\\n (bool success,) = newImplementation.delegatecall(data);\\n require(success);\\n }\\n\\n /**\\n * @return adm The admin slot.\\n */\\n function _admin() internal view returns (address adm) {\\n bytes32 slot = ADMIN_SLOT;\\n assembly {\\n adm := sload(slot)\\n }\\n }\\n\\n /**\\n * @dev Sets the address of the proxy admin.\\n * @param newAdmin Address of the new proxy admin.\\n */\\n function _setAdmin(address newAdmin) internal {\\n bytes32 slot = ADMIN_SLOT;\\n\\n assembly {\\n sstore(slot, newAdmin)\\n }\\n }\\n\\n /**\\n * @dev Only fall back when the sender is not the admin.\\n */\\n function _willFallback() internal override virtual {\\n require(msg.sender != _admin(), \\\"Cannot call fallback function from the proxy admin\\\");\\n super._willFallback();\\n }\\n}\"\r\n },\r\n \"contracts/open-zeppelin/UpgradeabilityProxy.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\n\\nimport './BaseUpgradeabilityProxy.sol';\\n\\n/**\\n * @title UpgradeabilityProxy\\n * @dev Extends BaseUpgradeabilityProxy with a constructor for initializing\\n * implementation and init data.\\n */\\ncontract UpgradeabilityProxy is BaseUpgradeabilityProxy {\\n /**\\n * @dev Contract constructor.\\n * @param _logic Address of the initial implementation.\\n * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\\n * It should include the signature and the parameters of the function to be called, as described in\\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\\n * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.\\n */\\n constructor(address _logic, bytes memory _data) public payable {\\n assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));\\n _setImplementation(_logic);\\n if(_data.length > 0) {\\n (bool success,) = _logic.delegatecall(_data);\\n require(success);\\n }\\n } \\n}\"\r\n },\r\n \"contracts/open-zeppelin/BaseUpgradeabilityProxy.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\n\\nimport './Proxy.sol';\\nimport './Address.sol';\\n\\n/**\\n * @title BaseUpgradeabilityProxy\\n * @dev This contract implements a proxy that allows to change the\\n * implementation address to which it will delegate.\\n * Such a change is called an implementation upgrade.\\n */\\ncontract BaseUpgradeabilityProxy is Proxy {\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n * @param implementation Address of the new implementation.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Returns the current implementation.\\n * @return impl Address of the current implementation\\n */\\n function _implementation() internal override view returns (address impl) {\\n bytes32 slot = IMPLEMENTATION_SLOT;\\n assembly {\\n impl := sload(slot)\\n }\\n }\\n\\n /**\\n * @dev Upgrades the proxy to a new implementation.\\n * @param newImplementation Address of the new implementation.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Sets the implementation address of the proxy.\\n * @param newImplementation Address of the new implementation.\\n */\\n function _setImplementation(address newImplementation) internal {\\n require(Address.isContract(newImplementation), \\\"Cannot set a proxy implementation to a non-contract address\\\");\\n\\n bytes32 slot = IMPLEMENTATION_SLOT;\\n\\n assembly {\\n sstore(slot, newImplementation)\\n }\\n }\\n}\"\r\n },\r\n \"contracts/open-zeppelin/Proxy.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\n\\n/**\\n * @title Proxy\\n * @dev Implements delegation of calls to other contracts, with proper\\n * forwarding of return values and bubbling of failures.\\n * It defines a fallback function that delegates all calls to the address\\n * returned by the abstract _implementation() internal function.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Fallback function.\\n * Implemented entirely in `_fallback`.\\n */\\n fallback () payable external {\\n _fallback();\\n }\\n\\n /**\\n * @return The Address of the implementation.\\n */\\n function _implementation() internal virtual view returns (address);\\n\\n /**\\n * @dev Delegates execution to an implementation contract.\\n * This is a low level function that doesn't return to its internal call site.\\n * It will return to the external caller whatever the implementation returns.\\n * @param implementation Address to delegate.\\n */\\n function _delegate(address implementation) internal {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 { revert(0, returndatasize()) }\\n default { return(0, returndatasize()) }\\n }\\n }\\n\\n /**\\n * @dev Function that is run as the first thing in the fallback function.\\n * Can be redefined in derived contracts to add functionality.\\n * Redefinitions must call super._willFallback().\\n */\\n function _willFallback() internal virtual {\\n }\\n\\n /**\\n * @dev fallback implementation.\\n * Extracted to enable manual triggering.\\n */\\n function _fallback() internal {\\n _willFallback();\\n _delegate(_implementation());\\n }\\n}\"\r\n },\r\n \"contracts/open-zeppelin/Context.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\n/*\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with GSN meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address payable) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes memory) {\\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\\n return msg.data;\\n }\\n}\"\r\n },\r\n \"contracts/open-zeppelin/ERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\nimport \\\"./Context.sol\\\";\\nimport \\\"../interfaces/IERC20.sol\\\";\\nimport \\\"./SafeMath.sol\\\";\\nimport \\\"./Address.sol\\\";\\n\\n/**\\n * @dev Implementation of the {IERC20} interface.\\n *\\n * This implementation is agnostic to the way tokens are created. This means\\n * that a supply mechanism has to be added in a derived contract using {_mint}.\\n * For a generic mechanism see {ERC20PresetMinterPauser}.\\n *\\n * TIP: For a detailed writeup see our guide\\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\\n * to implement supply mechanisms].\\n *\\n * We have followed general OpenZeppelin guidelines: functions revert instead\\n * of returning `false` on failure. This behavior is nonetheless conventional\\n * and does not conflict with the expectations of ERC20 applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n mapping (address => uint256) private _balances;\\n\\n mapping (address => mapping (address => uint256)) private _allowances;\\n\\n uint256 private _totalSupply;\\n\\n string internal _name;\\n string internal _symbol;\\n uint8 private _decimals;\\n\\n /**\\n * @dev Sets the values for {name} and {symbol}, initializes {decimals} with\\n * a default value of 18.\\n *\\n * To select a different value for {decimals}, use {_setupDecimals}.\\n *\\n * All three of these values are immutable: they can only be set once during\\n * construction.\\n */\\n constructor (string memory name, string memory symbol) public {\\n _name = name;\\n _symbol = symbol;\\n _decimals = 18;\\n }\\n\\n /**\\n * @dev Returns the name of the token.\\n */\\n function name() public view returns (string memory) {\\n return _name;\\n }\\n\\n /**\\n * @dev Returns the symbol of the token, usually a shorter version of the\\n * name.\\n */\\n function symbol() public view returns (string memory) {\\n return _symbol;\\n }\\n\\n /**\\n * @dev Returns the number of decimals used to get its user representation.\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\\n *\\n * Tokens usually opt for a value of 18, imitating the relationship between\\n * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\\n * called.\\n *\\n * NOTE: This information is only used for _display_ purposes: it in\\n * no way affects any of the arithmetic of the contract, including\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\n */\\n function decimals() public view returns (uint8) {\\n return _decimals;\\n }\\n\\n /**\\n * @dev See {IERC20-totalSupply}.\\n */\\n function totalSupply() public view override returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @dev See {IERC20-balanceOf}.\\n */\\n function balanceOf(address account) public view override returns (uint256) {\\n return _balances[account];\\n }\\n\\n /**\\n * @dev See {IERC20-transfer}.\\n *\\n * Requirements:\\n *\\n * - `recipient` cannot be the zero address.\\n * - the caller must have a balance of at least `amount`.\\n */\\n function transfer(address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(_msgSender(), recipient, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-allowance}.\\n */\\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n return _allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See {IERC20-approve}.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\\n _approve(_msgSender(), spender, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-transferFrom}.\\n *\\n * Emits an {Approval} event indicating the updated allowance. This is not\\n * required by the EIP. See the note at the beginning of {ERC20};\\n *\\n * Requirements:\\n * - `sender` and `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n * - the caller must have allowance for ``sender``'s tokens of at least\\n * `amount`.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(sender, recipient, amount);\\n _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, \\\"ERC20: transfer amount exceeds allowance\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `spender` must have allowance for the caller of at least\\n * `subtractedValue`.\\n */\\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, \\\"ERC20: decreased allowance below zero\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Moves tokens `amount` from `sender` to `recipient`.\\n *\\n * This is internal function is equivalent to {transfer}, and can be used to\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\n *\\n * Emits a {Transfer} event.\\n *\\n * Requirements:\\n *\\n * - `sender` cannot be the zero address.\\n * - `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n */\\n function _transfer(address sender, address recipient, uint256 amount) internal virtual {\\n require(sender != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(recipient != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n _beforeTokenTransfer(sender, recipient, amount);\\n\\n _balances[sender] = _balances[sender].sub(amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n _balances[recipient] = _balances[recipient].add(amount);\\n emit Transfer(sender, recipient, amount);\\n }\\n\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n * the total supply.\\n *\\n * Emits a {Transfer} event with `from` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `to` cannot be the zero address.\\n */\\n function _mint(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n _beforeTokenTransfer(address(0), account, amount);\\n\\n _totalSupply = _totalSupply.add(amount);\\n _balances[account] = _balances[account].add(amount);\\n emit Transfer(address(0), account, amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, reducing the\\n * total supply.\\n *\\n * Emits a {Transfer} event with `to` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `account` cannot be the zero address.\\n * - `account` must have at least `amount` tokens.\\n */\\n function _burn(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n _beforeTokenTransfer(account, address(0), amount);\\n\\n _balances[account] = _balances[account].sub(amount, \\\"ERC20: burn amount exceeds balance\\\");\\n _totalSupply = _totalSupply.sub(amount);\\n emit Transfer(account, address(0), amount);\\n }\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.\\n *\\n * This is internal function is equivalent to `approve`, and can be used to\\n * e.g. set automatic allowances for certain subsystems, etc.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `owner` cannot be the zero address.\\n * - `spender` cannot be the zero address.\\n */\\n function _approve(address owner, address spender, uint256 amount) internal virtual {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n _allowances[owner][spender] = amount;\\n emit Approval(owner, spender, amount);\\n }\\n\\n /**\\n * @dev Sets {decimals} to a value other than the default one of 18.\\n *\\n * WARNING: This function should only be called from the constructor. Most\\n * applications that interact with token contracts will not expect\\n * {decimals} to ever change, and may work incorrectly if it does.\\n */\\n function _setupDecimals(uint8 decimals_) internal {\\n _decimals = decimals_;\\n }\\n\\n /**\\n * @dev Hook that is called before any transfer of tokens. This includes\\n * minting and burning.\\n *\\n * Calling conditions:\\n *\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * will be to transferred to `to`.\\n * - when `from` is zero, `amount` tokens will be minted for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n * - `from` and `to` are never both zero.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }\\n}\"\r\n },\r\n \"contracts/open-zeppelin/SafeMath.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n return sub(a, b, \\\"SafeMath: subtraction overflow\\\");\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b <= a, errorMessage);\\n uint256 c = a - b;\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) {\\n return 0;\\n }\\n\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n return div(a, b, \\\"SafeMath: division by zero\\\");\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n // Solidity only automatically asserts when dividing by 0\\n require(b > 0, errorMessage);\\n uint256 c = a / b;\\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n return mod(a, b, \\\"SafeMath: modulo by zero\\\");\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts with custom message when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b != 0, errorMessage);\\n return a % b;\\n }\\n}\"\r\n },\r\n \"contracts/open-zeppelin/InitializableAdminUpgradeabilityProxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity ^0.6.10;\\n\\nimport \\\"./BaseAdminUpgradeabilityProxy.sol\\\";\\nimport \\\"./InitializableUpgradeabilityProxy.sol\\\";\\n\\n/**\\n * @title InitializableAdminUpgradeabilityProxy\\n * @dev Extends from BaseAdminUpgradeabilityProxy with an initializer for \\n * initializing the implementation, admin, and init data.\\n */\\ncontract InitializableAdminUpgradeabilityProxy is BaseAdminUpgradeabilityProxy, InitializableUpgradeabilityProxy {\\n /**\\n * Contract initializer.\\n * @param _logic address of the initial implementation.\\n * @param _admin Address of the proxy administrator.\\n * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\\n * It should include the signature and the parameters of the function to be called, as described in\\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\\n * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.\\n */\\n function initialize(address _logic, address _admin, bytes memory _data) public payable {\\n require(_implementation() == address(0));\\n InitializableUpgradeabilityProxy.initialize(_logic, _data);\\n assert(ADMIN_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.admin\\\")) - 1));\\n _setAdmin(_admin);\\n }\\n\\n /**\\n * @dev Only fall back when the sender is not the admin.\\n */\\n function _willFallback() internal override(BaseAdminUpgradeabilityProxy, Proxy) {\\n BaseAdminUpgradeabilityProxy._willFallback();\\n }\\n\\n}\\n\"\r\n },\r\n \"contracts/open-zeppelin/InitializableUpgradeabilityProxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity ^0.6.10;\\n\\nimport \\\"./BaseUpgradeabilityProxy.sol\\\";\\n\\n/**\\n * @title InitializableUpgradeabilityProxy\\n * @dev Extends BaseUpgradeabilityProxy with an initializer for initializing\\n * implementation and init data.\\n */\\ncontract InitializableUpgradeabilityProxy is BaseUpgradeabilityProxy {\\n /**\\n * @dev Contract initializer.\\n * @param _logic Address of the initial implementation.\\n * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\\n * It should include the signature and the parameters of the function to be called, as described in\\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\\n * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.\\n */\\n function initialize(address _logic, bytes memory _data) public payable {\\n require(_implementation() == address(0));\\n assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.implementation\\\")) - 1));\\n _setImplementation(_logic);\\n if (_data.length > 0) {\\n (bool success, ) = _logic.delegatecall(_data);\\n require(success);\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/token/AaveToken.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\nimport {ERC20} from \\\"../open-zeppelin/ERC20.sol\\\";\\nimport {ITransferHook} from \\\"../interfaces/ITransferHook.sol\\\";\\nimport {VersionedInitializable} from \\\"../utils/VersionedInitializable.sol\\\";\\n\\n\\n/**\\n* @notice implementation of the AAVE token contract\\n* @author Aave\\n*/\\ncontract AaveToken is ERC20, VersionedInitializable {\\n\\n /// @dev snapshot of a value on a specific block, used for balances\\n struct Snapshot {\\n uint128 blockNumber;\\n uint128 value;\\n }\\n\\n string internal constant NAME = \\\"Aave Token\\\";\\n string internal constant SYMBOL = \\\"AAVE\\\";\\n uint8 internal constant DECIMALS = 18;\\n\\n /// @dev the amount being distributed for the LEND -> AAVE migration\\n uint256 internal constant MIGRATION_AMOUNT = 13000000 ether;\\n\\n /// @dev the amount being distributed for the PSI and PEI\\n uint256 internal constant DISTRIBUTION_AMOUNT = 3000000 ether;\\n\\n uint256 public constant REVISION = 1;\\n\\n /// @dev owner => next valid nonce to submit with permit()\\n mapping (address => uint256) public _nonces;\\n\\n mapping (address => mapping (uint256 => Snapshot)) public _snapshots;\\n\\n mapping (address => uint256) public _countsSnapshots;\\n\\n /// @dev reference to the Aave governance contract to call (if initialized) on _beforeTokenTransfer\\n /// !!! IMPORTANT The Aave governance is considered a trustable contract, being its responsibility\\n /// to control all potential reentrancies by calling back the AaveToken\\n ITransferHook public _aaveGovernance;\\n\\n bytes32 public DOMAIN_SEPARATOR;\\n bytes public constant EIP712_REVISION = bytes(\\\"1\\\");\\n bytes32 internal constant EIP712_DOMAIN = keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\");\\n bytes32 public constant PERMIT_TYPEHASH = keccak256(\\\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\\\");\\n\\n event SnapshotDone(address owner, uint128 oldValue, uint128 newValue);\\n\\n constructor() ERC20(NAME, SYMBOL) public {}\\n\\n /**\\n * @dev initializes the contract upon assignment to the InitializableAdminUpgradeabilityProxy\\n * @param migrator the address of the LEND -> AAVE migration contract\\n * @param distributor the address of the AAVE distribution contract\\n */\\n function initialize(\\n address migrator,\\n address distributor,\\n ITransferHook aaveGovernance\\n ) external initializer {\\n\\n uint256 chainId;\\n\\n //solium-disable-next-line\\n assembly {\\n chainId := chainid()\\n }\\n\\n DOMAIN_SEPARATOR = keccak256(abi.encode(\\n EIP712_DOMAIN,\\n keccak256(bytes(NAME)),\\n keccak256(EIP712_REVISION),\\n chainId,\\n address(this)\\n ));\\n _name = NAME;\\n _symbol = SYMBOL;\\n _setupDecimals(DECIMALS);\\n _aaveGovernance = aaveGovernance;\\n _mint(migrator, MIGRATION_AMOUNT);\\n _mint(distributor, DISTRIBUTION_AMOUNT);\\n }\\n\\n /**\\n * @dev implements the permit function as for https://github.com/ethereum/EIPs/blob/8a34d644aacf0f9f8f00815307fd7dd5da07655f/EIPS/eip-2612.md\\n * @param owner the owner of the funds\\n * @param spender the spender\\n * @param value the amount\\n * @param deadline the deadline timestamp, type(uint256).max for no deadline\\n * @param v signature param\\n * @param s signature param\\n * @param r signature param\\n */\\n\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external {\\n require(owner != address(0), \\\"INVALID_OWNER\\\");\\n //solium-disable-next-line\\n require(block.timestamp <= deadline, \\\"INVALID_EXPIRATION\\\");\\n uint256 currentValidNonce = _nonces[owner];\\n bytes32 digest = keccak256(\\n abi.encodePacked(\\n \\\"\\\\x19\\\\x01\\\",\\n DOMAIN_SEPARATOR,\\n keccak256(\\n abi.encode(PERMIT_TYPEHASH, owner, spender, value, currentValidNonce, deadline))\\n )\\n );\\n\\n require(owner == ecrecover(digest, v, r, s), \\\"INVALID_SIGNATURE\\\");\\n _nonces[owner] = currentValidNonce.add(1);\\n _approve(owner, spender, value);\\n }\\n\\n /**\\n * @dev returns the revision of the implementation contract\\n */\\n function getRevision() internal pure override returns (uint256) {\\n return REVISION;\\n }\\n\\n /**\\n * @dev Writes a snapshot for an owner of tokens\\n * @param owner The owner of the tokens\\n * @param oldValue The value before the operation that is gonna be executed after the snapshot\\n * @param newValue The value after the operation\\n */\\n function _writeSnapshot(address owner, uint128 oldValue, uint128 newValue) internal {\\n uint128 currentBlock = uint128(block.number);\\n\\n uint256 ownerCountOfSnapshots = _countsSnapshots[owner];\\n mapping (uint256 => Snapshot) storage snapshotsOwner = _snapshots[owner];\\n\\n // Doing multiple operations in the same block\\n if (ownerCountOfSnapshots != 0 && snapshotsOwner[ownerCountOfSnapshots.sub(1)].blockNumber == currentBlock) {\\n snapshotsOwner[ownerCountOfSnapshots.sub(1)].value = newValue;\\n } else {\\n snapshotsOwner[ownerCountOfSnapshots] = Snapshot(currentBlock, newValue);\\n _countsSnapshots[owner] = ownerCountOfSnapshots.add(1);\\n }\\n\\n emit SnapshotDone(owner, oldValue, newValue);\\n }\\n\\n /**\\n * @dev Writes a snapshot before any operation involving transfer of value: _transfer, _mint and _burn\\n * - On _transfer, it writes snapshots for both \\\"from\\\" and \\\"to\\\"\\n * - On _mint, only for _to\\n * - On _burn, only for _from\\n * @param from the from address\\n * @param to the to address\\n * @param amount the amount to transfer\\n */\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal override {\\n if (from == to) {\\n return;\\n }\\n\\n if (from != address(0)) {\\n uint256 fromBalance = balanceOf(from);\\n _writeSnapshot(from, uint128(fromBalance), uint128(fromBalance.sub(amount)));\\n }\\n if (to != address(0)) {\\n uint256 toBalance = balanceOf(to);\\n _writeSnapshot(to, uint128(toBalance), uint128(toBalance.add(amount)));\\n }\\n\\n // caching the aave governance address to avoid multiple state loads\\n ITransferHook aaveGovernance = _aaveGovernance;\\n if (aaveGovernance != ITransferHook(0)) {\\n aaveGovernance.onTransfer(from, to, amount);\\n }\\n }\\n}\"\r\n },\r\n \"contracts/utils/VersionedInitializable.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\n/**\\n * @title VersionedInitializable\\n *\\n * @dev Helper contract to support initializer functions. To use it, replace\\n * the constructor with a function that has the `initializer` modifier.\\n * WARNING: Unlike constructors, initializer functions must be manually\\n * invoked. This applies both to deploying an Initializable contract, as well\\n * as extending an Initializable contract via inheritance.\\n * WARNING: When used with inheritance, manual care must be taken to not invoke\\n * a parent initializer twice, or ensure that all initializers are idempotent,\\n * because this is not dealt with automatically as with constructors.\\n *\\n * @author Aave, inspired by the OpenZeppelin Initializable contract\\n */\\nabstract contract VersionedInitializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n */\\n uint256 internal lastInitializedRevision = 0;\\n\\n /**\\n * @dev Modifier to use in the initializer function of a contract.\\n */\\n modifier initializer() {\\n uint256 revision = getRevision();\\n require(revision > lastInitializedRevision, \\\"Contract instance has already been initialized\\\");\\n\\n lastInitializedRevision = revision;\\n\\n _;\\n\\n }\\n\\n /// @dev returns the revision number of the contract.\\n /// Needs to be defined in the inherited class as a constant.\\n function getRevision() internal pure virtual returns(uint256);\\n\\n\\n // Reserved storage space to allow for layout changes in the future.\\n uint256[50] private ______gap;\\n}\\n\"\r\n },\r\n \"contracts/token/LendToAaveMigrator.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\nimport {IERC20} from \\\"../interfaces/IERC20.sol\\\";\\nimport {SafeMath} from \\\"../open-zeppelin/SafeMath.sol\\\";\\nimport {VersionedInitializable} from \\\"../utils/VersionedInitializable.sol\\\";\\n\\n\\n/**\\n* @title LendToAaveMigrator\\n* @notice This contract implements the migration from LEND to AAVE token\\n* @author Aave \\n*/\\ncontract LendToAaveMigrator is VersionedInitializable {\\n using SafeMath for uint256;\\n\\n IERC20 public immutable AAVE;\\n IERC20 public immutable LEND;\\n uint256 public immutable LEND_AAVE_RATIO;\\n uint256 public constant REVISION = 1;\\n \\n uint256 public _totalLendMigrated;\\n\\n /**\\n * @dev emitted on migration\\n * @param sender the caller of the migration\\n * @param amount the amount being migrated\\n */\\n event LendMigrated(address indexed sender, uint256 indexed amount);\\n\\n /**\\n * @param aave the address of the AAVE token\\n * @param lend the address of the LEND token\\n * @param lendAaveRatio the exchange rate between LEND and AAVE \\n */\\n constructor(IERC20 aave, IERC20 lend, uint256 lendAaveRatio) public {\\n AAVE = aave;\\n LEND = lend;\\n LEND_AAVE_RATIO = lendAaveRatio;\\n }\\n\\n /**\\n * @dev initializes the implementation\\n */\\n function initialize() public initializer {\\n }\\n\\n /**\\n * @dev returns true if the migration started\\n */\\n function migrationStarted() external view returns(bool) {\\n return lastInitializedRevision != 0;\\n }\\n\\n\\n /**\\n * @dev executes the migration from LEND to AAVE. Users need to give allowance to this contract to transfer LEND before executing\\n * this transaction.\\n * @param amount the amount of LEND to be migrated\\n */\\n function migrateFromLEND(uint256 amount) external {\\n require(lastInitializedRevision != 0, \\\"MIGRATION_NOT_STARTED\\\");\\n\\n _totalLendMigrated = _totalLendMigrated.add(amount);\\n LEND.transferFrom(msg.sender, address(this), amount);\\n AAVE.transfer(msg.sender, amount.div(LEND_AAVE_RATIO));\\n emit LendMigrated(msg.sender, amount);\\n }\\n\\n /**\\n * @dev returns the implementation revision\\n * @return the implementation revision\\n */\\n function getRevision() internal pure override returns (uint256) {\\n return REVISION;\\n }\\n\\n}\"\r\n },\r\n \"contracts/utils/DoubleTransferHelper.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\nimport \\\"../interfaces/IERC20.sol\\\";\\n\\ncontract DoubleTransferHelper {\\n\\n IERC20 public immutable AAVE;\\n\\n constructor(IERC20 aave) public {\\n AAVE = aave;\\n }\\n\\n function doubleSend(address to, uint256 amount1, uint256 amount2) external {\\n AAVE.transfer(to, amount1);\\n AAVE.transfer(to, amount2);\\n }\\n}\"\r\n },\r\n \"contracts/utils/MintableErc20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\nimport \\\"../open-zeppelin/ERC20.sol\\\";\\n\\n/**\\n * @title ERC20Mintable\\n * @dev ERC20 minting logic\\n */\\ncontract MintableErc20 is ERC20 {\\n constructor(string memory name, string memory symbol, uint8 decimals) ERC20(name, symbol) public {\\n _setupDecimals(decimals);\\n }\\n /**\\n * @dev Function to mint tokens\\n * @param value The amount of tokens to mint.\\n * @return A boolean that indicates if the operation was successful.\\n */\\n function mint(uint256 value) public returns (bool) {\\n _mint(msg.sender, value);\\n return true;\\n }\\n}\\n\"\r\n },\r\n \"contracts/utils/MockTransferHook.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.10;\\n\\nimport {ITransferHook} from \\\"../interfaces/ITransferHook.sol\\\";\\n\\ncontract MockTransferHook is ITransferHook {\\n event MockHookEvent();\\n\\n function onTransfer(address from, address to, uint256 amount) external override {\\n emit MockHookEvent();\\n }\\n}\"\r\n }\r\n },\r\n \"settings\": {\r\n \"metadata\": {\r\n \"useLiteralContent\": false\r\n },\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 200\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"evmVersion\": \"istanbul\",\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]","ContractName":"InitializableAdminUpgradeabilityProxy","CompilerVersion":"v0.6.10+commit.00c0fcaf","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0x5d4aa78b08bc7c530e21bf7447988b1be7991322","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/40f80b7fbd6df69000c39a4e5257aa5c7e6b1262cbbd8e24d5a3451a41e594a8 b/tests/cachedrpc/40f80b7fbd6df69000c39a4e5257aa5c7e6b1262cbbd8e24d5a3451a41e594a8 new file mode 100644 index 00000000..620fbb91 --- /dev/null +++ b/tests/cachedrpc/40f80b7fbd6df69000c39a4e5257aa5c7e6b1262cbbd8e24d5a3451a41e594a8 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x75231f58b43240c9718dd58b4967c5114342a86c","contractCreator":"0x4a164ca582d169f7caad471250991dd861dda981","txHash":"0x85b8be936e60f6d033eeb6d972bf92307384150b5d2946b3d71af1fee3372a02","blockNumber":"7641712","timestamp":"1556264879","contractFactory":"","creationBytecode":"0x608060405234801561001057600080fd5b506100293361002e640100000000026401000000009004565b61006f565b600060405180807f6f72672e7a657070656c696e6f732e70726f78792e6f776e6572000000000000815250601a019050604051809103902090508181555050565b6107ab8061007e6000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063025313a2146100dc5780633659cfe6146101335780634f1ef286146101765780635c60da1b146101f2578063f1739cae14610249575b600061007761028c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156100b557600080fd5b60405136600082376000803683855af43d806000843e81600081146100d8578184f35b8184fd5b3480156100e857600080fd5b506100f16102f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561013f57600080fd5b50610174600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610338565b005b6101f0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610385565b005b3480156101fe57600080fd5b5061020761028c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561025557600080fd5b5061028a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610463565b005b60008060405180807f6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e74617481526020017f696f6e0000000000000000000000000000000000000000000000000000000000815250602301905060405180910390209050805491505090565b60008060405180807f6f72672e7a657070656c696e6f732e70726f78792e6f776e6572000000000000815250601a01905060405180910390209050805491505090565b6103406102f5565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561037957600080fd5b6103828161058a565b50565b61038d6102f5565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103c657600080fd5b6103cf82610338565b8173ffffffffffffffffffffffffffffffffffffffff168160405180828051906020019080838360005b838110156104145780820151818401526020810190506103f9565b50505050905090810190601f1680156104415780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af4915050151561045f57600080fd5b5050565b61046b6102f5565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104a457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156104e057600080fd5b7f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd96105096102f5565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a161058781610621565b50565b600061059461028c565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156105d157600080fd5b6105da82610662565b8173ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a25050565b600060405180807f6f72672e7a657070656c696e6f732e70726f78792e6f776e6572000000000000815250601a019050604051809103902090508181555050565b600061066d8261076c565b1515610707576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001807f6e6577496d706c656d656e746174696f6e206973206e6f74206120636f6e747281526020017f616374416464726573730000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60405180807f6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e74617481526020017f696f6e00000000000000000000000000000000000000000000000000000000008152506023019050604051809103902090508181555050565b600080823b9050600081119150509190505600a165627a7a72305820b21827233f9d2bef4fe7ba531d23ab64a9325b87e4f66551d34e9fa11786d84b0029"}]} \ No newline at end of file diff --git a/tests/cachedrpc/47781c48ed6189cab6204ae3bcf8d9f9052272a2e3b588bcbd81f2846693255a b/tests/cachedrpc/47781c48ed6189cab6204ae3bcf8d9f9052272a2e3b588bcbd81f2846693255a new file mode 100644 index 00000000..c2d97ee9 --- /dev/null +++ b/tests/cachedrpc/47781c48ed6189cab6204ae3bcf8d9f9052272a2e3b588bcbd81f2846693255a @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Emitted when the beacon is upgraded.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(\\n Address.isContract(IBeacon(newBeacon).implementation()),\\n \\\"ERC1967: beacon implementation is not a contract\\\"\\n );\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/proxy/Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overridden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n */\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n _changeAdmin(admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function admin() external ifAdmin returns (address admin_) {\\n admin_ = _getAdmin();\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function implementation() external ifAdmin returns (address implementation_) {\\n implementation_ = _implementation();\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\n */\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\n _changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\n */\\n function upgradeTo(address newImplementation) external ifAdmin {\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\n _upgradeToAndCall(newImplementation, data, true);\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\n */\\n function _beforeFallback() internal virtual override {\\n require(msg.sender != _getAdmin(), \\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n super._beforeFallback();\\n }\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/utils/Address.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"remappings\": [\r\n \"@arbitrum/nitro-contracts/=node_modules/@arbitrum/nitro-contracts/\",\r\n \"@arbitrum/token-bridge-contracts/=node_modules/@arbitrum/token-bridge-contracts/\",\r\n \"@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/\",\r\n \"@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\r\n \"ds-test/=lib/forge-std/lib/ds-test/src/\",\r\n \"forge-std/=lib/forge-std/src/\"\r\n ],\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 20000\r\n },\r\n \"metadata\": {\r\n \"bytecodeHash\": \"ipfs\"\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"evmVersion\": \"london\",\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"implementation_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"TransparentUpgradeableProxy","CompilerVersion":"v0.8.16+commit.07a7930e","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"20000","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0xad0c361ef902a7d9851ca7dcc85535da2d3c6fc7","SwarmSource":"","SimilarMatch":"0x3fffbadaf827559da092217e474760e2b2c3cedd"}]} \ No newline at end of file diff --git a/tests/cachedrpc/485c82ffaf68c7add990cb524b96272dbc562aa0d1abcaa0ccd309f7576b604c b/tests/cachedrpc/485c82ffaf68c7add990cb524b96272dbc562aa0d1abcaa0ccd309f7576b604c new file mode 100644 index 00000000..0e6555b6 --- /dev/null +++ b/tests/cachedrpc/485c82ffaf68c7add990cb524b96272dbc562aa0d1abcaa0ccd309f7576b604c @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6","contractCreator":"0x2f7cf35d65ffcb50c919b24a730e6f8f4aa76f46","txHash":"0x248787fbf0415ff1da68ba618da0cbdd5dcc7c6029be38709f95ea837211edc5","blockNumber":"15411056","timestamp":"1661457944","contractFactory":"0x237b8965cebe27108bc1d6b71575c3b070050f7a","creationBytecode":"0x608060405260405162000f6238038062000f62833981016040819052620000269162000519565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620005f9565b60008051602062000f1b833981519152146200007557620000756200061f565b6200008382826000620000e7565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6104620005f9565b60008051602062000efb83398151915214620000d357620000d36200061f565b620000de8262000124565b50505062000688565b620000f2836200017f565b600082511180620001005750805b156200011f576200011d8383620001c160201b620002601760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200014f620001f0565b604080516001600160a01b03928316815291841660208301520160405180910390a16200017c8162000229565b50565b6200018a81620002de565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001e9838360405180606001604052806027815260200162000f3b6027913962000381565b9392505050565b60006200021a60008051602062000efb83398151915260001b6200046760201b620002081760201c565b546001600160a01b0316919050565b6001600160a01b038116620002945760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b80620002bd60008051602062000efb83398151915260001b6200046760201b620002081760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b620002f4816200046a60201b6200028c1760201c565b620003585760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016200028b565b80620002bd60008051602062000f1b83398151915260001b6200046760201b620002081760201c565b60606001600160a01b0384163b620003eb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200028b565b600080856001600160a01b03168560405162000408919062000635565b600060405180830381855af49150503d806000811462000445576040519150601f19603f3d011682016040523d82523d6000602084013e6200044a565b606091505b5090925090506200045d82828662000479565b9695505050505050565b90565b6001600160a01b03163b151590565b606083156200048a575081620001e9565b8251156200049b5782518084602001fd5b8160405162461bcd60e51b81526004016200028b919062000653565b80516001600160a01b0381168114620004cf57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000507578181015183820152602001620004ed565b838111156200011d5750506000910152565b6000806000606084860312156200052f57600080fd5b6200053a84620004b7565b92506200054a60208501620004b7565b60408501519092506001600160401b03808211156200056857600080fd5b818601915086601f8301126200057d57600080fd5b815181811115620005925762000592620004d4565b604051601f8201601f19908116603f01168101908382118183101715620005bd57620005bd620004d4565b81604052828152896020848701011115620005d757600080fd5b620005ea836020830160208801620004ea565b80955050505050509250925092565b6000828210156200061a57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b6000825162000649818460208701620004ea565b9190910192915050565b602081526000825180602084015262000674816040850160208701620004ea565b601f01601f19169190910160400192915050565b61086380620006986000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106ed565b610118565b61005b610093366004610708565b61015f565b3480156100a457600080fd5b506100ad6101d0565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106ed565b61020b565b3480156100f557600080fd5b506100ad610235565b61010661029b565b61011661011161033a565b610344565b565b610120610368565b6001600160a01b0316336001600160a01b03161415610157576101548160405180602001604052806000815250600061039b565b50565b6101546100fe565b610167610368565b6001600160a01b0316336001600160a01b031614156101c8576101c38383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506001925061039b915050565b505050565b6101c36100fe565b60006101da610368565b6001600160a01b0316336001600160a01b03161415610200576101fb61033a565b905090565b6102086100fe565b90565b610213610368565b6001600160a01b0316336001600160a01b0316141561015757610154816103c6565b600061023f610368565b6001600160a01b0316336001600160a01b03161415610200576101fb610368565b606061028583836040518060600160405280602781526020016108076027913961041a565b9392505050565b6001600160a01b03163b151590565b6102a3610368565b6001600160a01b0316336001600160a01b031614156101165760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b60006101fb6104f5565b3660008037600080366000845af43d6000803e808015610363573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b6103a48361051d565b6000825111806103b15750805b156101c3576103c08383610260565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103ef610368565b604080516001600160a01b03928316815291841660208301520160405180910390a16101548161055d565b60606104258461028c565b6104805760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610331565b600080856001600160a01b03168560405161049b91906107b7565b600060405180830381855af49150503d80600081146104d6576040519150601f19603f3d011682016040523d82523d6000602084013e6104db565b606091505b50915091506104eb828286610606565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61038c565b6105268161063f565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166105c25760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610331565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b60608315610615575081610285565b8251156106255782518084602001fd5b8160405162461bcd60e51b815260040161033191906107d3565b6106488161028c565b6106aa5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610331565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6105e5565b80356001600160a01b03811681146106e857600080fd5b919050565b6000602082840312156106ff57600080fd5b610285826106d1565b60008060006040848603121561071d57600080fd5b610726846106d1565b9250602084013567ffffffffffffffff8082111561074357600080fd5b818601915086601f83011261075757600080fd5b81358181111561076657600080fd5b87602082850101111561077857600080fd5b6020830194508093505050509250925092565b60005b838110156107a657818101518382015260200161078e565b838111156103c05750506000910152565b600082516107c981846020870161078b565b9190910192915050565b60208152600082518060208401526107f281604085016020870161078b565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220fb0d75414bd881ce16381528bf0b9b2c1bea4c3e27069fcb6981b67d1535643064736f6c63430008090033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000be04ab2728c924d678f9fc833e379688c6efa317000000000000000000000000554723262467f125ac9e1cdfa9ce15cc53822dbd00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/48aee3a1313a0f31797b7c56c49843022828e62d8aeec8b0ec17af440ed1cd02 b/tests/cachedrpc/48aee3a1313a0f31797b7c56c49843022828e62d8aeec8b0ec17af440ed1cd02 new file mode 100644 index 00000000..f76f15ff --- /dev/null +++ b/tests/cachedrpc/48aee3a1313a0f31797b7c56c49843022828e62d8aeec8b0ec17af440ed1cd02 @@ -0,0 +1 @@ +{"jsonrpc":"2.0","id":1,"result":[{"action":{"from":"0x2faf487a4414fe77e2327f0bf4ae2a264a776ad2","callType":"call","gas":"0x7077","input":"0x23b872dd000000000000000000000000159d563ee3928cfa2bd3631b39266271888fe8820000000000000000000000002faf487a4414fe77e2327f0bf4ae2a264a776ad200000000000000000000000000000000000000000000000000000022ecb25c00","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4f6a","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x24c0335edccbfd5850ef6357902fd8f0615512f6a62d70106cd603d19c9cac2e","transactionPosition":0,"type":"call"},{"action":{"from":"0x5ab9d116a53ef41063e3eae26a7ebe736720e9ba","callType":"call","gas":"0x37b3c","input":"0xad65d76d000000000000000000000000000000000000000000000002eeac57fc9325735f000000000000000000000000000000000000000000000000000000005eb0464d00000000000000000000000084c4b427c73fa3c8fc068df420e8910c7b1d851c","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x29a2241af62c0000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x106f8","output":"0x000000000000000000000000000000000000000000000002f98634fce83572dc9325735f000000000000000000000000000000000000000000000000000000005eb0464d00000000000000000000000084c4b427c73fa3c8fc068df420e8910c7b1d851c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x368df","input":"0xad65d76d000000000000000000000000000000000000000000000002eeac57fc9325735f000000000000000000000000000000000000000000000000000000005eb0464d00000000000000000000000084c4b427c73fa3c8fc068df420e8910c7b1d851c","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x29a2241af62c0000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x10260","output":"0x000000000000000000000000000000000000000000000002f98634fce83572dc"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x349d4","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032e1e00c67b1fc332166"},"subtraces":2,"traceAddress":[0,0],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x32cd3","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x323c6","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032e1e00c67b1fc332166"},"subtraces":0,"traceAddress":[0,0,1],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"call","gas":"0x312a0","input":"0xa9059cbb00000000000000000000000084c4b427c73fa3c8fc068df420e8910c7b1d851c000000000000000000000000000000000000000000000002f98634fce83572dc","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xb0bd","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x2f67b","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,0],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x2ed69","input":"0xa9059cbb00000000000000000000000084c4b427c73fa3c8fc068df420e8910c7b1d851c000000000000000000000000000000000000000000000002f98634fce83572dc","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x972b","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,1],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x29b9c","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[0,1,1,0],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x28c0a","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af00000000000000000000000084c4b427c73fa3c8fc068df420e8910c7b1d851c000000000000000000000000000000000000000000000002f98634fce83572dc","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[0,1,1,1],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x27249","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[0,1,1,1,0],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x258a6","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[0,1,1,1,0,0],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x24f9c","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[0,1,1,1,0,1],"transactionHash":"0x28d9c0c7cfa409f0fc324646d14678cc525c51c8870495db283561b8eac5da19","transactionPosition":1,"type":"call"},{"action":{"from":"0xbc5dee047746f673c3db33012087ad10b153f5ec","callType":"call","gas":"0x2b8d8","input":"0xa9059cbb000000000000000000000000885cab62227d42c67b7a6807feb368b451c3bb500000000000000000000000000000000000000000000000000000000002acd788","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xe2e136e17e339495fafe90c6509d737148d9b0aad81f2c8a21e6be4adf9bef02","transactionPosition":2,"type":"call"},{"action":{"from":"0x00d7e5ee00549efd5e1228d98b32706555f664f7","callType":"call","gas":"0x35518","input":"0xa9059cbb000000000000000000000000ee29bcd701cf330889445a4752ca187b675005ad0000000000000000000000000000000000000000000000000000000007b06240","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xe6bf5186bdab6a0b1b834db1157b4769e92a2629416718c71339bbdac790f71e","transactionPosition":3,"type":"call"},{"action":{"from":"0x1b9e8a6cae8dc7796cebb40997ebc56e798e7578","callType":"call","gas":"0x35524","input":"0xa9059cbb0000000000000000000000002cb426f33ca1055077d1e4f027aa08009fd455d60000000000000000000000000000000000000000000000000000000007b06240","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x4de867bcb95f9f0ef8bccd04d2d8b58667a738c1496b668f052a65a566cd16fa","transactionPosition":4,"type":"call"},{"action":{"from":"0x0a98fb70939162725ae66e626fe4b52cff62c2e5","callType":"call","gas":"0x1ce84","input":"0xa9059cbb000000000000000000000000deefc0c20793995c4520c025fea46403baec9fb20000000000000000000000000000000000000000000000000000000000c70ccf","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x7908a02114a6b6b351379722a73cb3e243b929ae2cebb0f0e3fa732755c03302","transactionPosition":5,"type":"call"},{"action":{"from":"0x46705dfff24256421a05d056c29e81bdc09723b8","callType":"call","gas":"0x1ce78","input":"0xa9059cbb0000000000000000000000009cfb9019c4fc337174f4b7692037b024c8d8fca10000000000000000000000000000000000000000000000000000000002ebae40","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3a4bda999e8811f575db5dcc4d584d5351c1c8e77d2a429b67400889a5a3a3d5","transactionPosition":6,"type":"call"},{"action":{"from":"0xadb2b42f6bd96f5c65920b9ac88619dce4166f94","callType":"call","gas":"0x1ce78","input":"0xa9059cbb000000000000000000000000a9efac3e923f07a35077970bff529bab5832b2200000000000000000000000000000000000000000000000000000000010aeeafc","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x410d8c2704f0ecd09d557c328d79328911e938044f02672bae3fdc922d40d19d","transactionPosition":7,"type":"call"},{"action":{"from":"0xab5c66752a9e8167967685f1450532fb96d5d24f","callType":"call","gas":"0x1ce78","input":"0xa9059cbb000000000000000000000000dde3e2b6f3b28eaf3ed5e3970ce7f491834020d9000000000000000000000000000000000000000000000000000000000aca2fb6","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x22246455ef4cbd3ee003f68ae242c67e05d58cac552e70ac701ad44b0e8484a0","transactionPosition":8,"type":"call"},{"action":{"from":"0x167a9333bf582556f35bd4d16a7e80e191aa6476","callType":"call","gas":"0xe678","input":"0x","to":"0x88c882eb91e5e5dd6afe3333fdb6941df2aaaf5d","value":"0xde0b6b3a7640000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x325b","output":"0x"},"subtraces":2,"traceAddress":[],"transactionHash":"0xa2c410172900eef73c15424e3d9a9d750a8b4645343c8f302c46d46fd0c739d6","transactionPosition":9,"type":"call"},{"action":{"from":"0x88c882eb91e5e5dd6afe3333fdb6941df2aaaf5d","callType":"call","gas":"0x8fc","input":"0x","to":"0x54561228035f52542614c5ae119ea62e1fb5de70","value":"0xde0b6b3a7640000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xa2c410172900eef73c15424e3d9a9d750a8b4645343c8f302c46d46fd0c739d6","transactionPosition":9,"type":"call"},{"action":{"from":"0x88c882eb91e5e5dd6afe3333fdb6941df2aaaf5d","callType":"call","gas":"0xb918","input":"0x8340f549000000000000000000000000167a9333bf582556f35bd4d16a7e80e191aa647600000000000000000000000088c882eb91e5e5dd6afe3333fdb6941df2aaaf5d0000000000000000000000000000000000000000000000000de0b6b3a7640000","to":"0x83da7339ff5865f710bfb230672536725a21b462","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7cc","output":"0x"},"subtraces":0,"traceAddress":[1],"transactionHash":"0xa2c410172900eef73c15424e3d9a9d750a8b4645343c8f302c46d46fd0c739d6","transactionPosition":9,"type":"call"},{"action":{"from":"0xa71c8bae673f99ac6c0f32c56efc89a8ddb9a501","callType":"call","gas":"0xe40c","input":"0xa9059cbb000000000000000000000000a3c6f7c39a54a6869feb8637f029227f8ea3cc75000000000000000000000000000000000000000000000000000000131b46bf80","to":"0xd7cc16500d0b0ac3d0ba156a584865a43b0b0050","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3bcf","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0xc1affd5a4b259cedc34a225590b94cf2e59f1f1de5d3dcb621de78903d01ce05","transactionPosition":10,"type":"call"},{"action":{"from":"0xbfae42a79ff045659dd0f84e65534f5c4c810023","callType":"call","gas":"0x51735","input":"0xa67a6a45000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bfae42a79ff045659dd0f84e65534f5c4c8100230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d873aab20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023f0516f8fa0df2cc2199bff30d3ea7d49215928000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000","to":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x33c8b","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"delegatecall","gas":"0x4cd61","input":"0xbd76ecfd0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bfae42a79ff045659dd0f84e65534f5c4c8100230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d873aab20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023f0516f8fa0df2cc2199bff30d3ea7d49215928000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000","to":"0x56e7d4520abfecf10b38368b00723d9bd3c21ee1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x302d5","output":"0x"},"subtraces":7,"traceAddress":[0],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x489fa","input":"0x41976e09000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","to":"0x52f1c952a48a4588f9ae615d38cfdbf8df036e60","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x276","output":"0x000000000000000000000000000000000000000c9f2c9cd04674edea40000000"},"subtraces":0,"traceAddress":[0,0],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x45e5e","input":"0xe8177dcf000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000003e6734db6d30000000000000000000000000000000000000000000000000000093cec44117e","to":"0x7538651d874b7578cf52152c9abd8f6617a38403","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xafb","output":"0x000000000000000000000000000000000000000000000000000000004fcbdd56"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x401df","input":"0x41976e09000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","to":"0xf61ae328463cd997c7b58e7045cdc613e1cfdb69","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1566","output":"0x00000000000000000000000000000000000000000000000b1994c565f50bc000"},"subtraces":1,"traceAddress":[0,2],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0xf61ae328463cd997c7b58e7045cdc613e1cfdb69","callType":"staticcall","gas":"0x3e765","input":"0x59e02dd7","to":"0x729d19f657bd0614b4985cf1d82531c67569197b","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x861","output":"0x00000000000000000000000000000000000000000000000b1994c565f50bc0000000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0,2,0],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x3c389","input":"0xe8177dcf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000376f7733c585701ef4c00000000000000000000000000000000000000000000138a9b4ef3777881c5bf","to":"0x7538651d874b7578cf52152c9abd8f6617a38403","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xafb","output":"0x000000000000000000000000000000000000000000000000000000002182c1d1"},"subtraces":0,"traceAddress":[0,3],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x35ff6","input":"0x41976e090000000000000000000000006b175474e89094c44da98b954eedeac495271d0f","to":"0x0fbd14718d8fab8f9f40ee5c5612b1f0717100a2","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x603","output":"0x0000000000000000000000000000000000000000000000000e052f2a238264b0"},"subtraces":0,"traceAddress":[0,4],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x330ae","input":"0xe8177dcf0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000002892ab8a07d1f6ffae91e00000000000000000000000000000000000000000004f190f127ceb70963cef5","to":"0x7538651d874b7578cf52152c9abd8f6617a38403","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xafb","output":"0x0000000000000000000000000000000000000000000000000000000060f309e9"},"subtraces":0,"traceAddress":[0,5],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"call","gas":"0x287d3","input":"0xa9059cbb00000000000000000000000023f0516f8fa0df2cc2199bff30d3ea7d4921592800000000000000000000000000000000000000000000000000000001d873aab2","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x539d","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[0,6],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","callType":"delegatecall","gas":"0x27326","input":"0xa9059cbb00000000000000000000000023f0516f8fa0df2cc2199bff30d3ea7d4921592800000000000000000000000000000000000000000000000000000001d873aab2","to":"0x0882477e7895bdc5cea7cb1552ed914ab157fe56","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x48b8","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0,6,0],"transactionHash":"0xbaef14051133d6d36af1eba463f11d9c3983d315934f0a7b430887b067f176d4","transactionPosition":11,"type":"call"},{"action":{"from":"0xd33c0674da79517322e601326cfee113e8e0629d","callType":"call","gas":"0x8cc18","input":"0x1cff79cd000000000000000000000000ba79abfe63e5697e8741945b3391c5dbf309f19a000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000b8794e6e91555438afc3ccf1c5076a74f42133d08d1b33d4120000000000000000000000000000000000000000000000f6b88eb5f83cec80000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000138400eca364a0000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000004a5aa0000000000000000","to":"0xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x391fc","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x46e767b289e3836194b33a3de11157ce83aaa2713751c2e53b2b4e0415bdad82","transactionPosition":12,"type":"call"},{"action":{"from":"0xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf","callType":"delegatecall","gas":"0x8a059","input":"0x794e6e91555438afc3ccf1c5076a74f42133d08d1b33d4120000000000000000000000000000000000000000000000f6b88eb5f83cec80000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000138400eca364a0000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000004a5aa","to":"0xba79abfe63e5697e8741945b3391c5dbf309f19a","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x38911","output":"0x"},"subtraces":1,"traceAddress":[0],"transactionHash":"0x46e767b289e3836194b33a3de11157ce83aaa2713751c2e53b2b4e0415bdad82","transactionPosition":12,"type":"call"},{"action":{"from":"0xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf","callType":"call","gas":"0x87ad4","input":"0x1b33d4120000000000000000000000000000000000000000000000f6b88eb5f83cec80000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000138400eca364a0000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000004a5aa","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x385f3","output":"0x000000000000000000000000000000000000000000000000000000000004a5f8"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x46e767b289e3836194b33a3de11157ce83aaa2713751c2e53b2b4e0415bdad82","transactionPosition":12,"type":"call"},{"action":{"from":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","callType":"call","gas":"0x6620d","input":"0x23b872dd000000000000000000000000a57bd00134b2850b2a1c55860c9e9ea100fdd6cf000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d0000000000000000000000000000000000000000000000f6b88eb5f83cec8000","to":"0x6b175474e89094c44da98b954eedeac495271d0f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4022","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0x46e767b289e3836194b33a3de11157ce83aaa2713751c2e53b2b4e0415bdad82","transactionPosition":12,"type":"call"},{"action":{"from":"0x31797a7df18a4145af92f6c0aaf8f8275bb17732","callType":"call","gas":"0xf6240","input":"0xf6a4932f0000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000079829140000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7","to":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","value":"0x8c2a687ce7720000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xf1b0d","output":"0x"},"subtraces":8,"traceAddress":[],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","callType":"staticcall","gas":"0xf0b37","input":"0x70a0823100000000000000000000000031797a7df18a4145af92f6c0aaf8f8275bb17732","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x97f","output":"0x00000000000000000000000000000000000000000000000000000000f4829de7"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","callType":"staticcall","gas":"0xefb77","input":"0xdd62ed3e00000000000000000000000031797a7df18a4145af92f6c0aaf8f8275bb177320000000000000000000000004f391c202a906eed9e2b63fdd387f28e952782e2","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xac4","output":"0x00000000000000000000000000000000000000000000d3c21bcec834d055eee0"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","gas":"0xe6f74","init":"0x60806040526008805460ff1916905534801561001a57600080fd5b50604051610a3d380380610a3d833981810160405260a081101561003d57600080fd5b508051602080830151604080850151606086015160809096015160088054610100600160a81b0319166101006001600160a01b038085168202929092179283905585517f8fe77e8600000000000000000000000000000000000000000000000000000000815260048101899052600c60248201527f6f66666572466163746f7279000000000000000000000000000000000000000060448201529551989996989497939592041692638fe77e8692606480840193919291829003018186803b15801561010857600080fd5b505afa15801561011c573d6000803e3d6000fd5b505050506040513d602081101561013257600080fd5b5051600980546001600160a01b0319166001600160a01b03928316179081905516331461015e57600080fd5b50600080546001600160a01b0319908116321790915560018590556002849055600380546001600160a01b0394909416939091169290921790915560049290925560055560075543600655610885806101b86000396000f3fe6080604052600436106100c25760003560e01c80637aae3c6d1161007f578063b4f58a7611610059578063b4f58a76146101f8578063b6bc03541461020d578063cdbce03d14610236578063e4736a661461024b576100c2565b80637aae3c6d1461018f5780638fc3047d146101a4578063ab5d3366146101b9576100c2565b806304f0c14e146100c757806308ad57b5146100f857806313e24862146101025780631b1bddc91461012957806328a8ef1f1461016557806371aa8fd91461017a575b600080fd5b3480156100d357600080fd5b506100dc610277565b604080516001600160a01b039092168252519081900360200190f35b610100610287565b005b34801561010e57600080fd5b50610117610324565b60408051918252519081900360200190f35b34801561013557600080fd5b5061013e6103bd565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b34801561017157600080fd5b506101006103d4565b34801561018657600080fd5b5061013e6104cc565b34801561019b57600080fd5b50610117610567565b3480156101b057600080fd5b5061013e61056d565b3480156101c557600080fd5b50610100600480360360608110156101dc57600080fd5b50803590602081013590604001356001600160a01b0316610584565b34801561020457600080fd5b50610117610652565b34801561021957600080fd5b50610222610658565b604080519115158252519081900360200190f35b34801561024257600080fd5b506100dc610661565b6101006004803603604081101561026157600080fd5b50803590602001356001600160a01b0316610670565b6003546001600160a01b03165b90565b6009546001600160a01b0316331461029e57600080fd5b600254600354604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156102ec57600080fd5b505afa158015610300573d6000803e3d6000fd5b505050506040513d602081101561031657600080fd5b50511461032257600080fd5b565b6009546040805163cbc7ef0960e01b815290516000926001600160a01b03169163cbc7ef09916004808301926020929190829003018186803b15801561036957600080fd5b505afa15801561037d573d6000803e3d6000fd5b505050506040513d602081101561039357600080fd5b50516006546103a990439063ffffffff61079316565b11156103b757506001610284565b50600090565b6004546005546003546001600160a01b0316909192565b6009546001600160a01b031633146103eb57600080fd5b6000546001600160a01b0316321461040257600080fd5b61040a610324565b60011461041657600080fd5b60085460ff161561042657600080fd5b6000806104316104cc565b50600054919350915061044d906001600160a01b0316836107ad565b600354600080546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018690529051919093169263a9059cbb92604480830193919282900301818387803b1580156104a357600080fd5b505af11580156104b7573d6000803e3d6000fd5b50506008805460ff1916600117905550505050565b600354604080516370a0823160e01b815230600482018190529151600093849384939031926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561052357600080fd5b505afa158015610537573d6000803e3d6000fd5b505050506040513d602081101561054d57600080fd5b505160035491945092506001600160a01b03169050909192565b60065490565b6001546002546003546001600160a01b0316909192565b6009546001600160a01b0316331461059b57600080fd5b6105a3610324565b156105ad57600080fd5b8260045410156105bc57600080fd5b8160055410156105cb57600080fd5b6003546001600160a01b038281169116146105e557600080fd5b61060c6004546106008560055461080090919063ffffffff16565b9063ffffffff61082e16565b821461061757600080fd5b61062132846107ad565b600454610634908463ffffffff61079316565b60045560055461064a908363ffffffff61079316565b600555505050565b60075490565b60085460ff1690565b6000546001600160a01b031690565b6009546001600160a01b0316331461068757600080fd5b61068f610324565b1561069957600080fd5b3460045410156106a857600080fd5b8160055410156106b757600080fd5b6003546001600160a01b038281169116146106d157600080fd5b6106ec6004546106003460055461080090919063ffffffff16565b82146106f757600080fd5b6003546040805163a9059cbb60e01b81523260048201526024810185905290516001600160a01b039092169163a9059cbb9160448082019260009290919082900301818387803b15801561074a57600080fd5b505af115801561075e573d6000803e3d6000fd5b5050600454610776925090503463ffffffff61079316565b60045560055461078c908363ffffffff61079316565b6005555050565b6000828211156107a257600080fd5b508082035b92915050565b60006107c1836001600160a01b0316610284565b6040519091506001600160a01b0382169083156108fc029084906000818181858888f193505050501580156107fa573d6000803e3d6000fd5b50505050565b60008261080f575060006107a7565b8282028284828161081c57fe5b041461082757600080fd5b9392505050565b600080821161083c57600080fd5b600082848161084757fe5b0494935050505056fea265627a7a72315820e719dda423fe630c15cf154847937c97a7ab25d1571dd1ab39fa7e7762e398fb64736f6c634300050c00320000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000079829140000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000005e7db2ffc5b2c7c47103e4f21c702bc402603fbf","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"address":"0x77f5a1b19cd4a29042114f34fda9e7bebc1cb9d8","code":"0x6080604052600436106100c25760003560e01c80637aae3c6d1161007f578063b4f58a7611610059578063b4f58a76146101f8578063b6bc03541461020d578063cdbce03d14610236578063e4736a661461024b576100c2565b80637aae3c6d1461018f5780638fc3047d146101a4578063ab5d3366146101b9576100c2565b806304f0c14e146100c757806308ad57b5146100f857806313e24862146101025780631b1bddc91461012957806328a8ef1f1461016557806371aa8fd91461017a575b600080fd5b3480156100d357600080fd5b506100dc610277565b604080516001600160a01b039092168252519081900360200190f35b610100610287565b005b34801561010e57600080fd5b50610117610324565b60408051918252519081900360200190f35b34801561013557600080fd5b5061013e6103bd565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b34801561017157600080fd5b506101006103d4565b34801561018657600080fd5b5061013e6104cc565b34801561019b57600080fd5b50610117610567565b3480156101b057600080fd5b5061013e61056d565b3480156101c557600080fd5b50610100600480360360608110156101dc57600080fd5b50803590602081013590604001356001600160a01b0316610584565b34801561020457600080fd5b50610117610652565b34801561021957600080fd5b50610222610658565b604080519115158252519081900360200190f35b34801561024257600080fd5b506100dc610661565b6101006004803603604081101561026157600080fd5b50803590602001356001600160a01b0316610670565b6003546001600160a01b03165b90565b6009546001600160a01b0316331461029e57600080fd5b600254600354604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156102ec57600080fd5b505afa158015610300573d6000803e3d6000fd5b505050506040513d602081101561031657600080fd5b50511461032257600080fd5b565b6009546040805163cbc7ef0960e01b815290516000926001600160a01b03169163cbc7ef09916004808301926020929190829003018186803b15801561036957600080fd5b505afa15801561037d573d6000803e3d6000fd5b505050506040513d602081101561039357600080fd5b50516006546103a990439063ffffffff61079316565b11156103b757506001610284565b50600090565b6004546005546003546001600160a01b0316909192565b6009546001600160a01b031633146103eb57600080fd5b6000546001600160a01b0316321461040257600080fd5b61040a610324565b60011461041657600080fd5b60085460ff161561042657600080fd5b6000806104316104cc565b50600054919350915061044d906001600160a01b0316836107ad565b600354600080546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018690529051919093169263a9059cbb92604480830193919282900301818387803b1580156104a357600080fd5b505af11580156104b7573d6000803e3d6000fd5b50506008805460ff1916600117905550505050565b600354604080516370a0823160e01b815230600482018190529151600093849384939031926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561052357600080fd5b505afa158015610537573d6000803e3d6000fd5b505050506040513d602081101561054d57600080fd5b505160035491945092506001600160a01b03169050909192565b60065490565b6001546002546003546001600160a01b0316909192565b6009546001600160a01b0316331461059b57600080fd5b6105a3610324565b156105ad57600080fd5b8260045410156105bc57600080fd5b8160055410156105cb57600080fd5b6003546001600160a01b038281169116146105e557600080fd5b61060c6004546106008560055461080090919063ffffffff16565b9063ffffffff61082e16565b821461061757600080fd5b61062132846107ad565b600454610634908463ffffffff61079316565b60045560055461064a908363ffffffff61079316565b600555505050565b60075490565b60085460ff1690565b6000546001600160a01b031690565b6009546001600160a01b0316331461068757600080fd5b61068f610324565b1561069957600080fd5b3460045410156106a857600080fd5b8160055410156106b757600080fd5b6003546001600160a01b038281169116146106d157600080fd5b6106ec6004546106003460055461080090919063ffffffff16565b82146106f757600080fd5b6003546040805163a9059cbb60e01b81523260048201526024810185905290516001600160a01b039092169163a9059cbb9160448082019260009290919082900301818387803b15801561074a57600080fd5b505af115801561075e573d6000803e3d6000fd5b5050600454610776925090503463ffffffff61079316565b60045560055461078c908363ffffffff61079316565b6005555050565b6000828211156107a257600080fd5b508082035b92915050565b60006107c1836001600160a01b0316610284565b6040519091506001600160a01b0382169083156108fc029084906000818181858888f193505050501580156107fa573d6000803e3d6000fd5b50505050565b60008261080f575060006107a7565b8282028284828161081c57fe5b041461082757600080fd5b9392505050565b600080821161083c57600080fd5b600082848161084757fe5b0494935050505056fea265627a7a72315820e719dda423fe630c15cf154847937c97a7ab25d1571dd1ab39fa7e7762e398fb64736f6c634300050c0032","gasUsed":"0x9d929"},"subtraces":1,"traceAddress":[2],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"create"},{"action":{"from":"0x77f5a1b19cd4a29042114f34fda9e7bebc1cb9d8","callType":"staticcall","gas":"0xdd841","input":"0x8fe77e860000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c6f66666572466163746f72790000000000000000000000000000000000000000","to":"0x5e7db2ffc5b2c7c47103e4f21c702bc402603fbf","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x70d","output":"0x0000000000000000000000004f391c202a906eed9e2b63fdd387f28e952782e2"},"subtraces":0,"traceAddress":[2,0],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","callType":"call","gas":"0x4b474","input":"0xb11ce2db00000000000000000000000077f5a1b19cd4a29042114f34fda9e7bebc1cb9d8","to":"0x72b07fc5753a3564cfcac50cd6f246187d2d4306","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x6354","output":"0x"},"subtraces":1,"traceAddress":[3],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x72b07fc5753a3564cfcac50cd6f246187d2d4306","callType":"staticcall","gas":"0x497a5","input":"0x8fe77e860000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c6f66666572466163746f72790000000000000000000000000000000000000000","to":"0x5e7db2ffc5b2c7c47103e4f21c702bc402603fbf","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x70d","output":"0x0000000000000000000000004f391c202a906eed9e2b63fdd387f28e952782e2"},"subtraces":0,"traceAddress":[3,0],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","callType":"call","gas":"0x4451d","input":"0x23b872dd00000000000000000000000031797a7df18a4145af92f6c0aaf8f8275bb1773200000000000000000000000077f5a1b19cd4a29042114f34fda9e7bebc1cb9d80000000000000000000000000000000000000000000000000000000079829140","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x9eb0","output":"0x"},"subtraces":0,"traceAddress":[4],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","callType":"call","gas":"0x38954","input":"0x08ad57b5","to":"0x77f5a1b19cd4a29042114f34fda9e7bebc1cb9d8","value":"0x8ac7230489e80000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1a0f","output":"0x"},"subtraces":1,"traceAddress":[5],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x77f5a1b19cd4a29042114f34fda9e7bebc1cb9d8","callType":"staticcall","gas":"0x36b40","input":"0x70a0823100000000000000000000000077f5a1b19cd4a29042114f34fda9e7bebc1cb9d8","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x97f","output":"0x0000000000000000000000000000000000000000000000000000000079829140"},"subtraces":0,"traceAddress":[5,0],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","callType":"call","gas":"0x36630","input":"0x36af3c810000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000079829140000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7","to":"0x60cbaeee17d19458420ce572ca32a8de337bcc2e","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1b1f1","output":"0x"},"subtraces":2,"traceAddress":[6],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x60cbaeee17d19458420ce572ca32a8de337bcc2e","callType":"staticcall","gas":"0x34e33","input":"0x8fe77e860000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c6f66666572466163746f72790000000000000000000000000000000000000000","to":"0x5e7db2ffc5b2c7c47103e4f21c702bc402603fbf","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x70d","output":"0x0000000000000000000000004f391c202a906eed9e2b63fdd387f28e952782e2"},"subtraces":0,"traceAddress":[6,0],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x60cbaeee17d19458420ce572ca32a8de337bcc2e","callType":"staticcall","gas":"0x33dd8","input":"0xcbc7ef09","to":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x46b","output":"0x0000000000000000000000000000000000000000000000000000000000000019"},"subtraces":0,"traceAddress":[6,1],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x4f391c202a906eed9e2b63fdd387f28e952782e2","callType":"call","gas":"0x19808","input":"0xd17a3688000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7","to":"0x9c3c7bcf8993a58410016e29882c78b552d5c9b4","value":"0x16345785d8a0000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x156f8","output":"0x"},"subtraces":1,"traceAddress":[7],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0x9c3c7bcf8993a58410016e29882c78b552d5c9b4","callType":"call","gas":"0x8fc","input":"0x","to":"0x607b80a3498f01f87b889486f4e7f82c98cf0584","value":"0x16345785d8a0000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x28","output":"0x"},"subtraces":0,"traceAddress":[7,0],"transactionHash":"0x78148970ed523f8e350530d21da4955954d1acd0402a7c7001cf0b0cc4b88d09","transactionPosition":13,"type":"call"},{"action":{"from":"0xf14bd6c704291fa621bec7fae429148a10f79707","callType":"call","gas":"0x3cb000","input":"0x42841531000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000020000000000000000000000006861d397f7ff510a1ab4bb60434d8a9c4dd01240000000000000000000000000fa51559111642ba0718b8e8292a1638f8a01c7b10000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000007bdc5816030ca100000000000000000000000000000000000000000000000000789a59ddd88480","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x41ee","output":"0x"},"subtraces":2,"traceAddress":[],"transactionHash":"0xa2627b339c4b90817545c3ac574ba07be3ec41179d4d776aff5a07a7da8f7c2e","transactionPosition":14,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"call","gas":"0x8fc","input":"0x","to":"0x6861d397f7ff510a1ab4bb60434d8a9c4dd01240","value":"0x7bdc5816030ca1"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xa2627b339c4b90817545c3ac574ba07be3ec41179d4d776aff5a07a7da8f7c2e","transactionPosition":14,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"call","gas":"0x8fc","input":"0x","to":"0xfa51559111642ba0718b8e8292a1638f8a01c7b1","value":"0x789a59ddd88480"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[1],"transactionHash":"0xa2627b339c4b90817545c3ac574ba07be3ec41179d4d776aff5a07a7da8f7c2e","transactionPosition":14,"type":"call"},{"action":{"from":"0xf5b210bffff5e4cf794d0b6e00371d70a0f0c3c3","callType":"call","gas":"0x0","input":"0x","to":"0xbc49b372f2846ca3663e19f3a38ebff7078cb8db","value":"0x2c68af0bb140000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xd18ddc274595bab425394fea84e5c8762d63d74711800a307586e3799d4e0ab9","transactionPosition":15,"type":"call"},{"action":{"from":"0xcfb861b69a74554e348674ce7a548c33ceb182d6","callType":"call","gas":"0x0","input":"0x","to":"0xce427945095714d04f2357488a74b83762ccde1d","value":"0xd8df48a85fed400"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x9c258b7b11de9822de0508e727da864451ce2ba5676c8004abf84084c5000da2","transactionPosition":16,"type":"call"},{"action":{"from":"0xa41c6548e6423d5f31256221001147b06949a951","callType":"call","gas":"0x1f558","input":"0xa9059cbb000000000000000000000000fb66e7d2e9da45a2b74b18203114e27aab880132000000000000000000000000000000000000000000000028986bd46f7f754000","to":"0xff56cc6b1e6ded347aa0b7676c85ab0b3d08b0fa","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3db4","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0xf87d9e1ca1671991f268b6eb0d5d60dbee44a517f4931ea1d074b45d7cbfc371","transactionPosition":17,"type":"call"},{"action":{"from":"0x6c3bd121bba37db23a928807b5624642ebd43e33","callType":"call","gas":"0x1f558","input":"0xa9059cbb0000000000000000000000003e490107f6566dc822dd9e67315e336024e640ca00000000000000000000000000000000000000000000010f44733fabf6b00000","to":"0xdd974d5c2e2928dea5f71b9825b8b646686bd200","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7885","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0xef9c330e38fb1262bef35ff80abb84fd8aef463e3e982849e78bd77349e27648","transactionPosition":18,"type":"call"},{"action":{"from":"0xa65648c63a56288aedf956dba864bc5fe86e7f73","callType":"call","gas":"0x39e69","input":"0x8853b53e00000000000000000000000000000000000000000000000000000000000430aa","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x2b57d","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x0e93b00060001d0f4f616529084349794f9fac254ab5e549bda8dd80bb0d0a4f","transactionPosition":19,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x964c3fadd692aad56a701f51e725e24e5c37f328","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x0e93b00060001d0f4f616529084349794f9fac254ab5e549bda8dd80bb0d0a4f","transactionPosition":19,"type":"call"},{"action":{"from":"0x9c33eacc2f50e39940d3afaf2c7b8246b681a374","gas":"0x2aa8f3","init":"0x608060405234801561001057600080fd5b506040516136863803806136868339818101604052602081101561003357600080fd5b5051600180546001600160a01b0319166001600160a01b03909216919091179055613623806100636000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a2e74af61161005b578063a2e74af6146100fd578063c9c6539614610132578063e6a439051461016d578063f46901ed146101a857610088565b8063017e7e581461008d578063094b7415146100be5780631e3dd18b146100c6578063574f2ba3146100e3575b600080fd5b6100956101db565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100956101f7565b610095600480360360208110156100dc57600080fd5b5035610213565b6100eb610247565b60408051918252519081900360200190f35b6101306004803603602081101561011357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661024d565b005b6100956004803603604081101561014857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661031a565b6100956004803603604081101561018357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661076d565b610130600480360360208110156101be57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107a0565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6003818154811061022057fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60035490565b60015473ffffffffffffffffffffffffffffffffffffffff1633146102d357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103b757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056323a204944454e544943414c5f4144445245535345530000604482015290519081900360640190fd5b6000808373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16106103f45783856103f7565b84845b909250905073ffffffffffffffffffffffffffffffffffffffff821661047e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f556e697377617056323a205a45524f5f41444452455353000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82811660009081526002602090815260408083208585168452909152902054161561051f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f556e697377617056323a20504149525f45584953545300000000000000000000604482015290519081900360640190fd5b6060604051806020016105319061086d565b6020820181038252601f19601f82011660405250905060008383604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b81526014018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140192505050604051602081830303815290604052805190602001209050808251602084016000f5604080517f485cc95500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152868116602483015291519297509087169163485cc9559160448082019260009290919082900301818387803b15801561065e57600080fd5b505af1158015610672573d6000803e3d6000fd5b5050505073ffffffffffffffffffffffffffffffffffffffff84811660008181526002602081815260408084208987168086529083528185208054978d167fffffffffffffffffffffffff000000000000000000000000000000000000000098891681179091559383528185208686528352818520805488168517905560038054600181018255958190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90950180549097168417909655925483519283529082015281517f0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9929181900390910190a35050505092915050565b600260209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16331461082657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b612d748061087b8339019056fe60806040526001600c5534801561001557600080fd5b506040514690806052612d228239604080519182900360520182208282018252600a8352692ab734b9bbb0b8102b1960b11b6020938401528151808301835260018152603160f81b908401528151808401919091527fbfcc8ef98ffbf7b6c3fec7bf5185b566b9863e35a9d83acd49ad6824b5969738818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b03191633179055612c1d806101056000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c80636a627842116100f9578063ba9a7a5611610097578063d21220a711610071578063d21220a7146105da578063d505accf146105e2578063dd62ed3e14610640578063fff6cae91461067b576101b9565b8063ba9a7a5614610597578063bc25cf771461059f578063c45a0155146105d2576101b9565b80637ecebe00116100d35780637ecebe00146104d757806389afcb441461050a57806395d89b4114610556578063a9059cbb1461055e576101b9565b80636a6278421461046957806370a082311461049c5780637464fc3d146104cf576101b9565b806323b872dd116101665780633644e515116101405780633644e51514610416578063485cc9551461041e5780635909c0d5146104595780635a3d549314610461576101b9565b806323b872dd146103ad57806330adf81f146103f0578063313ce567146103f8576101b9565b8063095ea7b311610197578063095ea7b3146103155780630dfe16811461036257806318160ddd14610393576101b9565b8063022c0d9f146101be57806306fdde03146102595780630902f1ac146102d6575b600080fd5b610257600480360360808110156101d457600080fd5b81359160208101359173ffffffffffffffffffffffffffffffffffffffff604083013516919081019060808101606082013564010000000081111561021857600080fd5b82018360208201111561022a57600080fd5b8035906020019184600183028401116401000000008311171561024c57600080fd5b509092509050610683565b005b610261610d57565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029b578181015183820152602001610283565b50505050905090810190601f1680156102c85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102de610d90565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b61034e6004803603604081101561032b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610de5565b604080519115158252519081900360200190f35b61036a610dfc565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61039b610e18565b60408051918252519081900360200190f35b61034e600480360360608110156103c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e1e565b61039b610efd565b610400610f21565b6040805160ff9092168252519081900360200190f35b61039b610f26565b6102576004803603604081101561043457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610f2c565b61039b611005565b61039b61100b565b61039b6004803603602081101561047f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611011565b61039b600480360360208110156104b257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113cb565b61039b6113dd565b61039b600480360360208110156104ed57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113e3565b61053d6004803603602081101561052057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113f5565b6040805192835260208301919091528051918290030190f35b610261611892565b61034e6004803603604081101561057457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356118cb565b61039b6118d8565b610257600480360360208110156105b557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118de565b61036a611ad4565b61036a611af0565b610257600480360360e08110156105f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611b0c565b61039b6004803603604081101561065657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611dd8565b610257611df5565b600c546001146106f457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55841515806107075750600084115b61075c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612b2f6025913960400191505060405180910390fd5b600080610767610d90565b5091509150816dffffffffffffffffffffffffffff168710801561079a5750806dffffffffffffffffffffffffffff1686105b6107ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612b786021913960400191505060405180910390fd5b600654600754600091829173ffffffffffffffffffffffffffffffffffffffff91821691908116908916821480159061085457508073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b6108bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f556e697377617056323a20494e56414c49445f544f0000000000000000000000604482015290519081900360640190fd5b8a156108d0576108d0828a8d611fdb565b89156108e1576108e1818a8c611fdb565b86156109c3578873ffffffffffffffffffffffffffffffffffffffff166310d1e85c338d8d8c8c6040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b1580156109aa57600080fd5b505af11580156109be573d6000803e3d6000fd5b505050505b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d6020811015610a5957600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191955073ffffffffffffffffffffffffffffffffffffffff8316916370a0823191602480820192602092909190829003018186803b158015610acb57600080fd5b505afa158015610adf573d6000803e3d6000fd5b505050506040513d6020811015610af557600080fd5b5051925060009150506dffffffffffffffffffffffffffff85168a90038311610b1f576000610b35565b89856dffffffffffffffffffffffffffff160383035b9050600089856dffffffffffffffffffffffffffff16038311610b59576000610b6f565b89856dffffffffffffffffffffffffffff160383035b90506000821180610b805750600081115b610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612b546024913960400191505060405180910390fd5b6000610c09610beb84600363ffffffff6121e816565b610bfd876103e863ffffffff6121e816565b9063ffffffff61226e16565b90506000610c21610beb84600363ffffffff6121e816565b9050610c59620f4240610c4d6dffffffffffffffffffffffffffff8b8116908b1663ffffffff6121e816565b9063ffffffff6121e816565b610c69838363ffffffff6121e816565b1015610cd657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e697377617056323a204b0000000000000000000000000000000000000000604482015290519081900360640190fd5b5050610ce4848488886122e0565b60408051838152602081018390528082018d9052606081018c9052905173ffffffffffffffffffffffffffffffffffffffff8b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600c55505050505050505050565b6040518060400160405280600a81526020017f556e69737761702056320000000000000000000000000000000000000000000081525081565b6008546dffffffffffffffffffffffffffff808216926e0100000000000000000000000000008304909116917c0100000000000000000000000000000000000000000000000000000000900463ffffffff1690565b6000610df233848461259c565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610ee85773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054610eb6908363ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b610ef384848461260b565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b60055473ffffffffffffffffffffffffffffffffffffffff163314610fb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560078054929093169116179055565b60095481565b600a5481565b6000600c5460011461108457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905580611094610d90565b50600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905193955091935060009273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561110e57600080fd5b505afa158015611122573d6000803e3d6000fd5b505050506040513d602081101561113857600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b505190506000611201836dffffffffffffffffffffffffffff871663ffffffff61226e16565b90506000611225836dffffffffffffffffffffffffffff871663ffffffff61226e16565b9050600061123387876126ec565b600054909150806112705761125c6103e8610bfd611257878763ffffffff6121e816565b612878565b985061126b60006103e86128ca565b6112cd565b6112ca6dffffffffffffffffffffffffffff8916611294868463ffffffff6121e816565b8161129b57fe5b046dffffffffffffffffffffffffffff89166112bd868563ffffffff6121e816565b816112c457fe5b0461297a565b98505b60008911611326576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612bc16028913960400191505060405180910390fd5b6113308a8a6128ca565b61133c86868a8a6122e0565b811561137e5760085461137a906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff6121e816565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600c5460011461146957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905580611479610d90565b50600654600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905194965092945073ffffffffffffffffffffffffffffffffffffffff9182169391169160009184916370a08231916024808301926020929190829003018186803b1580156114fb57600080fd5b505afa15801561150f573d6000803e3d6000fd5b505050506040513d602081101561152557600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff8516916370a08231916024808301926020929190829003018186803b15801561159957600080fd5b505afa1580156115ad573d6000803e3d6000fd5b505050506040513d60208110156115c357600080fd5b5051306000908152600160205260408120549192506115e288886126ec565b600054909150806115f9848763ffffffff6121e816565b8161160057fe5b049a5080611614848663ffffffff6121e816565b8161161b57fe5b04995060008b11801561162e575060008a115b611683576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612b996028913960400191505060405180910390fd5b61168d3084612992565b611698878d8d611fdb565b6116a3868d8c611fdb565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b15801561170f57600080fd5b505afa158015611723573d6000803e3d6000fd5b505050506040513d602081101561173957600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191965073ffffffffffffffffffffffffffffffffffffffff8816916370a0823191602480820192602092909190829003018186803b1580156117ab57600080fd5b505afa1580156117bf573d6000803e3d6000fd5b505050506040513d60208110156117d557600080fd5b505193506117e585858b8b6122e0565b811561182757600854611823906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff6121e816565b600b555b604080518c8152602081018c9052815173ffffffffffffffffffffffffffffffffffffffff8f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600c81905550915091565b6040518060400160405280600681526020017f554e492d5632000000000000000000000000000000000000000000000000000081525081565b6000610df233848461260b565b6103e881565b600c5460011461194f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654600754600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff9485169490931692611a2b9285928792611a26926dffffffffffffffffffffffffffff169185916370a0823191602480820192602092909190829003018186803b1580156119ee57600080fd5b505afa158015611a02573d6000803e3d6000fd5b505050506040513d6020811015611a1857600080fd5b50519063ffffffff61226e16565b611fdb565b600854604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611aca9284928792611a26926e01000000000000000000000000000090046dffffffffffffffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff8616916370a0823191602480820192602092909190829003018186803b1580156119ee57600080fd5b50506001600c5550565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611b7b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e697377617056323a20455850495245440000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611cdc573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611d5757508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611dc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f556e697377617056323a20494e56414c49445f5349474e415455524500000000604482015290519081900360640190fd5b611dcd89898961259c565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c54600114611e6657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611fd49273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611edd57600080fd5b505afa158015611ef1573d6000803e3d6000fd5b505050506040513d6020811015611f0757600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015611f7a57600080fd5b505afa158015611f8e573d6000803e3d6000fd5b505050506040513d6020811015611fa457600080fd5b50516008546dffffffffffffffffffffffffffff808216916e0100000000000000000000000000009004166122e0565b6001600c55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106120e157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016120a4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612143576040519150601f19603f3d011682016040523d82523d6000602084013e612148565b606091505b5091509150818015612176575080511580612176575080806020019051602081101561217357600080fd5b50515b6121e157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f556e697377617056323a205452414e534645525f4641494c4544000000000000604482015290519081900360640190fd5b5050505050565b60008115806122035750508082028282828161220057fe5b04145b610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b80820382811115610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b6dffffffffffffffffffffffffffff841180159061230c57506dffffffffffffffffffffffffffff8311155b61237757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f556e697377617056323a204f564552464c4f5700000000000000000000000000604482015290519081900360640190fd5b60085463ffffffff428116917c0100000000000000000000000000000000000000000000000000000000900481168203908116158015906123c757506dffffffffffffffffffffffffffff841615155b80156123e257506dffffffffffffffffffffffffffff831615155b15612492578063ffffffff16612425856123fb86612a57565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169063ffffffff612a7b16565b600980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092169290920201905563ffffffff8116612465846123fb87612a57565b600a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff92909216929092020190555b600880547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff888116919091177fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000008883168102919091177bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c010000000000000000000000000000000000000000000000000000000063ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054612641908263ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082209390935590841681522054612683908263ffffffff612abc16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561275757600080fd5b505afa15801561276b573d6000803e3d6000fd5b505050506040513d602081101561278157600080fd5b5051600b5473ffffffffffffffffffffffffffffffffffffffff821615801594509192509061286457801561285f5760006127d86112576dffffffffffffffffffffffffffff88811690881663ffffffff6121e816565b905060006127e583612878565b90508082111561285c576000612813612804848463ffffffff61226e16565b6000549063ffffffff6121e816565b905060006128388361282c86600563ffffffff6121e816565b9063ffffffff612abc16565b9050600081838161284557fe5b04905080156128585761285887826128ca565b5050505b50505b612870565b8015612870576000600b555b505092915050565b600060038211156128bb575080600160028204015b818110156128b5578091506002818285816128a457fe5b0401816128ad57fe5b04905061288d565b506128c5565b81156128c5575060015b919050565b6000546128dd908263ffffffff612abc16565b600090815573ffffffffffffffffffffffffffffffffffffffff8316815260016020526040902054612915908263ffffffff612abc16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000818310612989578161298b565b825b9392505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020546129c8908263ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081209190915554612a02908263ffffffff61226e16565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6dffffffffffffffffffffffffffff166e0100000000000000000000000000000290565b60006dffffffffffffffffffffffffffff82167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff841681612ab457fe5b049392505050565b80820182811015610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe556e697377617056323a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f494e5055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f4c4951554944495459556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4255524e4544556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4d494e544544a265627a7a723158207dca18479e58487606bf70c79e44d8dee62353c9ee6d01f9a9d70885b8765f2264736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a265627a7a723158202760f92d7fa1db6f5aa16307bad65df4ebcc8550c4b1f03755ab8dfd830c178f64736f6c63430005100032000000000000000000000000c0a4272bb5df52134178df25d77561cfb17ce407","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"address":"0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f","code":"0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063a2e74af61161005b578063a2e74af6146100fd578063c9c6539614610132578063e6a439051461016d578063f46901ed146101a857610088565b8063017e7e581461008d578063094b7415146100be5780631e3dd18b146100c6578063574f2ba3146100e3575b600080fd5b6100956101db565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100956101f7565b610095600480360360208110156100dc57600080fd5b5035610213565b6100eb610247565b60408051918252519081900360200190f35b6101306004803603602081101561011357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661024d565b005b6100956004803603604081101561014857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661031a565b6100956004803603604081101561018357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661076d565b610130600480360360208110156101be57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107a0565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6003818154811061022057fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60035490565b60015473ffffffffffffffffffffffffffffffffffffffff1633146102d357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103b757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056323a204944454e544943414c5f4144445245535345530000604482015290519081900360640190fd5b6000808373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16106103f45783856103f7565b84845b909250905073ffffffffffffffffffffffffffffffffffffffff821661047e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f556e697377617056323a205a45524f5f41444452455353000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82811660009081526002602090815260408083208585168452909152902054161561051f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f556e697377617056323a20504149525f45584953545300000000000000000000604482015290519081900360640190fd5b6060604051806020016105319061086d565b6020820181038252601f19601f82011660405250905060008383604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b81526014018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140192505050604051602081830303815290604052805190602001209050808251602084016000f5604080517f485cc95500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152868116602483015291519297509087169163485cc9559160448082019260009290919082900301818387803b15801561065e57600080fd5b505af1158015610672573d6000803e3d6000fd5b5050505073ffffffffffffffffffffffffffffffffffffffff84811660008181526002602081815260408084208987168086529083528185208054978d167fffffffffffffffffffffffff000000000000000000000000000000000000000098891681179091559383528185208686528352818520805488168517905560038054600181018255958190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90950180549097168417909655925483519283529082015281517f0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9929181900390910190a35050505092915050565b600260209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16331461082657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b612d748061087b8339019056fe60806040526001600c5534801561001557600080fd5b506040514690806052612d228239604080519182900360520182208282018252600a8352692ab734b9bbb0b8102b1960b11b6020938401528151808301835260018152603160f81b908401528151808401919091527fbfcc8ef98ffbf7b6c3fec7bf5185b566b9863e35a9d83acd49ad6824b5969738818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b03191633179055612c1d806101056000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c80636a627842116100f9578063ba9a7a5611610097578063d21220a711610071578063d21220a7146105da578063d505accf146105e2578063dd62ed3e14610640578063fff6cae91461067b576101b9565b8063ba9a7a5614610597578063bc25cf771461059f578063c45a0155146105d2576101b9565b80637ecebe00116100d35780637ecebe00146104d757806389afcb441461050a57806395d89b4114610556578063a9059cbb1461055e576101b9565b80636a6278421461046957806370a082311461049c5780637464fc3d146104cf576101b9565b806323b872dd116101665780633644e515116101405780633644e51514610416578063485cc9551461041e5780635909c0d5146104595780635a3d549314610461576101b9565b806323b872dd146103ad57806330adf81f146103f0578063313ce567146103f8576101b9565b8063095ea7b311610197578063095ea7b3146103155780630dfe16811461036257806318160ddd14610393576101b9565b8063022c0d9f146101be57806306fdde03146102595780630902f1ac146102d6575b600080fd5b610257600480360360808110156101d457600080fd5b81359160208101359173ffffffffffffffffffffffffffffffffffffffff604083013516919081019060808101606082013564010000000081111561021857600080fd5b82018360208201111561022a57600080fd5b8035906020019184600183028401116401000000008311171561024c57600080fd5b509092509050610683565b005b610261610d57565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029b578181015183820152602001610283565b50505050905090810190601f1680156102c85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102de610d90565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b61034e6004803603604081101561032b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610de5565b604080519115158252519081900360200190f35b61036a610dfc565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61039b610e18565b60408051918252519081900360200190f35b61034e600480360360608110156103c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e1e565b61039b610efd565b610400610f21565b6040805160ff9092168252519081900360200190f35b61039b610f26565b6102576004803603604081101561043457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610f2c565b61039b611005565b61039b61100b565b61039b6004803603602081101561047f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611011565b61039b600480360360208110156104b257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113cb565b61039b6113dd565b61039b600480360360208110156104ed57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113e3565b61053d6004803603602081101561052057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113f5565b6040805192835260208301919091528051918290030190f35b610261611892565b61034e6004803603604081101561057457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356118cb565b61039b6118d8565b610257600480360360208110156105b557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118de565b61036a611ad4565b61036a611af0565b610257600480360360e08110156105f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611b0c565b61039b6004803603604081101561065657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611dd8565b610257611df5565b600c546001146106f457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55841515806107075750600084115b61075c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612b2f6025913960400191505060405180910390fd5b600080610767610d90565b5091509150816dffffffffffffffffffffffffffff168710801561079a5750806dffffffffffffffffffffffffffff1686105b6107ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612b786021913960400191505060405180910390fd5b600654600754600091829173ffffffffffffffffffffffffffffffffffffffff91821691908116908916821480159061085457508073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b6108bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f556e697377617056323a20494e56414c49445f544f0000000000000000000000604482015290519081900360640190fd5b8a156108d0576108d0828a8d611fdb565b89156108e1576108e1818a8c611fdb565b86156109c3578873ffffffffffffffffffffffffffffffffffffffff166310d1e85c338d8d8c8c6040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b1580156109aa57600080fd5b505af11580156109be573d6000803e3d6000fd5b505050505b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d6020811015610a5957600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191955073ffffffffffffffffffffffffffffffffffffffff8316916370a0823191602480820192602092909190829003018186803b158015610acb57600080fd5b505afa158015610adf573d6000803e3d6000fd5b505050506040513d6020811015610af557600080fd5b5051925060009150506dffffffffffffffffffffffffffff85168a90038311610b1f576000610b35565b89856dffffffffffffffffffffffffffff160383035b9050600089856dffffffffffffffffffffffffffff16038311610b59576000610b6f565b89856dffffffffffffffffffffffffffff160383035b90506000821180610b805750600081115b610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612b546024913960400191505060405180910390fd5b6000610c09610beb84600363ffffffff6121e816565b610bfd876103e863ffffffff6121e816565b9063ffffffff61226e16565b90506000610c21610beb84600363ffffffff6121e816565b9050610c59620f4240610c4d6dffffffffffffffffffffffffffff8b8116908b1663ffffffff6121e816565b9063ffffffff6121e816565b610c69838363ffffffff6121e816565b1015610cd657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e697377617056323a204b0000000000000000000000000000000000000000604482015290519081900360640190fd5b5050610ce4848488886122e0565b60408051838152602081018390528082018d9052606081018c9052905173ffffffffffffffffffffffffffffffffffffffff8b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600c55505050505050505050565b6040518060400160405280600a81526020017f556e69737761702056320000000000000000000000000000000000000000000081525081565b6008546dffffffffffffffffffffffffffff808216926e0100000000000000000000000000008304909116917c0100000000000000000000000000000000000000000000000000000000900463ffffffff1690565b6000610df233848461259c565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610ee85773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054610eb6908363ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b610ef384848461260b565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b60055473ffffffffffffffffffffffffffffffffffffffff163314610fb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560078054929093169116179055565b60095481565b600a5481565b6000600c5460011461108457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905580611094610d90565b50600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905193955091935060009273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561110e57600080fd5b505afa158015611122573d6000803e3d6000fd5b505050506040513d602081101561113857600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b505190506000611201836dffffffffffffffffffffffffffff871663ffffffff61226e16565b90506000611225836dffffffffffffffffffffffffffff871663ffffffff61226e16565b9050600061123387876126ec565b600054909150806112705761125c6103e8610bfd611257878763ffffffff6121e816565b612878565b985061126b60006103e86128ca565b6112cd565b6112ca6dffffffffffffffffffffffffffff8916611294868463ffffffff6121e816565b8161129b57fe5b046dffffffffffffffffffffffffffff89166112bd868563ffffffff6121e816565b816112c457fe5b0461297a565b98505b60008911611326576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612bc16028913960400191505060405180910390fd5b6113308a8a6128ca565b61133c86868a8a6122e0565b811561137e5760085461137a906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff6121e816565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600c5460011461146957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905580611479610d90565b50600654600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905194965092945073ffffffffffffffffffffffffffffffffffffffff9182169391169160009184916370a08231916024808301926020929190829003018186803b1580156114fb57600080fd5b505afa15801561150f573d6000803e3d6000fd5b505050506040513d602081101561152557600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff8516916370a08231916024808301926020929190829003018186803b15801561159957600080fd5b505afa1580156115ad573d6000803e3d6000fd5b505050506040513d60208110156115c357600080fd5b5051306000908152600160205260408120549192506115e288886126ec565b600054909150806115f9848763ffffffff6121e816565b8161160057fe5b049a5080611614848663ffffffff6121e816565b8161161b57fe5b04995060008b11801561162e575060008a115b611683576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612b996028913960400191505060405180910390fd5b61168d3084612992565b611698878d8d611fdb565b6116a3868d8c611fdb565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b15801561170f57600080fd5b505afa158015611723573d6000803e3d6000fd5b505050506040513d602081101561173957600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191965073ffffffffffffffffffffffffffffffffffffffff8816916370a0823191602480820192602092909190829003018186803b1580156117ab57600080fd5b505afa1580156117bf573d6000803e3d6000fd5b505050506040513d60208110156117d557600080fd5b505193506117e585858b8b6122e0565b811561182757600854611823906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff6121e816565b600b555b604080518c8152602081018c9052815173ffffffffffffffffffffffffffffffffffffffff8f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600c81905550915091565b6040518060400160405280600681526020017f554e492d5632000000000000000000000000000000000000000000000000000081525081565b6000610df233848461260b565b6103e881565b600c5460011461194f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654600754600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff9485169490931692611a2b9285928792611a26926dffffffffffffffffffffffffffff169185916370a0823191602480820192602092909190829003018186803b1580156119ee57600080fd5b505afa158015611a02573d6000803e3d6000fd5b505050506040513d6020811015611a1857600080fd5b50519063ffffffff61226e16565b611fdb565b600854604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611aca9284928792611a26926e01000000000000000000000000000090046dffffffffffffffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff8616916370a0823191602480820192602092909190829003018186803b1580156119ee57600080fd5b50506001600c5550565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611b7b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e697377617056323a20455850495245440000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611cdc573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611d5757508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611dc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f556e697377617056323a20494e56414c49445f5349474e415455524500000000604482015290519081900360640190fd5b611dcd89898961259c565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c54600114611e6657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611fd49273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611edd57600080fd5b505afa158015611ef1573d6000803e3d6000fd5b505050506040513d6020811015611f0757600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015611f7a57600080fd5b505afa158015611f8e573d6000803e3d6000fd5b505050506040513d6020811015611fa457600080fd5b50516008546dffffffffffffffffffffffffffff808216916e0100000000000000000000000000009004166122e0565b6001600c55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106120e157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016120a4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612143576040519150601f19603f3d011682016040523d82523d6000602084013e612148565b606091505b5091509150818015612176575080511580612176575080806020019051602081101561217357600080fd5b50515b6121e157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f556e697377617056323a205452414e534645525f4641494c4544000000000000604482015290519081900360640190fd5b5050505050565b60008115806122035750508082028282828161220057fe5b04145b610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b80820382811115610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b6dffffffffffffffffffffffffffff841180159061230c57506dffffffffffffffffffffffffffff8311155b61237757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f556e697377617056323a204f564552464c4f5700000000000000000000000000604482015290519081900360640190fd5b60085463ffffffff428116917c0100000000000000000000000000000000000000000000000000000000900481168203908116158015906123c757506dffffffffffffffffffffffffffff841615155b80156123e257506dffffffffffffffffffffffffffff831615155b15612492578063ffffffff16612425856123fb86612a57565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169063ffffffff612a7b16565b600980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092169290920201905563ffffffff8116612465846123fb87612a57565b600a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff92909216929092020190555b600880547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff888116919091177fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000008883168102919091177bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c010000000000000000000000000000000000000000000000000000000063ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054612641908263ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082209390935590841681522054612683908263ffffffff612abc16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561275757600080fd5b505afa15801561276b573d6000803e3d6000fd5b505050506040513d602081101561278157600080fd5b5051600b5473ffffffffffffffffffffffffffffffffffffffff821615801594509192509061286457801561285f5760006127d86112576dffffffffffffffffffffffffffff88811690881663ffffffff6121e816565b905060006127e583612878565b90508082111561285c576000612813612804848463ffffffff61226e16565b6000549063ffffffff6121e816565b905060006128388361282c86600563ffffffff6121e816565b9063ffffffff612abc16565b9050600081838161284557fe5b04905080156128585761285887826128ca565b5050505b50505b612870565b8015612870576000600b555b505092915050565b600060038211156128bb575080600160028204015b818110156128b5578091506002818285816128a457fe5b0401816128ad57fe5b04905061288d565b506128c5565b81156128c5575060015b919050565b6000546128dd908263ffffffff612abc16565b600090815573ffffffffffffffffffffffffffffffffffffffff8316815260016020526040902054612915908263ffffffff612abc16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000818310612989578161298b565b825b9392505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020546129c8908263ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081209190915554612a02908263ffffffff61226e16565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6dffffffffffffffffffffffffffff166e0100000000000000000000000000000290565b60006dffffffffffffffffffffffffffff82167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff841681612ab457fe5b049392505050565b80820182811015610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe556e697377617056323a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f494e5055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f4c4951554944495459556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4255524e4544556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4d494e544544a265627a7a723158207dca18479e58487606bf70c79e44d8dee62353c9ee6d01f9a9d70885b8765f2264736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a265627a7a723158202760f92d7fa1db6f5aa16307bad65df4ebcc8550c4b1f03755ab8dfd830c178f64736f6c63430005100032","gasUsed":"0x2aa8f3"},"subtraces":0,"traceAddress":[],"transactionHash":"0xc31d7e7e85cab1d38ce1b8ac17e821ccd47dbde00f9d57f2bd8613bff9428396","transactionPosition":20,"type":"create"},{"action":{"from":"0x9d3dfcb71cf4859f3cc27c87da589a9e72e2ab87","callType":"call","gas":"0x3523d","input":"0x8853b53e0000000000000000000000000000000000000000000000000000000000058ac0","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x27ae5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x44559e55c7538638679414870625690b3a392a7b8b3e2ef9ef0b38573cbf843f","transactionPosition":21,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x84f4852ea2738a5f90917ea774ef491201c57321","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x44559e55c7538638679414870625690b3a392a7b8b3e2ef9ef0b38573cbf843f","transactionPosition":21,"type":"call"},{"action":{"from":"0x8b213991ae297e84d8d83f129d138bc9f2a593a8","callType":"call","gas":"0x95d4","input":"0xa9059cbb000000000000000000000000b9f009b4d1adaf1cc12eefbab390f70fe9257f7000000000000000000000000000000000000000000000001590a028d970b80000","to":"0x1e3fe98d1c89865b6b819bbfd532dadab3b34d2d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3c6c","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3d77d0ecc25cacfe3d31e69f75ae93508077f13c6ca6130357b9af590af07191","transactionPosition":22,"type":"call"},{"action":{"from":"0xe97c94011cadf4453a489580be9659cbc6f2c126","callType":"call","gas":"0x13208","input":"0xa9059cbb0000000000000000000000006087d82f570a079ddbd9017dd502391a65e81862000000000000000000000000000000000000000000004a53bf85424c3d600000","to":"0xff0e5e014cf97e0615cb50f6f39da6388e2fae6e","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7b4f","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3834f69d356f900e3dbd163fce4bc681b9c1211a298f208f2b215753a65a820f","transactionPosition":23,"type":"call"},{"action":{"from":"0x83f80c5b800726529eb4724bc82985252240caca","callType":"call","gas":"0x10d88","input":"0x","to":"0xf65735afe4123701793970ba38cb68fc14447449","value":"0x997a2bce4c000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x7fe78aca750ce9131cef81d501cf1b474c2aa81dfc1c957c9ac6c9a0d3f90a8f","transactionPosition":24,"type":"call"},{"action":{"from":"0x84d74f2115c1fdc48da6368426d9f033bed75405","callType":"call","gas":"0x13208","input":"0xa9059cbb0000000000000000000000001671a3e4a2519a653e66e827ef6eae690ee867290000000000000000000000000000000000000000000000335c09a38efd76c000","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xeb55","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x11d66","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x11454","input":"0xa9059cbb0000000000000000000000001671a3e4a2519a653e66e827ef6eae690ee867290000000000000000000000000000000000000000000000335c09a38efd76c000","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xd1c3","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[1],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x903d","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[1,0],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x80ac","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000084d74f2115c1fdc48da6368426d9f033bed754050000000000000000000000001671a3e4a2519a653e66e827ef6eae690ee867290000000000000000000000000000000000000000000000335c09a38efd76c000","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[1,1],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x6f18","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[1,1,0],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x5d82","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[1,1,0,0],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x5478","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[1,1,0,1],"transactionHash":"0x2f3fa7119c6987d35d0417f7f7858b7c3a2a1c89be8c7433c9a6a2cbc4f50cd8","transactionPosition":25,"type":"call"},{"action":{"from":"0x84d74f2115c1fdc48da6368426d9f033bed75405","callType":"call","gas":"0x13214","input":"0xa9059cbb000000000000000000000000e3d4506e758483fccd7c44d6873e126fad4efed200000000000000000000000000000000000000000000000d7f91b4bdd0440000","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xeb55","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x11d72","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x1145f","input":"0xa9059cbb000000000000000000000000e3d4506e758483fccd7c44d6873e126fad4efed200000000000000000000000000000000000000000000000d7f91b4bdd0440000","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xd1c3","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[1],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x9048","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[1,0],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x80b6","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000084d74f2115c1fdc48da6368426d9f033bed75405000000000000000000000000e3d4506e758483fccd7c44d6873e126fad4efed200000000000000000000000000000000000000000000000d7f91b4bdd0440000","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[1,1],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x6f22","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[1,1,0],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x5d8b","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[1,1,0,0],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x5482","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[1,1,0,1],"transactionHash":"0x4813771fae31a318820a7b1ce51371905622fbb7d423cd1cd82b1a7a0832671c","transactionPosition":26,"type":"call"},{"action":{"from":"0x3e5a739a384618eaa4ee2c6ae1f83604f9494bde","callType":"call","gas":"0x0","input":"0x","to":"0x09a6319f6f33d9382146952a1b20eb0b35e1ccef","value":"0x2386f26fc10000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xe8847d4de11f66de8079df7d9bc9aa19d3dcbdc030c5a2d1b7c8d0bf16b76a32","transactionPosition":27,"type":"call"},{"action":{"from":"0x95d7414209afb2e15a04698819531d0dcf5ccd0c","callType":"call","gas":"0x2b8e4","input":"0xa9059cbb000000000000000000000000960b72a89bf9e81a3bb5918119f84535611b4d7d000000000000000000000000000000000000000000000000000000007d2b7500","to":"0x7f65be7fad0c22813e51746e7e8f13a20baa9411","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7b65","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0xffdc6bce5c37feecf51a2fcd476b3e8aaa9121f030990f9d9e25cdcad8e12a02","transactionPosition":28,"type":"call"},{"action":{"from":"0xf256d4923896a13f6fe1bab5c2962cc6918b7f96","callType":"call","gas":"0x3523d","input":"0x8853b53e000000000000000000000000000000000000000000000000000000000005955d","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x27ae5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x5a191d86c5a2b396ef910e6d4ef7b401c72bc8fe3f8389945c8b9daa829d4d04","transactionPosition":29,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x37009336c6e5b2915379e6f157bf300d39f2e263","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x5a191d86c5a2b396ef910e6d4ef7b401c72bc8fe3f8389945c8b9daa829d4d04","transactionPosition":29,"type":"call"},{"action":{"from":"0x2db200dcb142bfb7973ad22df387466d1e649e08","callType":"call","gas":"0x3523d","input":"0x8853b53e00000000000000000000000000000000000000000000000000000000000561a9","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x27ae5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x8dbe5dfabd8bca70a50f73dafa7ce22fea118672f8c05cfb70332124ace5ea72","transactionPosition":30,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0xdebc5aacba50138e91ad79286ca84f44de57dc19","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x8dbe5dfabd8bca70a50f73dafa7ce22fea118672f8c05cfb70332124ace5ea72","transactionPosition":30,"type":"call"},{"action":{"from":"0x521ca7a39e3ea40974f0146edb7de23d728386b6","callType":"call","gas":"0x40e6c","input":"0x8853b53e0000000000000000000000000000000000000000000000000000000000049e17","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x30ba7","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x8f9dfe3dc5f12f53602bd3c082af76f689aac6f69f62ea5d26773d5a454364c0","transactionPosition":31,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x8173ca67d64967e6ba2e7888649d9a20e19fb409","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x8f9dfe3dc5f12f53602bd3c082af76f689aac6f69f62ea5d26773d5a454364c0","transactionPosition":31,"type":"call"},{"action":{"from":"0xfbadde73a885065ce06ca52121ee07f28e9ada12","callType":"call","gas":"0x39e69","input":"0x8853b53e00000000000000000000000000000000000000000000000000000000000579cd","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x2b57d","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x99a99d18d9c39b9c28b0598acf0e4b00cb2910e73f0567f33273ee8ff92c31f1","transactionPosition":32,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x36ceaf7ab9b042dbeca0220ca9bd60215a39a49e","value":"0x6a94d74f430000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x99a99d18d9c39b9c28b0598acf0e4b00cb2910e73f0567f33273ee8ff92c31f1","transactionPosition":32,"type":"call"},{"action":{"from":"0xc72c1a46b597cb4b32ac9c41115df5759dfd0deb","callType":"call","gas":"0x1e400","input":"0x4329f931076b899187cd9ef2eb394ce4adcb39f7","to":"0x4c22190cd94c13d910aa4459943edb3ec992bd67","value":"0x2c68af0bb14000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x160e9","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x455942f33a6d3230092d23ee30707a4bf5f78039e2de4841c7fdfda305b1ba5c","transactionPosition":33,"type":"call"},{"action":{"from":"0x4c22190cd94c13d910aa4459943edb3ec992bd67","callType":"call","gas":"0x8fc","input":"0x","to":"0x4329f931076b899187cd9ef2eb394ce4adcb39f7","value":"0x2c68af0bb14000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x455942f33a6d3230092d23ee30707a4bf5f78039e2de4841c7fdfda305b1ba5c","transactionPosition":33,"type":"call"},{"action":{"from":"0x2f74344477c4c40dae504c1baf004a67d50e1efb","callType":"call","gas":"0xd921a","input":"0x1bbfae0e0000000000000000000000000000000000000000000000000000000000000046","to":"0xf0dbce77ca457820d951fbe7fe280833d064e395","value":"0x2c68af0bb140000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x999d6","output":"0x"},"subtraces":5,"traceAddress":[],"transactionHash":"0x8703b2c419f052028c28ce106c28c6b48c58e47304a5e221b0391490938ee683","transactionPosition":34,"type":"call"},{"action":{"from":"0xf0dbce77ca457820d951fbe7fe280833d064e395","callType":"staticcall","gas":"0x4d0a7","input":"0xcf40ae28000000000000000000000000ea6d6ac4932adccde7bacfd62920c59af5febf1b0000000000000000000000000000000000000000000000000000000000000000","to":"0xf0dbce77ca457820d951fbe7fe280833d064e395","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1bd","output":"0x000000000000000000000000ea6d6ac4932adccde7bacfd62920c59af5febf1b"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x8703b2c419f052028c28ce106c28c6b48c58e47304a5e221b0391490938ee683","transactionPosition":34,"type":"call"},{"action":{"from":"0xf0dbce77ca457820d951fbe7fe280833d064e395","callType":"call","gas":"0x8fc","input":"0x","to":"0xea6d6ac4932adccde7bacfd62920c59af5febf1b","value":"0x2386f26fc100000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x8703b2c419f052028c28ce106c28c6b48c58e47304a5e221b0391490938ee683","transactionPosition":34,"type":"call"},{"action":{"from":"0xf0dbce77ca457820d951fbe7fe280833d064e395","callType":"call","gas":"0x8fc","input":"0x","to":"0x15ee24663679f759e2756064c5ea9f4985de5730","value":"0x470de4df820000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[2],"transactionHash":"0x8703b2c419f052028c28ce106c28c6b48c58e47304a5e221b0391490938ee683","transactionPosition":34,"type":"call"},{"action":{"from":"0xf0dbce77ca457820d951fbe7fe280833d064e395","callType":"call","gas":"0x8fc","input":"0x","to":"0xfb7a029f245341df70976c67785ce3192bd97eb3","value":"0x2aa1efb94e0000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[3],"transactionHash":"0x8703b2c419f052028c28ce106c28c6b48c58e47304a5e221b0391490938ee683","transactionPosition":34,"type":"call"},{"action":{"from":"0xf0dbce77ca457820d951fbe7fe280833d064e395","callType":"call","gas":"0x8fc","input":"0x","to":"0x7a4c328b4b59cb042838e7d7f0095ea24eab15b6","value":"0x1c6bf526340000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[4],"transactionHash":"0x8703b2c419f052028c28ce106c28c6b48c58e47304a5e221b0391490938ee683","transactionPosition":34,"type":"call"},{"action":{"from":"0xf479be24faa6984ca0558badfc1a91557c6a35e9","callType":"call","gas":"0x613fc","input":"0xa9059cbb000000000000000000000000d85e5835e20b164003905241141039d895e6767100000000000000000000000000000000000000000000022e765ee54e9bc9c000","to":"0x1efb690e9316e565637da560a2f157150a35294d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x8bb9","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[],"transactionHash":"0xd4cad21ed9cc61497ca9e3aea6a9dd0e6a476b8a33732e743762a5fa82dd5470","transactionPosition":35,"type":"call"},{"action":{"from":"0x1efb690e9316e565637da560a2f157150a35294d","callType":"call","gas":"0x5f138","input":"0xdfe0f0ca000000000000000000000000f479be24faa6984ca0558badfc1a91557c6a35e9000000000000000000000000d85e5835e20b164003905241141039d895e6767100000000000000000000000000000000000000000000022e765ee54e9bc9c000","to":"0xa8840cf5015a1ec773f91b4d13fa94633c9e4349","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x8057","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":5,"traceAddress":[0],"transactionHash":"0xd4cad21ed9cc61497ca9e3aea6a9dd0e6a476b8a33732e743762a5fa82dd5470","transactionPosition":35,"type":"call"},{"action":{"from":"0xa8840cf5015a1ec773f91b4d13fa94633c9e4349","callType":"staticcall","gas":"0x5cb7c","input":"0xc8dbb686000000000000000000000000f479be24faa6984ca0558badfc1a91557c6a35e9","to":"0x613ea531d96dd4dc3f39aac5de85f312ef43fd1f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x50f","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[0,0],"transactionHash":"0xd4cad21ed9cc61497ca9e3aea6a9dd0e6a476b8a33732e743762a5fa82dd5470","transactionPosition":35,"type":"call"},{"action":{"from":"0xa8840cf5015a1ec773f91b4d13fa94633c9e4349","callType":"staticcall","gas":"0x5bcb2","input":"0x27e235e3000000000000000000000000f479be24faa6984ca0558badfc1a91557c6a35e9","to":"0x613ea531d96dd4dc3f39aac5de85f312ef43fd1f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4eb","output":"0x00000000000000000000000000000000000000000005e46f16b21943b3b6d000"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xd4cad21ed9cc61497ca9e3aea6a9dd0e6a476b8a33732e743762a5fa82dd5470","transactionPosition":35,"type":"call"},{"action":{"from":"0xa8840cf5015a1ec773f91b4d13fa94633c9e4349","callType":"call","gas":"0x5ae0f","input":"0xe30443bc000000000000000000000000f479be24faa6984ca0558badfc1a91557c6a35e900000000000000000000000000000000000000000005e240a05333f517ed1000","to":"0x613ea531d96dd4dc3f39aac5de85f312ef43fd1f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x18b5","output":"0x"},"subtraces":0,"traceAddress":[0,2],"transactionHash":"0xd4cad21ed9cc61497ca9e3aea6a9dd0e6a476b8a33732e743762a5fa82dd5470","transactionPosition":35,"type":"call"},{"action":{"from":"0xa8840cf5015a1ec773f91b4d13fa94633c9e4349","callType":"call","gas":"0x58c66","input":"0x21e5383a000000000000000000000000d85e5835e20b164003905241141039d895e6767100000000000000000000000000000000000000000000022e765ee54e9bc9c000","to":"0x613ea531d96dd4dc3f39aac5de85f312ef43fd1f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1c21","output":"0x"},"subtraces":0,"traceAddress":[0,3],"transactionHash":"0xd4cad21ed9cc61497ca9e3aea6a9dd0e6a476b8a33732e743762a5fa82dd5470","transactionPosition":35,"type":"call"},{"action":{"from":"0xa8840cf5015a1ec773f91b4d13fa94633c9e4349","callType":"call","gas":"0x5673c","input":"0x23de6651000000000000000000000000f479be24faa6984ca0558badfc1a91557c6a35e9000000000000000000000000d85e5835e20b164003905241141039d895e6767100000000000000000000000000000000000000000000022e765ee54e9bc9c000","to":"0x1efb690e9316e565637da560a2f157150a35294d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xbd2","output":"0x"},"subtraces":0,"traceAddress":[0,4],"transactionHash":"0xd4cad21ed9cc61497ca9e3aea6a9dd0e6a476b8a33732e743762a5fa82dd5470","transactionPosition":35,"type":"call"},{"action":{"from":"0x9adc8e6fcb495efb40d7354621222e513b9ce941","callType":"call","gas":"0x0","input":"0x","to":"0x8b4eb798ca25d14975044eecfa0287327a208809","value":"0x1ac52800f692000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xbfa0fa3f4523e43371051c2ab9cfc4e276afd2457ed4d5bb82f0121da567afee","transactionPosition":36,"type":"call"},{"action":{"from":"0xca30035c34e184bb0bcd3bf35a7198c1b1f61977","callType":"call","gas":"0x0","input":"0x","to":"0xca30035c34e184bb0bcd3bf35a7198c1b1f61977","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3ee48e2835fb1b199ec0f74cdc0db6c7a0aeb08d6e30d92039d94f4f30d99261","transactionPosition":37,"type":"call"},{"action":{"from":"0x998b42d3b2ff194953b22841ea234e9a523ff7f5","callType":"call","gas":"0x0","input":"0x","to":"0x998b42d3b2ff194953b22841ea234e9a523ff7f5","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xb21571f333dbe09cefb71e9c26aad5ea6e61d6872d2038ad45881fcc0ee8405f","transactionPosition":38,"type":"call"},{"action":{"from":"0x042b26910571985a71b5cbf1af9434286b84083f","callType":"call","gas":"0x0","input":"0x","to":"0x042b26910571985a71b5cbf1af9434286b84083f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x0bddf6e3e04869265385e6706810bfc7a10f502a3d638479ba703bf6f089054e","transactionPosition":39,"type":"call"},{"action":{"from":"0xb32c6b1f1b40ecde8e076a999a1f636fd35e05e9","callType":"call","gas":"0x0","input":"0x","to":"0xb32c6b1f1b40ecde8e076a999a1f636fd35e05e9","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xa2ecee5e62df3c18466c54d666c8038aa971cc574e8785e5a885539fd513b779","transactionPosition":40,"type":"call"},{"action":{"from":"0x04a2f191766f73b190e9051efb7ee6394655a00d","callType":"call","gas":"0x0","input":"0x","to":"0x04a2f191766f73b190e9051efb7ee6394655a00d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xa4eeb05f5f33f24bfa6a9108eab36faaffce244a6d5b4ca9c345a6842f0ca3fc","transactionPosition":41,"type":"call"},{"action":{"from":"0xe39fc4425fefaa19bcd3e5f53f0b2914217fe3ae","callType":"call","gas":"0x0","input":"0x","to":"0xe39fc4425fefaa19bcd3e5f53f0b2914217fe3ae","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x51fb11d7da6eb0c6b27102c3fc14f836514d53320c4dd75e27d04d228550cd20","transactionPosition":42,"type":"call"},{"action":{"from":"0x8e1fac1b2bab1fe59a7fb497471fb40a1a9c5a05","callType":"call","gas":"0x0","input":"0x","to":"0x8e1fac1b2bab1fe59a7fb497471fb40a1a9c5a05","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xc4597ec7bbd62f4e7338150ffd277cf7620e3aa236ded4cfd102cd515b4252b4","transactionPosition":43,"type":"call"},{"action":{"from":"0x01ef61a168b8190da7ce75c83c62bed35e9e8ab7","callType":"call","gas":"0x0","input":"0x","to":"0x01ef61a168b8190da7ce75c83c62bed35e9e8ab7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x44fe12ae295bf59fb7a353f1107201eba1d6917c61af8443dcbac286acc98bae","transactionPosition":44,"type":"call"},{"action":{"from":"0x33f4b6b465f4d5eb9ac1a28de5db2e5de61614c9","callType":"call","gas":"0x0","input":"0x","to":"0x33f4b6b465f4d5eb9ac1a28de5db2e5de61614c9","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xdabb6580cf3607d9a3e0409832f7c16174d6ba40e88a59c358a58a7da0d21a1b","transactionPosition":45,"type":"call"},{"action":{"from":"0x872bc5194447bf75efc705ebafe07b8bc59ea6a1","callType":"call","gas":"0x0","input":"0x","to":"0x872bc5194447bf75efc705ebafe07b8bc59ea6a1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xd41b0bf89841d7cc1e655014a6348d0a985ca2a46c969afb7576d7cc1a8a4fab","transactionPosition":46,"type":"call"},{"action":{"from":"0x5e7e9ed2a41b2688bcaa43168f657f6a4698edc8","callType":"call","gas":"0x0","input":"0x","to":"0x5e7e9ed2a41b2688bcaa43168f657f6a4698edc8","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x1f1330cccc4f51f3f23682582216440dfdbf44860820738fccc70fbbb6654615","transactionPosition":47,"type":"call"},{"action":{"from":"0x7fbf2ce7be2b5e1caaaff71226d41279da6b05aa","callType":"call","gas":"0x0","input":"0x","to":"0x7fbf2ce7be2b5e1caaaff71226d41279da6b05aa","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x93a42b372a2194c2df9fffa71333f36ab95fe8b19a814352686c62d7b65b3dfb","transactionPosition":48,"type":"call"},{"action":{"from":"0x797dbfab26308010199f0b18c97c1c554dd119f9","callType":"call","gas":"0x1817f8","input":"0x","to":"0x88c7888858460495951143e643a87926b353a44c","value":"0x21dd0bdc4071620"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x07cf762c32372c2f392993d353029d623d63da192cdc1d670602fd2de79c6bd8","transactionPosition":49,"type":"call"},{"action":{"from":"0xe660bc900573d832b0717bff89fec8a6af16b141","callType":"call","gas":"0x16900c","input":"0x752d49a100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000","to":"0x0ba45a8b5d5575935b8158a88c631e9f9c95a2e5","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1ca2e","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x92e9fded4d43f72b1f9226eb781439b4830888dc4da16517e2c4b287963dc44b","transactionPosition":50,"type":"call"},{"action":{"from":"0x0ba45a8b5d5575935b8158a88c631e9f9c95a2e5","callType":"delegatecall","gas":"0x162d6f","input":"0x752d49a100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000","to":"0x1cbc36ad612b1f67c726e412e126b1e4ea613df1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1c17c","output":"0x"},"subtraces":1,"traceAddress":[0],"transactionHash":"0x92e9fded4d43f72b1f9226eb781439b4830888dc4da16517e2c4b287963dc44b","transactionPosition":50,"type":"call"},{"action":{"from":"0x0ba45a8b5d5575935b8158a88c631e9f9c95a2e5","callType":"delegatecall","gas":"0x15cd5d","input":"0x02e8f21b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000","to":"0x9b71ea8902d3b7967f63510c08d8baac94b0312d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1b9d5","output":"0x"},"subtraces":0,"traceAddress":[0,0],"transactionHash":"0x92e9fded4d43f72b1f9226eb781439b4830888dc4da16517e2c4b287963dc44b","transactionPosition":50,"type":"call"},{"action":{"from":"0xd6852a3d8017dcb180dbdd17c306c5b9c9dc1690","callType":"call","gas":"0x0","input":"0x","to":"0x30f4be3bcd96237242f6ab37aec8075a0b454da2","value":"0xd2ddb19bad1800"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xfda0eb46b7bcd92e6c26f9f0e377d16c48e7b5e8dfe2509abf8c7f9f9c77b176","transactionPosition":51,"type":"call"},{"action":{"from":"0xb3d069698ee89641c0b564f335addca17acc6a0b","callType":"call","gas":"0x1aa8c","input":"0x64887334000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000009899c400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001fefeff00ffff02ff03fb0001c3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020101000101fd01fd0500ff450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000","to":"0x7a8d58a04ca441f7c39211e2dc2367face9d875e","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x23ec","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x7faa706fd02ec99e361efbb68f9b49c99d4dddb97a7fc2ca0839e0fb7aa7ae26","transactionPosition":52,"type":"call"},{"action":{"from":"0x98f39ed4d4ab573259fd398b4dbaf3abfcb6b195","callType":"call","gas":"0x1eff8","input":"0x5e83b463000000000000000000000000000000000000000000000000000000000000003100000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000989a8aff802a137cce17d08b632870d826783c2a16f2008fa984156ab99e5577a5b2dabfe21bc3aefc68964f7bc7cd3b4838b15c78ef89f188c3274f25505c374f2c8a0f589b733822796da07e99639118c6082d53c6e630cfebed3bea6093734f4ecb","to":"0xd1ceeeeee83f8bcf3bedad437202b6154e9f5405","value":"0xdbd2fc137a30000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xde77","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x31ecf0c55ade2c476c70273252166f7005eafc16b5dc98324ede8ca59ac5195b","transactionPosition":53,"type":"call"},{"action":{"from":"0xab84a43a3214201309680671ec505989cee3908a","callType":"call","gas":"0x7d0","input":"0x","to":"0x986a2fca9eda0e06fbf7839b89bfc006ee2a23dd","value":"0x2da50f2290ffc00"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x4176761a8ecf8c0520d440aef8862b6ee02af020601ec0918af4e63aa90b2ed0","transactionPosition":54,"type":"call"},{"action":{"from":"0xd99d389e0e3325c4c3780aaf8ed18a77987c1767","callType":"call","gas":"0x0","input":"0x","to":"0x432004586af4b1e0ebdd3008d7d10abea0b21e20","value":"0xa2508a082cf8000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x5718c6501e5635e009d35b3dc380f4f8696dee322de1d5a7983c3a30f639099c","transactionPosition":55,"type":"call"},{"action":{"from":"0x2140647bd6180c6bb03501b909d368e5c16b9b80","callType":"call","gas":"0x0","input":"0x","to":"0x88fa21e06f8da7fba98c2d45901c2b7f9abbe32c","value":"0x1bbef0c1db704000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x157b8f96931fd01cd18cd888cee0f58fa20aaebca8337cbf505846b17f4445a8","transactionPosition":56,"type":"call"},{"action":{"from":"0x2028aa76c84802cd61ab3bec4f142ca33743068b","callType":"call","gas":"0x182b8","input":"0x","to":"0xc81e5a65e9bd8b4b98984ce6513963b419b035f9","value":"0x6d23ad5f80000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xce2a2e896efdd2de35437159ec941e052fa08fa1877b46731fb58215b9ad574f","transactionPosition":57,"type":"call"},{"action":{"from":"0x416299aade6443e6f6e8ab67126e65a7f606eef5","callType":"call","gas":"0x7148","input":"0x","to":"0x40fcbf4a7335f33f85e3193fb95bc69b0d32d439","value":"0xca8132b0328000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x09b80a4a11ff1387e67c90e45da42de4c9d528d4f1bbd1132f2ffbf0186b5c68","transactionPosition":58,"type":"call"},{"action":{"from":"0x416299aade6443e6f6e8ab67126e65a7f606eef5","callType":"call","gas":"0x7148","input":"0x","to":"0x38a186615ee320785f3c0e7eeb3b103fefe2d0cd","value":"0x7c585087238000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x1f55aad97e343f1f37ee956b36c4a11fc81ce5c1194197c7b9ee07a5cbf5a234","transactionPosition":59,"type":"call"},{"action":{"from":"0x416299aade6443e6f6e8ab67126e65a7f606eef5","callType":"call","gas":"0x7148","input":"0x","to":"0xf801080ad118e6a79c24e7fdd5a5b89891a6dcb0","value":"0x919f5090e26000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x6c35b0e50bf68cc92c3dcbf96afdb4040015947e39d146a6e34e2968da69a73a","transactionPosition":60,"type":"call"},{"action":{"from":"0x00000000c0293c8ca34dac9bcc0f953532d34e4d","callType":"call","gas":"0xa7a0","input":"0xca722cdc7387a27b63bdc56e1e2ebba4262dc746717cc472eaa46a3c5cd584f39cb31d739cbb4543e950754658ef60b65ad1134593b09e7f759245167c56ecd7cb2c0270","to":"0xd1ceeeeee83f8bcf3bedad437202b6154e9f5405","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x680f","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xc41eef1f8a43386a8d3304de3b43067582e045bc781f6a9fc942244084edcfe3","transactionPosition":61,"type":"call"},{"action":{"from":"0xd1ceeeeee83f8bcf3bedad437202b6154e9f5405","callType":"call","gas":"0x8fc","input":"0x","to":"0xd02035889de4552d1b5272d0f669a2b39b0d56e7","value":"0x8bfa175c268000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xc41eef1f8a43386a8d3304de3b43067582e045bc781f6a9fc942244084edcfe3","transactionPosition":61,"type":"call"},{"action":{"from":"0xae4e5af5cef707949cfe5de3c8c2e7cc70cf9b0b","callType":"call","gas":"0x3e8","input":"0x","to":"0xae4e5af5cef707949cfe5de3c8c2e7cc70cf9b0b","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xd893a30a82a26e29180434ae48a0285ec1abfcde5fbe22013fcde4da551c931d","transactionPosition":62,"type":"call"},{"action":{"from":"0x3fc1676ffbc321022894b89fa5f469a4b04aba0b","callType":"call","gas":"0x3e8","input":"0x","to":"0x3fc1676ffbc321022894b89fa5f469a4b04aba0b","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xefbc6a460becfc324a266fd8eea7d1b971a0d4d5da68a632caca5717874793e6","transactionPosition":63,"type":"call"},{"action":{"from":"0x17e8bc88d88738fdfe3f2f58d37316ef12034db9","callType":"call","gas":"0x3e8","input":"0x","to":"0x17e8bc88d88738fdfe3f2f58d37316ef12034db9","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xfb8aafe9d7e270ded20bdcc3bfe54288c1de151f1694ab334b50f845b09611fd","transactionPosition":64,"type":"call"},{"action":{"from":"0x8b66bd4e5060ecdf971b68abb4ed4641a86849b6","callType":"call","gas":"0x3e8","input":"0x","to":"0x8b66bd4e5060ecdf971b68abb4ed4641a86849b6","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xf2d90940622b695d8211d02dd76c22b2654a08e99e59fb08299604801e89b5ce","transactionPosition":65,"type":"call"},{"action":{"from":"0x3eb156941a195bc7b08ba2b9bf50a36589716922","callType":"call","gas":"0x13220","input":"0xa9059cbb000000000000000000000000356f5207cf0c90f4c57c4a15b7b834854ccde7790000000000000000000000000000000000000000000000004563918244f40000","to":"0x65c0469fa7a3ceb8130598e90f5f76c11b7e51aa","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7378","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x1d0aee012f1b238f6fd8a091fed445d87f892c00501c8d1772a5abe61fe7366f","transactionPosition":66,"type":"call"},{"action":{"from":"0x2a0a572d77f6d6ce62c6539e679d943824c3b218","callType":"call","gas":"0x13220","input":"0xa9059cbb0000000000000000000000001f6a5bef7e048a34aaffbd9fe77c24b7caf3120c0000000000000000000000000000000000000000000000008ac7230489e80000","to":"0x65c0469fa7a3ceb8130598e90f5f76c11b7e51aa","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7378","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x8650a3ec5103273c70598c2bdd4b86253786eea5244a1b32d9acf022034e4190","transactionPosition":67,"type":"call"},{"action":{"from":"0x999d1ce359692aebc26cd969a31d47d150128600","callType":"call","gas":"0x5208","input":"0x","to":"0x004ace65adb9f0b835b359305236ed089973188e","value":"0x334f86b26ddd800"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x8d6e12c93720fb7682978621da88005eeddfc57b17d519f1a5d178e28637ed7c","transactionPosition":68,"type":"call"},{"action":{"from":"0x395d68433af175a233048a4cd88a91e22c56fd3d","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xd2b1","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"delegatecall","gas":"0xccaac","input":"0xab9e8c69000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0x1ae63ee8edb457e91e86e310e93702cdf8b62a98","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x70cc","output":"0x"},"subtraces":3,"traceAddress":[0],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"staticcall","gas":"0xc8c52","input":"0x06f2bf620000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862","to":"0xc0a47dfe034b400b47bdad5fecda2621de6c4d95","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x465","output":"0x00000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af"},"subtraces":0,"traceAddress":[0,0],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"staticcall","gas":"0xc8169","input":"0xcd7724c3000000000000000000000000000000000000000000000005ccb25a4c075f60aa","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3cc5","output":"0x0000000000000000000000000000000000000000000000693356fcb09882ca4b075f60aa00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,1],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0xc4af9","input":"0xcd7724c3000000000000000000000000000000000000000000000005ccb25a4c075f60aa","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3833","output":"0x0000000000000000000000000000000000000000000000693356fcb09882ca4b"},"subtraces":1,"traceAddress":[0,1,0],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0xc0769","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":2,"traceAddress":[0,1,0,0],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0xbc771","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,0,0,0],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0xbbe65","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":0,"traceAddress":[0,1,0,0,1],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"staticcall","gas":"0xc3cad","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000000693356fcb09882ca4b","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005c01e1e5273cb5408"},"subtraces":0,"traceAddress":[0,2],"transactionHash":"0x97a03ebd2961965c8fc2451cde05a075b9d14a668d037e05ae8e06af6fc671b1","transactionPosition":69,"type":"call"},{"action":{"from":"0x17d0afb804637c6a4863249842488b3f640299e3","callType":"call","gas":"0xd5f24","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e66d564f02017ce7bcaa6290de3091ce569a66ffcb39175a97cdd35e000000000000000000000000000000000000000000000000000000993d12b39900000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000001d9717f398792cb270000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000026b175474e89094c44da98b954eedeac495271d0f000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xfec1","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"delegatecall","gas":"0xcc9b4","input":"0xab9e8c69000000000000000000000000000000000000000000000001d9717f398792cb270000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000026b175474e89094c44da98b954eedeac495271d0f000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0x1ae63ee8edb457e91e86e310e93702cdf8b62a98","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x9cdc","output":"0x"},"subtraces":4,"traceAddress":[0],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"staticcall","gas":"0xc8b26","input":"0x06f2bf620000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862","to":"0xc0a47dfe034b400b47bdad5fecda2621de6c4d95","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x465","output":"0x00000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af"},"subtraces":0,"traceAddress":[0,0],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"staticcall","gas":"0xc803c","input":"0xcd7724c3000000000000000000000000000000000000000000000001d9717f398792cb27","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000021bb703996d150fe4a8792cb2700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,1],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0xc49d1","input":"0xcd7724c3000000000000000000000000000000000000000000000001d9717f398792cb27","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000021bb703996d150fe4a"},"subtraces":1,"traceAddress":[0,1,0],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0xc0646","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":2,"traceAddress":[0,1,0,0],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0xbc653","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,0,0,0],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0xbbd47","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":0,"traceAddress":[0,1,0,0,1],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"staticcall","gas":"0xc3bad","input":"0x144a27520000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000021bb703996d150fe4a","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x122f","output":"0x0000000000000000000000000000000000000000000001758cd8381c2baa6457"},"subtraces":0,"traceAddress":[0,2],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","callType":"staticcall","gas":"0xc20b6","input":"0x95b68fe70000000000000000000000000000000000000000000001758cd8381c2baa6457","to":"0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x22d0","output":"0x000000000000000000000000000000000000000000000001d290ada0983ea9552baa645700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,3],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667","callType":"delegatecall","gas":"0xbebc9","input":"0x95b68fe70000000000000000000000000000000000000000000001758cd8381c2baa6457","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1e3e","output":"0x000000000000000000000000000000000000000000000001d290ada0983ea955"},"subtraces":1,"traceAddress":[0,3,0],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667","callType":"staticcall","gas":"0xba97d","input":"0x70a082310000000000000000000000002a1530c4c41db0b0b2bb646cb5eb1a67b7158667","to":"0x6b175474e89094c44da98b954eedeac495271d0f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x516","output":"0x0000000000000000000000000000000000000000000306e87f2b11c5ade21dcf"},"subtraces":0,"traceAddress":[0,3,0,0],"transactionHash":"0x5f986f8b1ac988edc067c51fc7356aba8f97ac5a6ed8c8aacb3520d5a21c5292","transactionPosition":70,"type":"call"},{"action":{"from":"0x6861d397f7ff510a1ab4bb60434d8a9c4dd01240","callType":"call","gas":"0x8cd7c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000001584bcf18b753ca7a030348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862096b175474e89094c44da98b954eedeac495271d0f032a1530c4c41db0b0b2bb646cb5eb1a67b71586670000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0xa69d","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x89f8c","input":"0x689c49c0000000000000000000000000000000000000000000000001584bcf18b753ca7a030348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862096b175474e89094c44da98b954eedeac495271d0f032a1530c4c41db0b0b2bb646cb5eb1a67b71586670000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x9ba0","output":"0x"},"subtraces":3,"traceAddress":[0],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x86f31","input":"0xcd7724c3000000000000000000000000000000000000000000000001584bcf18b753ca7a","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3cc5","output":"0x0000000000000000000000000000000000000000000000188c477ef70577ba7eb753ca7a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x8490a","input":"0xcd7724c3000000000000000000000000000000000000000000000001584bcf18b753ca7a","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x3833","output":"0x0000000000000000000000000000000000000000000000188c477ef70577ba7e"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x81582","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x7e552","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x7dc46","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x825e6","input":"0x144a27520000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000000188c477ef70577ba7e","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x122f","output":"0x00000000000000000000000000000000000000000000010fd81bd79c0efb2f6a"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x80930","input":"0x95b68fe700000000000000000000000000000000000000000000010fd81bd79c0efb2f6a","to":"0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x22d0","output":"0x00000000000000000000000000000000000000000000000153b51891274c3e6b0efb2f6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,2],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667","callType":"delegatecall","gas":"0x7e4a1","input":"0x95b68fe700000000000000000000000000000000000000000000010fd81bd79c0efb2f6a","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1e3e","output":"0x00000000000000000000000000000000000000000000000153b51891274c3e6b"},"subtraces":1,"traceAddress":[0,2,0],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667","callType":"staticcall","gas":"0x7b272","input":"0x70a082310000000000000000000000002a1530c4c41db0b0b2bb646cb5eb1a67b7158667","to":"0x6b175474e89094c44da98b954eedeac495271d0f","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x516","output":"0x0000000000000000000000000000000000000000000306e87f2b11c5ade21dcf"},"subtraces":0,"traceAddress":[0,2,0,0],"transactionHash":"0xe216132bd9c0cd735675f3bf3e660c65dea540a4dc3403c3ef586a5fa66c6743","transactionPosition":71,"type":"call"},{"action":{"from":"0xa2913154337e375de862b458d4b878c1ea86543f","callType":"call","gas":"0x2a85e","input":"0xbe389d5700000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002","to":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","value":"0xb1a2bc2ec50000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x1f7f4","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xd2034f9bd57b18ff100aaa8b6930c8cd73d54249506609b63c90732686e59e89","transactionPosition":72,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0x1dedbd65e31f73fe21d7b99f00f0b86f1aeed024","value":"0xb1a2bc2ec50000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xd2034f9bd57b18ff100aaa8b6930c8cd73d54249506609b63c90732686e59e89","transactionPosition":72,"type":"call"},{"action":{"from":"0xd606709c2fca26012015484d78c19d401253af2b","callType":"call","gas":"0x8670a","input":"0x797eee24000000000000000000000000dd6157cda4ece2d0b08a30502ace3e4bd390efac","to":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","value":"0xb1a2bc2ec50000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x57e1f","output":"0x"},"subtraces":2,"traceAddress":[],"transactionHash":"0x27414f39f984367588a5b58ee573bfdd26382025cb62f1facca7099d5a6ba34a","transactionPosition":73,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0xdd6157cda4ece2d0b08a30502ace3e4bd390efac","value":"0x58d15e17628000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x27414f39f984367588a5b58ee573bfdd26382025cb62f1facca7099d5a6ba34a","transactionPosition":73,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0xdd6157cda4ece2d0b08a30502ace3e4bd390efac","value":"0x58d15e17628000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x27414f39f984367588a5b58ee573bfdd26382025cb62f1facca7099d5a6ba34a","transactionPosition":73,"type":"call"},{"action":{"from":"0x7744e530c1dc842872736261864916bfc1b80eea","callType":"call","gas":"0x7d554","input":"0x797eee240000000000000000000000009147bc591e48be0484a0a40f8496ec183afb064f","to":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","value":"0xb1a2bc2ec50000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x5f33e","output":"0x"},"subtraces":2,"traceAddress":[],"transactionHash":"0x47c48a24269bbe8af18d26980a161dcd22a288e5d24bdfdab88c74836a0a5509","transactionPosition":74,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0x9147bc591e48be0484a0a40f8496ec183afb064f","value":"0x58d15e17628000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x47c48a24269bbe8af18d26980a161dcd22a288e5d24bdfdab88c74836a0a5509","transactionPosition":74,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0x9147bc591e48be0484a0a40f8496ec183afb064f","value":"0x58d15e17628000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x47c48a24269bbe8af18d26980a161dcd22a288e5d24bdfdab88c74836a0a5509","transactionPosition":74,"type":"call"},{"action":{"from":"0x0c655d8b5e3e70248366a8f22cb7f28ad5ee3070","callType":"call","gas":"0x6cf4","input":"0x23b872dd0000000000000000000000000c655d8b5e3e70248366a8f22cb7f28ad5ee30700000000000000000000000004a91dc7db316fbe5f2b5c0732b7ab11b867daefc000000000000000000000000000000000000000000000000000000000133c5d2","to":"0xc03844f07f86ad1d90a1c4a2a8204dcf00f3a991","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x6cf4","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3b08a81a3dcd90834db76f04a8bf946dd00109c1b7faeec64b7084ddcf021407","transactionPosition":75,"type":"call"},{"action":{"from":"0x76c7a216a9fd5a714699ab31d0c66fc2629eda35","callType":"call","gas":"0x4c9d","input":"0xa9059cbb00000000000000000000000075e89d5979e4f6fba9f97c104c2f0afb3f1dcb8800000000000000000000000000000000000000000000000000000000024dcc48","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xcf7a14e87440b4f1441b54fd45d148ced6695e368f4e4621a6e3ed02013517b9","transactionPosition":76,"type":"call"},{"action":{"from":"0x9fcafcca8aec0367abb35fbd161c241f7b79891b","callType":"call","gas":"0xe678","input":"0x","to":"0xf9bf8a28621fa5301a5266e04b4ff729e7f67eb9","value":"0x16345785d8a0000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xb887b1834c76d9f3af50c1ada5684af9bab659fb8eb8e8008c2e46f18c8a633b","transactionPosition":77,"type":"call"},{"action":{"from":"0x363afc97a73b790234ac1c5b2299826ba37e5d54","callType":"call","gas":"0x4c9d","input":"0xa9059cbb00000000000000000000000075e89d5979e4f6fba9f97c104c2f0afb3f1dcb88000000000000000000000000000000000000000000000000000000000202a9e8","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x5318bbff1e646a2f1cfe37e4f642c4f87e6caafb31c3b1fa1d80c1e362f677dd","transactionPosition":78,"type":"call"},{"action":{"from":"0x505387014d6518d5daff534a14d91650f32c9fd6","callType":"call","gas":"0x14a7e","input":"0xa9059cbb0000000000000000000000001717373356e1b76af9ab4d6f31390581c23f28dd0000000000000000000000000000000000000000000017992cac5d933b400000","to":"0x8971f9fd7196e5cee2c1032b50f656855af7dd26","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x7af3","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x6285cc5759f60f0c3c23d2138520cbf508b5b0d6ed8e0727be6a3194a79d9ede","transactionPosition":79,"type":"call"},{"action":{"from":"0x505387014d6518d5daff534a14d91650f32c9fd6","callType":"call","gas":"0xd54e","input":"0xa9059cbb000000000000000000000000c3b93abca41063b68c699d9948268d6e1bb7123200000000000000000000000000000000000000000000061afc60c9845e800000","to":"0x8971f9fd7196e5cee2c1032b50f656855af7dd26","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x405b","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3a77a8493bb32e3f8318e3ddef77abf0fb176c874edf3e08f9efda2a889001d2","transactionPosition":80,"type":"call"},{"action":{"from":"0xb29343cb6240fee19ba9163383136f4612a36c0c","callType":"call","gas":"0x4ca9","input":"0xa9059cbb00000000000000000000000075e89d5979e4f6fba9f97c104c2f0afb3f1dcb88000000000000000000000000000000000000000000000000000000003b9aca00","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x1453c2137a2a94d9d0d527497c84e7dc0377635dbcca4a792a63429bd43ae811","transactionPosition":81,"type":"call"},{"action":{"from":"0xdfe0f1b2c987c00da0c20f8e2ebb7c665b749a5a","callType":"call","gas":"0x0","input":"0x","to":"0xceaf5452c4ebad07a6e361c6fc876e123e757544","value":"0x163355ae5bd4c800"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x6b8799f799b143ab80f82f4d4e9491a3a03a5804b481c756ec6f4454224b064a","transactionPosition":82,"type":"call"},{"action":{"author":"0x06b8c5883ec71bc3f4b332081519f23834c8706e","rewardType":"block","value":"0x1bc16d674ec80000"},"blockHash":"0xeaec13571946bee68958c08e45c4746cb05104f6a0ded3549c2f5130795cf8ed","blockNumber":10000835,"result":null,"subtraces":0,"traceAddress":[],"type":"reward"}]} diff --git a/tests/cachedrpc/4eda78465d468431d74271aba6c6ecbeb00ae893aae09555d4b46fe86e06e210 b/tests/cachedrpc/4eda78465d468431d74271aba6c6ecbeb00ae893aae09555d4b46fe86e06e210 new file mode 100644 index 00000000..6473bf8d --- /dev/null +++ b/tests/cachedrpc/4eda78465d468431d74271aba6c6ecbeb00ae893aae09555d4b46fe86e06e210 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x43506849d7c04f9138d1a2050bbf3a0c054402dd","contractCreator":"0x2ba937d2c71d0fbbeda8ce3bf02a8b88727961ec","txHash":"0x8240d79c3cbdc9347c602def2a433e006ddd5cbd065963a8f67050bb8d8102e2","blockNumber":"18921498","timestamp":"1704220343","contractFactory":"","creationBytecode":"0x60806040526001805460ff60a01b191690556000600b553480156200002357600080fd5b506200002f3362000035565b62000057565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b615ba880620000676000396000f3fe608060405234801561001057600080fd5b506004361061036d5760003560e01c80638456cb59116101d3578063b7b7289911610104578063e3ee160e116100a2578063ef55bec61161007c578063ef55bec614611122578063f2fde38b1461118e578063f9f92be4146111c1578063fe575a87146111f45761036d565b8063e3ee160e14611075578063e5a6b10f146110e1578063e94a0102146110e95761036d565b8063d505accf116100de578063d505accf14610f64578063d608ea6414610fc2578063d916948714611032578063dd62ed3e1461103a5761036d565b8063b7b7289914610db0578063bd10243014610e78578063cf09299514610e805761036d565b8063a0cc6a6811610171578063aa20e1e41161014b578063aa20e1e414610cd4578063aa271e1a14610d07578063ad38bf2214610d3a578063b2118a8d14610d6d5761036d565b8063a0cc6a6814610c5a578063a457c2d714610c62578063a9059cbb14610c9b5761036d565b80638da5cb5b116101ad5780638da5cb5b14610b6a57806395d89b4114610b725780639fd0506d14610b7a5780639fd5a6cf14610b825761036d565b80638456cb5914610a4b57806388b7ab6314610a535780638a6db9c314610b375761036d565b806338a63183116102ad57806354fd4d501161024b5780635c975abb116102255780635c975abb146109d557806370a08231146109dd5780637ecebe0014610a105780637f2eecc314610a435761036d565b806354fd4d501461094c578063554bab3c146109545780635a049a70146109875761036d565b806340c10f191161028757806340c10f19146107fb57806342966c6814610834578063430239b4146108515780634e44d956146109135761036d565b806338a63183146107b257806339509351146107ba5780633f4ba83a146107f35761036d565b80632fc81e091161031a578063313ce567116102f4578063313ce5671461056f5780633357162b1461058d57806335d99f35146107795780633644e515146107aa5761036d565b80632fc81e09146105015780633092afd51461053457806330adf81f146105675761036d565b80631a8952661161034b5780631a8952661461045657806323b872dd1461048b5780632ab60045146104ce5761036d565b806306fdde0314610372578063095ea7b3146103ef57806318160ddd1461043c575b600080fd5b61037a611227565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103b457818101518382015260200161039c565b50505050905090810190601f1680156103e15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104286004803603604081101561040557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356112d3565b604080519115158252519081900360200190f35b610444611374565b60408051918252519081900360200190f35b6104896004803603602081101561046c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661137a565b005b610428600480360360608110156104a157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135611437565b610489600480360360208110156104e457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166116f2565b6104896004803603602081101561051757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611853565b6104286004803603602081101561054a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118bb565b6104446119b4565b6105776119d8565b6040805160ff9092168252519081900360200190f35b61048960048036036101008110156105a457600080fd5b8101906020810181356401000000008111156105bf57600080fd5b8201836020820111156105d157600080fd5b803590602001918460018302840111640100000000831117156105f357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561064657600080fd5b82018360208201111561065857600080fd5b8035906020019184600183028401116401000000008311171561067a57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156106cd57600080fd5b8201836020820111156106df57600080fd5b8035906020019184600183028401116401000000008311171561070157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602081013573ffffffffffffffffffffffffffffffffffffffff908116916040810135821691606082013581169160800135166119e1565b610781611d23565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610444611d3f565b610781611d4e565b610428600480360360408110156107d057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611d6a565b610489611e02565b6104286004803603604081101561081157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611ec5565b6104896004803603602081101561084a57600080fd5b5035612296565b6104896004803603604081101561086757600080fd5b81019060208101813564010000000081111561088257600080fd5b82018360208201111561089457600080fd5b803590602001918460208302840111640100000000831117156108b657600080fd5b9193909290916020810190356401000000008111156108d457600080fd5b8201836020820111156108e657600080fd5b8035906020019184600183028401116401000000008311171561090857600080fd5b509092509050612538565b6104286004803603604081101561092957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356126ef565b61037a612882565b6104896004803603602081101561096a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166128b9565b610489600480360360a081101561099d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060ff6040820135169060608101359060800135612a20565b610428612abe565b610444600480360360208110156109f357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612adf565b61044460048036036020811015610a2657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612af0565b610444612b18565b610489612b3c565b610489600480360360e0811015610a6957600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359160608101359160808201359160a08101359181019060e0810160c0820135640100000000811115610ac257600080fd5b820183602082011115610ad457600080fd5b80359060200191846001830284011164010000000083111715610af657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612c16945050505050565b61044460048036036020811015610b4d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612d7a565b610781612da2565b61037a612dbe565b610781612e37565b610489600480360360a0811015610b9857600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359160608101359181019060a081016080820135640100000000811115610be557600080fd5b820183602082011115610bf757600080fd5b80359060200191846001830284011164010000000083111715610c1957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612e53945050505050565b610444612eea565b61042860048036036040811015610c7857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612f0e565b61042860048036036040811015610cb157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612fa6565b61048960048036036020811015610cea57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16613109565b61042860048036036020811015610d1d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16613270565b61048960048036036020811015610d5057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661329b565b61048960048036036060811015610d8357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135613402565b61048960048036036060811015610dc657600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691602081013591810190606081016040820135640100000000811115610e0357600080fd5b820183602082011115610e1557600080fd5b80359060200191846001830284011164010000000083111715610e3757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613498945050505050565b61078161352d565b610489600480360360e0811015610e9657600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359160608101359160808201359160a08101359181019060e0810160c0820135640100000000811115610eef57600080fd5b820183602082011115610f0157600080fd5b80359060200191846001830284011164010000000083111715610f2357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613549945050505050565b610489600480360360e0811015610f7a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356136a2565b61048960048036036020811015610fd857600080fd5b810190602081018135640100000000811115610ff357600080fd5b82018360208201111561100557600080fd5b8035906020019184600183028401116401000000008311171561102757600080fd5b509092509050613744565b61044461382d565b6104446004803603604081101561105057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516613851565b610489600480360361012081101561108c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e0810135906101000135613889565b61037a6139f1565b610428600480360360408110156110ff57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135613a6a565b610489600480360361012081101561113957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060808101359060a08101359060ff60c0820135169060e0810135906101000135613aa2565b610489600480360360208110156111a457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16613bfd565b610489600480360360208110156111d757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16613d50565b6104286004803603602081101561120a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16613e0d565b6004805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156112cb5780601f106112a0576101008083540402835291602001916112cb565b820191906000526020600020905b8154815290600101906020018083116112ae57829003601f168201915b505050505081565b60015460009074010000000000000000000000000000000000000000900460ff161561136057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b61136b338484613e18565b50600192915050565b600b5490565b60025473ffffffffffffffffffffffffffffffffffffffff1633146113ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615824602c913960400191505060405180910390fd5b6113f381613f5f565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f117e3210bb9aa7d9baff172026820255c6f6c30ba8999d1c2fd88e2848137c4e90600090a250565b60015460009074010000000000000000000000000000000000000000900460ff16156114c457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b336114ce81613f6a565b15611524576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b8461152e81613f6a565b15611584576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b8461158e81613f6a565b156115e4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff87166000908152600a6020908152604080832033845290915290205485111561166d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806159146028913960400191505060405180910390fd5b611678878787613f98565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600a602090815260408083203384529091529020546116b39086614163565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600a60209081526040808320338452909152902055600193505050509392505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461177857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166117e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061575d602a913960400191505060405180910390fd5b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517fe475e580d85111348e40d8ca33cfdd74c30fe1655c2d8537a13abc10065ffa5a90600090a250565b60125460ff1660011461186557600080fd5b6000611870306141da565b9050801561188357611883308383613f98565b61188c30614224565b5050601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166002179055565b60085460009073ffffffffffffffffffffffffffffffffffffffff16331461192e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806157fb6029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000818152600c6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600d909152808220829055517fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929190a2506001919050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60065460ff1681565b60085474010000000000000000000000000000000000000000900460ff1615611a55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061598f602a913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416611ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806158c1602f913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8316611b2d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806157346029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611b99576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e81526020018061593c602e913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116611c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180615a7c6028913960400191505060405180910390fd5b8751611c189060049060208b01906154cd565b508651611c2c9060059060208a01906154cd565b508551611c409060079060208901906154cd565b50600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff8716179055600880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560018054821686841617905560028054909116918416919091179055611cda8161422f565b5050600880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055505050505050565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b6000611d49614276565b905090565b600e5473ffffffffffffffffffffffffffffffffffffffff1690565b60015460009074010000000000000000000000000000000000000000900460ff1615611df757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b61136b33848461436b565b60015473ffffffffffffffffffffffffffffffffffffffff163314611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180615a306022913960400191505060405180910390fd5b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b60015460009074010000000000000000000000000000000000000000900460ff1615611f5257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b336000908152600c602052604090205460ff16611fba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806158a06021913960400191505060405180910390fd5b33611fc481613f6a565b1561201a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b8361202481613f6a565b1561207a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff85166120e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806156c96023913960400191505060405180910390fd5b6000841161213f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806157ac6029913960400191505060405180910390fd5b336000908152600d6020526040902054808511156121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180615a02602e913960400191505060405180910390fd5b600b546121b590866143b5565b600b556121d4866121cf876121c9836141da565b906143b5565b614430565b6121de8186614163565b336000818152600d6020908152604091829020939093558051888152905173ffffffffffffffffffffffffffffffffffffffff8a16937fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8928290030190a360408051868152905173ffffffffffffffffffffffffffffffffffffffff8816916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600195945050505050565b60015474010000000000000000000000000000000000000000900460ff161561232057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b336000908152600c602052604090205460ff16612388576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806158a06021913960400191505060405180910390fd5b3361239281613f6a565b156123e8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b60006123f3336141da565b90506000831161244e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806156a06029913960400191505060405180910390fd5b828110156124a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061587a6026913960400191505060405180910390fd5b600b546124b49084614163565b600b556124c5336121cf8386614163565b60408051848152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a260408051848152905160009133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b60125460ff1660021461254a57600080fd5b6125566005838361554b565b5060005b83811015612698576003600086868481811061257257fe5b6020908102929092013573ffffffffffffffffffffffffffffffffffffffff168352508101919091526040016000205460ff166125fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d8152602001806155ed603d913960400191505060405180910390fd5b61262b85858381811061260957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16614224565b6003600086868481811061263b57fe5b6020908102929092013573ffffffffffffffffffffffffffffffffffffffff1683525081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905560010161255a565b506126a230614224565b505030600090815260036020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009081169091556012805490911690911790555050565b60015460009074010000000000000000000000000000000000000000900460ff161561277c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b60085473ffffffffffffffffffffffffffffffffffffffff1633146127ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806157fb6029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166000818152600c6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055600d825291829020859055815185815291517f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d209281900390910190a250600192915050565b60408051808201909152600181527f3200000000000000000000000000000000000000000000000000000000000000602082015290565b60005473ffffffffffffffffffffffffffffffffffffffff16331461293f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166129ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061564d6028913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040519116907fb80482a293ca2e013eda8683c9bd7fc8347cfdaeea5ede58cba46df502c2a60490600090a250565b60015474010000000000000000000000000000000000000000900460ff1615612aaa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b612ab78585858585614531565b5050505050565b60015474010000000000000000000000000000000000000000900460ff1681565b6000612aea826141da565b92915050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526011602052604090205490565b7fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de881565b60015473ffffffffffffffffffffffffffffffffffffffff163314612bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180615a306022913960400191505060405180910390fd5b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b60015474010000000000000000000000000000000000000000900460ff1615612ca057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b86612caa81613f6a565b15612d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b86612d0a81613f6a565b15612d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b612d6f89898989898989614571565b505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600d602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6005805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156112cb5780601f106112a0576101008083540402835291602001916112cb565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60015474010000000000000000000000000000000000000000900460ff1615612edd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b612ab78585858585614692565b7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226781565b60015460009074010000000000000000000000000000000000000000900460ff1615612f9b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b61136b338484614956565b60015460009074010000000000000000000000000000000000000000900460ff161561303357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b3361303d81613f6a565b15613093576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b8361309d81613f6a565b156130f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b6130fe338686613f98565b506001949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461318f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166131fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806158c1602f913960400191505060405180910390fd5b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040519116907fdb66dfa9c6b8f5226fe9aac7e51897ae8ee94ac31dc70bb6c9900b2574b707e690600090a250565b73ffffffffffffffffffffffffffffffffffffffff166000908152600c602052604090205460ff1690565b60005473ffffffffffffffffffffffffffffffffffffffff16331461332157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661338d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180615ad26032913960400191505060405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040519116907fc67398012c111ce95ecb7429b933096c977380ee6c421175a71a4a4c6c88c06e90600090a250565b600e5473ffffffffffffffffffffffffffffffffffffffff163314613472576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806158f06024913960400191505060405180910390fd5b61349373ffffffffffffffffffffffffffffffffffffffff841683836149b2565b505050565b60015474010000000000000000000000000000000000000000900460ff161561352257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b613493838383614a3f565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60015474010000000000000000000000000000000000000000900460ff16156135d357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b866135dd81613f6a565b15613633576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b8661363d81613f6a565b15613693576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b612d6f89898989898989614b49565b60015474010000000000000000000000000000000000000000900460ff161561372c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b61373b87878787878787614be7565b50505050505050565b60085474010000000000000000000000000000000000000000900460ff168015613771575060125460ff16155b61377a57600080fd5b6137866004838361554b565b506137fb82828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060408051808201909152600181527f320000000000000000000000000000000000000000000000000000000000000060208201529150614c299050565b600f555050601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b7f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742981565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600a6020908152604080832093909416825291909152205490565b60015474010000000000000000000000000000000000000000900460ff161561391357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b8861391d81613f6a565b15613973576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b8861397d81613f6a565b156139d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b6139e48b8b8b8b8b8b8b8b8b614c3f565b5050505050505050505050565b6007805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156112cb5780601f106112a0576101008083540402835291602001916112cb565b73ffffffffffffffffffffffffffffffffffffffff919091166000908152601060209081526040808320938352929052205460ff1690565b60015474010000000000000000000000000000000000000000900460ff1615613b2c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b88613b3681613f6a565b15613b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b88613b9681613f6a565b15613bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b046025913960400191505060405180910390fd5b6139e48b8b8b8b8b8b8b8b8b614c83565b60005473ffffffffffffffffffffffffffffffffffffffff163314613c8357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116613cef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806156ec6026913960400191505060405180910390fd5b6000546040805173ffffffffffffffffffffffffffffffffffffffff9283168152918316602083015280517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09281900390910190a1613d4d8161422f565b50565b60025473ffffffffffffffffffffffffffffffffffffffff163314613dc0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615824602c913960400191505060405180910390fd5b613dc981614224565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b85590600090a250565b6000612aea82613f6a565b73ffffffffffffffffffffffffffffffffffffffff8316613e84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806159de6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216613ef0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806157126022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600a6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b613d4d816000614cc7565b73ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205460ff1c60011490565b73ffffffffffffffffffffffffffffffffffffffff8316614004576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806159b96025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216614070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061562a6023913960400191505060405180910390fd5b614079836141da565b8111156140d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806157d56026913960400191505060405180910390fd5b6140e8836121cf836140e2876141da565b90614163565b6140f9826121cf836121c9866141da565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000828211156141d457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b73ffffffffffffffffffffffffffffffffffffffff166000908152600960205260409020547f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1690565b613d4d816001614cc7565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6004805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152600093611d4993919290918301828280156143235780601f106142f857610100808354040283529160200191614323565b820191906000526020600020905b81548152906001019060200180831161430657829003601f168201915b50505050506040518060400160405280600181526020017f3200000000000000000000000000000000000000000000000000000000000000815250614366614d50565b614d54565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600a602090815260408083209386168352929052205461349390849084906143b090856143b5565b613e18565b60008282018381101561442957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111156144a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615850602a913960400191505060405180910390fd5b6144b282613f6a565b15614508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806157876025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff909116600090815260096020526040902055565b612ab78585848487604051602001808481526020018381526020018260ff1660f81b81526001019350505050604051602081830303815290604052614a3f565b73ffffffffffffffffffffffffffffffffffffffff861633146145df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061596a6025913960400191505060405180910390fd5b6145eb87838686614dc8565b604080517fd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de860208083019190915273ffffffffffffffffffffffffffffffffffffffff808b1683850152891660608301526080820188905260a0820187905260c0820186905260e080830186905283518084039091018152610100909201909252805191012061467d90889083614e88565b6146878783615006565b61373b878787613f98565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214806146c05750428210155b61472b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f46696174546f6b656e56323a207065726d697420697320657870697265640000604482015290519081900360640190fd5b60006147d3614738614276565b73ffffffffffffffffffffffffffffffffffffffff80891660008181526011602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938b166060840152608083018a905260a083019390935260c08083018990528151808403909101815260e09092019052805191012061508b565b905073800c32eaa2a6c93cf4cb51794450ed77fbfbb172636ccea6528783856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614860578181015183820152602001614848565b50505050905090810190601f16801561488d5780820380516001836020036101000a031916815260200191505b5094505050505060206040518083038186803b1580156148ac57600080fd5b505af41580156148c0573d6000803e3d6000fd5b505050506040513d60208110156148d657600080fd5b505161494357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f454950323631323a20696e76616c6964207369676e6174757265000000000000604482015290519081900360640190fd5b61494e868686613e18565b505050505050565b61349383836143b084604051806060016040528060258152602001615b4e6025913973ffffffffffffffffffffffffffffffffffffffff808a166000908152600a60209081526040808320938c168352929052205491906150c5565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613493908490615176565b614a49838361524e565b614ac3837f158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a159742960001b8585604051602001808481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200193505050506040516020818303038152906040528051906020012083614e88565b73ffffffffffffffffffffffffffffffffffffffff8316600081815260106020908152604080832086845290915280822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055518492917f1cdd46ff242716cdaa72d159d339a485b3438398348d68f09d7c8c0a59353d8191a3505050565b614b5587838686614dc8565b604080517f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226760208083019190915273ffffffffffffffffffffffffffffffffffffffff808b1683850152891660608301526080820188905260a0820187905260c0820186905260e080830186905283518084039091018152610100909201909252805191012061467d90889083614e88565b61373b87878787868689604051602001808481526020018381526020018260ff1660f81b81526001019350505050604051602081830303815290604052614692565b600046614c37848483614d54565b949350505050565b612d6f89898989898988888b604051602001808481526020018381526020018260ff1660f81b81526001019350505050604051602081830303815290604052614b49565b612d6f89898989898988888b604051602001808481526020018381526020018260ff1660f81b81526001019350505050604051602081830303815290604052614571565b80614cda57614cd5826141da565b614d23565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600960205260409020547f8000000000000000000000000000000000000000000000000000000000000000175b73ffffffffffffffffffffffffffffffffffffffff90921660009081526009602052604090209190915550565b4690565b8251602093840120825192840192909220604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8187015280820194909452606084019190915260808301919091523060a0808401919091528151808403909101815260c09092019052805191012090565b814211614e20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615675602b913960400191505060405180910390fd5b804210614e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180615b296025913960400191505060405180910390fd5b614e82848461524e565b50505050565b73800c32eaa2a6c93cf4cb51794450ed77fbfbb172636ccea65284614eb4614eae614276565b8661508b565b846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614f23578181015183820152602001614f0b565b50505050905090810190601f168015614f505780820380516001836020036101000a031916815260200191505b5094505050505060206040518083038186803b158015614f6f57600080fd5b505af4158015614f83573d6000803e3d6000fd5b505050506040513d6020811015614f9957600080fd5b505161349357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f46696174546f6b656e56323a20696e76616c6964207369676e61747572650000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8216600081815260106020908152604080832085845290915280822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055518392917f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a591a35050565b6040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000818484111561516e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561513357818101518382015260200161511b565b50505050905090810190601f1680156151605780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60606151d8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166152dc9092919063ffffffff16565b805190915015613493578080602001905160208110156151f757600080fd5b5051613493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615a52602a913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020908152604080832084845290915290205460ff16156152d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180615aa4602e913960400191505060405180910390fd5b5050565b6060614c378484600085856152f085615447565b61535b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106153c557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101615388565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114615427576040519150601f19603f3d011682016040523d82523d6000602084013e61542c565b606091505b509150915061543c82828661544d565b979650505050505050565b3b151590565b6060831561545c575081614429565b82511561546c5782518084602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815284516024840152845185939192839260440191908501908083836000831561513357818101518382015260200161511b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061550e57805160ff191683800117855561553b565b8280016001018555821561553b579182015b8281111561553b578251825591602001919060010190615520565b506155479291506155d7565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106155aa578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082351617855561553b565b8280016001018555821561553b579182015b8281111561553b5782358255916020019190600101906155bc565b5b8082111561554757600081556001016155d856fe46696174546f6b656e56325f323a20426c61636b6c697374696e672070726576696f75736c7920756e626c61636b6c6973746564206163636f756e742145524332303a207472616e7366657220746f20746865207a65726f20616464726573735061757361626c653a206e65772070617573657220697320746865207a65726f206164647265737346696174546f6b656e56323a20617574686f72697a6174696f6e206973206e6f74207965742076616c696446696174546f6b656e3a206275726e20616d6f756e74206e6f742067726561746572207468616e203046696174546f6b656e3a206d696e7420746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737346696174546f6b656e3a206e65772070617573657220697320746865207a65726f2061646472657373526573637561626c653a206e6577207265736375657220697320746865207a65726f206164647265737346696174546f6b656e56325f323a204163636f756e7420697320626c61636b6c697374656446696174546f6b656e3a206d696e7420616d6f756e74206e6f742067726561746572207468616e203045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636546696174546f6b656e3a2063616c6c6572206973206e6f7420746865206d61737465724d696e746572426c61636b6c69737461626c653a2063616c6c6572206973206e6f742074686520626c61636b6c697374657246696174546f6b656e56325f323a2042616c616e636520657863656564732028325e323535202d20312946696174546f6b656e3a206275726e20616d6f756e7420657863656564732062616c616e636546696174546f6b656e3a2063616c6c6572206973206e6f742061206d696e74657246696174546f6b656e3a206e6577206d61737465724d696e74657220697320746865207a65726f2061646472657373526573637561626c653a2063616c6c6572206973206e6f7420746865207265736375657245524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636546696174546f6b656e3a206e657720626c61636b6c697374657220697320746865207a65726f206164647265737346696174546f6b656e56323a2063616c6c6572206d7573742062652074686520706179656546696174546f6b656e3a20636f6e747261637420697320616c726561647920696e697469616c697a656445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737346696174546f6b656e3a206d696e7420616d6f756e742065786365656473206d696e746572416c6c6f77616e63655061757361626c653a2063616c6c6572206973206e6f7420746865207061757365725361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656446696174546f6b656e3a206e6577206f776e657220697320746865207a65726f206164647265737346696174546f6b656e56323a20617574686f72697a6174696f6e2069732075736564206f722063616e63656c6564426c61636b6c69737461626c653a206e657720626c61636b6c697374657220697320746865207a65726f2061646472657373426c61636b6c69737461626c653a206163636f756e7420697320626c61636b6c697374656446696174546f6b656e56323a20617574686f72697a6174696f6e206973206578706972656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122005677c3919f4b149e065a5983baa9e2fb099cab5463ccd06429f70b32d8d9bdf64736f6c634300060c0033"}]} \ No newline at end of file diff --git a/tests/cachedrpc/50c2018d89c2262f5282ba93d6cb8ad131d1bb1f0af91ee67369ff25984afe09 b/tests/cachedrpc/50c2018d89c2262f5282ba93d6cb8ad131d1bb1f0af91ee67369ff25984afe09 new file mode 100644 index 00000000..8313fc84 --- /dev/null +++ b/tests/cachedrpc/50c2018d89c2262f5282ba93d6cb8ad131d1bb1f0af91ee67369ff25984afe09 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"lib/solmate/src/tokens/ERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity >=0.8.0;\\n\\n/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)\\n/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\\n/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.\\nabstract contract ERC20 {\\n /*//////////////////////////////////////////////////////////////\\n EVENTS\\n //////////////////////////////////////////////////////////////*/\\n\\n event Transfer(address indexed from, address indexed to, uint256 amount);\\n\\n event Approval(address indexed owner, address indexed spender, uint256 amount);\\n\\n /*//////////////////////////////////////////////////////////////\\n METADATA STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n string public name;\\n\\n string public symbol;\\n\\n uint8 public immutable decimals;\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC20 STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n uint256 public totalSupply;\\n\\n mapping(address => uint256) public balanceOf;\\n\\n mapping(address => mapping(address => uint256)) public allowance;\\n\\n /*//////////////////////////////////////////////////////////////\\n EIP-2612 STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n uint256 internal immutable INITIAL_CHAIN_ID;\\n\\n bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;\\n\\n mapping(address => uint256) public nonces;\\n\\n /*//////////////////////////////////////////////////////////////\\n CONSTRUCTOR\\n //////////////////////////////////////////////////////////////*/\\n\\n constructor(\\n string memory _name,\\n string memory _symbol,\\n uint8 _decimals\\n ) {\\n name = _name;\\n symbol = _symbol;\\n decimals = _decimals;\\n\\n INITIAL_CHAIN_ID = block.chainid;\\n INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC20 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function approve(address spender, uint256 amount) public virtual returns (bool) {\\n allowance[msg.sender][spender] = amount;\\n\\n emit Approval(msg.sender, spender, amount);\\n\\n return true;\\n }\\n\\n function transfer(address to, uint256 amount) public virtual returns (bool) {\\n balanceOf[msg.sender] -= amount;\\n\\n // Cannot overflow because the sum of all user\\n // balances can't exceed the max uint256 value.\\n unchecked {\\n balanceOf[to] += amount;\\n }\\n\\n emit Transfer(msg.sender, to, amount);\\n\\n return true;\\n }\\n\\n function transferFrom(\\n address from,\\n address to,\\n uint256 amount\\n ) public virtual returns (bool) {\\n uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.\\n\\n if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;\\n\\n balanceOf[from] -= amount;\\n\\n // Cannot overflow because the sum of all user\\n // balances can't exceed the max uint256 value.\\n unchecked {\\n balanceOf[to] += amount;\\n }\\n\\n emit Transfer(from, to, amount);\\n\\n return true;\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n EIP-2612 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) public virtual {\\n require(deadline >= block.timestamp, \\\"PERMIT_DEADLINE_EXPIRED\\\");\\n\\n // Unchecked because the only math done is incrementing\\n // the owner's nonce which cannot realistically overflow.\\n unchecked {\\n address recoveredAddress = ecrecover(\\n keccak256(\\n abi.encodePacked(\\n \\\"\\\\x19\\\\x01\\\",\\n DOMAIN_SEPARATOR(),\\n keccak256(\\n abi.encode(\\n keccak256(\\n \\\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\\\"\\n ),\\n owner,\\n spender,\\n value,\\n nonces[owner]++,\\n deadline\\n )\\n )\\n )\\n ),\\n v,\\n r,\\n s\\n );\\n\\n require(recoveredAddress != address(0) && recoveredAddress == owner, \\\"INVALID_SIGNER\\\");\\n\\n allowance[recoveredAddress][spender] = value;\\n }\\n\\n emit Approval(owner, spender, value);\\n }\\n\\n function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {\\n return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();\\n }\\n\\n function computeDomainSeparator() internal view virtual returns (bytes32) {\\n return\\n keccak256(\\n abi.encode(\\n keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\"),\\n keccak256(bytes(name)),\\n keccak256(\\\"1\\\"),\\n block.chainid,\\n address(this)\\n )\\n );\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n INTERNAL MINT/BURN LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function _mint(address to, uint256 amount) internal virtual {\\n totalSupply += amount;\\n\\n // Cannot overflow because the sum of all user\\n // balances can't exceed the max uint256 value.\\n unchecked {\\n balanceOf[to] += amount;\\n }\\n\\n emit Transfer(address(0), to, amount);\\n }\\n\\n function _burn(address from, uint256 amount) internal virtual {\\n balanceOf[from] -= amount;\\n\\n // Cannot underflow because a user's balance\\n // will never be larger than the total supply.\\n unchecked {\\n totalSupply -= amount;\\n }\\n\\n emit Transfer(from, address(0), amount);\\n }\\n}\\n\"\r\n },\r\n \"lib/solmate/src/utils/SafeTransferLib.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity >=0.8.0;\\n\\nimport {ERC20} from \\\"../tokens/ERC20.sol\\\";\\n\\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\\n/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.\\n/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.\\nlibrary SafeTransferLib {\\n /*//////////////////////////////////////////////////////////////\\n ETH OPERATIONS\\n //////////////////////////////////////////////////////////////*/\\n\\n function safeTransferETH(address to, uint256 amount) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Transfer the ETH and store if it succeeded or not.\\n success := call(gas(), to, amount, 0, 0, 0, 0)\\n }\\n\\n require(success, \\\"ETH_TRANSFER_FAILED\\\");\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC20 OPERATIONS\\n //////////////////////////////////////////////////////////////*/\\n\\n function safeTransferFrom(\\n ERC20 token,\\n address from,\\n address to,\\n uint256 amount\\n ) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Get a pointer to some free memory.\\n let freeMemoryPointer := mload(0x40)\\n\\n // Write the abi-encoded calldata into memory, beginning with the function selector.\\n mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)\\n mstore(add(freeMemoryPointer, 4), from) // Append the \\\"from\\\" argument.\\n mstore(add(freeMemoryPointer, 36), to) // Append the \\\"to\\\" argument.\\n mstore(add(freeMemoryPointer, 68), amount) // Append the \\\"amount\\\" argument.\\n\\n success := and(\\n // Set success to whether the call reverted, if not we check it either\\n // returned exactly 1 (can't just be non-zero data), or had no return data.\\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\\n // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.\\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\\n // Counterintuitively, this call must be positioned second to the or() call in the\\n // surrounding and() call or else returndatasize() will be zero during the computation.\\n call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)\\n )\\n }\\n\\n require(success, \\\"TRANSFER_FROM_FAILED\\\");\\n }\\n\\n function safeTransfer(\\n ERC20 token,\\n address to,\\n uint256 amount\\n ) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Get a pointer to some free memory.\\n let freeMemoryPointer := mload(0x40)\\n\\n // Write the abi-encoded calldata into memory, beginning with the function selector.\\n mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\\n mstore(add(freeMemoryPointer, 4), to) // Append the \\\"to\\\" argument.\\n mstore(add(freeMemoryPointer, 36), amount) // Append the \\\"amount\\\" argument.\\n\\n success := and(\\n // Set success to whether the call reverted, if not we check it either\\n // returned exactly 1 (can't just be non-zero data), or had no return data.\\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\\n // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\\n // Counterintuitively, this call must be positioned second to the or() call in the\\n // surrounding and() call or else returndatasize() will be zero during the computation.\\n call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\\n )\\n }\\n\\n require(success, \\\"TRANSFER_FAILED\\\");\\n }\\n\\n function safeApprove(\\n ERC20 token,\\n address to,\\n uint256 amount\\n ) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Get a pointer to some free memory.\\n let freeMemoryPointer := mload(0x40)\\n\\n // Write the abi-encoded calldata into memory, beginning with the function selector.\\n mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)\\n mstore(add(freeMemoryPointer, 4), to) // Append the \\\"to\\\" argument.\\n mstore(add(freeMemoryPointer, 36), amount) // Append the \\\"amount\\\" argument.\\n\\n success := and(\\n // Set success to whether the call reverted, if not we check it either\\n // returned exactly 1 (can't just be non-zero data), or had no return data.\\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\\n // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\\n // Counterintuitively, this call must be positioned second to the or() call in the\\n // surrounding and() call or else returndatasize() will be zero during the computation.\\n call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\\n )\\n }\\n\\n require(success, \\\"APPROVE_FAILED\\\");\\n }\\n}\\n\"\r\n },\r\n \"src/AllowanceTransfer.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {ERC20} from \\\"solmate/tokens/ERC20.sol\\\";\\nimport {SafeTransferLib} from \\\"solmate/utils/SafeTransferLib.sol\\\";\\nimport {PermitHash} from \\\"./libraries/PermitHash.sol\\\";\\nimport {SignatureVerification} from \\\"./libraries/SignatureVerification.sol\\\";\\nimport {EIP712} from \\\"./EIP712.sol\\\";\\nimport {IAllowanceTransfer} from \\\"../src/interfaces/IAllowanceTransfer.sol\\\";\\nimport {SignatureExpired, InvalidNonce} from \\\"./PermitErrors.sol\\\";\\nimport {Allowance} from \\\"./libraries/Allowance.sol\\\";\\n\\ncontract AllowanceTransfer is IAllowanceTransfer, EIP712 {\\n using SignatureVerification for bytes;\\n using SafeTransferLib for ERC20;\\n using PermitHash for PermitSingle;\\n using PermitHash for PermitBatch;\\n using Allowance for PackedAllowance;\\n\\n /// @notice Maps users to tokens to spender addresses and information about the approval on the token\\n /// @dev Indexed in the order of token owner address, token address, spender address\\n /// @dev The stored word saves the allowed amount, expiration on the allowance, and nonce\\n mapping(address => mapping(address => mapping(address => PackedAllowance))) public allowance;\\n\\n /// @inheritdoc IAllowanceTransfer\\n function approve(address token, address spender, uint160 amount, uint48 expiration) external {\\n PackedAllowance storage allowed = allowance[msg.sender][token][spender];\\n allowed.updateAmountAndExpiration(amount, expiration);\\n emit Approval(msg.sender, token, spender, amount, expiration);\\n }\\n\\n /// @inheritdoc IAllowanceTransfer\\n function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external {\\n if (block.timestamp > permitSingle.sigDeadline) revert SignatureExpired(permitSingle.sigDeadline);\\n\\n // Verify the signer address from the signature.\\n signature.verify(_hashTypedData(permitSingle.hash()), owner);\\n\\n _updateApproval(permitSingle.details, owner, permitSingle.spender);\\n }\\n\\n /// @inheritdoc IAllowanceTransfer\\n function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external {\\n if (block.timestamp > permitBatch.sigDeadline) revert SignatureExpired(permitBatch.sigDeadline);\\n\\n // Verify the signer address from the signature.\\n signature.verify(_hashTypedData(permitBatch.hash()), owner);\\n\\n address spender = permitBatch.spender;\\n unchecked {\\n uint256 length = permitBatch.details.length;\\n for (uint256 i = 0; i < length; ++i) {\\n _updateApproval(permitBatch.details[i], owner, spender);\\n }\\n }\\n }\\n\\n /// @inheritdoc IAllowanceTransfer\\n function transferFrom(address from, address to, uint160 amount, address token) external {\\n _transfer(from, to, amount, token);\\n }\\n\\n /// @inheritdoc IAllowanceTransfer\\n function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external {\\n unchecked {\\n uint256 length = transferDetails.length;\\n for (uint256 i = 0; i < length; ++i) {\\n AllowanceTransferDetails memory transferDetail = transferDetails[i];\\n _transfer(transferDetail.from, transferDetail.to, transferDetail.amount, transferDetail.token);\\n }\\n }\\n }\\n\\n /// @notice Internal function for transferring tokens using stored allowances\\n /// @dev Will fail if the allowed timeframe has passed\\n function _transfer(address from, address to, uint160 amount, address token) private {\\n PackedAllowance storage allowed = allowance[from][token][msg.sender];\\n\\n if (block.timestamp > allowed.expiration) revert AllowanceExpired(allowed.expiration);\\n\\n uint256 maxAmount = allowed.amount;\\n if (maxAmount != type(uint160).max) {\\n if (amount > maxAmount) {\\n revert InsufficientAllowance(maxAmount);\\n } else {\\n unchecked {\\n allowed.amount = uint160(maxAmount) - amount;\\n }\\n }\\n }\\n\\n // Transfer the tokens from the from address to the recipient.\\n ERC20(token).safeTransferFrom(from, to, amount);\\n }\\n\\n /// @inheritdoc IAllowanceTransfer\\n function lockdown(TokenSpenderPair[] calldata approvals) external {\\n address owner = msg.sender;\\n // Revoke allowances for each pair of spenders and tokens.\\n unchecked {\\n uint256 length = approvals.length;\\n for (uint256 i = 0; i < length; ++i) {\\n address token = approvals[i].token;\\n address spender = approvals[i].spender;\\n\\n allowance[owner][token][spender].amount = 0;\\n emit Lockdown(owner, token, spender);\\n }\\n }\\n }\\n\\n /// @inheritdoc IAllowanceTransfer\\n function invalidateNonces(address token, address spender, uint48 newNonce) external {\\n uint48 oldNonce = allowance[msg.sender][token][spender].nonce;\\n\\n if (newNonce <= oldNonce) revert InvalidNonce();\\n\\n // Limit the amount of nonces that can be invalidated in one transaction.\\n unchecked {\\n uint48 delta = newNonce - oldNonce;\\n if (delta > type(uint16).max) revert ExcessiveInvalidation();\\n }\\n\\n allowance[msg.sender][token][spender].nonce = newNonce;\\n emit NonceInvalidation(msg.sender, token, spender, newNonce, oldNonce);\\n }\\n\\n /// @notice Sets the new values for amount, expiration, and nonce.\\n /// @dev Will check that the signed nonce is equal to the current nonce and then incrememnt the nonce value by 1.\\n /// @dev Emits a Permit event.\\n function _updateApproval(PermitDetails memory details, address owner, address spender) private {\\n uint48 nonce = details.nonce;\\n address token = details.token;\\n uint160 amount = details.amount;\\n uint48 expiration = details.expiration;\\n PackedAllowance storage allowed = allowance[owner][token][spender];\\n\\n if (allowed.nonce != nonce) revert InvalidNonce();\\n\\n allowed.updateAll(amount, expiration, nonce);\\n emit Permit(owner, token, spender, amount, expiration, nonce);\\n }\\n}\\n\"\r\n },\r\n \"src/EIP712.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\n/// @notice EIP712 helpers for permit2\\n/// @dev Maintains cross-chain replay protection in the event of a fork\\n/// @dev Reference: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/EIP712.sol\\ncontract EIP712 {\\n // Cache the domain separator as an immutable value, but also store the chain id that it\\n // corresponds to, in order to invalidate the cached domain separator if the chain id changes.\\n bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;\\n uint256 private immutable _CACHED_CHAIN_ID;\\n\\n bytes32 private constant _HASHED_NAME = keccak256(\\\"Permit2\\\");\\n bytes32 private constant _TYPE_HASH =\\n keccak256(\\\"EIP712Domain(string name,uint256 chainId,address verifyingContract)\\\");\\n\\n constructor() {\\n _CACHED_CHAIN_ID = block.chainid;\\n _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME);\\n }\\n\\n /// @notice Returns the domain separator for the current chain.\\n /// @dev Uses cached version if chainid and address are unchanged from construction.\\n function DOMAIN_SEPARATOR() public view returns (bytes32) {\\n return block.chainid == _CACHED_CHAIN_ID\\n ? _CACHED_DOMAIN_SEPARATOR\\n : _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME);\\n }\\n\\n /// @notice Builds a domain separator using the current chainId and contract address.\\n function _buildDomainSeparator(bytes32 typeHash, bytes32 nameHash) private view returns (bytes32) {\\n return keccak256(abi.encode(typeHash, nameHash, block.chainid, address(this)));\\n }\\n\\n /// @notice Creates an EIP-712 typed data hash\\n function _hashTypedData(bytes32 dataHash) internal view returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19\\\\x01\\\", DOMAIN_SEPARATOR(), dataHash));\\n }\\n}\\n\"\r\n },\r\n \"src/Permit2.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {SignatureTransfer} from \\\"./SignatureTransfer.sol\\\";\\nimport {AllowanceTransfer} from \\\"./AllowanceTransfer.sol\\\";\\n\\n/// @notice Permit2 handles signature-based transfers in SignatureTransfer and allowance-based transfers in AllowanceTransfer.\\n/// @dev Users must approve Permit2 before calling any of the transfer functions.\\ncontract Permit2 is SignatureTransfer, AllowanceTransfer {\\n// Permit2 unifies the two contracts so users have maximal flexibility with their approval.\\n}\\n\"\r\n },\r\n \"src/PermitErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\n/// @notice Shared errors between signature based transfers and allowance based transfers.\\n\\n/// @notice Thrown when validating an inputted signature that is stale\\n/// @param signatureDeadline The timestamp at which a signature is no longer valid\\nerror SignatureExpired(uint256 signatureDeadline);\\n\\n/// @notice Thrown when validating that the inputted nonce has not been used\\nerror InvalidNonce();\\n\"\r\n },\r\n \"src/SignatureTransfer.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {ISignatureTransfer} from \\\"./interfaces/ISignatureTransfer.sol\\\";\\nimport {SignatureExpired, InvalidNonce} from \\\"./PermitErrors.sol\\\";\\nimport {ERC20} from \\\"solmate/tokens/ERC20.sol\\\";\\nimport {SafeTransferLib} from \\\"solmate/utils/SafeTransferLib.sol\\\";\\nimport {SignatureVerification} from \\\"./libraries/SignatureVerification.sol\\\";\\nimport {PermitHash} from \\\"./libraries/PermitHash.sol\\\";\\nimport {EIP712} from \\\"./EIP712.sol\\\";\\n\\ncontract SignatureTransfer is ISignatureTransfer, EIP712 {\\n using SignatureVerification for bytes;\\n using SafeTransferLib for ERC20;\\n using PermitHash for PermitTransferFrom;\\n using PermitHash for PermitBatchTransferFrom;\\n\\n /// @inheritdoc ISignatureTransfer\\n mapping(address => mapping(uint256 => uint256)) public nonceBitmap;\\n\\n /// @inheritdoc ISignatureTransfer\\n function permitTransferFrom(\\n PermitTransferFrom memory permit,\\n SignatureTransferDetails calldata transferDetails,\\n address owner,\\n bytes calldata signature\\n ) external {\\n _permitTransferFrom(permit, transferDetails, owner, permit.hash(), signature);\\n }\\n\\n /// @inheritdoc ISignatureTransfer\\n function permitWitnessTransferFrom(\\n PermitTransferFrom memory permit,\\n SignatureTransferDetails calldata transferDetails,\\n address owner,\\n bytes32 witness,\\n string calldata witnessTypeString,\\n bytes calldata signature\\n ) external {\\n _permitTransferFrom(\\n permit, transferDetails, owner, permit.hashWithWitness(witness, witnessTypeString), signature\\n );\\n }\\n\\n /// @notice Transfers a token using a signed permit message.\\n /// @dev If to is the zero address, the tokens are sent to the spender.\\n /// @param permit The permit data signed over by the owner\\n /// @param dataHash The EIP-712 hash of permit data to include when checking signature\\n /// @param owner The owner of the tokens to transfer\\n /// @param transferDetails The spender's requested transfer details for the permitted token\\n /// @param signature The signature to verify\\n function _permitTransferFrom(\\n PermitTransferFrom memory permit,\\n SignatureTransferDetails calldata transferDetails,\\n address owner,\\n bytes32 dataHash,\\n bytes calldata signature\\n ) private {\\n uint256 requestedAmount = transferDetails.requestedAmount;\\n\\n if (block.timestamp > permit.deadline) revert SignatureExpired(permit.deadline);\\n if (requestedAmount > permit.permitted.amount) revert InvalidAmount(permit.permitted.amount);\\n\\n _useUnorderedNonce(owner, permit.nonce);\\n\\n signature.verify(_hashTypedData(dataHash), owner);\\n\\n ERC20(permit.permitted.token).safeTransferFrom(owner, transferDetails.to, requestedAmount);\\n }\\n\\n /// @inheritdoc ISignatureTransfer\\n function permitTransferFrom(\\n PermitBatchTransferFrom memory permit,\\n SignatureTransferDetails[] calldata transferDetails,\\n address owner,\\n bytes calldata signature\\n ) external {\\n _permitTransferFrom(permit, transferDetails, owner, permit.hash(), signature);\\n }\\n\\n /// @inheritdoc ISignatureTransfer\\n function permitWitnessTransferFrom(\\n PermitBatchTransferFrom memory permit,\\n SignatureTransferDetails[] calldata transferDetails,\\n address owner,\\n bytes32 witness,\\n string calldata witnessTypeString,\\n bytes calldata signature\\n ) external {\\n _permitTransferFrom(\\n permit, transferDetails, owner, permit.hashWithWitness(witness, witnessTypeString), signature\\n );\\n }\\n\\n /// @notice Transfers tokens using a signed permit messages\\n /// @dev If to is the zero address, the tokens are sent to the spender\\n /// @param permit The permit data signed over by the owner\\n /// @param dataHash The EIP-712 hash of permit data to include when checking signature\\n /// @param owner The owner of the tokens to transfer\\n /// @param signature The signature to verify\\n function _permitTransferFrom(\\n PermitBatchTransferFrom memory permit,\\n SignatureTransferDetails[] calldata transferDetails,\\n address owner,\\n bytes32 dataHash,\\n bytes calldata signature\\n ) private {\\n uint256 numPermitted = permit.permitted.length;\\n\\n if (block.timestamp > permit.deadline) revert SignatureExpired(permit.deadline);\\n if (numPermitted != transferDetails.length) revert LengthMismatch();\\n\\n _useUnorderedNonce(owner, permit.nonce);\\n signature.verify(_hashTypedData(dataHash), owner);\\n\\n unchecked {\\n for (uint256 i = 0; i < numPermitted; ++i) {\\n TokenPermissions memory permitted = permit.permitted[i];\\n uint256 requestedAmount = transferDetails[i].requestedAmount;\\n\\n if (requestedAmount > permitted.amount) revert InvalidAmount(permitted.amount);\\n\\n if (requestedAmount != 0) {\\n // allow spender to specify which of the permitted tokens should be transferred\\n ERC20(permitted.token).safeTransferFrom(owner, transferDetails[i].to, requestedAmount);\\n }\\n }\\n }\\n }\\n\\n /// @inheritdoc ISignatureTransfer\\n function invalidateUnorderedNonces(uint256 wordPos, uint256 mask) external {\\n nonceBitmap[msg.sender][wordPos] |= mask;\\n\\n emit UnorderedNonceInvalidation(msg.sender, wordPos, mask);\\n }\\n\\n /// @notice Returns the index of the bitmap and the bit position within the bitmap. Used for unordered nonces\\n /// @param nonce The nonce to get the associated word and bit positions\\n /// @return wordPos The word position or index into the nonceBitmap\\n /// @return bitPos The bit position\\n /// @dev The first 248 bits of the nonce value is the index of the desired bitmap\\n /// @dev The last 8 bits of the nonce value is the position of the bit in the bitmap\\n function bitmapPositions(uint256 nonce) private pure returns (uint256 wordPos, uint256 bitPos) {\\n wordPos = uint248(nonce >> 8);\\n bitPos = uint8(nonce);\\n }\\n\\n /// @notice Checks whether a nonce is taken and sets the bit at the bit position in the bitmap at the word position\\n /// @param from The address to use the nonce at\\n /// @param nonce The nonce to spend\\n function _useUnorderedNonce(address from, uint256 nonce) internal {\\n (uint256 wordPos, uint256 bitPos) = bitmapPositions(nonce);\\n uint256 bit = 1 << bitPos;\\n uint256 flipped = nonceBitmap[from][wordPos] ^= bit;\\n\\n if (flipped & bit == 0) revert InvalidNonce();\\n }\\n}\\n\"\r\n },\r\n \"src/interfaces/IAllowanceTransfer.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title AllowanceTransfer\\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\\n/// @dev Requires user's token approval on the Permit2 contract\\ninterface IAllowanceTransfer {\\n /// @notice Thrown when an allowance on a token has expired.\\n /// @param deadline The timestamp at which the allowed amount is no longer valid\\n error AllowanceExpired(uint256 deadline);\\n\\n /// @notice Thrown when an allowance on a token has been depleted.\\n /// @param amount The maximum amount allowed\\n error InsufficientAllowance(uint256 amount);\\n\\n /// @notice Thrown when too many nonces are invalidated.\\n error ExcessiveInvalidation();\\n\\n /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\\n event NonceInvalidation(\\n address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\\n );\\n\\n /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\\n event Approval(\\n address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\\n );\\n\\n /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\\n event Permit(\\n address indexed owner,\\n address indexed token,\\n address indexed spender,\\n uint160 amount,\\n uint48 expiration,\\n uint48 nonce\\n );\\n\\n /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\\n event Lockdown(address indexed owner, address token, address spender);\\n\\n /// @notice The permit data for a token\\n struct PermitDetails {\\n // ERC20 token address\\n address token;\\n // the maximum amount allowed to spend\\n uint160 amount;\\n // timestamp at which a spender's token allowances become invalid\\n uint48 expiration;\\n // an incrementing value indexed per owner,token,and spender for each signature\\n uint48 nonce;\\n }\\n\\n /// @notice The permit message signed for a single token allownce\\n struct PermitSingle {\\n // the permit data for a single token alownce\\n PermitDetails details;\\n // address permissioned on the allowed tokens\\n address spender;\\n // deadline on the permit signature\\n uint256 sigDeadline;\\n }\\n\\n /// @notice The permit message signed for multiple token allowances\\n struct PermitBatch {\\n // the permit data for multiple token allowances\\n PermitDetails[] details;\\n // address permissioned on the allowed tokens\\n address spender;\\n // deadline on the permit signature\\n uint256 sigDeadline;\\n }\\n\\n /// @notice The saved permissions\\n /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\\n /// @dev Setting amount to type(uint160).max sets an unlimited approval\\n struct PackedAllowance {\\n // amount allowed\\n uint160 amount;\\n // permission expiry\\n uint48 expiration;\\n // an incrementing value indexed per owner,token,and spender for each signature\\n uint48 nonce;\\n }\\n\\n /// @notice A token spender pair.\\n struct TokenSpenderPair {\\n // the token the spender is approved\\n address token;\\n // the spender address\\n address spender;\\n }\\n\\n /// @notice Details for a token transfer.\\n struct AllowanceTransferDetails {\\n // the owner of the token\\n address from;\\n // the recipient of the token\\n address to;\\n // the amount of the token\\n uint160 amount;\\n // the token to be transferred\\n address token;\\n }\\n\\n /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\\n /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\\n /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\\n function allowance(address, address, address) external view returns (uint160, uint48, uint48);\\n\\n /// @notice Approves the spender to use up to amount of the specified token up until the expiration\\n /// @param token The token to approve\\n /// @param spender The spender address to approve\\n /// @param amount The approved amount of the token\\n /// @param expiration The timestamp at which the approval is no longer valid\\n /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\\n /// @dev Setting amount to type(uint160).max sets an unlimited approval\\n function approve(address token, address spender, uint160 amount, uint48 expiration) external;\\n\\n /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\\n /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\\n /// @param owner The owner of the tokens being approved\\n /// @param permitSingle Data signed over by the owner specifying the terms of approval\\n /// @param signature The owner's signature over the permit data\\n function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\\n\\n /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\\n /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\\n /// @param owner The owner of the tokens being approved\\n /// @param permitBatch Data signed over by the owner specifying the terms of approval\\n /// @param signature The owner's signature over the permit data\\n function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\\n\\n /// @notice Transfer approved tokens from one address to another\\n /// @param from The address to transfer from\\n /// @param to The address of the recipient\\n /// @param amount The amount of the token to transfer\\n /// @param token The token address to transfer\\n /// @dev Requires the from address to have approved at least the desired amount\\n /// of tokens to msg.sender.\\n function transferFrom(address from, address to, uint160 amount, address token) external;\\n\\n /// @notice Transfer approved tokens in a batch\\n /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\\n /// @dev Requires the from addresses to have approved at least the desired amount\\n /// of tokens to msg.sender.\\n function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\\n\\n /// @notice Enables performing a \\\"lockdown\\\" of the sender's Permit2 identity\\n /// by batch revoking approvals\\n /// @param approvals Array of approvals to revoke.\\n function lockdown(TokenSpenderPair[] calldata approvals) external;\\n\\n /// @notice Invalidate nonces for a given (token, spender) pair\\n /// @param token The token to invalidate nonces for\\n /// @param spender The spender to invalidate nonces for\\n /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\\n /// @dev Can't invalidate more than 2**16 nonces per transaction.\\n function invalidateNonces(address token, address spender, uint48 newNonce) external;\\n}\\n\"\r\n },\r\n \"src/interfaces/IERC1271.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\ninterface IERC1271 {\\n /// @dev Should return whether the signature provided is valid for the provided data\\n /// @param hash Hash of the data to be signed\\n /// @param signature Signature byte array associated with _data\\n /// @return magicValue The bytes4 magic value 0x1626ba7e\\n function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);\\n}\\n\"\r\n },\r\n \"src/interfaces/ISignatureTransfer.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title SignatureTransfer\\n/// @notice Handles ERC20 token transfers through signature based actions\\n/// @dev Requires user's token approval on the Permit2 contract\\ninterface ISignatureTransfer {\\n /// @notice Thrown when the requested amount for a transfer is larger than the permissioned amount\\n /// @param maxAmount The maximum amount a spender can request to transfer\\n error InvalidAmount(uint256 maxAmount);\\n\\n /// @notice Thrown when the number of tokens permissioned to a spender does not match the number of tokens being transferred\\n /// @dev If the spender does not need to transfer the number of tokens permitted, the spender can request amount 0 to be transferred\\n error LengthMismatch();\\n\\n /// @notice Emits an event when the owner successfully invalidates an unordered nonce.\\n event UnorderedNonceInvalidation(address indexed owner, uint256 word, uint256 mask);\\n\\n /// @notice The token and amount details for a transfer signed in the permit transfer signature\\n struct TokenPermissions {\\n // ERC20 token address\\n address token;\\n // the maximum amount that can be spent\\n uint256 amount;\\n }\\n\\n /// @notice The signed permit message for a single token transfer\\n struct PermitTransferFrom {\\n TokenPermissions permitted;\\n // a unique value for every token owner's signature to prevent signature replays\\n uint256 nonce;\\n // deadline on the permit signature\\n uint256 deadline;\\n }\\n\\n /// @notice Specifies the recipient address and amount for batched transfers.\\n /// @dev Recipients and amounts correspond to the index of the signed token permissions array.\\n /// @dev Reverts if the requested amount is greater than the permitted signed amount.\\n struct SignatureTransferDetails {\\n // recipient address\\n address to;\\n // spender requested amount\\n uint256 requestedAmount;\\n }\\n\\n /// @notice Used to reconstruct the signed permit message for multiple token transfers\\n /// @dev Do not need to pass in spender address as it is required that it is msg.sender\\n /// @dev Note that a user still signs over a spender address\\n struct PermitBatchTransferFrom {\\n // the tokens and corresponding amounts permitted for a transfer\\n TokenPermissions[] permitted;\\n // a unique value for every token owner's signature to prevent signature replays\\n uint256 nonce;\\n // deadline on the permit signature\\n uint256 deadline;\\n }\\n\\n /// @notice A map from token owner address and a caller specified word index to a bitmap. Used to set bits in the bitmap to prevent against signature replay protection\\n /// @dev Uses unordered nonces so that permit messages do not need to be spent in a certain order\\n /// @dev The mapping is indexed first by the token owner, then by an index specified in the nonce\\n /// @dev It returns a uint256 bitmap\\n /// @dev The index, or wordPosition is capped at type(uint248).max\\n function nonceBitmap(address, uint256) external view returns (uint256);\\n\\n /// @notice Transfers a token using a signed permit message\\n /// @dev Reverts if the requested amount is greater than the permitted signed amount\\n /// @param permit The permit data signed over by the owner\\n /// @param owner The owner of the tokens to transfer\\n /// @param transferDetails The spender's requested transfer details for the permitted token\\n /// @param signature The signature to verify\\n function permitTransferFrom(\\n PermitTransferFrom memory permit,\\n SignatureTransferDetails calldata transferDetails,\\n address owner,\\n bytes calldata signature\\n ) external;\\n\\n /// @notice Transfers a token using a signed permit message\\n /// @notice Includes extra data provided by the caller to verify signature over\\n /// @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\\n /// @dev Reverts if the requested amount is greater than the permitted signed amount\\n /// @param permit The permit data signed over by the owner\\n /// @param owner The owner of the tokens to transfer\\n /// @param transferDetails The spender's requested transfer details for the permitted token\\n /// @param witness Extra data to include when checking the user signature\\n /// @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash\\n /// @param signature The signature to verify\\n function permitWitnessTransferFrom(\\n PermitTransferFrom memory permit,\\n SignatureTransferDetails calldata transferDetails,\\n address owner,\\n bytes32 witness,\\n string calldata witnessTypeString,\\n bytes calldata signature\\n ) external;\\n\\n /// @notice Transfers multiple tokens using a signed permit message\\n /// @param permit The permit data signed over by the owner\\n /// @param owner The owner of the tokens to transfer\\n /// @param transferDetails Specifies the recipient and requested amount for the token transfer\\n /// @param signature The signature to verify\\n function permitTransferFrom(\\n PermitBatchTransferFrom memory permit,\\n SignatureTransferDetails[] calldata transferDetails,\\n address owner,\\n bytes calldata signature\\n ) external;\\n\\n /// @notice Transfers multiple tokens using a signed permit message\\n /// @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\\n /// @notice Includes extra data provided by the caller to verify signature over\\n /// @param permit The permit data signed over by the owner\\n /// @param owner The owner of the tokens to transfer\\n /// @param transferDetails Specifies the recipient and requested amount for the token transfer\\n /// @param witness Extra data to include when checking the user signature\\n /// @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash\\n /// @param signature The signature to verify\\n function permitWitnessTransferFrom(\\n PermitBatchTransferFrom memory permit,\\n SignatureTransferDetails[] calldata transferDetails,\\n address owner,\\n bytes32 witness,\\n string calldata witnessTypeString,\\n bytes calldata signature\\n ) external;\\n\\n /// @notice Invalidates the bits specified in mask for the bitmap at the word position\\n /// @dev The wordPos is maxed at type(uint248).max\\n /// @param wordPos A number to index the nonceBitmap at\\n /// @param mask A bitmap masked against msg.sender's current bitmap at the word position\\n function invalidateUnorderedNonces(uint256 wordPos, uint256 mask) external;\\n}\\n\"\r\n },\r\n \"src/libraries/Allowance.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IAllowanceTransfer} from \\\"../interfaces/IAllowanceTransfer.sol\\\";\\n\\nlibrary Allowance {\\n // note if the expiration passed is 0, then it the approval set to the block.timestamp\\n uint256 private constant BLOCK_TIMESTAMP_EXPIRATION = 0;\\n\\n /// @notice Sets the allowed amount, expiry, and nonce of the spender's permissions on owner's token.\\n /// @dev Nonce is incremented.\\n /// @dev If the inputted expiration is 0, the stored expiration is set to block.timestamp\\n function updateAll(\\n IAllowanceTransfer.PackedAllowance storage allowed,\\n uint160 amount,\\n uint48 expiration,\\n uint48 nonce\\n ) internal {\\n uint48 storedNonce;\\n unchecked {\\n storedNonce = nonce + 1;\\n }\\n\\n uint48 storedExpiration = expiration == BLOCK_TIMESTAMP_EXPIRATION ? uint48(block.timestamp) : expiration;\\n\\n uint256 word = pack(amount, storedExpiration, storedNonce);\\n assembly {\\n sstore(allowed.slot, word)\\n }\\n }\\n\\n /// @notice Sets the allowed amount and expiry of the spender's permissions on owner's token.\\n /// @dev Nonce does not need to be incremented.\\n function updateAmountAndExpiration(\\n IAllowanceTransfer.PackedAllowance storage allowed,\\n uint160 amount,\\n uint48 expiration\\n ) internal {\\n // If the inputted expiration is 0, the allowance only lasts the duration of the block.\\n allowed.expiration = expiration == 0 ? uint48(block.timestamp) : expiration;\\n allowed.amount = amount;\\n }\\n\\n /// @notice Computes the packed slot of the amount, expiration, and nonce that make up PackedAllowance\\n function pack(uint160 amount, uint48 expiration, uint48 nonce) internal pure returns (uint256 word) {\\n word = (uint256(nonce) << 208) | uint256(expiration) << 160 | amount;\\n }\\n}\\n\"\r\n },\r\n \"src/libraries/PermitHash.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IAllowanceTransfer} from \\\"../interfaces/IAllowanceTransfer.sol\\\";\\nimport {ISignatureTransfer} from \\\"../interfaces/ISignatureTransfer.sol\\\";\\n\\nlibrary PermitHash {\\n bytes32 public constant _PERMIT_DETAILS_TYPEHASH =\\n keccak256(\\\"PermitDetails(address token,uint160 amount,uint48 expiration,uint48 nonce)\\\");\\n\\n bytes32 public constant _PERMIT_SINGLE_TYPEHASH = keccak256(\\n \\\"PermitSingle(PermitDetails details,address spender,uint256 sigDeadline)PermitDetails(address token,uint160 amount,uint48 expiration,uint48 nonce)\\\"\\n );\\n\\n bytes32 public constant _PERMIT_BATCH_TYPEHASH = keccak256(\\n \\\"PermitBatch(PermitDetails[] details,address spender,uint256 sigDeadline)PermitDetails(address token,uint160 amount,uint48 expiration,uint48 nonce)\\\"\\n );\\n\\n bytes32 public constant _TOKEN_PERMISSIONS_TYPEHASH = keccak256(\\\"TokenPermissions(address token,uint256 amount)\\\");\\n\\n bytes32 public constant _PERMIT_TRANSFER_FROM_TYPEHASH = keccak256(\\n \\\"PermitTransferFrom(TokenPermissions permitted,address spender,uint256 nonce,uint256 deadline)TokenPermissions(address token,uint256 amount)\\\"\\n );\\n\\n bytes32 public constant _PERMIT_BATCH_TRANSFER_FROM_TYPEHASH = keccak256(\\n \\\"PermitBatchTransferFrom(TokenPermissions[] permitted,address spender,uint256 nonce,uint256 deadline)TokenPermissions(address token,uint256 amount)\\\"\\n );\\n\\n string public constant _TOKEN_PERMISSIONS_TYPESTRING = \\\"TokenPermissions(address token,uint256 amount)\\\";\\n\\n string public constant _PERMIT_TRANSFER_FROM_WITNESS_TYPEHASH_STUB =\\n \\\"PermitWitnessTransferFrom(TokenPermissions permitted,address spender,uint256 nonce,uint256 deadline,\\\";\\n\\n string public constant _PERMIT_BATCH_WITNESS_TRANSFER_FROM_TYPEHASH_STUB =\\n \\\"PermitBatchWitnessTransferFrom(TokenPermissions[] permitted,address spender,uint256 nonce,uint256 deadline,\\\";\\n\\n function hash(IAllowanceTransfer.PermitSingle memory permitSingle) internal pure returns (bytes32) {\\n bytes32 permitHash = _hashPermitDetails(permitSingle.details);\\n return\\n keccak256(abi.encode(_PERMIT_SINGLE_TYPEHASH, permitHash, permitSingle.spender, permitSingle.sigDeadline));\\n }\\n\\n function hash(IAllowanceTransfer.PermitBatch memory permitBatch) internal pure returns (bytes32) {\\n uint256 numPermits = permitBatch.details.length;\\n bytes32[] memory permitHashes = new bytes32[](numPermits);\\n for (uint256 i = 0; i < numPermits; ++i) {\\n permitHashes[i] = _hashPermitDetails(permitBatch.details[i]);\\n }\\n return keccak256(\\n abi.encode(\\n _PERMIT_BATCH_TYPEHASH,\\n keccak256(abi.encodePacked(permitHashes)),\\n permitBatch.spender,\\n permitBatch.sigDeadline\\n )\\n );\\n }\\n\\n function hash(ISignatureTransfer.PermitTransferFrom memory permit) internal view returns (bytes32) {\\n bytes32 tokenPermissionsHash = _hashTokenPermissions(permit.permitted);\\n return keccak256(\\n abi.encode(_PERMIT_TRANSFER_FROM_TYPEHASH, tokenPermissionsHash, msg.sender, permit.nonce, permit.deadline)\\n );\\n }\\n\\n function hash(ISignatureTransfer.PermitBatchTransferFrom memory permit) internal view returns (bytes32) {\\n uint256 numPermitted = permit.permitted.length;\\n bytes32[] memory tokenPermissionHashes = new bytes32[](numPermitted);\\n\\n for (uint256 i = 0; i < numPermitted; ++i) {\\n tokenPermissionHashes[i] = _hashTokenPermissions(permit.permitted[i]);\\n }\\n\\n return keccak256(\\n abi.encode(\\n _PERMIT_BATCH_TRANSFER_FROM_TYPEHASH,\\n keccak256(abi.encodePacked(tokenPermissionHashes)),\\n msg.sender,\\n permit.nonce,\\n permit.deadline\\n )\\n );\\n }\\n\\n function hashWithWitness(\\n ISignatureTransfer.PermitTransferFrom memory permit,\\n bytes32 witness,\\n string calldata witnessTypeString\\n ) internal view returns (bytes32) {\\n bytes32 typeHash = keccak256(abi.encodePacked(_PERMIT_TRANSFER_FROM_WITNESS_TYPEHASH_STUB, witnessTypeString));\\n\\n bytes32 tokenPermissionsHash = _hashTokenPermissions(permit.permitted);\\n return keccak256(abi.encode(typeHash, tokenPermissionsHash, msg.sender, permit.nonce, permit.deadline, witness));\\n }\\n\\n function hashWithWitness(\\n ISignatureTransfer.PermitBatchTransferFrom memory permit,\\n bytes32 witness,\\n string calldata witnessTypeString\\n ) internal view returns (bytes32) {\\n bytes32 typeHash =\\n keccak256(abi.encodePacked(_PERMIT_BATCH_WITNESS_TRANSFER_FROM_TYPEHASH_STUB, witnessTypeString));\\n\\n uint256 numPermitted = permit.permitted.length;\\n bytes32[] memory tokenPermissionHashes = new bytes32[](numPermitted);\\n\\n for (uint256 i = 0; i < numPermitted; ++i) {\\n tokenPermissionHashes[i] = _hashTokenPermissions(permit.permitted[i]);\\n }\\n\\n return keccak256(\\n abi.encode(\\n typeHash,\\n keccak256(abi.encodePacked(tokenPermissionHashes)),\\n msg.sender,\\n permit.nonce,\\n permit.deadline,\\n witness\\n )\\n );\\n }\\n\\n function _hashPermitDetails(IAllowanceTransfer.PermitDetails memory details) private pure returns (bytes32) {\\n return keccak256(abi.encode(_PERMIT_DETAILS_TYPEHASH, details));\\n }\\n\\n function _hashTokenPermissions(ISignatureTransfer.TokenPermissions memory permitted)\\n private\\n pure\\n returns (bytes32)\\n {\\n return keccak256(abi.encode(_TOKEN_PERMISSIONS_TYPEHASH, permitted));\\n }\\n}\\n\"\r\n },\r\n \"src/libraries/SignatureVerification.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport {IERC1271} from \\\"../interfaces/IERC1271.sol\\\";\\n\\nlibrary SignatureVerification {\\n /// @notice Thrown when the passed in signature is not a valid length\\n error InvalidSignatureLength();\\n\\n /// @notice Thrown when the recovered signer is equal to the zero address\\n error InvalidSignature();\\n\\n /// @notice Thrown when the recovered signer does not equal the claimedSigner\\n error InvalidSigner();\\n\\n /// @notice Thrown when the recovered contract signature is incorrect\\n error InvalidContractSignature();\\n\\n bytes32 constant UPPER_BIT_MASK = (0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\n\\n function verify(bytes calldata signature, bytes32 hash, address claimedSigner) internal view {\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n\\n if (claimedSigner.code.length == 0) {\\n if (signature.length == 65) {\\n (r, s) = abi.decode(signature, (bytes32, bytes32));\\n v = uint8(signature[64]);\\n } else if (signature.length == 64) {\\n // EIP-2098\\n bytes32 vs;\\n (r, vs) = abi.decode(signature, (bytes32, bytes32));\\n s = vs & UPPER_BIT_MASK;\\n v = uint8(uint256(vs >> 255)) + 27;\\n } else {\\n revert InvalidSignatureLength();\\n }\\n address signer = ecrecover(hash, v, r, s);\\n if (signer == address(0)) revert InvalidSignature();\\n if (signer != claimedSigner) revert InvalidSigner();\\n } else {\\n bytes4 magicValue = IERC1271(claimedSigner).isValidSignature(hash, signature);\\n if (magicValue != IERC1271.isValidSignature.selector) revert InvalidContractSignature();\\n }\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"remappings\": [\r\n \"ds-test/=lib/solmate/lib/ds-test/src/\",\r\n \"forge-gas-snapshot/=lib/forge-gas-snapshot/src/\",\r\n \"forge-std/=lib/forge-std/src/\",\r\n \"openzeppelin-contracts/=lib/openzeppelin-contracts/\",\r\n \"solmate/=lib/solmate/src/\"\r\n ],\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 1000000\r\n },\r\n \"metadata\": {\r\n \"bytecodeHash\": \"none\"\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"evmVersion\": \"london\",\r\n \"viaIR\": true,\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"AllowanceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExcessiveInvalidation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"}],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"signatureDeadline\",\"type\":\"uint256\"}],\"name\":\"SignatureExpired\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"Lockdown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"oldNonce\",\"type\":\"uint48\"}],\"name\":\"NonceInvalidation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"name\":\"Permit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"UnorderedNonceInvalidation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"}],\"name\":\"invalidateNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wordPos\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"invalidateUnorderedNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"internalType\":\"struct IAllowanceTransfer.TokenSpenderPair[]\",\"name\":\"approvals\",\"type\":\"tuple[]\"}],\"name\":\"lockdown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nonceBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"internalType\":\"struct IAllowanceTransfer.AllowanceTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"Permit2","CompilerVersion":"v0.8.17+commit.8df45f5f","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"1000000","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/56f77b036631873c66c46eac7f28541719ce972ac9eaabcbe97a0732576b5444 b/tests/cachedrpc/56f77b036631873c66c46eac7f28541719ce972ac9eaabcbe97a0732576b5444 new file mode 100644 index 00000000..cc92d4af --- /dev/null +++ b/tests/cachedrpc/56f77b036631873c66c46eac7f28541719ce972ac9eaabcbe97a0732576b5444 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xae0ee0a63a2ce6baeeffe56e7714fb4efe48d419","contractCreator":"0x3de55343499f59ceb3f1de47f2cd7eab28f2f5c6","txHash":"0x72dbfbc936b7c8743faff5e951e57712610125b92d3d2d695e5dea62897edc9e","blockNumber":"14429055","timestamp":"1647857148","contractFactory":"","creationBytecode":"0x60806040523480156200001157600080fd5b5060405162001a8038038062001a80833981810160405260208110156200003757600080fd5b50516200004362000055565b6200004e81620000e9565b5062000243565b6000620000616200010d565b6001810154909150600160a01b900460ff1615620000c6576040805162461bcd60e51b815260206004820152601360248201527f414c52454144595f494e495449414c495a454400000000000000000000000000604482015290519081900360640190fd5b60018101805460ff60a01b1916600160a01b179055620000e6336200018d565b50565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f55565b60008060405180606001604052806027815260200162001a59602791396040518082805190602001908083835b602083106200015b5780518252601f1990920191602091820191016200013a565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209392505050565b620001988162000212565b15620001de576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6000620001ea6200010d565b6001600160a01b0390921660009081526020929092525060409020805460ff19166001179055565b6000806200021f6200010d565b6001600160a01b039390931660009081526020939093525050604090205460ff1690565b61180680620002536000396000f3fe6080604052600436106100ec5760003560e01c80636684b1d61161008a578063b449ea5d11610059578063b449ea5d1461054b578063c5ab845314610592578063e907fa3c146105a7578063f9bcdde4146105bc5761013e565b80636684b1d61461046e5780637147855d1461048357806372a44f07146105035780638757653f146105185761013e565b806356f36dbf116100c657806356f36dbf146102995780635c60da1b146103235780635cef2e86146103545780635e3a97e7146103e15761013e565b806312f16e6d146101c257806320cea94d146101f7578063439fab911461021e5761013e565b3661013e576040805162461bcd60e51b815260206004820181905260248201527f434f4e54524143545f4e4f545f45585045435445445f544f5f52454345495645604482015290519081900360640190fd5b60006101486105d1565b90506001600160a01b03811661019e576040805162461bcd60e51b815260206004820152601660248201527526a4a9a9a4a723afa4a6a82622a6a2a72a20aa24a7a760511b604482015290519081900360640190fd5b3660008037600080366000845af43d6000803e8080156101bd573d6000f35b3d6000fd5b3480156101ce57600080fd5b506101f5600480360360208110156101e557600080fd5b50356001600160a01b03166105f6565b005b34801561020357600080fd5b5061020c610602565b60408051918252519081900360200190f35b34801561022a57600080fd5b506101f56004803603602081101561024157600080fd5b810190602081018135600160201b81111561025b57600080fd5b82018360208201111561026d57600080fd5b803590602001918460018302840111600160201b8311171561028e57600080fd5b509092509050610626565b3480156102a557600080fd5b506102ae61066c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e85781810151838201526020016102d0565b50505050905090810190601f1680156103155780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032f57600080fd5b506103386105d1565b604080516001600160a01b039092168252519081900360200190f35b34801561036057600080fd5b506101f56004803603606081101561037757600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103a157600080fd5b8201836020820111156103b357600080fd5b803590602001918460018302840111600160201b831117156103d457600080fd5b9193509150351515610688565b3480156103ed57600080fd5b506101f56004803603606081101561040457600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561042e57600080fd5b82018360208201111561044057600080fd5b803590602001918460018302840111600160201b8311171561046157600080fd5b9193509150351515610846565b34801561047a57600080fd5b506101f5610a00565b6101f56004803603606081101561049957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156104c357600080fd5b8201836020820111156104d557600080fd5b803590602001918460018302840111600160201b831117156104f657600080fd5b9193509150351515610a0a565b34801561050f57600080fd5b5061020c61108d565b34801561052457600080fd5b506101f56004803603602081101561053b57600080fd5b50356001600160a01b03166110b3565b34801561055757600080fd5b5061057e6004803603602081101561056e57600080fd5b50356001600160a01b03166110bc565b604080519115158252519081900360200190f35b34801561059e57600080fd5b506102ae6110cd565b3480156105b357600080fd5b5061057e6110ee565b3480156105c857600080fd5b506101f5611114565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b245490565b6105ff8161111c565b50565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f81565b6040805162461bcd60e51b815260206004820152601660248201527543414e4e4f545f43414c4c5f494e495449414c495a4560501b604482015290519081900360640190fd5b6040518060600160405280602781526020016117aa6027913981565b61069133611269565b6106d4576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b60008484848460405160200180856001600160a01b031681526020018060200183151581526020018281038252858582818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050604051602081830303815290604052805190602001209050600060026000838152602001908152602001600020549050600081116107b3576040805162461bcd60e51b815260206004820152601b60248201527f554e4b4e4f574e5f555047524144455f494e464f524d4154494f4e0000000000604482015290519081900360640190fd5b6002600083815260200190815260200160002060009055856001600160a01b03167fe99b980b5259f200e4c1da973ff0251b6d9aaa144714c8773976ecd62b8ebe8d868686604051808060200183151581526020018281038252858582818152602001925080828437600083820152604051601f909101601f1916909201829003965090945050505050a2505050505050565b61084f33611269565b610892576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6108a4846001600160a01b0316611298565b6108ec576040805162461bcd60e51b8152602060048201526014602482015273105111149154d4d7d393d517d0d3d395149050d560621b604482015290519081900360640190fd5b60008484848460405160200180856001600160a01b031681526020018060200183151581526020018281038252858582818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050604051602081830303815290604052805190602001209050600061096861108d565b42019050806002600084815260200190815260200160002081905550856001600160a01b03167f723a7080d63c133cf338e44e00705cc1b7b2bde7e88d6218a8d62710a329ce1b868686604051808060200183151581526020018281038252858582818152602001925080828437600083820152604051601f909101601f1916909201829003965090945050505050a2505050505050565b610a0861129e565b565b610a1333611269565b610a56576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b610a5e6110ee565b610aaf576040805162461bcd60e51b815260206004820152601860248201527f494d504c454d454e544154494f4e5f46494e414c495a45440000000000000000604482015290519081900360640190fd5b610ab761136b565b15610afb576040805162461bcd60e51b815260206004820152600f60248201526e29aa20aa22afa4a9afa32927ad22a760891b604482015290519081900360640190fd5b60008484848460405160200180856001600160a01b031681526020018060200183151581526020018281038252858582818152602001925080828437600081840152601f19601f8201169050808301925050509550505050505060405160208183030381529060405280519060200120905060006002600083815260200190815260200160002054905060008111610bda576040805162461bcd60e51b815260206004820152601b60248201527f554e4b4e4f574e5f555047524144455f494e464f524d4154494f4e0000000000604482015290519081900360640190fd5b610bec866001600160a01b0316611298565b610c34576040805162461bcd60e51b8152602060048201526014602482015273105111149154d4d7d393d517d0d3d395149050d560621b604482015290519081900360640190fd5b4281111580610c5357506000610c486105d1565b6001600160a01b0316145b610ca4576040805162461bcd60e51b815260206004820152601760248201527f555047524144455f4e4f545f454e41424c45445f594554000000000000000000604482015290519081900360640190fd5b610cad866114ce565b60006060876001600160a01b031663439fab9160e01b88886040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b03166001600160e01b0319909916989098178852915182519297909650869550935090915081905083835b60208310610d5e5780518252601f199092019160209182019101610d3f565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610dbe576040519150601f19603f3d011682016040523d82523d6000602084013e610dc3565b606091505b5091509150818190610e535760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e18578181015183820152602001610e00565b50505050905090810190601f168015610e455780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516001600160a01b038c169382918083835b60208310610eb05780518252601f199092019160209182019101610e91565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610f10576040519150601f19603f3d011682016040523d82523d6000602084013e610f15565b606091505b50909250905081610f6d576040805162461bcd60e51b815260206004820152601960248201527f43414c4c5f544f5f495346524f5a454e5f524556455254454400000000000000604482015290519081900360640190fd5b808060200190516020811015610f8257600080fd5b505115610fd6576040805162461bcd60e51b815260206004820152601960248201527f4e45575f494d504c454d454e544154494f4e5f46524f5a454e00000000000000604482015290519081900360640190fd5b841561101957610fe46114f2565b6040516001600160a01b038916907fc13b75a5f14b69ebdc2431a5d475b3bff371abe251b5064144306fbd9c4de35c90600090a25b876001600160a01b03167fff14288d542bc1c1d15a652cb52af735f065c0c9d70b48e454a203c260733544888860405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a25050505050505050565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f545b90565b6105ff81611518565b60006110c782611269565b92915050565b60405180604001604052806005815260200164332e302e3160d81b81525081565b7f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d2541590565b610a08611615565b61112533611269565b611168576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b336001600160a01b03821614156111bd576040805162461bcd60e51b8152602060048201526014602482015273474f5645524e4f525f53454c465f52454d4f564560601b604482015290519081900360640190fd5b60006111c76116ac565b90506111d282611269565b611212576040805162461bcd60e51b815260206004820152600c60248201526b2727aa2fa3a7ab22a92727a960a11b604482015290519081900360640190fd5b6001600160a01b03821660008181526020838152604091829020805460ff19169055815192835290517fd75f94825e770b8b512be8e74759e252ad00e102e38f50cce2f7c6f868a295999281900390910190a15050565b6000806112746116ac565b6001600160a01b039390931660009081526020939093525050604090205460ff1690565b3b151590565b60006112a86116ac565b60018101549091506001600160a01b0316331461130c576040805162461bcd60e51b815260206004820152601760248201527f4f4e4c595f43414e4449444154455f474f5645524e4f52000000000000000000604482015290519081900360640190fd5b6001810154611323906001600160a01b0316611729565b6001810180546001600160a01b03191690556040805133815290517fcfb473e6c03f9a29ddaf990e736fa3de5188a0bd85d684f5b6e164ebfbfff5d29181900360200190a150565b6000806113766105d1565b90506001600160a01b0381166113905760009150506110b0565b60408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516000936060936001600160a01b038716939092909182918083835b602083106113f65780518252601f1990920191602091820191016113d7565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611456576040519150601f19603f3d011682016040523d82523d6000602084013e61145b565b606091505b50915091508181906114ae5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e18578181015183820152602001610e00565b508080602001905160208110156114c457600080fd5b5051935050505090565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b2455565b60017f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d255565b61152133611269565b611564576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b600061156e6116ac565b905061157982611269565b156115be576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6001810180546001600160a01b0384166001600160a01b0319909116811790915560408051918252517f6166272c8d3f5f579082f2827532732f97195007983bb5b83ac12c56700b01a69181900360200190a15050565b61161e33611269565b611661576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b600061166b6116ac565b6001810180546001600160a01b03191690556040519091507f7a8dc7dd7fffb43c4807438fa62729225156941e641fd877938f4edade3429f590600090a150565b6000806040518060600160405280602781526020016117aa602791396040518082805190602001908083835b602083106116f75780518252601f1990920191602091820191016116d8565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209392505050565b61173281611269565b15611777576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b60006117816116ac565b6001600160a01b0390921660009081526020929092525060409020805460ff1916600117905556fe537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6ea264697066735822122019c6683d777476043460ce621f3b9666d31557ebfc9234842128779cb5705fc864736f6c634300060c0033537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6e0000000000000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/58303e7ee325b9f77f9ef6bb6b478a1760d33e7800e5d50e515ab8263b849c66 b/tests/cachedrpc/58303e7ee325b9f77f9ef6bb6b478a1760d33e7800e5d50e515ab8263b849c66 new file mode 100644 index 00000000..69d2a416 --- /dev/null +++ b/tests/cachedrpc/58303e7ee325b9f77f9ef6bb6b478a1760d33e7800e5d50e515ab8263b849c66 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x3c3a81e81dc49a522a592e7622a7e711c06bf354","contractCreator":"0xc22de539e70144c8d54e5922bf486de78900bb9f","txHash":"0x8f7867724cfba4b9b1b19ca140711809b40dda9ae245caf7bcff9473a5a7e45e","blockNumber":"17519070","timestamp":"1687241795","contractFactory":"","creationBytecode":"0x608060405260405162001a8038038062001a80833981810160405281019062000029919062000752565b82816200003f828260006200005b60201b60201c565b505062000052826200009e60201b60201c565b50505062000a94565b6200006c83620000fc60201b60201c565b6000825111806200007a5750805b1562000099576200009783836200015360201b620002991760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000cf6200018960201b60201c565b82604051620000e0929190620007de565b60405180910390a1620000f981620001ed60201b60201c565b50565b6200010d81620002dd60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b606062000181838360405180606001604052806027815260200162001a5960279139620003b360201b60201c565b905092915050565b6000620001c47fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6200044560201b620002c61760201c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200025f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002569062000892565b60405180910390fd5b80620002997fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6200044560201b620002c61760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620002f3816200044f60201b620002d01760201c565b62000335576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032c906200092a565b60405180910390fd5b806200036f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200044560201b620002c61760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000808573ffffffffffffffffffffffffffffffffffffffff1685604051620003df919062000999565b600060405180830381855af49150503d80600081146200041c576040519150601f19603f3d011682016040523d82523d6000602084013e62000421565b606091505b50915091506200043a868383876200047260201b60201c565b925050509392505050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315620004e2576000835103620004d95762000496856200044f60201b60201c565b620004d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004cf9062000a02565b60405180910390fd5b5b829050620004f5565b620004f48383620004fd60201b60201c565b5b949350505050565b600082511115620005115781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000547919062000a70565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005918262000564565b9050919050565b620005a38162000584565b8114620005af57600080fd5b50565b600081519050620005c38162000598565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200061e82620005d3565b810181811067ffffffffffffffff8211171562000640576200063f620005e4565b5b80604052505050565b60006200065562000550565b905062000663828262000613565b919050565b600067ffffffffffffffff821115620006865762000685620005e4565b5b6200069182620005d3565b9050602081019050919050565b60005b83811015620006be578082015181840152602081019050620006a1565b83811115620006ce576000848401525b50505050565b6000620006eb620006e58462000668565b62000649565b9050828152602081018484840111156200070a5762000709620005ce565b5b620007178482856200069e565b509392505050565b600082601f830112620007375762000736620005c9565b5b815162000749848260208601620006d4565b91505092915050565b6000806000606084860312156200076e576200076d6200055a565b5b60006200077e86828701620005b2565b93505060206200079186828701620005b2565b925050604084015167ffffffffffffffff811115620007b557620007b46200055f565b5b620007c3868287016200071f565b9150509250925092565b620007d88162000584565b82525050565b6000604082019050620007f56000830185620007cd565b620008046020830184620007cd565b9392505050565b600082825260208201905092915050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006200087a6026836200080b565b915062000887826200081c565b604082019050919050565b60006020820190508181036000830152620008ad816200086b565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b600062000912602d836200080b565b91506200091f82620008b4565b604082019050919050565b60006020820190508181036000830152620009458162000903565b9050919050565b600081519050919050565b600081905092915050565b60006200096f826200094c565b6200097b818562000957565b93506200098d8185602086016200069e565b80840191505092915050565b6000620009a7828462000962565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000620009ea601d836200080b565b9150620009f782620009b2565b602082019050919050565b6000602082019050818103600083015262000a1d81620009db565b9050919050565b600081519050919050565b600062000a3c8262000a24565b62000a4881856200080b565b935062000a5a8185602086016200069e565b62000a6581620005d3565b840191505092915050565b6000602082019050818103600083015262000a8c818462000a2f565b905092915050565b610fb58062000aa46000396000f3fe6080604052366100135761001161001d565b005b61001b61001d565b005b6100256102f3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361028f576060600080357fffffffff00000000000000000000000000000000000000000000000000000000169050633659cfe660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036100dc576100d561034a565b9150610287565b634f1ef28660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191603610137576101306103a9565b9150610286565b638f28397060e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036101925761018b6103f6565b9150610285565b63f851a44060e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036101ed576101e6610443565b9150610284565b635c60da1b60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036102485761024161047f565b9150610283565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027a906109c6565b60405180910390fd5b5b5b5b5b815160208301f35b6102976104bb565b565b60606102be8383604051806060016040528060278152602001610f59602791396104d5565b905092915050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006103217fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6102c6565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606061035461055b565b600080366004908092610369939291906109fa565b8101906103769190610a9d565b90506103938160405180602001604052806000815250600061056a565b6040518060200160405280600081525091505090565b606060008060003660049080926103c2939291906109fa565b8101906103cf9190610c10565b915091506103df8282600161056a565b604051806020016040528060008152509250505090565b606061040061055b565b600080366004908092610415939291906109fa565b8101906104229190610a9d565b905061042d81610596565b6040518060200160405280600081525091505090565b606061044d61055b565b60006104576102f3565b90508060405160200161046a9190610c8d565b60405160208183030381529060405291505090565b606061048961055b565b60006104936105e2565b9050806040516020016104a69190610c8d565b60405160208183030381529060405291505090565b6104c36105f1565b6104d36104ce6105e2565b6105f3565b565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516104ff9190610d22565b600060405180830381855af49150503d806000811461053a576040519150601f19603f3d011682016040523d82523d6000602084013e61053f565b606091505b509150915061055086838387610619565b925050509392505050565b6000341461056857600080fd5b565b6105738361068e565b6000825111806105805750805b156105915761058f8383610299565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105bf6102f3565b826040516105ce929190610d39565b60405180910390a16105df816106dd565b50565b60006105ec6107bd565b905090565b565b3660008037600080366000845af43d6000803e8060008114610614573d6000f35b3d6000fd5b6060831561067b57600083510361067357610633856102d0565b610672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066990610dae565b60405180910390fd5b5b829050610686565b6106858383610814565b5b949350505050565b61069781610864565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361074c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074390610e40565b60405180910390fd5b806107797fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6102c6565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006107eb7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6102c6565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000825111156108275781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085b9190610ea4565b60405180910390fd5b61086d816102d0565b6108ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a390610f38565b60405180910390fd5b806108d97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6102c6565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600082825260208201905092915050565b7f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60008201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760208201527f6574000000000000000000000000000000000000000000000000000000000000604082015250565b60006109b060428361091d565b91506109bb8261092e565b606082019050919050565b600060208201905081810360008301526109df816109a3565b9050919050565b6000604051905090565b600080fd5b600080fd5b60008085851115610a0e57610a0d6109f0565b5b83861115610a1f57610a1e6109f5565b5b6001850283019150848603905094509492505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610a6a82610a3f565b9050919050565b610a7a81610a5f565b8114610a8557600080fd5b50565b600081359050610a9781610a71565b92915050565b600060208284031215610ab357610ab2610a35565b5b6000610ac184828501610a88565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b1d82610ad4565b810181811067ffffffffffffffff82111715610b3c57610b3b610ae5565b5b80604052505050565b6000610b4f6109e6565b9050610b5b8282610b14565b919050565b600067ffffffffffffffff821115610b7b57610b7a610ae5565b5b610b8482610ad4565b9050602081019050919050565b82818337600083830152505050565b6000610bb3610bae84610b60565b610b45565b905082815260208101848484011115610bcf57610bce610acf565b5b610bda848285610b91565b509392505050565b600082601f830112610bf757610bf6610aca565b5b8135610c07848260208601610ba0565b91505092915050565b60008060408385031215610c2757610c26610a35565b5b6000610c3585828601610a88565b925050602083013567ffffffffffffffff811115610c5657610c55610a3a565b5b610c6285828601610be2565b9150509250929050565b6000610c7782610a3f565b9050919050565b610c8781610c6c565b82525050565b6000602082019050610ca26000830184610c7e565b92915050565b600081519050919050565b600081905092915050565b60005b83811015610cdc578082015181840152602081019050610cc1565b83811115610ceb576000848401525b50505050565b6000610cfc82610ca8565b610d068185610cb3565b9350610d16818560208601610cbe565b80840191505092915050565b6000610d2e8284610cf1565b915081905092915050565b6000604082019050610d4e6000830185610c7e565b610d5b6020830184610c7e565b9392505050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000610d98601d8361091d565b9150610da382610d62565b602082019050919050565b60006020820190508181036000830152610dc781610d8b565b9050919050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610e2a60268361091d565b9150610e3582610dce565b604082019050919050565b60006020820190508181036000830152610e5981610e1d565b9050919050565b600081519050919050565b6000610e7682610e60565b610e80818561091d565b9350610e90818560208601610cbe565b610e9981610ad4565b840191505092915050565b60006020820190508181036000830152610ebe8184610e6b565b905092915050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000610f22602d8361091d565b9150610f2d82610ec6565b604082019050919050565b60006020820190508181036000830152610f5181610f15565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208ca7c5abce103e2a8675873cdf17525b28582d67930aca84dbbb50914ac7bb9364736f6c634300080f0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000cd368c1d80120b0dd92447c87eb570154f8e685c0000000000000000000000000cac2b1a172ac24012621101634dd5abd6399add00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044da35a26f0000000000000000000000000000000000000000204fce5e3e250261100000000000000000000000000000004e59e778a0fb77fbb305637435c62faed9aed40f00000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/58c2fdba45437cd2bf03ffa32d753eee296c102a5cb7bd45e9fa6ce3cbab8bce b/tests/cachedrpc/58c2fdba45437cd2bf03ffa32d753eee296c102a5cb7bd45e9fa6ce3cbab8bce new file mode 100644 index 00000000..df791a8f --- /dev/null +++ b/tests/cachedrpc/58c2fdba45437cd2bf03ffa32d753eee296c102a5cb7bd45e9fa6ce3cbab8bce @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x2af5d2ad76741191d15dfe7bf6ac92d4bd912ca3","contractCreator":"0xe1f3c653248de6894d683cb2f10de7ca2253046f","txHash":"0xf716692fe4c52dddc4f7d2f8c9528b1626523595759e2e5fcc0f84675917150e","blockNumber":"7803477","timestamp":"1558444909","contractFactory":"","creationBytecode":"0x60c0604052600560808190527f332e302e3000000000000000000000000000000000000000000000000000000060a090815262000040916004919062000794565b503480156200004e57600080fd5b5060405160408062002149833981018060405260408110156200007057600080fd5b50805160209182015160408051808201825260128082527f42697466696e6578204c454f20546f6b656e00000000000000000000000000008287019081528351808501909452600384527f4c454f00000000000000000000000000000000000000000000000000000000009684019690965260008054600160a060020a03191633178155600b8054600160a060020a0388166101000261010060a860020a031990911617905582519596949587959194859493929091600191620001379183919062000794565b506002805460ff191660ff851617905581516200015c90600390602085019062000794565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff19169115159190911790555043600755620001bb816b0221f06fb12854a314000000640100000000620001c4810204565b5050506200088d565b60008054600160a060020a03163314620001dd57600080fd5b6000620001f2640100000000620002c1810204565b90508281018111156200020457600080fd5b60006200021a85640100000000620002dd810204565b90508381018111156200022c57600080fd5b62000244600a838601640100000000620002fc810204565b600160a060020a03851660009081526008602052604090206200027390828601640100000000620002fc810204565b604080518581529051600160a060020a038716916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a36001925050505b92915050565b6000620002d743640100000000620003a9810204565b90505b90565b6000620002f48243640100000000620004d1810204565b90505b919050565b815415806200032f575081544390839060001981019081106200031b57fe5b906000526020600020906002020160000154105b156200037757815460009083906200034b826001830162000819565b815481106200035657fe5b600091825260209091204360029092020190815560010182905550620003a5565b8154600090839060001981019081106200038d57fe5b60009182526020909120600160029092020101829055505b5050565b600a546000901580620003dd575081600a6000815481101515620003c957fe5b906000526020600020906002020160000154115b15620004b357600554600160a060020a031615620004aa57600554600654600160a060020a039091169063981b24d0906200042390859064010000000062000652810204565b6040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082815260200191505060206040518083038186803b1580156200047457600080fd5b505afa15801562000489573d6000803e3d6000fd5b505050506040513d6020811015620004a057600080fd5b50519050620002f7565b506000620002f7565b620004c9600a836401000000006200066c810204565b9050620002f7565b600160a060020a03821660009081526008602052604081205415806200052c5750600160a060020a0383166000908152600860205260408120805484929081106200051857fe5b906000526020600020906002020160000154115b156200061d57600554600160a060020a0316156200061457600554600654600160a060020a0390911690634ee2cd7e9085906200057490869064010000000062000652810204565b6040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015620005de57600080fd5b505afa158015620005f3573d6000803e3d6000fd5b505050506040513d60208110156200060a57600080fd5b50519050620002bb565b506000620002bb565b600160a060020a03831660009081526008602052604090206200064a90836401000000006200066c810204565b9050620002bb565b600081831062000663578162000665565b825b9392505050565b815460009015156200068157506000620002bb565b8254839060001981019081106200069457fe5b60009182526020909120600290910201548210620006d957825483906000198101908110620006bf57fe5b9060005260206000209060020201600101549050620002bb565b826000815481101515620006e957fe5b9060005260206000209060020201600001548210156200070c57506000620002bb565b825460009060001901815b82821115620007685760026001838501010490508486828154811015156200073b57fe5b6000918252602090912060029091020154116200075b5780925062000762565b6001810391505b62000717565b85838154811015156200077757fe5b906000526020600020906002020160010154935050505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620007d757805160ff191683800117855562000807565b8280016001018555821562000807579182015b8281111562000807578251825591602001919060010190620007ea565b50620008159291506200084d565b5090565b81548183558181111562000848576002028160020283600052602060002091820191016200084891906200086a565b505050565b620002da91905b8082111562000815576000815560010162000854565b620002da91905b8082111562000815576000808255600182015560020162000871565b6118ac806200089d6000396000f3fe60806040526004361061011e5760e060020a600035046306fdde0381146101de578063095ea7b31461026857806317634514146102b557806318160ddd146102dc57806323b872dd146102f1578063313ce567146103345780633cebb8231461035f5780634ee2cd7e1461039257806354fd4d50146103cb5780636638c087146103e057806370a082311461054857806380a540011461057b578063827f32c01461059057806395d89b41146105c9578063981b24d0146105de578063a9059cbb14610608578063bef97c8714610641578063c5bcc4f114610656578063cae9ca511461066b578063d3ce77fe14610733578063dd62ed3e1461076c578063e77772fe146107a7578063f41e60c5146107bc578063f77c4791146107e8575b60005461013390600160a060020a03166107fd565b151561013e57600080fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b1580156101a457600080fd5b505af11580156101b8573d6000803e3d6000fd5b50505050506040513d60208110156101cf57600080fd5b505115156101dc57600080fd5b005b3480156101ea57600080fd5b506101f3610827565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022d578181015183820152602001610215565b50505050905090810190601f16801561025a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561027457600080fd5b506102a16004803603604081101561028b57600080fd5b50600160a060020a0381351690602001356108b4565b604080519115158252519081900360200190f35b3480156102c157600080fd5b506102ca610a32565b60408051918252519081900360200190f35b3480156102e857600080fd5b506102ca610a38565b3480156102fd57600080fd5b506102a16004803603606081101561031457600080fd5b50600160a060020a03813581169160208101359091169060400135610a49565b34801561034057600080fd5b50610349610b0a565b6040805160ff9092168252519081900360200190f35b34801561036b57600080fd5b506101dc6004803603602081101561038257600080fd5b5035600160a060020a0316610b13565b34801561039e57600080fd5b506102ca600480360360408110156103b557600080fd5b50600160a060020a038135169060200135610b92565b3480156103d757600080fd5b506101f3610cda565b3480156103ec57600080fd5b5061052c600480360360a081101561040357600080fd5b81019060208101813564010000000081111561041e57600080fd5b82018360208201111561043057600080fd5b8035906020019184600183028401116401000000008311171561045257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff8535169590949093506040810192506020013590506401000000008111156104b057600080fd5b8201836020820111156104c257600080fd5b803590602001918460018302840111640100000000831117156104e457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d35565b60408051600160a060020a039092168252519081900360200190f35b34801561055457600080fd5b506102ca6004803603602081101561056b57600080fd5b5035600160a060020a0316610f98565b34801561058757600080fd5b5061052c610fa4565b34801561059c57600080fd5b506102a1600480360360408110156105b357600080fd5b50600160a060020a038135169060200135610fb3565b3480156105d557600080fd5b506101f361106d565b3480156105ea57600080fd5b506102ca6004803603602081101561060157600080fd5b50356110c8565b34801561061457600080fd5b506102a16004803603604081101561062b57600080fd5b50600160a060020a0381351690602001356111b7565b34801561064d57600080fd5b506102a16111df565b34801561066257600080fd5b506102ca6111e8565b34801561067757600080fd5b506102a16004803603606081101561068e57600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156106be57600080fd5b8201836020820111156106d057600080fd5b803590602001918460018302840111640100000000831117156106f257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111ee945050505050565b34801561073f57600080fd5b506102a16004803603604081101561075657600080fd5b50600160a060020a038135169060200135611309565b34801561077857600080fd5b506102ca6004803603604081101561078f57600080fd5b50600160a060020a03813581169160200135166113bf565b3480156107b357600080fd5b5061052c6113ea565b3480156107c857600080fd5b506101dc600480360360208110156107df57600080fd5b503515156113fe565b3480156107f457600080fd5b5061052c611428565b600080600160a060020a038316151561081a576000915050610822565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108ac5780601f10610881576101008083540402835291602001916108ac565b820191906000526020600020905b81548152906001019060200180831161088f57829003601f168201915b505050505081565b600b5460009060ff1615156108c857600080fd5b8115806108f65750336000908152600960209081526040808320600160a060020a0387168452909152902054155b151561090157600080fd5b60005461091690600160a060020a03166107fd565b156109ca5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a038781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b15801561099357600080fd5b505af11580156109a7573d6000803e3d6000fd5b505050506040513d60208110156109bd57600080fd5b505115156109ca57600080fd5b336000818152600960209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60075481565b6000610a43436110c8565b90505b90565b60008054600160a060020a03163314610af557600b5460ff161515610a6d57600080fd5b600160a060020a03841660009081526009602090815260408083203384529091529020546000191115610af557600160a060020a0384166000908152600960209081526040808320338452909152902054821115610aca57600080fd5b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610b00848484611437565b5060019392505050565b60025460ff1681565b600054600160a060020a03163314610b2a57600080fd5b60008054604051600160a060020a03808516939216917fa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f291a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610beb5750600160a060020a038316600090815260086020526040812080548492908110610bd757fe5b906000526020600020906002020160000154115b15610cb157600554600160a060020a031615610ca957600554600654600160a060020a0390911690634ee2cd7e908590610c26908690611642565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c7657600080fd5b505afa158015610c8a573d6000803e3d6000fd5b505050506040513d6020811015610ca057600080fd5b50519050610a2c565b506000610a2c565b600160a060020a0383166000908152600860205260409020610cd3908361165a565b9050610a2c565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108ac5780601f10610881576101008083540402835291602001916108ac565b6000821515610d42574392505b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130868a8a8a896040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610df5578181015183820152602001610ddd565b50505050905090810190601f168015610e225780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e55578181015183820152602001610e3d565b50505050905090810190601f168015610e825780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610ea757600080fd5b505af1158015610ebb573d6000803e3d6000fd5b505050506040513d6020811015610ed157600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f3757600080fd5b505af1158015610f4b573d6000803e3d6000fd5b5050604080518781529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a29695505050505050565b6000610a2c8243610b92565b600554600160a060020a031681565b60008054600160a060020a03163314610fcb57600080fd5b6000610fd5610a38565b9050828101811115610fe657600080fd5b6000610ff185610f98565b905083810181111561100257600080fd5b61100f600a858401611773565b600160a060020a038516600090815260086020526040902061103390828601611773565b604080518581529051600160a060020a038716916000916000805160206118618339815191529181900360200190a3506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108ac5780601f10610881576101008083540402835291602001916108ac565b600a5460009015806110fa575081600a60008154811015156110e657fe5b906000526020600020906002020160000154115b156111a557600554600160a060020a03161561119d57600554600654600160a060020a039091169063981b24d090611133908590611642565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561116a57600080fd5b505afa15801561117e573d6000803e3d6000fd5b505050506040513d602081101561119457600080fd5b50519050610822565b506000610822565b6111b0600a8361165a565b9050610822565b600b5460009060ff1615156111cb57600080fd5b6111d6338484611437565b50600192915050565b600b5460ff1681565b60065481565b60006111fa84846108b4565b151561120557600080fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b83811015611298578181015183820152602001611280565b50505050905090810190601f1680156112c55780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156112e757600080fd5b505af11580156112fb573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a0316331461132157600080fd5b600061132b610a38565b90508281101561133a57600080fd5b600061134585610f98565b90508381101561135457600080fd5b611361600a858403611773565b600160a060020a038516600090815260086020526040902061138590858303611773565b604080518581529051600091600160a060020a038816916000805160206118618339815191529181900360200190a3506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600b546101009004600160a060020a031681565b600054600160a060020a0316331461141557600080fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b80151561147c5781600160a060020a031683600160a060020a0316600080516020611861833981519152836040518082815260200191505060405180910390a361163d565b600654431161148a57600080fd5b600160a060020a038216158015906114ab5750600160a060020a0382163014155b15156114b657600080fd5b60006114c28443610b92565b9050818110156114d157600080fd5b6000546114e690600160a060020a03166107fd565b1561159c5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015287811660248301526044820187905291519190921692634a39314992606480820193602093909283900390910190829087803b15801561156557600080fd5b505af1158015611579573d6000803e3d6000fd5b505050506040513d602081101561158f57600080fd5b5051151561159c57600080fd5b600160a060020a03841660009081526008602052604090206115c090838303611773565b60006115cc8443610b92565b90508281018111156115dd57600080fd5b600160a060020a038416600090815260086020526040902061160190828501611773565b83600160a060020a031685600160a060020a0316600080516020611861833981519152856040518082815260200191505060405180910390a350505b505050565b60008183106116515781611653565b825b9392505050565b8154600090151561166d57506000610a2c565b82548390600019810190811061167f57fe5b600091825260209091206002909102015482106116c1578254839060001981019081106116a857fe5b9060005260206000209060020201600101549050610a2c565b8260008154811015156116d057fe5b9060005260206000209060020201600001548210156116f157506000610a2c565b825460009060001901815b8282111561174857600260018385010104905084868281548110151561171e57fe5b60009182526020909120600290910201541161173c57809250611743565b6001810391505b6116fc565b858381548110151561175657fe5b906000526020600020906002020160010154935050505092915050565b815415806117a45750815443908390600019810190811061179057fe5b906000526020600020906002020160000154105b156117e757815460009083906117bd8260018301611818565b815481106117c757fe5b600091825260209091204360029092020190815560010182905550611814565b8154600090839060001981019081106117fc57fe5b60009182526020909120600160029092020101829055505b5050565b81548183558181111561163d5760008381526020902061163d91610a469160029182028101918502015b8082111561185c5760008082556001820155600201611842565b509056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820e33bb8c5fab5aafa7ab530b4f370f3e2ba8b6f0f1d9ecb50bef2945c707727f200290000000000000000000000008e9ac0de3ab634ce0e2f0e397efc5ce8a72a12b8000000000000000000000000e1f3c653248de6894d683cb2f10de7ca2253046f"}]} \ No newline at end of file diff --git a/tests/cachedrpc/5c95732c2eacd58dd9320f1c23270941b8434ebf34c5a38e290da69655cdfe8c b/tests/cachedrpc/5c95732c2eacd58dd9320f1c23270941b8434ebf34c5a38e290da69655cdfe8c new file mode 100644 index 00000000..2550620a --- /dev/null +++ b/tests/cachedrpc/5c95732c2eacd58dd9320f1c23270941b8434ebf34c5a38e290da69655cdfe8c @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x4fabb145d64652a948d72533023f6e7a623c7c53","contractCreator":"0x1074253202528777561f83817d413e91bfa671d4","txHash":"0xa2eaf0630b21f23b1a7f295c40df6c6b6cefb736d7ae1d4d019be34081169f95","blockNumber":"8493105","timestamp":"1567727777","contractFactory":"","creationBytecode":"0x608060405234801561001057600080fd5b5060405160208061080d83398101604081815291517f6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e74617482527f696f6e00000000000000000000000000000000000000000000000000000000006020830152915190819003602301902081906000805160206107ed8339815191521461009157fe5b6100a381640100000000610104810204565b50604080517f6f72672e7a657070656c696e6f732e70726f78792e61646d696e0000000000008152905190819003601a0190206000805160206107cd833981519152146100ec57fe5b6100fe336401000000006101c2810204565b506101dc565b600061011c826401000000006105ae6101d482021704565b15156101af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000606482015290519081900360840190fd5b506000805160206107ed83398151915255565b6000805160206107cd83398151915255565b6000903b1190565b6105e2806101eb6000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633659cfe681146100765780634f1ef286146100975780635c60da1b146100b75780638f283970146100e8578063f851a44014610109575b61007461011e565b005b34801561008257600080fd5b50610074600160a060020a0360043516610138565b61007460048035600160a060020a03169060248035908101910135610172565b3480156100c357600080fd5b506100cc6101ea565b60408051600160a060020a039092168252519081900360200190f35b3480156100f457600080fd5b50610074600160a060020a0360043516610227565b34801561011557600080fd5b506100cc610339565b610126610364565b610136610131610411565b610436565b565b61014061045a565b600160a060020a031633600160a060020a03161415610167576101628161047f565b61016f565b61016f61011e565b50565b61017a61045a565b600160a060020a031633600160a060020a031614156101dd5761019c8361047f565b30600160a060020a03163483836040518083838082843782019150509250505060006040518083038185875af19250505015156101d857600080fd5b6101e5565b6101e561011e565b505050565b60006101f461045a565b600160a060020a031633600160a060020a0316141561021c57610215610411565b9050610224565b61022461011e565b90565b61022f61045a565b600160a060020a031633600160a060020a0316141561016757600160a060020a03811615156102e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f60448201527f787920746f20746865207a65726f206164647265737300000000000000000000606482015290519081900360840190fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61030e61045a565b60408051600160a060020a03928316815291841660208301528051918290030190a1610162816104c7565b600061034361045a565b600160a060020a031633600160a060020a0316141561021c5761021561045a565b61036c61045a565b600160a060020a031633141561040957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e20667260448201527f6f6d207468652070726f78792061646d696e0000000000000000000000000000606482015290519081900360840190fd5b610136610136565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e808015610455573d6000f35b3d6000fd5b7f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b5490565b610488816104eb565b60408051600160a060020a038316815290517fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b9181900360200190a150565b7f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b55565b60006104f6826105ae565b151561058957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000606482015290519081900360840190fd5b507f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b6000903b11905600a165627a7a72305820b274fe16b200679a229fcce27c65314a32b3cff995c434133f535dd565bba474002910d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c30000000000000000000000005864c777697bf9881220328bf2f16908c9afcd7e"}]} \ No newline at end of file diff --git a/tests/cachedrpc/5eaaa3209e888d24f39bd1676e04089a93222cc4bf6e8340ff66ee28b14e0f70 b/tests/cachedrpc/5eaaa3209e888d24f39bd1676e04089a93222cc4bf6e8340ff66ee28b14e0f70 new file mode 100644 index 00000000..872fc55d --- /dev/null +++ b/tests/cachedrpc/5eaaa3209e888d24f39bd1676e04089a93222cc4bf6e8340ff66ee28b14e0f70 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x000000000022d473030f116ddee9f6b43ac78ba3","contractCreator":"0xd32ff78579352ca78f416120a9f68b65c410871b","txHash":"0xf2f1fe96c16ee674bb7fcee166be52465a418927d124f5f1d231b36eae65d377","blockNumber":"15986406","timestamp":"1668647879","contractFactory":"0x4e59b44847b379578588920ca78fbf26c0b4956c","creationBytecode":"0x60c0346100bb574660a052602081017f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681527f9ac997416e8ff9d2ff6bebeb7149f65cdae5e32e2b90440b566bb3044041d36a60408301524660608301523060808301526080825260a082019180831060018060401b038411176100a557826040525190206080526123c090816100c1823960805181611b47015260a05181611b210152f35b634e487b7160e01b600052604160045260246000fd5b600080fdfe6040608081526004908136101561001557600080fd5b600090813560e01c80630d58b1db1461126c578063137c29fe146110755780632a2d80d114610db75780632b67b57014610bde57806330f28b7a14610ade5780633644e51514610a9d57806336c7851614610a285780633ff9dcb1146109a85780634fe02b441461093f57806365d9723c146107ac57806387517c451461067a578063927da105146105c3578063cc53287f146104a3578063edd9444b1461033a5763fe8ec1a7146100c657600080fd5b346103365760c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103365767ffffffffffffffff833581811161033257610114903690860161164b565b60243582811161032e5761012b903690870161161a565b6101336114e6565b9160843585811161032a5761014b9036908a016115c1565b98909560a43590811161032657610164913691016115c1565b969095815190610173826113ff565b606b82527f5065726d697442617463685769746e6573735472616e7366657246726f6d285460208301527f6f6b656e5065726d697373696f6e735b5d207065726d69747465642c61646472838301527f657373207370656e6465722c75696e74323536206e6f6e63652c75696e74323560608301527f3620646561646c696e652c000000000000000000000000000000000000000000608083015282519a8b9181610222602085018096611f93565b918237018a8152039961025b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09b8c8101835282611437565b5190209085515161026b81611ebb565b908a5b8181106102f95750506102f6999a6102ed9183516102a081610294602082018095611f66565b03848101835282611437565b519020602089810151858b015195519182019687526040820192909252336060820152608081019190915260a081019390935260643560c08401528260e081015b03908101835282611437565b51902093611cf7565b80f35b8061031161030b610321938c5161175e565b51612054565b61031b828661175e565b52611f0a565b61026e565b8880fd5b8780fd5b8480fd5b8380fd5b5080fd5b5091346103365760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103365767ffffffffffffffff9080358281116103325761038b903690830161164b565b60243583811161032e576103a2903690840161161a565b9390926103ad6114e6565b9160643590811161049f576103c4913691016115c1565b949093835151976103d489611ebb565b98885b81811061047d5750506102f697988151610425816103f9602082018095611f66565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282611437565b5190206020860151828701519083519260208401947ffcf35f5ac6a2c28868dc44c302166470266239195f02b0ee408334829333b7668652840152336060840152608083015260a082015260a081526102ed8161141b565b808b61031b8261049461030b61049a968d5161175e565b9261175e565b6103d7565b8680fd5b5082346105bf57602090817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103325780359067ffffffffffffffff821161032e576104f49136910161161a565b929091845b848110610504578580f35b8061051a610515600193888861196c565b61197c565b61052f84610529848a8a61196c565b0161197c565b3389528385528589209173ffffffffffffffffffffffffffffffffffffffff80911692838b528652868a20911690818a5285528589207fffffffffffffffffffffffff000000000000000000000000000000000000000081541690558551918252848201527f89b1add15eff56b3dfe299ad94e01f2b52fbcb80ae1a3baea6ae8c04cb2b98a4853392a2016104f9565b8280fd5b50346103365760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033657610676816105ff6114a0565b936106086114c3565b6106106114e6565b73ffffffffffffffffffffffffffffffffffffffff968716835260016020908152848420928816845291825283832090871683528152919020549251938316845260a083901c65ffffffffffff169084015260d09190911c604083015281906060820190565b0390f35b50346103365760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610336576106b26114a0565b906106bb6114c3565b916106c46114e6565b65ffffffffffff926064358481169081810361032a5779ffffffffffff0000000000000000000000000000000000000000947fda9fa7c1b00402c17d0161b249b1ab8bbec047c5a52207b9c112deffd817036b94338a5260016020527fffffffffffff0000000000000000000000000000000000000000000000000000858b209873ffffffffffffffffffffffffffffffffffffffff809416998a8d5260205283878d209b169a8b8d52602052868c209486156000146107a457504216925b8454921697889360a01b16911617179055815193845260208401523392a480f35b905092610783565b5082346105bf5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf576107e56114a0565b906107ee6114c3565b9265ffffffffffff604435818116939084810361032a57338852602091600183528489209673ffffffffffffffffffffffffffffffffffffffff80911697888b528452858a20981697888a5283528489205460d01c93848711156109175761ffff9085840316116108f05750907f55eb90d810e1700b35a8e7e25395ff7f2b2259abd7415ca2284dfb1c246418f393929133895260018252838920878a528252838920888a5282528389209079ffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffff000000000000000000000000000000000000000000000000000083549260d01b16911617905582519485528401523392a480f35b84517f24d35a26000000000000000000000000000000000000000000000000000000008152fd5b5084517f756688fe000000000000000000000000000000000000000000000000000000008152fd5b503461033657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610336578060209273ffffffffffffffffffffffffffffffffffffffff61098f6114a0565b1681528084528181206024358252845220549051908152f35b5082346105bf57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf577f3704902f963766a4e561bbaab6e6cdc1b1dd12f6e9e99648da8843b3f46b918d90359160243533855284602052818520848652602052818520818154179055815193845260208401523392a280f35b8234610a9a5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a57610a606114a0565b610a686114c3565b610a706114e6565b6064359173ffffffffffffffffffffffffffffffffffffffff8316830361032e576102f6936117a1565b80fd5b503461033657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033657602090610ad7611b1e565b9051908152f35b508290346105bf576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf57610b1a3661152a565b90807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7c36011261033257610b4c611478565b9160e43567ffffffffffffffff8111610bda576102f694610b6f913691016115c1565b939092610b7c8351612054565b6020840151828501519083519260208401947f939c21a48a8dbe3a9a2404a1d46691e4d39f6583d6ec6b35714604c986d801068652840152336060840152608083015260a082015260a08152610bd18161141b565b51902091611c25565b8580fd5b509134610336576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033657610c186114a0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc360160c08112610332576080855191610c51836113e3565b1261033257845190610c6282611398565b73ffffffffffffffffffffffffffffffffffffffff91602435838116810361049f578152604435838116810361049f57602082015265ffffffffffff606435818116810361032a5788830152608435908116810361049f576060820152815260a435938285168503610bda576020820194855260c4359087830182815260e43567ffffffffffffffff811161032657610cfe90369084016115c1565b929093804211610d88575050918591610d786102f6999a610d7e95610d238851611fbe565b90898c511690519083519260208401947ff3841cd1ff0085026a6327b620b67997ce40f282c88a8e905a7a5626e310f3d086528401526060830152608082015260808152610d70816113ff565b519020611bd9565b916120c7565b519251169161199d565b602492508a51917fcd21db4f000000000000000000000000000000000000000000000000000000008352820152fd5b5091346103365760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc93818536011261033257610df36114a0565b9260249081359267ffffffffffffffff9788851161032a578590853603011261049f578051978589018981108282111761104a578252848301358181116103265785019036602383011215610326578382013591610e50836115ef565b90610e5d85519283611437565b838252602093878584019160071b83010191368311611046578801905b828210610fe9575050508a526044610e93868801611509565b96838c01978852013594838b0191868352604435908111610fe557610ebb90369087016115c1565b959096804211610fba575050508998995151610ed681611ebb565b908b5b818110610f9757505092889492610d7892610f6497958351610f02816103f98682018095611f66565b5190209073ffffffffffffffffffffffffffffffffffffffff9a8b8b51169151928551948501957faf1b0d30d2cab0380e68f0689007e3254993c596f2fdd0aaa7f4d04f794408638752850152830152608082015260808152610d70816113ff565b51169082515192845b848110610f78578580f35b80610f918585610f8b600195875161175e565b5161199d565b01610f6d565b80610311610fac8e9f9e93610fb2945161175e565b51611fbe565b9b9a9b610ed9565b8551917fcd21db4f000000000000000000000000000000000000000000000000000000008352820152fd5b8a80fd5b6080823603126110465785608091885161100281611398565b61100b85611509565b8152611018838601611509565b838201526110278a8601611607565b8a8201528d611037818701611607565b90820152815201910190610e7a565b8c80fd5b84896041867f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b5082346105bf576101407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf576110b03661152a565b91807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7c360112610332576110e2611478565b67ffffffffffffffff93906101043585811161049f5761110590369086016115c1565b90936101243596871161032a57611125610bd1966102f6983691016115c1565b969095825190611134826113ff565b606482527f5065726d69745769746e6573735472616e7366657246726f6d28546f6b656e5060208301527f65726d697373696f6e73207065726d69747465642c6164647265737320737065848301527f6e6465722c75696e74323536206e6f6e63652c75696e7432353620646561646c60608301527f696e652c0000000000000000000000000000000000000000000000000000000060808301528351948591816111e3602085018096611f93565b918237018b8152039361121c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe095868101835282611437565b5190209261122a8651612054565b6020878101518589015195519182019687526040820192909252336060820152608081019190915260a081019390935260e43560c08401528260e081016102e1565b5082346105bf576020807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033257813567ffffffffffffffff92838211610bda5736602383011215610bda5781013592831161032e576024906007368386831b8401011161049f57865b8581106112e5578780f35b80821b83019060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc83360301126103265761139288876001946060835161132c81611398565b611368608461133c8d8601611509565b9485845261134c60448201611509565b809785015261135d60648201611509565b809885015201611509565b918291015273ffffffffffffffffffffffffffffffffffffffff80808093169516931691166117a1565b016112da565b6080810190811067ffffffffffffffff8211176113b457604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6060810190811067ffffffffffffffff8211176113b457604052565b60a0810190811067ffffffffffffffff8211176113b457604052565b60c0810190811067ffffffffffffffff8211176113b457604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176113b457604052565b60c4359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b600080fd5b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b6044359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc01906080821261149b576040805190611563826113e3565b8082941261149b57805181810181811067ffffffffffffffff8211176113b457825260043573ffffffffffffffffffffffffffffffffffffffff8116810361149b578152602435602082015282526044356020830152606435910152565b9181601f8401121561149b5782359167ffffffffffffffff831161149b576020838186019501011161149b57565b67ffffffffffffffff81116113b45760051b60200190565b359065ffffffffffff8216820361149b57565b9181601f8401121561149b5782359167ffffffffffffffff831161149b576020808501948460061b01011161149b57565b91909160608184031261149b576040805191611666836113e3565b8294813567ffffffffffffffff9081811161149b57830182601f8201121561149b578035611693816115ef565b926116a087519485611437565b818452602094858086019360061b8501019381851161149b579086899897969594939201925b8484106116e3575050505050855280820135908501520135910152565b90919293949596978483031261149b578851908982019082821085831117611730578a928992845261171487611509565b81528287013583820152815201930191908897969594936116c6565b602460007f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b80518210156117725760209160051b010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b92919273ffffffffffffffffffffffffffffffffffffffff604060008284168152600160205282828220961695868252602052818120338252602052209485549565ffffffffffff8760a01c16804211611884575082871696838803611812575b5050611810955016926118b5565b565b878484161160001461184f57602488604051907ff96fb0710000000000000000000000000000000000000000000000000000000082526004820152fd5b7fffffffffffffffffffffffff000000000000000000000000000000000000000084846118109a031691161790553880611802565b602490604051907fd81b2f2e0000000000000000000000000000000000000000000000000000000082526004820152fd5b9060006064926020958295604051947f23b872dd0000000000000000000000000000000000000000000000000000000086526004860152602485015260448401525af13d15601f3d116001600051141617161561190e57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5452414e534645525f46524f4d5f4641494c45440000000000000000000000006044820152fd5b91908110156117725760061b0190565b3573ffffffffffffffffffffffffffffffffffffffff8116810361149b5790565b9065ffffffffffff908160608401511673ffffffffffffffffffffffffffffffffffffffff908185511694826020820151169280866040809401511695169560009187835260016020528383208984526020528383209916988983526020528282209184835460d01c03611af5579185611ace94927fc6a377bfc4eb120024a8ac08eef205be16b817020812c73223e81d1bdb9708ec98979694508715600014611ad35779ffffffffffff00000000000000000000000000000000000000009042165b60a01b167fffffffffffff00000000000000000000000000000000000000000000000000006001860160d01b1617179055519384938491604091949373ffffffffffffffffffffffffffffffffffffffff606085019616845265ffffffffffff809216602085015216910152565b0390a4565b5079ffffffffffff000000000000000000000000000000000000000087611a60565b600484517f756688fe000000000000000000000000000000000000000000000000000000008152fd5b467f000000000000000000000000000000000000000000000000000000000000000003611b69577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86682527f9ac997416e8ff9d2ff6bebeb7149f65cdae5e32e2b90440b566bb3044041d36a604082015246606082015230608082015260808152611bd3816113ff565b51902090565b611be1611b1e565b906040519060208201927f190100000000000000000000000000000000000000000000000000000000000084526022830152604282015260428152611bd381611398565b9192909360a435936040840151804211611cc65750602084510151808611611c955750918591610d78611c6594611c60602088015186611e47565b611bd9565b73ffffffffffffffffffffffffffffffffffffffff809151511692608435918216820361149b57611810936118b5565b602490604051907f3728b83d0000000000000000000000000000000000000000000000000000000082526004820152fd5b602490604051907fcd21db4f0000000000000000000000000000000000000000000000000000000082526004820152fd5b959093958051519560409283830151804211611e175750848803611dee57611d2e918691610d7860209b611c608d88015186611e47565b60005b868110611d42575050505050505050565b611d4d81835161175e565b5188611d5a83878a61196c565b01359089810151808311611dbe575091818888886001968596611d84575b50505050505001611d31565b611db395611dad9273ffffffffffffffffffffffffffffffffffffffff6105159351169561196c565b916118b5565b803888888883611d78565b6024908651907f3728b83d0000000000000000000000000000000000000000000000000000000082526004820152fd5b600484517fff633a38000000000000000000000000000000000000000000000000000000008152fd5b6024908551907fcd21db4f0000000000000000000000000000000000000000000000000000000082526004820152fd5b9073ffffffffffffffffffffffffffffffffffffffff600160ff83161b9216600052600060205260406000209060081c6000526020526040600020818154188091551615611e9157565b60046040517f756688fe000000000000000000000000000000000000000000000000000000008152fd5b90611ec5826115ef565b611ed26040519182611437565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0611f0082946115ef565b0190602036910137565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611f375760010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b805160208092019160005b828110611f7f575050505090565b835185529381019392810192600101611f71565b9081519160005b838110611fab575050016000815290565b8060208092840101518185015201611f9a565b60405160208101917f65626cad6cb96493bf6f5ebea28756c966f023ab9e8a83a7101849d5573b3678835273ffffffffffffffffffffffffffffffffffffffff8082511660408401526020820151166060830152606065ffffffffffff9182604082015116608085015201511660a082015260a0815260c0810181811067ffffffffffffffff8211176113b45760405251902090565b6040516020808201927f618358ac3db8dc274f0cd8829da7e234bd48cd73c4a740aede1adec9846d06a1845273ffffffffffffffffffffffffffffffffffffffff81511660408401520151606082015260608152611bd381611398565b919082604091031261149b576020823592013590565b6000843b61222e5750604182036121ac576120e4828201826120b1565b939092604010156117725760209360009360ff6040608095013560f81c5b60405194855216868401526040830152606082015282805260015afa156121a05773ffffffffffffffffffffffffffffffffffffffff806000511691821561217657160361214c57565b60046040517f815e1d64000000000000000000000000000000000000000000000000000000008152fd5b60046040517f8baa579f000000000000000000000000000000000000000000000000000000008152fd5b6040513d6000823e3d90fd5b60408203612204576121c0918101906120b1565b91601b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84169360ff1c019060ff8211611f375760209360009360ff608094612102565b60046040517f4be6321b000000000000000000000000000000000000000000000000000000008152fd5b929391601f928173ffffffffffffffffffffffffffffffffffffffff60646020957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0604051988997889687947f1626ba7e000000000000000000000000000000000000000000000000000000009e8f8752600487015260406024870152816044870152868601378b85828601015201168101030192165afa9081156123a857829161232a575b507fffffffff000000000000000000000000000000000000000000000000000000009150160361230057565b60046040517fb0669cbc000000000000000000000000000000000000000000000000000000008152fd5b90506020813d82116123a0575b8161234460209383611437565b810103126103365751907fffffffff0000000000000000000000000000000000000000000000000000000082168203610a9a57507fffffffff0000000000000000000000000000000000000000000000000000000090386122d4565b3d9150612337565b6040513d84823e3d90fdfea164736f6c6343000811000a"}]} \ No newline at end of file diff --git a/tests/cachedrpc/5fdb7b696e2531da8f62c143056d2b5e1e7c1348bd9a2a806ba44b5b40e62e60 b/tests/cachedrpc/5fdb7b696e2531da8f62c143056d2b5e1e7c1348bd9a2a806ba44b5b40e62e60 new file mode 100644 index 00000000..f33362d0 --- /dev/null +++ b/tests/cachedrpc/5fdb7b696e2531da8f62c143056d2b5e1e7c1348bd9a2a806ba44b5b40e62e60 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \".deps/npm/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (proxy/transparent/ProxyAdmin.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./TransparentUpgradeableProxy.sol\\\";\\nimport \\\"../../access/Ownable.sol\\\";\\n\\n/**\\n * @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an\\n * explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.\\n */\\ncontract ProxyAdmin is Ownable {\\n /**\\n * @dev Returns the current implementation of `proxy`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function getProxyImplementation(ITransparentUpgradeableProxy proxy) public view virtual returns (address) {\\n // We need to manually run the static call since the getter cannot be flagged as view\\n // bytes4(keccak256(\\\"implementation()\\\")) == 0x5c60da1b\\n (bool success, bytes memory returndata) = address(proxy).staticcall(hex\\\"5c60da1b\\\");\\n require(success);\\n return abi.decode(returndata, (address));\\n }\\n\\n /**\\n * @dev Returns the current admin of `proxy`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function getProxyAdmin(ITransparentUpgradeableProxy proxy) public view virtual returns (address) {\\n // We need to manually run the static call since the getter cannot be flagged as view\\n // bytes4(keccak256(\\\"admin()\\\")) == 0xf851a440\\n (bool success, bytes memory returndata) = address(proxy).staticcall(hex\\\"f851a440\\\");\\n require(success);\\n return abi.decode(returndata, (address));\\n }\\n\\n /**\\n * @dev Changes the admin of `proxy` to `newAdmin`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the current admin of `proxy`.\\n */\\n function changeProxyAdmin(ITransparentUpgradeableProxy proxy, address newAdmin) public virtual onlyOwner {\\n proxy.changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrades `proxy` to `implementation`. See {TransparentUpgradeableProxy-upgradeTo}.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function upgrade(ITransparentUpgradeableProxy proxy, address implementation) public virtual onlyOwner {\\n proxy.upgradeTo(implementation);\\n }\\n\\n /**\\n * @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation. See\\n * {TransparentUpgradeableProxy-upgradeToAndCall}.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function upgradeAndCall(\\n ITransparentUpgradeableProxy proxy,\\n address implementation,\\n bytes memory data\\n ) public payable virtual onlyOwner {\\n proxy.upgradeToAndCall{value: msg.value}(implementation, data);\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/access/Ownable.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor() {\\n _transferOwnership(_msgSender());\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy}\\n * does not implement this interface directly, and some of its functions are implemented by an internal dispatch\\n * mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not\\n * include them in the ABI so this interface must be used to interact with it.\\n */\\ninterface ITransparentUpgradeableProxy is IERC1967 {\\n function admin() external view returns (address);\\n\\n function implementation() external view returns (address);\\n\\n function changeAdmin(address) external;\\n\\n function upgradeTo(address) external;\\n\\n function upgradeToAndCall(address, bytes memory) external payable;\\n}\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n *\\n * NOTE: The real interface of this proxy is that defined in `ITransparentUpgradeableProxy`. This contract does not\\n * inherit from that interface, and instead the admin functions are implicitly implemented using a custom dispatch\\n * mechanism in `_fallback`. Consequently, the compiler will not produce an ABI for this contract. This is necessary to\\n * fully implement transparency without decoding reverts caused by selector clashes between the proxy and the\\n * implementation.\\n *\\n * WARNING: It is not recommended to extend this contract to add additional external functions. If you do so, the compiler\\n * will not check that there are no selector conflicts, due to the note above. A selector clash between any new function\\n * and the functions declared in {ITransparentUpgradeableProxy} will be resolved in favor of the new one. This could\\n * render the admin operations inaccessible, which could prevent upgradeability. Transparency may also be compromised.\\n */\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n _changeAdmin(admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n *\\n * CAUTION: This modifier is deprecated, as it could cause issues if the modified function has arguments, and the\\n * implementation provides a function with the same selector.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev If caller is the admin process the call internally, otherwise transparently fallback to the proxy behavior\\n */\\n function _fallback() internal virtual override {\\n if (msg.sender == _getAdmin()) {\\n bytes memory ret;\\n bytes4 selector = msg.sig;\\n if (selector == ITransparentUpgradeableProxy.upgradeTo.selector) {\\n ret = _dispatchUpgradeTo();\\n } else if (selector == ITransparentUpgradeableProxy.upgradeToAndCall.selector) {\\n ret = _dispatchUpgradeToAndCall();\\n } else if (selector == ITransparentUpgradeableProxy.changeAdmin.selector) {\\n ret = _dispatchChangeAdmin();\\n } else if (selector == ITransparentUpgradeableProxy.admin.selector) {\\n ret = _dispatchAdmin();\\n } else if (selector == ITransparentUpgradeableProxy.implementation.selector) {\\n ret = _dispatchImplementation();\\n } else {\\n revert(\\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n }\\n assembly {\\n return(add(ret, 0x20), mload(ret))\\n }\\n } else {\\n super._fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function _dispatchAdmin() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address admin = _getAdmin();\\n return abi.encode(admin);\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function _dispatchImplementation() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address implementation = _implementation();\\n return abi.encode(implementation);\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _dispatchChangeAdmin() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address newAdmin = abi.decode(msg.data[4:], (address));\\n _changeAdmin(newAdmin);\\n\\n return \\\"\\\";\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n */\\n function _dispatchUpgradeTo() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address newImplementation = abi.decode(msg.data[4:], (address));\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n\\n return \\\"\\\";\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n */\\n function _dispatchUpgradeToAndCall() private returns (bytes memory) {\\n (address newImplementation, bytes memory data) = abi.decode(msg.data[4:], (address, bytes));\\n _upgradeToAndCall(newImplementation, data, true);\\n\\n return \\\"\\\";\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev To keep this contract fully transparent, all `ifAdmin` functions must be payable. This helper is here to\\n * emulate some proxy functions being non-payable while still allowing value to pass through.\\n */\\n function _requireZeroValue() private {\\n require(msg.value == 0);\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/utils/Context.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/IERC1967.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade is IERC1967 {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(\\n Address.isContract(IBeacon(newBeacon).implementation()),\\n \\\"ERC1967: beacon implementation is not a contract\\\"\\n );\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/proxy/Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overridden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/utils/StorageSlot.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/utils/Address.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n *\\n * _Available since v4.8._\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n if (success) {\\n if (returndata.length == 0) {\\n // only check isContract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n }\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason or using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/interfaces/draft-IERC1822.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/interfaces/IERC1967.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (interfaces/IERC1967.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\\n *\\n * _Available since v4.9._\\n */\\ninterface IERC1967 {\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Emitted when the beacon is changed.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n}\\n\"\r\n },\r\n \".deps/npm/@openzeppelin/contracts/proxy/beacon/IBeacon.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"optimizer\": {\r\n \"enabled\": false,\r\n \"runs\": 200\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n }\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"TransparentUpgradeableProxy","CompilerVersion":"v0.8.15+commit.e14f2714","CompilerType":"solc-j","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"000000000000000000000000cd368c1d80120b0dd92447c87eb570154f8e685c0000000000000000000000000cac2b1a172ac24012621101634dd5abd6399add00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044da35a26f0000000000000000000000000000000000000000204fce5e3e250261100000000000000000000000000000004e59e778a0fb77fbb305637435c62faed9aed40f00000000000000000000000000000000000000000000000000000000","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0xcd368c1d80120b0dd92447c87eb570154f8e685c","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/61013959aa15bb90be63c7a093148a7bcd856d2b79cc08d7c5366f9d56e8833f b/tests/cachedrpc/61013959aa15bb90be63c7a093148a7bcd856d2b79cc08d7c5366f9d56e8833f new file mode 100644 index 00000000..53a6c3c0 --- /dev/null +++ b/tests/cachedrpc/61013959aa15bb90be63c7a093148a7bcd856d2b79cc08d7c5366f9d56e8833f @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","contractCreator":"0x4f26ffbe5f04ed43630fdc30a87638d53d0b0876","txHash":"0xb95343413e459a0f97461812111254163ae53467855c0d73e0f1e7c5b8442fa3","blockNumber":"4719568","timestamp":"1513077455","contractFactory":"","creationBytecode":"0x60606040526040805190810160405280600d81526020017f57726170706564204574686572000000000000000000000000000000000000008152506000908051906020019061004f9291906100c8565b506040805190810160405280600481526020017f57455448000000000000000000000000000000000000000000000000000000008152506001908051906020019061009b9291906100c8565b506012600260006101000a81548160ff021916908360ff16021790555034156100c357600080fd5b61016d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010957805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013657825182559160200191906001019061011b565b5b5090506101449190610148565b5090565b61016a91905b8082111561016657600081600090555060010161014e565b5090565b90565b610c348061017c6000396000f3006060604052600436106100af576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146100b9578063095ea7b31461014757806318160ddd146101a157806323b872dd146101ca5780632e1a7d4d14610243578063313ce5671461026657806370a082311461029557806395d89b41146102e2578063a9059cbb14610370578063d0e30db0146103ca578063dd62ed3e146103d4575b6100b7610440565b005b34156100c457600080fd5b6100cc6104dd565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561010c5780820151818401526020810190506100f1565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015257600080fd5b610187600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061057b565b604051808215151515815260200191505060405180910390f35b34156101ac57600080fd5b6101b461066d565b6040518082815260200191505060405180910390f35b34156101d557600080fd5b610229600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061068c565b604051808215151515815260200191505060405180910390f35b341561024e57600080fd5b61026460048080359060200190919050506109d9565b005b341561027157600080fd5b610279610b05565b604051808260ff1660ff16815260200191505060405180910390f35b34156102a057600080fd5b6102cc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b18565b6040518082815260200191505060405180910390f35b34156102ed57600080fd5b6102f5610b30565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561033557808201518184015260208101905061031a565b50505050905090810190601f1680156103625780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037b57600080fd5b6103b0600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bce565b604051808215151515815260200191505060405180910390f35b6103d2610440565b005b34156103df57600080fd5b61042a600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610be3565b6040518082815260200191505060405180910390f35b34600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c346040518082815260200191505060405180910390a2565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105735780601f1061054857610100808354040283529160200191610573565b820191906000526020600020905b81548152906001019060200180831161055657829003601f168201915b505050505081565b600081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600081600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156106dc57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156107b457507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414155b156108cf5781600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561084457600080fd5b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b81600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515610a2757600080fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ab457600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040518082815260200191505060405180910390a250565b600260009054906101000a900460ff1681565b60036020528060005260406000206000915090505481565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610bc65780601f10610b9b57610100808354040283529160200191610bc6565b820191906000526020600020905b815481529060010190602001808311610ba957829003601f168201915b505050505081565b6000610bdb33848461068c565b905092915050565b60046020528160005260406000206020528060005260406000206000915091505054815600a165627a7a72305820deb4c2ccab3c2fdca32ab3f46728389c2fe2c165d5fafa07661e4e004f6c344a0029"}]} \ No newline at end of file diff --git a/tests/cachedrpc/61a300a2f3003efb3e325322f780c03a0cc9f0977e38b491eee1f8a55df2fc27 b/tests/cachedrpc/61a300a2f3003efb3e325322f780c03a0cc9f0977e38b491eee1f8a55df2fc27 new file mode 100644 index 00000000..f6a0f5e9 --- /dev/null +++ b/tests/cachedrpc/61a300a2f3003efb3e325322f780c03a0cc9f0977e38b491eee1f8a55df2fc27 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x0000000000085d4780b73119b644ae5ecd22b376","contractCreator":"0x7ba7ef06a2621267f063ef2db2d482d5b507d8b3","txHash":"0x109dd106b68123f40b6112ee660d619d152db7e2468623ee57829c3be686c6b8","blockNumber":"6988184","timestamp":"1546294558","contractFactory":"","creationBytecode":"0x608060405234801561001057600080fd5b5061002333640100000000610028810204565b61005d565b604080517f747275655553442e70726f78792e6f776e6572000000000000000000000000008152905190819003601301902055565b6105c78061006c6000396000f3006080604052600436106100775763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663025313a281146101085780630add8140146101395780633659cfe61461014e5780635c60da1b146101715780639965b3d614610186578063f1739cae1461019b575b60006100816101bc565b9050600160a060020a03811615156100e3576040805160e560020a62461bcd02815260206004820152601f60248201527f696d706c656d656e746174696f6e20636f6e7472616374206e6f742073657400604482015290519081900360640190fd5b60405136600082376000803683855af43d806000843e818015610104578184f35b8184fd5b34801561011457600080fd5b5061011d6101f2565b60408051600160a060020a039092168252519081900360200190f35b34801561014557600080fd5b5061011d610228565b34801561015a57600080fd5b5061016f600160a060020a036004351661025e565b005b34801561017d57600080fd5b5061011d6101bc565b34801561019257600080fd5b5061016f6102dc565b3480156101a757600080fd5b5061016f600160a060020a03600435166103b8565b604080517f747275655553442e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190205490565b604080517f747275655553442e70726f78792e6f776e657200000000000000000000000000815290519081900360130190205490565b604080517f747275655553442e70656e64696e672e70726f78792e6f776e657200000000008152905190819003601b0190205490565b6102666101f2565b600160a060020a031633600160a060020a03161415156102d0576040805160e560020a62461bcd02815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b6102d981610496565b50565b6102e4610228565b600160a060020a031633600160a060020a031614151561034e576040805160e560020a62461bcd02815260206004820152601860248201527f6f6e6c792070656e64696e672050726f7879204f776e65720000000000000000604482015290519081900360640190fd5b610356610228565b600160a060020a03166103676101f2565b600160a060020a03167f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd960405160405180910390a36103ac6103a7610228565b6104fc565b6103b66000610531565b565b6103c06101f2565b600160a060020a031633600160a060020a031614151561042a576040805160e560020a62461bcd02815260206004820152601060248201527f6f6e6c792050726f7879204f776e657200000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038116151561043f57600080fd5b61044881610531565b7fb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b6104716101f2565b60408051600160a060020a03928316815291841660208301528051918290030190a150565b60006104a06101bc565b9050600160a060020a0380821690831614156104bb57600080fd5b6104c482610566565b604051600160a060020a038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b604080517f747275655553442e70726f78792e6f776e6572000000000000000000000000008152905190819003601301902055565b604080517f747275655553442e70656e64696e672e70726f78792e6f776e657200000000008152905190819003601b01902055565b604080517f747275655553442e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c019020555600a165627a7a7230582066d4b5932adad66dd7b19bdf5b36c25e9e99e563f06c779eeef9427bb3c9c7670029"}]} \ No newline at end of file diff --git a/tests/cachedrpc/622a453485c4e18b6fb40a0c7d9de994965b1e64b220d21209f5cfd5b85e8360 b/tests/cachedrpc/622a453485c4e18b6fb40a0c7d9de994965b1e64b220d21209f5cfd5b85e8360 new file mode 100644 index 00000000..c2529858 --- /dev/null +++ b/tests/cachedrpc/622a453485c4e18b6fb40a0c7d9de994965b1e64b220d21209f5cfd5b85e8360 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","contractCreator":"0x8b41783ad99fcbeb8d575fa7a7b5a04fa0b8d80b","txHash":"0xdaaa0b08e0fa932ebf1ebc9ed2de9a6eb4db3f03c77e9ed937d9c9a3a49e2b81","blockNumber":"6766284","timestamp":"1543095952","contractFactory":"","creationBytecode":"0x6005805460a860020a61ffff0219169055600b60808181527f577261707065642042544300000000000000000000000000000000000000000060a0908152610100604052600460c09081527f574254430000000000000000000000000000000000000000000000000000000060e0529192600891620000829160039190620000c7565b50815162000098906004906020850190620000c7565b506005805460ff191660ff929092169190911761010060a860020a0319166101003302179055506200016c9050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200010a57805160ff19168380011785556200013a565b828001600101855582156200013a579182015b828111156200013a5782518255916020019190600101906200011d565b50620001489291506200014c565b5090565b6200016991905b8082111562000148576000815560010162000153565b90565b6111e6806200017c6000396000f30060806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461014257806306fdde031461016b578063095ea7b3146101f557806317ffc3201461021957806318160ddd1461023c57806323b872dd14610263578063313ce5671461028d5780633f4ba83a146102b857806340c10f19146102cd57806342966c68146102f15780634e71e0c8146103095780635c975abb1461031e578063661884631461033357806370a0823114610357578063715018a6146103785780637d64bcb41461038d5780638456cb59146103a25780638da5cb5b146103b757806395d89b41146103e8578063a9059cbb146103fd578063d73dd62314610421578063dd62ed3e14610445578063e30c39781461046c578063f2fde38b14610481575b600080fd5b34801561014e57600080fd5b506101576104a2565b604080519115158252519081900360200190f35b34801561017757600080fd5b506101806104c4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b50610157600160a060020a0360043516602435610552565b34801561022557600080fd5b5061023a600160a060020a036004351661057d565b005b34801561024857600080fd5b50610251610655565b60408051918252519081900360200190f35b34801561026f57600080fd5b50610157600160a060020a036004358116906024351660443561065b565b34801561029957600080fd5b506102a2610688565b6040805160ff9092168252519081900360200190f35b3480156102c457600080fd5b5061023a610691565b3480156102d957600080fd5b50610157600160a060020a0360043516602435610710565b3480156102fd57600080fd5b5061023a60043561081f565b34801561031557600080fd5b5061023a610847565b34801561032a57600080fd5b506101576108ef565b34801561033f57600080fd5b50610157600160a060020a03600435166024356108ff565b34801561036357600080fd5b50610251600160a060020a0360043516610923565b34801561038457600080fd5b5061023a61093e565b34801561039957600080fd5b506101576109c1565b3480156103ae57600080fd5b5061023a6109e6565b3480156103c357600080fd5b506103cc610a6a565b60408051600160a060020a039092168252519081900360200190f35b3480156103f457600080fd5b50610180610a7e565b34801561040957600080fd5b50610157600160a060020a0360043516602435610ad9565b34801561042d57600080fd5b50610157600160a060020a0360043516602435610afd565b34801561045157600080fd5b50610251600160a060020a0360043581169060243516610b21565b34801561047857600080fd5b506103cc610b4c565b34801561048d57600080fd5b5061023a600160a060020a0360043516610b5b565b6005547501000000000000000000000000000000000000000000900460ff1681565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561054a5780601f1061051f5761010080835404028352916020019161054a565b820191906000526020600020905b81548152906001019060200180831161052d57829003601f168201915b505050505081565b60055460009060b060020a900460ff161561056c57600080fd5b6105768383610ba6565b9392505050565b6005546000906101009004600160a060020a0316331461059c57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038416916370a082319160248083019260209291908290030181600087803b1580156105fd57600080fd5b505af1158015610611573d6000803e3d6000fd5b505050506040513d602081101561062757600080fd5b505160055490915061065190600160a060020a03848116916101009004168363ffffffff610c0c16565b5050565b60015490565b60055460009060b060020a900460ff161561067557600080fd5b610680848484610cc4565b949350505050565b60055460ff1681565b6005546101009004600160a060020a031633146106ad57600080fd5b60055460b060020a900460ff1615156106c557600080fd5b6005805476ff00000000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b6005546000906101009004600160a060020a0316331461072f57600080fd5b6005547501000000000000000000000000000000000000000000900460ff161561075857600080fd5b60015461076b908363ffffffff610e2716565b600155600160a060020a038316600090815260208190526040902054610797908363ffffffff610e2716565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a0385169160009160008051602061119b8339815191529181900360200190a350600192915050565b6005546101009004600160a060020a0316331461083b57600080fd5b61084481610e3a565b50565b600654600160a060020a0316331461085e57600080fd5b600654600554604051600160a060020a0392831692610100909204909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546005805474ffffffffffffffffffffffffffffffffffffffff001916610100600160a060020a0384160217905573ffffffffffffffffffffffffffffffffffffffff19169055565b60055460b060020a900460ff1681565b60055460009060b060020a900460ff161561091957600080fd5b6105768383610e44565b600160a060020a031660009081526020819052604090205490565b6005546101009004600160a060020a0316331461095a57600080fd5b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f72656e6f756e63696e67206f776e65727368697020697320626c6f636b656400604482015290519081900360640190fd5b6005546000906101009004600160a060020a031633146109e057600080fd5b50600090565b6005546101009004600160a060020a03163314610a0257600080fd5b60055460b060020a900460ff1615610a1957600080fd5b6005805476ff00000000000000000000000000000000000000000000191660b060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6005546101009004600160a060020a031681565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561054a5780601f1061051f5761010080835404028352916020019161054a565b60055460009060b060020a900460ff1615610af357600080fd5b6105768383610f33565b60055460009060b060020a900460ff1615610b1757600080fd5b6105768383611000565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600654600160a060020a031681565b6005546101009004600160a060020a03163314610b7757600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610c8857600080fd5b505af1158015610c9c573d6000803e3d6000fd5b505050506040513d6020811015610cb257600080fd5b50511515610cbf57600080fd5b505050565b600160a060020a038316600090815260208190526040812054821115610ce957600080fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054821115610d1957600080fd5b600160a060020a0383161515610d2e57600080fd5b600160a060020a038416600090815260208190526040902054610d57908363ffffffff61109916565b600160a060020a038086166000908152602081905260408082209390935590851681522054610d8c908363ffffffff610e2716565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610dce908363ffffffff61109916565b600160a060020a038086166000818152600260209081526040808320338452825291829020949094558051868152905192871693919260008051602061119b833981519152929181900390910190a35060019392505050565b81810182811015610e3457fe5b92915050565b61084433826110ab565b336000908152600260209081526040808320600160a060020a0386168452909152812054808310610e9857336000908152600260209081526040808320600160a060020a0388168452909152812055610ecd565b610ea8818463ffffffff61109916565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b33600090815260208190526040812054821115610f4f57600080fd5b600160a060020a0383161515610f6457600080fd5b33600090815260208190526040902054610f84908363ffffffff61109916565b3360009081526020819052604080822092909255600160a060020a03851681522054610fb6908363ffffffff610e2716565b600160a060020a0384166000818152602081815260409182902093909355805185815290519192339260008051602061119b8339815191529281900390910190a350600192915050565b336000908152600260209081526040808320600160a060020a0386168452909152812054611034908363ffffffff610e2716565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000828211156110a557fe5b50900390565b600160a060020a0382166000908152602081905260409020548111156110d057600080fd5b600160a060020a0382166000908152602081905260409020546110f9908263ffffffff61109916565b600160a060020a038316600090815260208190526040902055600154611125908263ffffffff61109916565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a0385169160008051602061119b8339815191529181900360200190a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820a1e0f5cdc96081f44eea73f352e7ef8fbfbacd306ec0f0b7275c9752d31fbe320029"}]} \ No newline at end of file diff --git a/tests/cachedrpc/622b1d891136c51a42d942566100f762a210d3584b30e501e15b1a22b1177bf7 b/tests/cachedrpc/622b1d891136c51a42d942566100f762a210d3584b30e501e15b1a22b1177bf7 new file mode 100644 index 00000000..6a4b87a4 --- /dev/null +++ b/tests/cachedrpc/622b1d891136c51a42d942566100f762a210d3584b30e501e15b1a22b1177bf7 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{\"Common.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\n/*\\n Common Utility librarries.\\n I. Addresses (extending address).\\n*/\\nlibrary Addresses {\\n function isContract(address account) internal view returns (bool) {\\n uint256 size;\\n assembly {\\n size := extcodesize(account)\\n }\\n return size \\u003e 0;\\n }\\n\\n function performEthTransfer(address recipient, uint256 amount) internal {\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\"); // NOLINT: low-level-calls.\\n require(success, \\\"ETH_TRANSFER_FAILED\\\");\\n }\\n\\n /*\\n Safe wrapper around ERC20/ERC721 calls.\\n This is required because many deployed ERC20 contracts don\\u0027t return a value.\\n See https://github.com/ethereum/solidity/issues/4116.\\n */\\n function safeTokenContractCall(address tokenAddress, bytes memory callData) internal {\\n require(isContract(tokenAddress), \\\"BAD_TOKEN_ADDRESS\\\");\\n // NOLINTNEXTLINE: low-level-calls.\\n (bool success, bytes memory returndata) = tokenAddress.call(callData);\\n require(success, string(returndata));\\n\\n if (returndata.length \\u003e 0) {\\n require(abi.decode(returndata, (bool)), \\\"TOKEN_OPERATION_FAILED\\\");\\n }\\n }\\n\\n /*\\n Validates that the passed contract address is of a real contract,\\n and that its id hash (as infered fromn identify()) matched the expected one.\\n */\\n function validateContractId(address contractAddress, bytes32 expectedIdHash) internal {\\n require(isContract(contractAddress), \\\"ADDRESS_NOT_CONTRACT\\\");\\n (bool success, bytes memory returndata) = contractAddress.call( // NOLINT: low-level-calls.\\n abi.encodeWithSignature(\\\"identify()\\\")\\n );\\n require(success, \\\"FAILED_TO_IDENTIFY_CONTRACT\\\");\\n string memory realContractId = abi.decode(returndata, (string));\\n require(\\n keccak256(abi.encodePacked(realContractId)) == expectedIdHash,\\n \\\"UNEXPECTED_CONTRACT_IDENTIFIER\\\"\\n );\\n }\\n}\\n\\n/*\\n II. StarkExTypes - Common data types.\\n*/\\nlibrary StarkExTypes {\\n // Structure representing a list of verifiers (validity/availability).\\n // A statement is valid only if all the verifiers in the list agree on it.\\n // Adding a verifier to the list is immediate - this is used for fast resolution of\\n // any soundness issues.\\n // Removing from the list is time-locked, to ensure that any user of the system\\n // not content with the announced removal has ample time to leave the system before it is\\n // removed.\\n struct ApprovalChainData {\\n address[] list;\\n // Represents the time after which the verifier with the given address can be removed.\\n // Removal of the verifier with address A is allowed only in the case the value\\n // of unlockedForRemovalTime[A] != 0 and unlockedForRemovalTime[A] \\u003c (current time).\\n mapping(address =\\u003e uint256) unlockedForRemovalTime;\\n }\\n}\\n\"},\"Governance.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nimport \\\"MGovernance.sol\\\";\\n\\n/*\\n Implements Generic Governance, applicable for both proxy and main contract, and possibly others.\\n Notes:\\n The use of the same function names by both the Proxy and a delegated implementation\\n is not possible since calling the implementation functions is done via the default function\\n of the Proxy. For this reason, for example, the implementation of MainContract (MainGovernance)\\n exposes mainIsGovernor, which calls the internal _isGovernor method.\\n*/\\nabstract contract Governance is MGovernance {\\n event LogNominatedGovernor(address nominatedGovernor);\\n event LogNewGovernorAccepted(address acceptedGovernor);\\n event LogRemovedGovernor(address removedGovernor);\\n event LogNominationCancelled();\\n\\n function getGovernanceInfo() internal view virtual returns (GovernanceInfoStruct storage);\\n\\n /*\\n Current code intentionally prevents governance re-initialization.\\n This may be a problem in an upgrade situation, in a case that the upgrade-to implementation\\n performs an initialization (for real) and within that calls initGovernance().\\n\\n Possible workarounds:\\n 1. Clearing the governance info altogether by changing the MAIN_GOVERNANCE_INFO_TAG.\\n This will remove existing main governance information.\\n 2. Modify the require part in this function, so that it will exit quietly\\n when trying to re-initialize (uncomment the lines below).\\n */\\n function initGovernance() internal {\\n GovernanceInfoStruct storage gub = getGovernanceInfo();\\n require(!gub.initialized, \\\"ALREADY_INITIALIZED\\\");\\n gub.initialized = true; // to ensure addGovernor() won\\u0027t fail.\\n // Add the initial governer.\\n addGovernor(msg.sender);\\n }\\n\\n function _isGovernor(address testGovernor) internal view override returns (bool) {\\n GovernanceInfoStruct storage gub = getGovernanceInfo();\\n return gub.effectiveGovernors[testGovernor];\\n }\\n\\n /*\\n Cancels the nomination of a governor candidate.\\n */\\n function _cancelNomination() internal onlyGovernance {\\n GovernanceInfoStruct storage gub = getGovernanceInfo();\\n gub.candidateGovernor = address(0x0);\\n emit LogNominationCancelled();\\n }\\n\\n function _nominateNewGovernor(address newGovernor) internal onlyGovernance {\\n GovernanceInfoStruct storage gub = getGovernanceInfo();\\n require(!_isGovernor(newGovernor), \\\"ALREADY_GOVERNOR\\\");\\n gub.candidateGovernor = newGovernor;\\n emit LogNominatedGovernor(newGovernor);\\n }\\n\\n /*\\n The addGovernor is called in two cases:\\n 1. by _acceptGovernance when a new governor accepts its role.\\n 2. by initGovernance to add the initial governor.\\n The difference is that the init path skips the nominate step\\n that would fail because of the onlyGovernance modifier.\\n */\\n function addGovernor(address newGovernor) private {\\n require(!_isGovernor(newGovernor), \\\"ALREADY_GOVERNOR\\\");\\n GovernanceInfoStruct storage gub = getGovernanceInfo();\\n gub.effectiveGovernors[newGovernor] = true;\\n }\\n\\n function _acceptGovernance() internal {\\n // The new governor was proposed as a candidate by the current governor.\\n GovernanceInfoStruct storage gub = getGovernanceInfo();\\n require(msg.sender == gub.candidateGovernor, \\\"ONLY_CANDIDATE_GOVERNOR\\\");\\n\\n // Update state.\\n addGovernor(gub.candidateGovernor);\\n gub.candidateGovernor = address(0x0);\\n\\n // Send a notification about the change of governor.\\n emit LogNewGovernorAccepted(msg.sender);\\n }\\n\\n /*\\n Remove a governor from office.\\n */\\n function _removeGovernor(address governorForRemoval) internal onlyGovernance {\\n require(msg.sender != governorForRemoval, \\\"GOVERNOR_SELF_REMOVE\\\");\\n GovernanceInfoStruct storage gub = getGovernanceInfo();\\n require(_isGovernor(governorForRemoval), \\\"NOT_GOVERNOR\\\");\\n gub.effectiveGovernors[governorForRemoval] = false;\\n emit LogRemovedGovernor(governorForRemoval);\\n }\\n}\\n\"},\"GovernanceStorage.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\nimport \\\"MGovernance.sol\\\";\\n\\n/*\\n Holds the governance slots for ALL entities, including proxy and the main contract.\\n*/\\ncontract GovernanceStorage {\\n // A map from a Governor tag to its own GovernanceInfoStruct.\\n mapping(string =\\u003e GovernanceInfoStruct) internal governanceInfo; //NOLINT uninitialized-state.\\n}\\n\"},\"MGovernance.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nstruct GovernanceInfoStruct {\\n mapping(address =\\u003e bool) effectiveGovernors;\\n address candidateGovernor;\\n bool initialized;\\n}\\n\\nabstract contract MGovernance {\\n function _isGovernor(address testGovernor) internal view virtual returns (bool);\\n\\n /*\\n Allows calling the function only by a Governor.\\n */\\n modifier onlyGovernance() {\\n require(_isGovernor(msg.sender), \\\"ONLY_GOVERNANCE\\\");\\n _;\\n }\\n}\\n\"},\"Proxy.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nimport \\\"ProxyGovernance.sol\\\";\\nimport \\\"ProxyStorage.sol\\\";\\nimport \\\"StorageSlots.sol\\\";\\nimport \\\"Common.sol\\\";\\n\\n/**\\n The Proxy contract implements delegation of calls to other contracts (`implementations`), with\\n proper forwarding of return values and revert reasons. This pattern allows retaining the contract\\n storage while replacing implementation code.\\n\\n The following operations are supported by the proxy contract:\\n\\n - :sol:func:`addImplementation`: Defines a new implementation, the data with which it should be initialized and whether this will be the last version of implementation.\\n - :sol:func:`upgradeTo`: Once an implementation is added, the governor may upgrade to that implementation only after a safety time period has passed (time lock), the current implementation is not the last version and the implementation is not frozen (see :sol:mod:`FullWithdrawals`).\\n - :sol:func:`removeImplementation`: Any announced implementation may be removed. Removing an implementation is especially important once it has been used for an upgrade in order to avoid an additional unwanted revert to an older version.\\n\\n The only entity allowed to perform the above operations is the proxy governor\\n (see :sol:mod:`ProxyGovernance`).\\n\\n Every implementation is required to have an `initialize` function that replaces the constructor\\n of a normal contract. Furthermore, the only parameter of this function is an array of bytes\\n (`data`) which may be decoded arbitrarily by the `initialize` function. It is up to the\\n implementation to ensure that this function cannot be run more than once if so desired.\\n\\n When an implementation is added (:sol:func:`addImplementation`) the initialization `data` is also\\n announced, allowing users of the contract to analyze the full effect of an upgrade to the new\\n implementation. During an :sol:func:`upgradeTo`, the `data` is provided again and only if it is\\n identical to the announced `data` is the upgrade performed by pointing the proxy to the new\\n implementation and calling its `initialize` function with this `data`.\\n\\n It is the responsibility of the implementation not to overwrite any storage belonging to the\\n proxy (`ProxyStorage`). In addition, upon upgrade, the new implementation is assumed to be\\n backward compatible with previous implementations with respect to the storage used until that\\n point.\\n*/\\ncontract Proxy is ProxyStorage, ProxyGovernance, StorageSlots {\\n // Emitted when the active implementation is replaced.\\n event ImplementationUpgraded(address indexed implementation, bytes initializer);\\n\\n // Emitted when an implementation is submitted as an upgrade candidate and a time lock\\n // is activated.\\n event ImplementationAdded(address indexed implementation, bytes initializer, bool finalize);\\n\\n // Emitted when an implementation is removed from the list of upgrade candidates.\\n event ImplementationRemoved(address indexed implementation, bytes initializer, bool finalize);\\n\\n // Emitted when the implementation is finalized.\\n event FinalizedImplementation(address indexed implementation);\\n\\n using Addresses for address;\\n\\n string public constant PROXY_VERSION = \\\"3.0.1\\\";\\n\\n constructor(uint256 upgradeActivationDelay) public {\\n initGovernance();\\n setUpgradeActivationDelay(upgradeActivationDelay);\\n }\\n\\n function setUpgradeActivationDelay(uint256 delayInSeconds) private {\\n bytes32 slot = UPGRADE_DELAY_SLOT;\\n assembly {\\n sstore(slot, delayInSeconds)\\n }\\n }\\n\\n function getUpgradeActivationDelay() public view returns (uint256 delay) {\\n bytes32 slot = UPGRADE_DELAY_SLOT;\\n assembly {\\n delay := sload(slot)\\n }\\n return delay;\\n }\\n\\n /*\\n Returns the address of the current implementation.\\n */\\n // NOLINTNEXTLINE external-function.\\n function implementation() public view returns (address _implementation) {\\n bytes32 slot = IMPLEMENTATION_SLOT;\\n assembly {\\n _implementation := sload(slot)\\n }\\n }\\n\\n /*\\n Returns true if the implementation is frozen.\\n If the implementation was not assigned yet, returns false.\\n */\\n function implementationIsFrozen() private returns (bool) {\\n address _implementation = implementation();\\n\\n // We can\\u0027t call low level implementation before it\\u0027s assigned. (i.e. ZERO).\\n if (_implementation == address(0x0)) {\\n return false;\\n }\\n\\n // NOLINTNEXTLINE: low-level-calls.\\n (bool success, bytes memory returndata) = _implementation.delegatecall(\\n abi.encodeWithSignature(\\\"isFrozen()\\\")\\n );\\n require(success, string(returndata));\\n return abi.decode(returndata, (bool));\\n }\\n\\n /*\\n This method blocks delegation to initialize().\\n Only upgradeTo should be able to delegate call to initialize().\\n */\\n function initialize(\\n bytes calldata /*data*/\\n ) external pure {\\n revert(\\\"CANNOT_CALL_INITIALIZE\\\");\\n }\\n\\n modifier notFinalized() {\\n require(isNotFinalized(), \\\"IMPLEMENTATION_FINALIZED\\\");\\n _;\\n }\\n\\n /*\\n Forbids calling the function if the implementation is frozen.\\n This modifier relies on the lower level (logical contract) implementation of isFrozen().\\n */\\n modifier notFrozen() {\\n require(!implementationIsFrozen(), \\\"STATE_IS_FROZEN\\\");\\n _;\\n }\\n\\n /*\\n This entry point serves only transactions with empty calldata. (i.e. pure value transfer tx).\\n We don\\u0027t expect to receive such, thus block them.\\n */\\n receive() external payable {\\n revert(\\\"CONTRACT_NOT_EXPECTED_TO_RECEIVE\\\");\\n }\\n\\n /*\\n Contract\\u0027s default function. Delegates execution to the implementation contract.\\n It returns back to the external caller whatever the implementation delegated code returns.\\n */\\n fallback() external payable {\\n address _implementation = implementation();\\n require(_implementation != address(0x0), \\\"MISSING_IMPLEMENTATION\\\");\\n\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 for now, as we don\\u0027t know the out size yet.\\n let result := delegatecall(gas(), _implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /*\\n Sets the implementation address of the proxy.\\n */\\n function setImplementation(address newImplementation) private {\\n bytes32 slot = IMPLEMENTATION_SLOT;\\n assembly {\\n sstore(slot, newImplementation)\\n }\\n }\\n\\n /*\\n Returns true if the contract is not in the finalized state.\\n */\\n function isNotFinalized() public view returns (bool notFinal) {\\n bytes32 slot = FINALIZED_STATE_SLOT;\\n uint256 slotValue;\\n assembly {\\n slotValue := sload(slot)\\n }\\n notFinal = (slotValue == 0);\\n }\\n\\n /*\\n Marks the current implementation as finalized.\\n */\\n function setFinalizedFlag() private {\\n bytes32 slot = FINALIZED_STATE_SLOT;\\n assembly {\\n sstore(slot, 0x1)\\n }\\n }\\n\\n /*\\n Introduce an implementation and its initialization vector,\\n and start the time-lock before it can be upgraded to.\\n addImplementation is not blocked when frozen or finalized.\\n (upgradeTo API is blocked when finalized or frozen).\\n */\\n function addImplementation(\\n address newImplementation,\\n bytes calldata data,\\n bool finalize\\n ) external onlyGovernance {\\n require(newImplementation.isContract(), \\\"ADDRESS_NOT_CONTRACT\\\");\\n\\n bytes32 implVectorHash = keccak256(abi.encode(newImplementation, data, finalize));\\n\\n uint256 activationTime = block.timestamp + getUpgradeActivationDelay();\\n\\n enabledTime[implVectorHash] = activationTime;\\n emit ImplementationAdded(newImplementation, data, finalize);\\n }\\n\\n /*\\n Removes a candidate implementation.\\n Note that it is possible to remove the current implementation. Doing so doesn\\u0027t affect the\\n current implementation, but rather revokes it as a future candidate.\\n */\\n function removeImplementation(\\n address removedImplementation,\\n bytes calldata data,\\n bool finalize\\n ) external onlyGovernance {\\n bytes32 implVectorHash = keccak256(abi.encode(removedImplementation, data, finalize));\\n\\n // If we have initializer, we set the hash of it.\\n uint256 activationTime = enabledTime[implVectorHash];\\n require(activationTime \\u003e 0, \\\"UNKNOWN_UPGRADE_INFORMATION\\\");\\n delete enabledTime[implVectorHash];\\n emit ImplementationRemoved(removedImplementation, data, finalize);\\n }\\n\\n /*\\n Upgrades the proxy to a new implementation, with its initialization.\\n to upgrade successfully, implementation must have been added time-lock agreeably\\n before, and the init vector must be identical ot the one submitted before.\\n\\n Upon assignment of new implementation address,\\n its initialize will be called with the initializing vector (even if empty).\\n Therefore, the implementation MUST must have such a method.\\n\\n Note - Initialization data is committed to in advance, therefore it must remain valid\\n until the actual contract upgrade takes place.\\n\\n Care should be taken regarding initialization data and flow when planning the contract upgrade.\\n\\n When planning contract upgrade, special care is also needed with regard to governance\\n (See comments in Governance.sol).\\n */\\n // NOLINTNEXTLINE: reentrancy-events timestamp.\\n function upgradeTo(\\n address newImplementation,\\n bytes calldata data,\\n bool finalize\\n ) external payable onlyGovernance notFinalized notFrozen {\\n bytes32 implVectorHash = keccak256(abi.encode(newImplementation, data, finalize));\\n uint256 activationTime = enabledTime[implVectorHash];\\n require(activationTime \\u003e 0, \\\"UNKNOWN_UPGRADE_INFORMATION\\\");\\n require(newImplementation.isContract(), \\\"ADDRESS_NOT_CONTRACT\\\");\\n\\n // On the first time an implementation is set - time-lock should not be enforced.\\n require(\\n activationTime \\u003c= block.timestamp || implementation() == address(0x0),\\n \\\"UPGRADE_NOT_ENABLED_YET\\\"\\n );\\n\\n setImplementation(newImplementation);\\n\\n // NOLINTNEXTLINE: low-level-calls controlled-delegatecall.\\n (bool success, bytes memory returndata) = newImplementation.delegatecall(\\n abi.encodeWithSelector(this.initialize.selector, data)\\n );\\n require(success, string(returndata));\\n\\n // Verify that the new implementation is not frozen post initialization.\\n // NOLINTNEXTLINE: low-level-calls controlled-delegatecall.\\n (success, returndata) = newImplementation.delegatecall(\\n abi.encodeWithSignature(\\\"isFrozen()\\\")\\n );\\n require(success, \\\"CALL_TO_ISFROZEN_REVERTED\\\");\\n require(!abi.decode(returndata, (bool)), \\\"NEW_IMPLEMENTATION_FROZEN\\\");\\n\\n if (finalize) {\\n setFinalizedFlag();\\n emit FinalizedImplementation(newImplementation);\\n }\\n\\n emit ImplementationUpgraded(newImplementation, data);\\n }\\n}\\n\"},\"ProxyGovernance.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nimport \\\"Governance.sol\\\";\\nimport \\\"GovernanceStorage.sol\\\";\\n\\n/**\\n The Proxy contract is governed by one or more Governors of which the initial one is the\\n deployer of the contract.\\n\\n A governor has the sole authority to perform the following operations:\\n\\n 1. Nominate additional governors (:sol:func:`proxyNominateNewGovernor`)\\n 2. Remove other governors (:sol:func:`proxyRemoveGovernor`)\\n 3. Add new `implementations` (proxied contracts)\\n 4. Remove (new or old) `implementations`\\n 5. Update `implementations` after a timelock allows it\\n\\n Adding governors is performed in a two step procedure:\\n\\n 1. First, an existing governor nominates a new governor (:sol:func:`proxyNominateNewGovernor`)\\n 2. Then, the new governor must accept governance to become a governor (:sol:func:`proxyAcceptGovernance`)\\n\\n This two step procedure ensures that a governor public key cannot be nominated unless there is an\\n entity that has the corresponding private key. This is intended to prevent errors in the addition\\n process.\\n\\n The governor private key should typically be held in a secure cold wallet or managed via a\\n multi-sig contract.\\n*/\\n/*\\n Implements Governance for the proxy contract.\\n It is a thin wrapper to the Governance contract,\\n which is needed so that it can have non-colliding function names,\\n and a specific tag (key) to allow unique state storage.\\n*/\\ncontract ProxyGovernance is GovernanceStorage, Governance {\\n // The tag is the string key that is used in the Governance storage mapping.\\n string public constant PROXY_GOVERNANCE_TAG = \\\"StarkEx.Proxy.2019.GovernorsInformation\\\";\\n\\n /*\\n Returns the GovernanceInfoStruct associated with the governance tag.\\n */\\n function getGovernanceInfo() internal view override returns (GovernanceInfoStruct storage) {\\n return governanceInfo[PROXY_GOVERNANCE_TAG];\\n }\\n\\n function proxyIsGovernor(address testGovernor) external view returns (bool) {\\n return _isGovernor(testGovernor);\\n }\\n\\n function proxyNominateNewGovernor(address newGovernor) external {\\n _nominateNewGovernor(newGovernor);\\n }\\n\\n function proxyRemoveGovernor(address governorForRemoval) external {\\n _removeGovernor(governorForRemoval);\\n }\\n\\n function proxyAcceptGovernance() external {\\n _acceptGovernance();\\n }\\n\\n function proxyCancelNomination() external {\\n _cancelNomination();\\n }\\n}\\n\"},\"ProxyStorage.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\nimport \\\"GovernanceStorage.sol\\\";\\n\\n/*\\n Holds the Proxy-specific state variables.\\n This contract is inherited by the GovernanceStorage (and indirectly by MainStorage)\\n to prevent collision hazard.\\n*/\\ncontract ProxyStorage is GovernanceStorage {\\n // NOLINTNEXTLINE: naming-convention uninitialized-state.\\n mapping(address =\\u003e bytes32) internal initializationHash_DEPRECATED;\\n\\n // The time after which we can switch to the implementation.\\n // Hash(implementation, data, finalize) =\\u003e time.\\n mapping(bytes32 =\\u003e uint256) internal enabledTime;\\n\\n // A central storage of the flags whether implementation has been initialized.\\n // Note - it can be used flexibly enough to accommodate multiple levels of initialization\\n // (i.e. using different key salting schemes for different initialization levels).\\n mapping(bytes32 =\\u003e bool) internal initialized;\\n}\\n\"},\"StorageSlots.sol\":{\"content\":\"/*\\n Copyright 2019-2022 StarkWare Industries Ltd.\\n\\n Licensed under the Apache License, Version 2.0 (the \\\"License\\\").\\n You may not use this file except in compliance with the License.\\n You may obtain a copy of the License at\\n\\n https://www.starkware.co/open-source-license/\\n\\n Unless required by applicable law or agreed to in writing,\\n software distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n See the License for the specific language governing permissions\\n and limitations under the License.\\n*/\\n// SPDX-License-Identifier: Apache-2.0.\\npragma solidity ^0.6.12;\\n\\n/**\\n StorageSlots holds the arbitrary storage slots used throughout the Proxy pattern.\\n Storage address slots are a mechanism to define an arbitrary location, that will not be\\n overlapped by the logical contracts.\\n*/\\ncontract StorageSlots {\\n // Storage slot with the address of the current implementation.\\n // The address of the slot is keccak256(\\\"StarkWare2019.implemntation-slot\\\").\\n // We need to keep this variable stored outside of the commonly used space,\\n // so that it\\u0027s not overrun by the logical implementation (the proxied contract).\\n bytes32 internal constant IMPLEMENTATION_SLOT =\\n 0x177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b24;\\n\\n // Storage slot with the address of the call-proxy current implementation.\\n // The address of the slot is keccak256(\\\"\\u0027StarkWare2020.CallProxy.Implemntation.Slot\\u0027\\\").\\n // We need to keep this variable stored outside of the commonly used space.\\n // so that it\\u0027s not overrun by the logical implementation (the proxied contract).\\n bytes32 internal constant CALL_PROXY_IMPL_SLOT =\\n 0x7184681641399eb4ad2fdb92114857ee6ff239f94ad635a1779978947b8843be;\\n\\n // This storage slot stores the finalization flag.\\n // Once the value stored in this slot is set to non-zero\\n // the proxy blocks implementation upgrades.\\n // The current implementation is then referred to as Finalized.\\n // Web3.solidityKeccak([\\u0027string\\u0027], [\\\"StarkWare2019.finalization-flag-slot\\\"]).\\n bytes32 internal constant FINALIZED_STATE_SLOT =\\n 0x7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d2;\\n\\n // Storage slot to hold the upgrade delay (time-lock).\\n // The intention of this slot is to allow modification using an EIC.\\n // Web3.solidityKeccak([\\u0027string\\u0027], [\\u0027StarkWare.Upgradibility.Delay.Slot\\u0027]).\\n bytes32 public constant UPGRADE_DELAY_SLOT =\\n 0xc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f;\\n}\\n\"}}","ABI":"[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"upgradeActivationDelay\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"FinalizedImplementation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"initializer\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"finalize\",\"type\":\"bool\"}],\"name\":\"ImplementationAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"initializer\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"finalize\",\"type\":\"bool\"}],\"name\":\"ImplementationRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"initializer\",\"type\":\"bytes\"}],\"name\":\"ImplementationUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"acceptedGovernor\",\"type\":\"address\"}],\"name\":\"LogNewGovernorAccepted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"nominatedGovernor\",\"type\":\"address\"}],\"name\":\"LogNominatedGovernor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"LogNominationCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"removedGovernor\",\"type\":\"address\"}],\"name\":\"LogRemovedGovernor\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"PROXY_GOVERNANCE_TAG\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROXY_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_DELAY_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"finalize\",\"type\":\"bool\"}],\"name\":\"addImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUpgradeActivationDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isNotFinalized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"notFinal\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyAcceptGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyCancelNomination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"testGovernor\",\"type\":\"address\"}],\"name\":\"proxyIsGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newGovernor\",\"type\":\"address\"}],\"name\":\"proxyNominateNewGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"governorForRemoval\",\"type\":\"address\"}],\"name\":\"proxyRemoveGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"removedImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"finalize\",\"type\":\"bool\"}],\"name\":\"removeImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"finalize\",\"type\":\"bool\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"Proxy","CompilerVersion":"v0.6.12+commit.27d51765","CompilerType":"solc-m","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"0000000000000000000000000000000000000000000000000000000000000000","EVMVersion":"Default","Library":"","LicenseType":"Apache-2.0","Proxy":"1","Implementation":"0x95ff25a59dc9c5a41cf0709dc916041e5dc7fd95","SwarmSource":"ipfs://19c6683d777476043460ce621f3b9666d31557ebfc9234842128779cb5705fc8","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/64842d01736bfef9592ad7794cc130735e9584e7fc3745043949d2288c84ea83 b/tests/cachedrpc/64842d01736bfef9592ad7794cc130735e9584e7fc3745043949d2288c84ea83 new file mode 100644 index 00000000..ceede06f --- /dev/null +++ b/tests/cachedrpc/64842d01736bfef9592ad7794cc130735e9584e7fc3745043949d2288c84ea83 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity =0.6.6;\r\n\r\ninterface IUniswapV2Factory {\r\n event PairCreated(address indexed token0, address indexed token1, address pair, uint);\r\n\r\n function feeTo() external view returns (address);\r\n function feeToSetter() external view returns (address);\r\n\r\n function getPair(address tokenA, address tokenB) external view returns (address pair);\r\n function allPairs(uint) external view returns (address pair);\r\n function allPairsLength() external view returns (uint);\r\n\r\n function createPair(address tokenA, address tokenB) external returns (address pair);\r\n\r\n function setFeeTo(address) external;\r\n function setFeeToSetter(address) external;\r\n}\r\n\r\ninterface IUniswapV2Pair {\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n function name() external pure returns (string memory);\r\n function symbol() external pure returns (string memory);\r\n function decimals() external pure returns (uint8);\r\n function totalSupply() external view returns (uint);\r\n function balanceOf(address owner) external view returns (uint);\r\n function allowance(address owner, address spender) external view returns (uint);\r\n\r\n function approve(address spender, uint value) external returns (bool);\r\n function transfer(address to, uint value) external returns (bool);\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n\r\n function DOMAIN_SEPARATOR() external view returns (bytes32);\r\n function PERMIT_TYPEHASH() external pure returns (bytes32);\r\n function nonces(address owner) external view returns (uint);\r\n\r\n function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;\r\n\r\n event Mint(address indexed sender, uint amount0, uint amount1);\r\n event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);\r\n event Swap(\r\n address indexed sender,\r\n uint amount0In,\r\n uint amount1In,\r\n uint amount0Out,\r\n uint amount1Out,\r\n address indexed to\r\n );\r\n event Sync(uint112 reserve0, uint112 reserve1);\r\n\r\n function MINIMUM_LIQUIDITY() external pure returns (uint);\r\n function factory() external view returns (address);\r\n function token0() external view returns (address);\r\n function token1() external view returns (address);\r\n function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);\r\n function price0CumulativeLast() external view returns (uint);\r\n function price1CumulativeLast() external view returns (uint);\r\n function kLast() external view returns (uint);\r\n\r\n function mint(address to) external returns (uint liquidity);\r\n function burn(address to) external returns (uint amount0, uint amount1);\r\n function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;\r\n function skim(address to) external;\r\n function sync() external;\r\n\r\n function initialize(address, address) external;\r\n}\r\n\r\ninterface IUniswapV2Router01 {\r\n function factory() external pure returns (address);\r\n function WETH() external pure returns (address);\r\n\r\n function addLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint amountADesired,\r\n uint amountBDesired,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) external returns (uint amountA, uint amountB, uint liquidity);\r\n function addLiquidityETH(\r\n address token,\r\n uint amountTokenDesired,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) external payable returns (uint amountToken, uint amountETH, uint liquidity);\r\n function removeLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) external returns (uint amountA, uint amountB);\r\n function removeLiquidityETH(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) external returns (uint amountToken, uint amountETH);\r\n function removeLiquidityWithPermit(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external returns (uint amountA, uint amountB);\r\n function removeLiquidityETHWithPermit(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external returns (uint amountToken, uint amountETH);\r\n function swapExactTokensForTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external returns (uint[] memory amounts);\r\n function swapTokensForExactTokens(\r\n uint amountOut,\r\n uint amountInMax,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external returns (uint[] memory amounts);\r\n function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n payable\r\n returns (uint[] memory amounts);\r\n function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)\r\n external\r\n returns (uint[] memory amounts);\r\n function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n returns (uint[] memory amounts);\r\n function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)\r\n external\r\n payable\r\n returns (uint[] memory amounts);\r\n\r\n function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);\r\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);\r\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);\r\n function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);\r\n function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);\r\n}\r\n\r\ninterface IUniswapV2Router02 is IUniswapV2Router01 {\r\n function removeLiquidityETHSupportingFeeOnTransferTokens(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) external returns (uint amountETH);\r\n function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external returns (uint amountETH);\r\n\r\n function swapExactTokensForTokensSupportingFeeOnTransferTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external;\r\n function swapExactETHForTokensSupportingFeeOnTransferTokens(\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external payable;\r\n function swapExactTokensForETHSupportingFeeOnTransferTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external;\r\n}\r\n\r\ninterface IERC20 {\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n function name() external view returns (string memory);\r\n function symbol() external view returns (string memory);\r\n function decimals() external view returns (uint8);\r\n function totalSupply() external view returns (uint);\r\n function balanceOf(address owner) external view returns (uint);\r\n function allowance(address owner, address spender) external view returns (uint);\r\n\r\n function approve(address spender, uint value) external returns (bool);\r\n function transfer(address to, uint value) external returns (bool);\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n}\r\n\r\ninterface IWETH {\r\n function deposit() external payable;\r\n function transfer(address to, uint value) external returns (bool);\r\n function withdraw(uint) external;\r\n}\r\n\r\ncontract UniswapV2Router02 is IUniswapV2Router02 {\r\n using SafeMath for uint;\r\n\r\n address public immutable override factory;\r\n address public immutable override WETH;\r\n\r\n modifier ensure(uint deadline) {\r\n require(deadline >= block.timestamp, 'UniswapV2Router: EXPIRED');\r\n _;\r\n }\r\n\r\n constructor(address _factory, address _WETH) public {\r\n factory = _factory;\r\n WETH = _WETH;\r\n }\r\n\r\n receive() external payable {\r\n assert(msg.sender == WETH); // only accept ETH via fallback from the WETH contract\r\n }\r\n\r\n // **** ADD LIQUIDITY ****\r\n function _addLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint amountADesired,\r\n uint amountBDesired,\r\n uint amountAMin,\r\n uint amountBMin\r\n ) internal virtual returns (uint amountA, uint amountB) {\r\n // create the pair if it doesn't exist yet\r\n if (IUniswapV2Factory(factory).getPair(tokenA, tokenB) == address(0)) {\r\n IUniswapV2Factory(factory).createPair(tokenA, tokenB);\r\n }\r\n (uint reserveA, uint reserveB) = UniswapV2Library.getReserves(factory, tokenA, tokenB);\r\n if (reserveA == 0 && reserveB == 0) {\r\n (amountA, amountB) = (amountADesired, amountBDesired);\r\n } else {\r\n uint amountBOptimal = UniswapV2Library.quote(amountADesired, reserveA, reserveB);\r\n if (amountBOptimal <= amountBDesired) {\r\n require(amountBOptimal >= amountBMin, 'UniswapV2Router: INSUFFICIENT_B_AMOUNT');\r\n (amountA, amountB) = (amountADesired, amountBOptimal);\r\n } else {\r\n uint amountAOptimal = UniswapV2Library.quote(amountBDesired, reserveB, reserveA);\r\n assert(amountAOptimal <= amountADesired);\r\n require(amountAOptimal >= amountAMin, 'UniswapV2Router: INSUFFICIENT_A_AMOUNT');\r\n (amountA, amountB) = (amountAOptimal, amountBDesired);\r\n }\r\n }\r\n }\r\n function addLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint amountADesired,\r\n uint amountBDesired,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) external virtual override ensure(deadline) returns (uint amountA, uint amountB, uint liquidity) {\r\n (amountA, amountB) = _addLiquidity(tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin);\r\n address pair = UniswapV2Library.pairFor(factory, tokenA, tokenB);\r\n TransferHelper.safeTransferFrom(tokenA, msg.sender, pair, amountA);\r\n TransferHelper.safeTransferFrom(tokenB, msg.sender, pair, amountB);\r\n liquidity = IUniswapV2Pair(pair).mint(to);\r\n }\r\n function addLiquidityETH(\r\n address token,\r\n uint amountTokenDesired,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) external virtual override payable ensure(deadline) returns (uint amountToken, uint amountETH, uint liquidity) {\r\n (amountToken, amountETH) = _addLiquidity(\r\n token,\r\n WETH,\r\n amountTokenDesired,\r\n msg.value,\r\n amountTokenMin,\r\n amountETHMin\r\n );\r\n address pair = UniswapV2Library.pairFor(factory, token, WETH);\r\n TransferHelper.safeTransferFrom(token, msg.sender, pair, amountToken);\r\n IWETH(WETH).deposit{value: amountETH}();\r\n assert(IWETH(WETH).transfer(pair, amountETH));\r\n liquidity = IUniswapV2Pair(pair).mint(to);\r\n // refund dust eth, if any\r\n if (msg.value > amountETH) TransferHelper.safeTransferETH(msg.sender, msg.value - amountETH);\r\n }\r\n\r\n // **** REMOVE LIQUIDITY ****\r\n function removeLiquidity(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline\r\n ) public virtual override ensure(deadline) returns (uint amountA, uint amountB) {\r\n address pair = UniswapV2Library.pairFor(factory, tokenA, tokenB);\r\n IUniswapV2Pair(pair).transferFrom(msg.sender, pair, liquidity); // send liquidity to pair\r\n (uint amount0, uint amount1) = IUniswapV2Pair(pair).burn(to);\r\n (address token0,) = UniswapV2Library.sortTokens(tokenA, tokenB);\r\n (amountA, amountB) = tokenA == token0 ? (amount0, amount1) : (amount1, amount0);\r\n require(amountA >= amountAMin, 'UniswapV2Router: INSUFFICIENT_A_AMOUNT');\r\n require(amountB >= amountBMin, 'UniswapV2Router: INSUFFICIENT_B_AMOUNT');\r\n }\r\n function removeLiquidityETH(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) public virtual override ensure(deadline) returns (uint amountToken, uint amountETH) {\r\n (amountToken, amountETH) = removeLiquidity(\r\n token,\r\n WETH,\r\n liquidity,\r\n amountTokenMin,\r\n amountETHMin,\r\n address(this),\r\n deadline\r\n );\r\n TransferHelper.safeTransfer(token, to, amountToken);\r\n IWETH(WETH).withdraw(amountETH);\r\n TransferHelper.safeTransferETH(to, amountETH);\r\n }\r\n function removeLiquidityWithPermit(\r\n address tokenA,\r\n address tokenB,\r\n uint liquidity,\r\n uint amountAMin,\r\n uint amountBMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external virtual override returns (uint amountA, uint amountB) {\r\n address pair = UniswapV2Library.pairFor(factory, tokenA, tokenB);\r\n uint value = approveMax ? uint(-1) : liquidity;\r\n IUniswapV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);\r\n (amountA, amountB) = removeLiquidity(tokenA, tokenB, liquidity, amountAMin, amountBMin, to, deadline);\r\n }\r\n function removeLiquidityETHWithPermit(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external virtual override returns (uint amountToken, uint amountETH) {\r\n address pair = UniswapV2Library.pairFor(factory, token, WETH);\r\n uint value = approveMax ? uint(-1) : liquidity;\r\n IUniswapV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);\r\n (amountToken, amountETH) = removeLiquidityETH(token, liquidity, amountTokenMin, amountETHMin, to, deadline);\r\n }\r\n\r\n // **** REMOVE LIQUIDITY (supporting fee-on-transfer tokens) ****\r\n function removeLiquidityETHSupportingFeeOnTransferTokens(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline\r\n ) public virtual override ensure(deadline) returns (uint amountETH) {\r\n (, amountETH) = removeLiquidity(\r\n token,\r\n WETH,\r\n liquidity,\r\n amountTokenMin,\r\n amountETHMin,\r\n address(this),\r\n deadline\r\n );\r\n TransferHelper.safeTransfer(token, to, IERC20(token).balanceOf(address(this)));\r\n IWETH(WETH).withdraw(amountETH);\r\n TransferHelper.safeTransferETH(to, amountETH);\r\n }\r\n function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(\r\n address token,\r\n uint liquidity,\r\n uint amountTokenMin,\r\n uint amountETHMin,\r\n address to,\r\n uint deadline,\r\n bool approveMax, uint8 v, bytes32 r, bytes32 s\r\n ) external virtual override returns (uint amountETH) {\r\n address pair = UniswapV2Library.pairFor(factory, token, WETH);\r\n uint value = approveMax ? uint(-1) : liquidity;\r\n IUniswapV2Pair(pair).permit(msg.sender, address(this), value, deadline, v, r, s);\r\n amountETH = removeLiquidityETHSupportingFeeOnTransferTokens(\r\n token, liquidity, amountTokenMin, amountETHMin, to, deadline\r\n );\r\n }\r\n\r\n // **** SWAP ****\r\n // requires the initial amount to have already been sent to the first pair\r\n function _swap(uint[] memory amounts, address[] memory path, address _to) internal virtual {\r\n for (uint i; i < path.length - 1; i++) {\r\n (address input, address output) = (path[i], path[i + 1]);\r\n (address token0,) = UniswapV2Library.sortTokens(input, output);\r\n uint amountOut = amounts[i + 1];\r\n (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOut) : (amountOut, uint(0));\r\n address to = i < path.length - 2 ? UniswapV2Library.pairFor(factory, output, path[i + 2]) : _to;\r\n IUniswapV2Pair(UniswapV2Library.pairFor(factory, input, output)).swap(\r\n amount0Out, amount1Out, to, new bytes(0)\r\n );\r\n }\r\n }\r\n function swapExactTokensForTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external virtual override ensure(deadline) returns (uint[] memory amounts) {\r\n amounts = UniswapV2Library.getAmountsOut(factory, amountIn, path);\r\n require(amounts[amounts.length - 1] >= amountOutMin, 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(\r\n path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]\r\n );\r\n _swap(amounts, path, to);\r\n }\r\n function swapTokensForExactTokens(\r\n uint amountOut,\r\n uint amountInMax,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external virtual override ensure(deadline) returns (uint[] memory amounts) {\r\n amounts = UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n require(amounts[0] <= amountInMax, 'UniswapV2Router: EXCESSIVE_INPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(\r\n path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]\r\n );\r\n _swap(amounts, path, to);\r\n }\r\n function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n virtual\r\n override\r\n payable\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[0] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsOut(factory, msg.value, path);\r\n require(amounts[amounts.length - 1] >= amountOutMin, 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');\r\n IWETH(WETH).deposit{value: amounts[0]}();\r\n assert(IWETH(WETH).transfer(UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]));\r\n _swap(amounts, path, to);\r\n }\r\n function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)\r\n external\r\n virtual\r\n override\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[path.length - 1] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n require(amounts[0] <= amountInMax, 'UniswapV2Router: EXCESSIVE_INPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(\r\n path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]\r\n );\r\n _swap(amounts, path, address(this));\r\n IWETH(WETH).withdraw(amounts[amounts.length - 1]);\r\n TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);\r\n }\r\n function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)\r\n external\r\n virtual\r\n override\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[path.length - 1] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsOut(factory, amountIn, path);\r\n require(amounts[amounts.length - 1] >= amountOutMin, 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');\r\n TransferHelper.safeTransferFrom(\r\n path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]\r\n );\r\n _swap(amounts, path, address(this));\r\n IWETH(WETH).withdraw(amounts[amounts.length - 1]);\r\n TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]);\r\n }\r\n function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)\r\n external\r\n virtual\r\n override\r\n payable\r\n ensure(deadline)\r\n returns (uint[] memory amounts)\r\n {\r\n require(path[0] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n amounts = UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n require(amounts[0] <= msg.value, 'UniswapV2Router: EXCESSIVE_INPUT_AMOUNT');\r\n IWETH(WETH).deposit{value: amounts[0]}();\r\n assert(IWETH(WETH).transfer(UniswapV2Library.pairFor(factory, path[0], path[1]), amounts[0]));\r\n _swap(amounts, path, to);\r\n // refund dust eth, if any\r\n if (msg.value > amounts[0]) TransferHelper.safeTransferETH(msg.sender, msg.value - amounts[0]);\r\n }\r\n\r\n // **** SWAP (supporting fee-on-transfer tokens) ****\r\n // requires the initial amount to have already been sent to the first pair\r\n function _swapSupportingFeeOnTransferTokens(address[] memory path, address _to) internal virtual {\r\n for (uint i; i < path.length - 1; i++) {\r\n (address input, address output) = (path[i], path[i + 1]);\r\n (address token0,) = UniswapV2Library.sortTokens(input, output);\r\n IUniswapV2Pair pair = IUniswapV2Pair(UniswapV2Library.pairFor(factory, input, output));\r\n uint amountInput;\r\n uint amountOutput;\r\n { // scope to avoid stack too deep errors\r\n (uint reserve0, uint reserve1,) = pair.getReserves();\r\n (uint reserveInput, uint reserveOutput) = input == token0 ? (reserve0, reserve1) : (reserve1, reserve0);\r\n amountInput = IERC20(input).balanceOf(address(pair)).sub(reserveInput);\r\n amountOutput = UniswapV2Library.getAmountOut(amountInput, reserveInput, reserveOutput);\r\n }\r\n (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOutput) : (amountOutput, uint(0));\r\n address to = i < path.length - 2 ? UniswapV2Library.pairFor(factory, output, path[i + 2]) : _to;\r\n pair.swap(amount0Out, amount1Out, to, new bytes(0));\r\n }\r\n }\r\n function swapExactTokensForTokensSupportingFeeOnTransferTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n ) external virtual override ensure(deadline) {\r\n TransferHelper.safeTransferFrom(\r\n path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amountIn\r\n );\r\n uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);\r\n _swapSupportingFeeOnTransferTokens(path, to);\r\n require(\r\n IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,\r\n 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT'\r\n );\r\n }\r\n function swapExactETHForTokensSupportingFeeOnTransferTokens(\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n )\r\n external\r\n virtual\r\n override\r\n payable\r\n ensure(deadline)\r\n {\r\n require(path[0] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n uint amountIn = msg.value;\r\n IWETH(WETH).deposit{value: amountIn}();\r\n assert(IWETH(WETH).transfer(UniswapV2Library.pairFor(factory, path[0], path[1]), amountIn));\r\n uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to);\r\n _swapSupportingFeeOnTransferTokens(path, to);\r\n require(\r\n IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin,\r\n 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT'\r\n );\r\n }\r\n function swapExactTokensForETHSupportingFeeOnTransferTokens(\r\n uint amountIn,\r\n uint amountOutMin,\r\n address[] calldata path,\r\n address to,\r\n uint deadline\r\n )\r\n external\r\n virtual\r\n override\r\n ensure(deadline)\r\n {\r\n require(path[path.length - 1] == WETH, 'UniswapV2Router: INVALID_PATH');\r\n TransferHelper.safeTransferFrom(\r\n path[0], msg.sender, UniswapV2Library.pairFor(factory, path[0], path[1]), amountIn\r\n );\r\n _swapSupportingFeeOnTransferTokens(path, address(this));\r\n uint amountOut = IERC20(WETH).balanceOf(address(this));\r\n require(amountOut >= amountOutMin, 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT');\r\n IWETH(WETH).withdraw(amountOut);\r\n TransferHelper.safeTransferETH(to, amountOut);\r\n }\r\n\r\n // **** LIBRARY FUNCTIONS ****\r\n function quote(uint amountA, uint reserveA, uint reserveB) public pure virtual override returns (uint amountB) {\r\n return UniswapV2Library.quote(amountA, reserveA, reserveB);\r\n }\r\n\r\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut)\r\n public\r\n pure\r\n virtual\r\n override\r\n returns (uint amountOut)\r\n {\r\n return UniswapV2Library.getAmountOut(amountIn, reserveIn, reserveOut);\r\n }\r\n\r\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut)\r\n public\r\n pure\r\n virtual\r\n override\r\n returns (uint amountIn)\r\n {\r\n return UniswapV2Library.getAmountIn(amountOut, reserveIn, reserveOut);\r\n }\r\n\r\n function getAmountsOut(uint amountIn, address[] memory path)\r\n public\r\n view\r\n virtual\r\n override\r\n returns (uint[] memory amounts)\r\n {\r\n return UniswapV2Library.getAmountsOut(factory, amountIn, path);\r\n }\r\n\r\n function getAmountsIn(uint amountOut, address[] memory path)\r\n public\r\n view\r\n virtual\r\n override\r\n returns (uint[] memory amounts)\r\n {\r\n return UniswapV2Library.getAmountsIn(factory, amountOut, path);\r\n }\r\n}\r\n\r\n// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)\r\n\r\nlibrary SafeMath {\r\n function add(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x + y) >= x, 'ds-math-add-overflow');\r\n }\r\n\r\n function sub(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x - y) <= x, 'ds-math-sub-underflow');\r\n }\r\n\r\n function mul(uint x, uint y) internal pure returns (uint z) {\r\n require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');\r\n }\r\n}\r\n\r\nlibrary UniswapV2Library {\r\n using SafeMath for uint;\r\n\r\n // returns sorted token addresses, used to handle return values from pairs sorted in this order\r\n function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {\r\n require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');\r\n (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);\r\n require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');\r\n }\r\n\r\n // calculates the CREATE2 address for a pair without making any external calls\r\n function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {\r\n (address token0, address token1) = sortTokens(tokenA, tokenB);\r\n pair = address(uint(keccak256(abi.encodePacked(\r\n hex'ff',\r\n factory,\r\n keccak256(abi.encodePacked(token0, token1)),\r\n hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash\r\n ))));\r\n }\r\n\r\n // fetches and sorts the reserves for a pair\r\n function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {\r\n (address token0,) = sortTokens(tokenA, tokenB);\r\n (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();\r\n (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);\r\n }\r\n\r\n // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset\r\n function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {\r\n require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');\r\n require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');\r\n amountB = amountA.mul(reserveB) / reserveA;\r\n }\r\n\r\n // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset\r\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {\r\n require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');\r\n require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');\r\n uint amountInWithFee = amountIn.mul(997);\r\n uint numerator = amountInWithFee.mul(reserveOut);\r\n uint denominator = reserveIn.mul(1000).add(amountInWithFee);\r\n amountOut = numerator / denominator;\r\n }\r\n\r\n // given an output amount of an asset and pair reserves, returns a required input amount of the other asset\r\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {\r\n require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');\r\n require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');\r\n uint numerator = reserveIn.mul(amountOut).mul(1000);\r\n uint denominator = reserveOut.sub(amountOut).mul(997);\r\n amountIn = (numerator / denominator).add(1);\r\n }\r\n\r\n // performs chained getAmountOut calculations on any number of pairs\r\n function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {\r\n require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');\r\n amounts = new uint[](path.length);\r\n amounts[0] = amountIn;\r\n for (uint i; i < path.length - 1; i++) {\r\n (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);\r\n amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);\r\n }\r\n }\r\n\r\n // performs chained getAmountIn calculations on any number of pairs\r\n function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {\r\n require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');\r\n amounts = new uint[](path.length);\r\n amounts[amounts.length - 1] = amountOut;\r\n for (uint i = path.length - 1; i > 0; i--) {\r\n (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);\r\n amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);\r\n }\r\n }\r\n}\r\n\r\n// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false\r\nlibrary TransferHelper {\r\n function safeApprove(address token, address to, uint value) internal {\r\n // bytes4(keccak256(bytes('approve(address,uint256)')));\r\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));\r\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');\r\n }\r\n\r\n function safeTransfer(address token, address to, uint value) internal {\r\n // bytes4(keccak256(bytes('transfer(address,uint256)')));\r\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));\r\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');\r\n }\r\n\r\n function safeTransferFrom(address token, address from, address to, uint value) internal {\r\n // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));\r\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));\r\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');\r\n }\r\n\r\n function safeTransferETH(address to, uint value) internal {\r\n (bool success,) = to.call{value:value}(new bytes(0));\r\n require(success, 'TransferHelper: ETH_TRANSFER_FAILED');\r\n }\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_WETH\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountADesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsIn\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsOut\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETHSupportingFeeOnTransferTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapETHForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETHSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"UniswapV2Router02","CompilerVersion":"v0.6.6+commit.6c089d02","CompilerType":"solc","OptimizationUsed":"1","Runs":"999999","ConstructorArguments":"0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","EVMVersion":"istanbul","Library":"","LicenseType":"GNU GPLv3","Proxy":"0","Implementation":"","SwarmSource":"ipfs://6dd6e03c4b2c0a8e55214926227ae9e2d6f9fec2ce74a6446d615afa355c84f3","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/68bf6f09cf944a843a0e7c21ecf145b2720940466f12221a23644ca129563c62 b/tests/cachedrpc/68bf6f09cf944a843a0e7c21ecf145b2720940466f12221a23644ca129563c62 new file mode 100644 index 00000000..87323046 --- /dev/null +++ b/tests/cachedrpc/68bf6f09cf944a843a0e7c21ecf145b2720940466f12221a23644ca129563c62 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"/**\r\n *Submitted for verification at Etherscan.io on 2020-09-15\r\n*/\r\n\r\npragma solidity ^0.5.16;\r\npragma experimental ABIEncoderV2;\r\n\r\n// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol\r\n// Subject to the MIT license.\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting with custom message on overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, errorMessage);\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on underflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n * - Subtraction cannot underflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return sub(a, b, \"SafeMath: subtraction underflow\");\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n * - Subtraction cannot underflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n uint256 c = a - b;\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) {\r\n return 0;\r\n }\r\n\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) {\r\n return 0;\r\n }\r\n\r\n uint256 c = a * b;\r\n require(c / a == b, errorMessage);\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers.\r\n * Reverts on division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return div(a, b, \"SafeMath: division by zero\");\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers.\r\n * Reverts with custom message on division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n // Solidity only automatically asserts when dividing by 0\r\n require(b > 0, errorMessage);\r\n uint256 c = a / b;\r\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * Reverts when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return mod(a, b, \"SafeMath: modulo by zero\");\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * Reverts with custom message when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b != 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\ncontract Uni {\r\n /// @notice EIP-20 token name for this token\r\n string public constant name = \"Uniswap\";\r\n\r\n /// @notice EIP-20 token symbol for this token\r\n string public constant symbol = \"UNI\";\r\n\r\n /// @notice EIP-20 token decimals for this token\r\n uint8 public constant decimals = 18;\r\n\r\n /// @notice Total number of tokens in circulation\r\n uint public totalSupply = 1_000_000_000e18; // 1 billion Uni\r\n\r\n /// @notice Address which may mint new tokens\r\n address public minter;\r\n\r\n /// @notice The timestamp after which minting may occur\r\n uint public mintingAllowedAfter;\r\n\r\n /// @notice Minimum time between mints\r\n uint32 public constant minimumTimeBetweenMints = 1 days * 365;\r\n\r\n /// @notice Cap on the percentage of totalSupply that can be minted at each mint\r\n uint8 public constant mintCap = 2;\r\n\r\n /// @notice Allowance amounts on behalf of others\r\n mapping (address => mapping (address => uint96)) internal allowances;\r\n\r\n /// @notice Official record of token balances for each account\r\n mapping (address => uint96) internal balances;\r\n\r\n /// @notice A record of each accounts delegate\r\n mapping (address => address) public delegates;\r\n\r\n /// @notice A checkpoint for marking number of votes from a given block\r\n struct Checkpoint {\r\n uint32 fromBlock;\r\n uint96 votes;\r\n }\r\n\r\n /// @notice A record of votes checkpoints for each account, by index\r\n mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;\r\n\r\n /// @notice The number of checkpoints for each account\r\n mapping (address => uint32) public numCheckpoints;\r\n\r\n /// @notice The EIP-712 typehash for the contract's domain\r\n bytes32 public constant DOMAIN_TYPEHASH = keccak256(\"EIP712Domain(string name,uint256 chainId,address verifyingContract)\");\r\n\r\n /// @notice The EIP-712 typehash for the delegation struct used by the contract\r\n bytes32 public constant DELEGATION_TYPEHASH = keccak256(\"Delegation(address delegatee,uint256 nonce,uint256 expiry)\");\r\n\r\n /// @notice The EIP-712 typehash for the permit struct used by the contract\r\n bytes32 public constant PERMIT_TYPEHASH = keccak256(\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\");\r\n\r\n /// @notice A record of states for signing / validating signatures\r\n mapping (address => uint) public nonces;\r\n\r\n /// @notice An event thats emitted when the minter address is changed\r\n event MinterChanged(address minter, address newMinter);\r\n\r\n /// @notice An event thats emitted when an account changes its delegate\r\n event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);\r\n\r\n /// @notice An event thats emitted when a delegate account's vote balance changes\r\n event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);\r\n\r\n /// @notice The standard EIP-20 transfer event\r\n event Transfer(address indexed from, address indexed to, uint256 amount);\r\n\r\n /// @notice The standard EIP-20 approval event\r\n event Approval(address indexed owner, address indexed spender, uint256 amount);\r\n\r\n /**\r\n * @notice Construct a new Uni token\r\n * @param account The initial account to grant all the tokens\r\n * @param minter_ The account with minting ability\r\n * @param mintingAllowedAfter_ The timestamp after which minting may occur\r\n */\r\n constructor(address account, address minter_, uint mintingAllowedAfter_) public {\r\n require(mintingAllowedAfter_ >= block.timestamp, \"Uni::constructor: minting can only begin after deployment\");\r\n\r\n balances[account] = uint96(totalSupply);\r\n emit Transfer(address(0), account, totalSupply);\r\n minter = minter_;\r\n emit MinterChanged(address(0), minter);\r\n mintingAllowedAfter = mintingAllowedAfter_;\r\n }\r\n\r\n /**\r\n * @notice Change the minter address\r\n * @param minter_ The address of the new minter\r\n */\r\n function setMinter(address minter_) external {\r\n require(msg.sender == minter, \"Uni::setMinter: only the minter can change the minter address\");\r\n emit MinterChanged(minter, minter_);\r\n minter = minter_;\r\n }\r\n\r\n /**\r\n * @notice Mint new tokens\r\n * @param dst The address of the destination account\r\n * @param rawAmount The number of tokens to be minted\r\n */\r\n function mint(address dst, uint rawAmount) external {\r\n require(msg.sender == minter, \"Uni::mint: only the minter can mint\");\r\n require(block.timestamp >= mintingAllowedAfter, \"Uni::mint: minting not allowed yet\");\r\n require(dst != address(0), \"Uni::mint: cannot transfer to the zero address\");\r\n\r\n // record the mint\r\n mintingAllowedAfter = SafeMath.add(block.timestamp, minimumTimeBetweenMints);\r\n\r\n // mint the amount\r\n uint96 amount = safe96(rawAmount, \"Uni::mint: amount exceeds 96 bits\");\r\n require(amount <= SafeMath.div(SafeMath.mul(totalSupply, mintCap), 100), \"Uni::mint: exceeded mint cap\");\r\n totalSupply = safe96(SafeMath.add(totalSupply, amount), \"Uni::mint: totalSupply exceeds 96 bits\");\r\n\r\n // transfer the amount to the recipient\r\n balances[dst] = add96(balances[dst], amount, \"Uni::mint: transfer amount overflows\");\r\n emit Transfer(address(0), dst, amount);\r\n\r\n // move delegates\r\n _moveDelegates(address(0), delegates[dst], amount);\r\n }\r\n\r\n /**\r\n * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`\r\n * @param account The address of the account holding the funds\r\n * @param spender The address of the account spending the funds\r\n * @return The number of tokens approved\r\n */\r\n function allowance(address account, address spender) external view returns (uint) {\r\n return allowances[account][spender];\r\n }\r\n\r\n /**\r\n * @notice Approve `spender` to transfer up to `amount` from `src`\r\n * @dev This will overwrite the approval amount for `spender`\r\n * and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)\r\n * @param spender The address of the account which may transfer tokens\r\n * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)\r\n * @return Whether or not the approval succeeded\r\n */\r\n function approve(address spender, uint rawAmount) external returns (bool) {\r\n uint96 amount;\r\n if (rawAmount == uint(-1)) {\r\n amount = uint96(-1);\r\n } else {\r\n amount = safe96(rawAmount, \"Uni::approve: amount exceeds 96 bits\");\r\n }\r\n\r\n allowances[msg.sender][spender] = amount;\r\n\r\n emit Approval(msg.sender, spender, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @notice Triggers an approval from owner to spends\r\n * @param owner The address to approve from\r\n * @param spender The address to be approved\r\n * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)\r\n * @param deadline The time at which to expire the signature\r\n * @param v The recovery byte of the signature\r\n * @param r Half of the ECDSA signature pair\r\n * @param s Half of the ECDSA signature pair\r\n */\r\n function permit(address owner, address spender, uint rawAmount, uint deadline, uint8 v, bytes32 r, bytes32 s) external {\r\n uint96 amount;\r\n if (rawAmount == uint(-1)) {\r\n amount = uint96(-1);\r\n } else {\r\n amount = safe96(rawAmount, \"Uni::permit: amount exceeds 96 bits\");\r\n }\r\n\r\n bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));\r\n bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, rawAmount, nonces[owner]++, deadline));\r\n bytes32 digest = keccak256(abi.encodePacked(\"\\x19\\x01\", domainSeparator, structHash));\r\n address signatory = ecrecover(digest, v, r, s);\r\n require(signatory != address(0), \"Uni::permit: invalid signature\");\r\n require(signatory == owner, \"Uni::permit: unauthorized\");\r\n require(now <= deadline, \"Uni::permit: signature expired\");\r\n\r\n allowances[owner][spender] = amount;\r\n\r\n emit Approval(owner, spender, amount);\r\n }\r\n\r\n /**\r\n * @notice Get the number of tokens held by the `account`\r\n * @param account The address of the account to get the balance of\r\n * @return The number of tokens held\r\n */\r\n function balanceOf(address account) external view returns (uint) {\r\n return balances[account];\r\n }\r\n\r\n /**\r\n * @notice Transfer `amount` tokens from `msg.sender` to `dst`\r\n * @param dst The address of the destination account\r\n * @param rawAmount The number of tokens to transfer\r\n * @return Whether or not the transfer succeeded\r\n */\r\n function transfer(address dst, uint rawAmount) external returns (bool) {\r\n uint96 amount = safe96(rawAmount, \"Uni::transfer: amount exceeds 96 bits\");\r\n _transferTokens(msg.sender, dst, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @notice Transfer `amount` tokens from `src` to `dst`\r\n * @param src The address of the source account\r\n * @param dst The address of the destination account\r\n * @param rawAmount The number of tokens to transfer\r\n * @return Whether or not the transfer succeeded\r\n */\r\n function transferFrom(address src, address dst, uint rawAmount) external returns (bool) {\r\n address spender = msg.sender;\r\n uint96 spenderAllowance = allowances[src][spender];\r\n uint96 amount = safe96(rawAmount, \"Uni::approve: amount exceeds 96 bits\");\r\n\r\n if (spender != src && spenderAllowance != uint96(-1)) {\r\n uint96 newAllowance = sub96(spenderAllowance, amount, \"Uni::transferFrom: transfer amount exceeds spender allowance\");\r\n allowances[src][spender] = newAllowance;\r\n\r\n emit Approval(src, spender, newAllowance);\r\n }\r\n\r\n _transferTokens(src, dst, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @notice Delegate votes from `msg.sender` to `delegatee`\r\n * @param delegatee The address to delegate votes to\r\n */\r\n function delegate(address delegatee) public {\r\n return _delegate(msg.sender, delegatee);\r\n }\r\n\r\n /**\r\n * @notice Delegates votes from signatory to `delegatee`\r\n * @param delegatee The address to delegate votes to\r\n * @param nonce The contract state required to match the signature\r\n * @param expiry The time at which to expire the signature\r\n * @param v The recovery byte of the signature\r\n * @param r Half of the ECDSA signature pair\r\n * @param s Half of the ECDSA signature pair\r\n */\r\n function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {\r\n bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));\r\n bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));\r\n bytes32 digest = keccak256(abi.encodePacked(\"\\x19\\x01\", domainSeparator, structHash));\r\n address signatory = ecrecover(digest, v, r, s);\r\n require(signatory != address(0), \"Uni::delegateBySig: invalid signature\");\r\n require(nonce == nonces[signatory]++, \"Uni::delegateBySig: invalid nonce\");\r\n require(now <= expiry, \"Uni::delegateBySig: signature expired\");\r\n return _delegate(signatory, delegatee);\r\n }\r\n\r\n /**\r\n * @notice Gets the current votes balance for `account`\r\n * @param account The address to get votes balance\r\n * @return The number of current votes for `account`\r\n */\r\n function getCurrentVotes(address account) external view returns (uint96) {\r\n uint32 nCheckpoints = numCheckpoints[account];\r\n return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;\r\n }\r\n\r\n /**\r\n * @notice Determine the prior number of votes for an account as of a block number\r\n * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.\r\n * @param account The address of the account to check\r\n * @param blockNumber The block number to get the vote balance at\r\n * @return The number of votes the account had as of the given block\r\n */\r\n function getPriorVotes(address account, uint blockNumber) public view returns (uint96) {\r\n require(blockNumber < block.number, \"Uni::getPriorVotes: not yet determined\");\r\n\r\n uint32 nCheckpoints = numCheckpoints[account];\r\n if (nCheckpoints == 0) {\r\n return 0;\r\n }\r\n\r\n // First check most recent balance\r\n if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {\r\n return checkpoints[account][nCheckpoints - 1].votes;\r\n }\r\n\r\n // Next check implicit zero balance\r\n if (checkpoints[account][0].fromBlock > blockNumber) {\r\n return 0;\r\n }\r\n\r\n uint32 lower = 0;\r\n uint32 upper = nCheckpoints - 1;\r\n while (upper > lower) {\r\n uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow\r\n Checkpoint memory cp = checkpoints[account][center];\r\n if (cp.fromBlock == blockNumber) {\r\n return cp.votes;\r\n } else if (cp.fromBlock < blockNumber) {\r\n lower = center;\r\n } else {\r\n upper = center - 1;\r\n }\r\n }\r\n return checkpoints[account][lower].votes;\r\n }\r\n\r\n function _delegate(address delegator, address delegatee) internal {\r\n address currentDelegate = delegates[delegator];\r\n uint96 delegatorBalance = balances[delegator];\r\n delegates[delegator] = delegatee;\r\n\r\n emit DelegateChanged(delegator, currentDelegate, delegatee);\r\n\r\n _moveDelegates(currentDelegate, delegatee, delegatorBalance);\r\n }\r\n\r\n function _transferTokens(address src, address dst, uint96 amount) internal {\r\n require(src != address(0), \"Uni::_transferTokens: cannot transfer from the zero address\");\r\n require(dst != address(0), \"Uni::_transferTokens: cannot transfer to the zero address\");\r\n\r\n balances[src] = sub96(balances[src], amount, \"Uni::_transferTokens: transfer amount exceeds balance\");\r\n balances[dst] = add96(balances[dst], amount, \"Uni::_transferTokens: transfer amount overflows\");\r\n emit Transfer(src, dst, amount);\r\n\r\n _moveDelegates(delegates[src], delegates[dst], amount);\r\n }\r\n\r\n function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {\r\n if (srcRep != dstRep && amount > 0) {\r\n if (srcRep != address(0)) {\r\n uint32 srcRepNum = numCheckpoints[srcRep];\r\n uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;\r\n uint96 srcRepNew = sub96(srcRepOld, amount, \"Uni::_moveVotes: vote amount underflows\");\r\n _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);\r\n }\r\n\r\n if (dstRep != address(0)) {\r\n uint32 dstRepNum = numCheckpoints[dstRep];\r\n uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;\r\n uint96 dstRepNew = add96(dstRepOld, amount, \"Uni::_moveVotes: vote amount overflows\");\r\n _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);\r\n }\r\n }\r\n }\r\n\r\n function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes) internal {\r\n uint32 blockNumber = safe32(block.number, \"Uni::_writeCheckpoint: block number exceeds 32 bits\");\r\n\r\n if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {\r\n checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;\r\n } else {\r\n checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);\r\n numCheckpoints[delegatee] = nCheckpoints + 1;\r\n }\r\n\r\n emit DelegateVotesChanged(delegatee, oldVotes, newVotes);\r\n }\r\n\r\n function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {\r\n require(n < 2**32, errorMessage);\r\n return uint32(n);\r\n }\r\n\r\n function safe96(uint n, string memory errorMessage) internal pure returns (uint96) {\r\n require(n < 2**96, errorMessage);\r\n return uint96(n);\r\n }\r\n\r\n function add96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {\r\n uint96 c = a + b;\r\n require(c >= a, errorMessage);\r\n return c;\r\n }\r\n\r\n function sub96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n function getChainId() internal pure returns (uint) {\r\n uint256 chainId;\r\n assembly { chainId := chainid() }\r\n return chainId;\r\n }\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"minter_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"mintingAllowedAfter_\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newMinter\",\"type\":\"address\"}],\"name\":\"MinterChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DELEGATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rawAmount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint96\",\"name\":\"votes\",\"type\":\"uint96\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getCurrentVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPriorVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minimumTimeBetweenMints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rawAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"mintCap\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"mintingAllowedAfter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rawAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"minter_\",\"type\":\"address\"}],\"name\":\"setMinter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rawAmount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rawAmount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"Uni","CompilerVersion":"v0.5.16+commit.9c3226ce","CompilerType":"solc","OptimizationUsed":"1","Runs":"999999","ConstructorArguments":"00000000000000000000000041653c7d61609d856f29355e404f310ec4142cfb00000000000000000000000041653c7d61609d856f29355e404f310ec4142cfb0000000000000000000000000000000000000000000000000000000065920080","EVMVersion":"Default","Library":"","LicenseType":"None","Proxy":"0","Implementation":"","SwarmSource":"bzzr://68d42e51eae03f461fed8d2db904ba521e900521e0a2199b4a57d733502ad3da","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/6bd296ae43d10287f72f4e70415f085bb644bd304998a9f142a7a38ba4a1fdc0 b/tests/cachedrpc/6bd296ae43d10287f72f4e70415f085bb644bd304998a9f142a7a38ba4a1fdc0 new file mode 100644 index 00000000..fd61c3ab --- /dev/null +++ b/tests/cachedrpc/6bd296ae43d10287f72f4e70415f085bb644bd304998a9f142a7a38ba4a1fdc0 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xf164fc0ec4e93095b804a4795bbe1e041497b92a","contractCreator":"0x9c33eacc2f50e39940d3afaf2c7b8246b681a374","txHash":"0x139a4beb06ae1bb62a365ea02079866db33a267f93ea9e8c636429baab251e34","blockNumber":"10007197","timestamp":"1588694788","contractFactory":"","creationBytecode":"0x60c060405234801561001057600080fd5b506040516141273803806141278339818101604052604081101561003357600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c613feb61013c600039806101655280610b235280610b5e5280610c9b5280610f5e52806113b852806115e65280611799528061182e5280611afd5280611eb352806121e9528061223f528061227352806122f4528061250e52806126be5280612753525080610d8d5280610e8b5280611031528061106a528061121552806114aa52806116cc528061186d5280611a335280611ba65280611e385280611e615280611e91528061206e528061221d52806125f452806127925280613211528061325452806137e752806138c852806139485250613feb6000f3fe6080604052600436106101485760003560e01c80638803dbee116100c0578063d06ca61f11610074578063e8e3370011610059578063e8e3370014610937578063f305d719146109c4578063fb3bdb4114610a175761018e565b8063d06ca61f14610800578063ded9382a146108b75761018e565b8063ad615dec116100a5578063ad615dec1461074b578063baa2abde14610781578063c45a0155146107eb5761018e565b80638803dbee14610668578063ad5c46481461070d5761018e565b80632195995c116101175780634a25d94a116100fc5780634a25d94a146105305780637ff36ab5146105d557806385f8c2591461020c5761018e565b80632195995c1461040057806338ed17391461048b5761018e565b806302751cec14610193578063054d50d41461020c57806318cbafe5146102545780631f00ca74146103495761018e565b3661018e573373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461018c57fe5b005b600080fd5b34801561019f57600080fd5b506101f3600480360360c08110156101b657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135610aaa565b6040805192835260208301919091528051918290030190f35b34801561021857600080fd5b506102426004803603606081101561022f57600080fd5b5080359060208101359060400135610bfd565b60408051918252519081900360200190f35b34801561026057600080fd5b506102f9600480360360a081101561027757600080fd5b81359160208101359181019060608101604082013564010000000081111561029e57600080fd5b8201836020820111156102b057600080fd5b803590602001918460208302840111640100000000831117156102d257600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c12565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561033557818101518382015260200161031d565b505050509050019250505060405180910390f35b34801561035557600080fd5b506102f96004803603604081101561036c57600080fd5b8135919081019060408101602082013564010000000081111561038e57600080fd5b8201836020820111156103a057600080fd5b803590602001918460208302840111640100000000831117156103c257600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061102a945050505050565b34801561040c57600080fd5b506101f3600480360361016081101561042457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135611060565b34801561049757600080fd5b506102f9600480360360a08110156104ae57600080fd5b8135916020810135918101906060810160408201356401000000008111156104d557600080fd5b8201836020820111156104e757600080fd5b8035906020019184602083028401116401000000008311171561050957600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561119e565b34801561053c57600080fd5b506102f9600480360360a081101561055357600080fd5b81359160208101359181019060608101604082013564010000000081111561057a57600080fd5b82018360208201111561058c57600080fd5b803590602001918460208302840111640100000000831117156105ae57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561132f565b6102f9600480360360808110156105eb57600080fd5b8135919081019060408101602082013564010000000081111561060d57600080fd5b82018360208201111561061f57600080fd5b8035906020019184602083028401116401000000008311171561064157600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611572565b34801561067457600080fd5b506102f9600480360360a081101561068b57600080fd5b8135916020810135918101906060810160408201356401000000008111156106b257600080fd5b8201836020820111156106c457600080fd5b803590602001918460208302840111640100000000831117156106e657600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81351690602001356119bc565b34801561071957600080fd5b50610722611afb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561075757600080fd5b506102426004803603606081101561076e57600080fd5b5080359060208101359060400135611b1f565b34801561078d57600080fd5b506101f3600480360360e08110156107a457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c00135611b2c565b3480156107f757600080fd5b50610722611e36565b34801561080c57600080fd5b506102f96004803603604081101561082357600080fd5b8135919081019060408101602082013564010000000081111561084557600080fd5b82018360208201111561085757600080fd5b8035906020019184602083028401116401000000008311171561087957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611e5a945050505050565b3480156108c357600080fd5b506101f360048036036101408110156108db57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e08201351690610100810135906101200135611e87565b34801561094357600080fd5b506109a6600480360361010081101561095b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135611fdf565b60408051938452602084019290925282820152519081900360600190f35b6109a6600480360360c08110156109da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a0013561216e565b6102f960048036036080811015610a2d57600080fd5b81359190810190604081016020820135640100000000811115610a4f57600080fd5b820183602082011115610a6157600080fd5b80359060200191846020830284011164010000000083111715610a8357600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561249a565b6000808242811015610b1d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b610b4c897f00000000000000000000000000000000000000000000000000000000000000008a8a8a308a611b2c565b9093509150610b5c8986856128e9565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610bcf57600080fd5b505af1158015610be3573d6000803e3d6000fd5b50505050610bf18583612ac6565b50965096945050505050565b6000610c0a848484612c03565b949350505050565b60608142811015610c8457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110610ce957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d8857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b610de67f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250612d2792505050565b91508682600184510381518110610df957fe5b60200260200101511015610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613f3c602b913960400191505060405180910390fd5b610f1d86866000818110610e6857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1633610f037f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610eb757fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168b8b6001818110610ee157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16612e8d565b85600081518110610f1057fe5b6020026020010151612f78565b610f5c82878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250613148915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d83600185510381518110610fa857fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610fe657600080fd5b505af1158015610ffa573d6000803e3d6000fd5b5050505061101f848360018551038151811061101257fe5b6020026020010151612ac6565b509695505050505050565b60606110577f000000000000000000000000000000000000000000000000000000000000000084846133cf565b90505b92915050565b60008060006110907f00000000000000000000000000000000000000000000000000000000000000008f8f612e8d565b905060008761109f578c6110c1565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c48101889052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b15801561115d57600080fd5b505af1158015611171573d6000803e3d6000fd5b505050506111848f8f8f8f8f8f8f611b2c565b809450819550505050509b509b9950505050505050505050565b6060814281101561121057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b61126e7f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250612d2792505050565b9150868260018451038151811061128157fe5b602002602001015110156112e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613f3c602b913960400191505060405180910390fd5b6112f086866000818110610e6857fe5b61101f82878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613148915050565b606081428110156113a157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061140657fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114a557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b6115037f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506133cf92505050565b9150868260008151811061151357fe5b60200260200101511115610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613ecc6027913960400191505060405180910390fd5b606081428110156115e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168686600081811061162857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116c757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b6117257f000000000000000000000000000000000000000000000000000000000000000034888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250612d2792505050565b9150868260018451038151811061173857fe5b60200260200101511015611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613f3c602b913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836000815181106117e057fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b15801561181357600080fd5b505af1158015611827573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6118c37f00000000000000000000000000000000000000000000000000000000000000008989600081811061189957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168a8a6001818110610ee157fe5b846000815181106118d057fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561194157600080fd5b505af1158015611955573d6000803e3d6000fd5b505050506040513d602081101561196b57600080fd5b505161197357fe5b6119b282878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613148915050565b5095945050505050565b60608142811015611a2e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b611a8c7f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506133cf92505050565b91508682600081518110611a9c57fe5b602002602001015111156112e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613ecc6027913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610c0a84848461355d565b6000808242811015611b9f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b6000611bcc7f00000000000000000000000000000000000000000000000000000000000000008c8c612e8d565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b158015611c4d57600080fd5b505af1158015611c61573d6000803e3d6000fd5b505050506040513d6020811015611c7757600080fd5b5050604080517f89afcb4400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b158015611cea57600080fd5b505af1158015611cfe573d6000803e3d6000fd5b505050506040513d6040811015611d1457600080fd5b50805160209091015190925090506000611d2e8e8e61363d565b5090508073ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff1614611d6b578183611d6e565b82825b90975095508a871015611dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613ef36026913960400191505060405180910390fd5b89861015611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613e596026913960400191505060405180910390fd5b505050505097509795505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606110577f00000000000000000000000000000000000000000000000000000000000000008484612d27565b6000806000611ed77f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000612e8d565b9050600087611ee6578c611f08565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c48101889052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b158015611fa457600080fd5b505af1158015611fb8573d6000803e3d6000fd5b50505050611fca8e8e8e8e8e8e610aaa565b909f909e509c50505050505050505050505050565b6000806000834281101561205457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b6120628c8c8c8c8c8c613790565b909450925060006120947f00000000000000000000000000000000000000000000000000000000000000008e8e612e8d565b90506120a28d338388612f78565b6120ae8c338387612f78565b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561212d57600080fd5b505af1158015612141573d6000803e3d6000fd5b505050506040513d602081101561215757600080fd5b5051949d939c50939a509198505050505050505050565b600080600083428110156121e357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b6122118a7f00000000000000000000000000000000000000000000000000000000000000008b348c8c613790565b909450925060006122637f00000000000000000000000000000000000000000000000000000000000000008c7f0000000000000000000000000000000000000000000000000000000000000000612e8d565b90506122718b338388612f78565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b1580156122d957600080fd5b505af11580156122ed573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561239957600080fd5b505af11580156123ad573d6000803e3d6000fd5b505050506040513d60208110156123c357600080fd5b50516123cb57fe5b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561244a57600080fd5b505af115801561245e573d6000803e3d6000fd5b505050506040513d602081101561247457600080fd5b505192503484101561248c5761248c33853403612ac6565b505096509650969350505050565b6060814281101561250c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168686600081811061255057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125ef57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b61264d7f0000000000000000000000000000000000000000000000000000000000000000888888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506133cf92505050565b9150348260008151811061265d57fe5b602002602001015111156126bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613ecc6027913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db08360008151811061270557fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b15801561273857600080fd5b505af115801561274c573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6127be7f00000000000000000000000000000000000000000000000000000000000000008989600081811061189957fe5b846000815181106127cb57fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561283c57600080fd5b505af1158015612850573d6000803e3d6000fd5b505050506040513d602081101561286657600080fd5b505161286e57fe5b6128ad82878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613148915050565b816000815181106128ba57fe5b60200260200101513411156119b2576119b233836000815181106128da57fe5b60200260200101513403612ac6565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b602083106129bf57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612982565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612a21576040519150601f19603f3d011682016040523d82523d6000602084013e612a26565b606091505b5091509150818015612a54575080511580612a545750808060200190516020811015612a5157600080fd5b50515b612abf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604482015290519081900360640190fd5b5050505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b60208310612b3d57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612b00565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b9f576040519150601f19603f3d011682016040523d82523d6000602084013e612ba4565b606091505b5050905080612bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613f196023913960400191505060405180910390fd5b505050565b6000808411612c5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613f8b602b913960400191505060405180910390fd5b600083118015612c6d5750600082115b612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613e7f6028913960400191505060405180910390fd5b6000612cd6856103e563ffffffff613a9116565b90506000612cea828563ffffffff613a9116565b90506000612d1083612d04886103e863ffffffff613a9116565b9063ffffffff613b1716565b9050808281612d1b57fe5b04979650505050505050565b6060600282511015612d9a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff81118015612db257600080fd5b50604051908082528060200260200182016040528015612ddc578160200160208202803683370190505b5090508281600081518110612ded57fe5b60200260200101818152505060005b6001835103811015612e8557600080612e3f87868581518110612e1b57fe5b6020026020010151878660010181518110612e3257fe5b6020026020010151613b89565b91509150612e61848481518110612e5257fe5b60200260200101518383612c03565b848460010181518110612e7057fe5b60209081029190910101525050600101612dfc565b509392505050565b6000806000612e9c858561363d565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b6020831061305657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613019565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146130b8576040519150601f19603f3d011682016040523d82523d6000602084013e6130bd565b606091505b50915091508180156130eb5750805115806130eb57508080602001905160208110156130e857600080fd5b50515b613140576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613f676024913960400191505060405180910390fd5b505050505050565b60005b60018351038110156133c95760008084838151811061316657fe5b602002602001015185846001018151811061317d57fe5b6020026020010151915091506000613195838361363d565b50905060008785600101815181106131a957fe5b602002602001015190506000808373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146131f1578260006131f5565b6000835b91509150600060028a5103881061320c578861324d565b61324d7f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061324057fe5b6020026020010151612e8d565b905061327a7f00000000000000000000000000000000000000000000000000000000000000008888612e8d565b73ffffffffffffffffffffffffffffffffffffffff1663022c0d9f84848460006040519080825280601f01601f1916602001820160405280156132c4576020820181803683370190505b506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561334f578181015183820152602001613337565b50505050905090810190601f16801561337c5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561339e57600080fd5b505af11580156133b2573d6000803e3d6000fd5b50506001909901985061314b975050505050505050565b50505050565b606060028251101561344257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561345a57600080fd5b50604051908082528060200260200182016040528015613484578160200160208202803683370190505b509050828160018351038151811061349857fe5b602090810291909101015281517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b8015612e85576000806134f8878660018603815181106134e457fe5b6020026020010151878681518110612e3257fe5b9150915061351a84848151811061350b57fe5b60200260200101518383613c71565b84600185038151811061352957fe5b602090810291909101015250507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016134c8565b60008084116135b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613ea76025913960400191505060405180910390fd5b6000831180156135c75750600082115b61361c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613e7f6028913960400191505060405180910390fd5b8261362d858463ffffffff613a9116565b8161363457fe5b04949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156136c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613e346025913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16106136ff578284613702565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff821661378957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b604080517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015287811660248301529151600092839283927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b15801561383057600080fd5b505afa158015613844573d6000803e3d6000fd5b505050506040513d602081101561385a57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff16141561394057604080517fc9c6539600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a81166004830152898116602483015291517f00000000000000000000000000000000000000000000000000000000000000009092169163c9c65396916044808201926020929091908290030181600087803b15801561391357600080fd5b505af1158015613927573d6000803e3d6000fd5b505050506040513d602081101561393d57600080fd5b50505b60008061396e7f00000000000000000000000000000000000000000000000000000000000000008b8b613b89565b91509150816000148015613980575080155b1561399057879350869250613a84565b600061399d89848461355d565b9050878111613a0a57858110156139ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613e596026913960400191505060405180910390fd5b889450925082613a82565b6000613a1789848661355d565b905089811115613a2357fe5b87811015613a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613ef36026913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b6000811580613aac57505080820282828281613aa957fe5b04145b61105a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b8082018281101561105a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b6000806000613b98858561363d565b509050600080613ba9888888612e8d565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613bee57600080fd5b505afa158015613c02573d6000803e3d6000fd5b505050506040513d6060811015613c1857600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff87811690841614613c5f578082613c62565b81815b90999098509650505050505050565b6000808411613ccb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613e08602c913960400191505060405180910390fd5b600083118015613cdb5750600082115b613d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613e7f6028913960400191505060405180910390fd5b6000613d546103e8613d48868863ffffffff613a9116565b9063ffffffff613a9116565b90506000613d6e6103e5613d48868963ffffffff613d9516565b9050613d8b6001828481613d7e57fe5b049063ffffffff613b1716565b9695505050505050565b8082038281111561105a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fdfe556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a204944454e544943414c5f414444524553534553556e69737761705632526f757465723a20494e53554646494349454e545f425f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e54556e69737761705632526f757465723a204558434553534956455f494e5055545f414d4f554e54556e69737761705632526f757465723a20494e53554646494349454e545f415f414d4f554e545472616e7366657248656c7065723a204554485f5452414e534645525f4641494c4544556e69737761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220b430cc168eec157f24fadd56d0b90b2652ce5b0abb39cf9d64713138a400fb8c64736f6c634300060600330000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}]} \ No newline at end of file diff --git a/tests/cachedrpc/6be62fab76345b4d4a529c226ed2bddb647b2b9119f833f969b6eb1b95a48f59 b/tests/cachedrpc/6be62fab76345b4d4a529c226ed2bddb647b2b9119f833f969b6eb1b95a48f59 new file mode 100644 index 00000000..e9528240 --- /dev/null +++ b/tests/cachedrpc/6be62fab76345b4d4a529c226ed2bddb647b2b9119f833f969b6eb1b95a48f59 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.4.24;\r\n\r\n// File: zos-lib/contracts/upgradeability/Proxy.sol\r\n\r\n/**\r\n * @title Proxy\r\n * @dev Implements delegation of calls to other contracts, with proper\r\n * forwarding of return values and bubbling of failures.\r\n * It defines a fallback function that delegates all calls to the address\r\n * returned by the abstract _implementation() internal function.\r\n */\r\ncontract Proxy {\r\n /**\r\n * @dev Fallback function.\r\n * Implemented entirely in `_fallback`.\r\n */\r\n function () payable external {\r\n _fallback();\r\n }\r\n\r\n /**\r\n * @return The Address of the implementation.\r\n */\r\n function _implementation() internal view returns (address);\r\n\r\n /**\r\n * @dev Delegates execution to an implementation contract.\r\n * This is a low level function that doesn't return to its internal call site.\r\n * It will return to the external caller whatever the implementation returns.\r\n * @param implementation Address to delegate.\r\n */\r\n function _delegate(address implementation) internal {\r\n assembly {\r\n // Copy msg.data. We take full control of memory in this inline assembly\r\n // block because it will not return to Solidity code. We overwrite the\r\n // Solidity scratch pad at memory position 0.\r\n calldatacopy(0, 0, calldatasize)\r\n\r\n // Call the implementation.\r\n // out and outsize are 0 because we don't know the size yet.\r\n let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)\r\n\r\n // Copy the returned data.\r\n returndatacopy(0, 0, returndatasize)\r\n\r\n switch result\r\n // delegatecall returns 0 on error.\r\n case 0 { revert(0, returndatasize) }\r\n default { return(0, returndatasize) }\r\n }\r\n }\r\n\r\n /**\r\n * @dev Function that is run as the first thing in the fallback function.\r\n * Can be redefined in derived contracts to add functionality.\r\n * Redefinitions must call super._willFallback().\r\n */\r\n function _willFallback() internal {\r\n }\r\n\r\n /**\r\n * @dev fallback implementation.\r\n * Extracted to enable manual triggering.\r\n */\r\n function _fallback() internal {\r\n _willFallback();\r\n _delegate(_implementation());\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/AddressUtils.sol\r\n\r\n/**\r\n * Utility library of inline functions on addresses\r\n */\r\nlibrary AddressUtils {\r\n\r\n /**\r\n * Returns whether the target address is a contract\r\n * @dev This function will return false if invoked during the constructor of a contract,\r\n * as the code is not actually created until after the constructor finishes.\r\n * @param addr address to check\r\n * @return whether the target address is a contract\r\n */\r\n function isContract(address addr) internal view returns (bool) {\r\n uint256 size;\r\n // XXX Currently there is no better way to check if there is a contract in an address\r\n // than to check the size of the code at that address.\r\n // See https://ethereum.stackexchange.com/a/14016/36603\r\n // for more details about how this works.\r\n // TODO Check this again before the Serenity release, because all addresses will be\r\n // contracts then.\r\n // solium-disable-next-line security/no-inline-assembly\r\n assembly { size := extcodesize(addr) }\r\n return size > 0;\r\n }\r\n\r\n}\r\n\r\n// File: zos-lib/contracts/upgradeability/UpgradeabilityProxy.sol\r\n\r\n/**\r\n * @title UpgradeabilityProxy\r\n * @dev This contract implements a proxy that allows to change the\r\n * implementation address to which it will delegate.\r\n * Such a change is called an implementation upgrade.\r\n */\r\ncontract UpgradeabilityProxy is Proxy {\r\n /**\r\n * @dev Emitted when the implementation is upgraded.\r\n * @param implementation Address of the new implementation.\r\n */\r\n event Upgraded(address implementation);\r\n\r\n /**\r\n * @dev Storage slot with the address of the current implementation.\r\n * This is the keccak-256 hash of \"org.zeppelinos.proxy.implementation\", and is\r\n * validated in the constructor.\r\n */\r\n bytes32 private constant IMPLEMENTATION_SLOT = 0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3;\r\n\r\n /**\r\n * @dev Contract constructor.\r\n * @param _implementation Address of the initial implementation.\r\n */\r\n constructor(address _implementation) public {\r\n assert(IMPLEMENTATION_SLOT == keccak256(\"org.zeppelinos.proxy.implementation\"));\r\n\r\n _setImplementation(_implementation);\r\n }\r\n\r\n /**\r\n * @dev Returns the current implementation.\r\n * @return Address of the current implementation\r\n */\r\n function _implementation() internal view returns (address impl) {\r\n bytes32 slot = IMPLEMENTATION_SLOT;\r\n assembly {\r\n impl := sload(slot)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Upgrades the proxy to a new implementation.\r\n * @param newImplementation Address of the new implementation.\r\n */\r\n function _upgradeTo(address newImplementation) internal {\r\n _setImplementation(newImplementation);\r\n emit Upgraded(newImplementation);\r\n }\r\n\r\n /**\r\n * @dev Sets the implementation address of the proxy.\r\n * @param newImplementation Address of the new implementation.\r\n */\r\n function _setImplementation(address newImplementation) private {\r\n require(AddressUtils.isContract(newImplementation), \"Cannot set a proxy implementation to a non-contract address\");\r\n\r\n bytes32 slot = IMPLEMENTATION_SLOT;\r\n\r\n assembly {\r\n sstore(slot, newImplementation)\r\n }\r\n }\r\n}\r\n\r\n// File: zos-lib/contracts/upgradeability/AdminUpgradeabilityProxy.sol\r\n\r\n/**\r\n * @title AdminUpgradeabilityProxy\r\n * @dev This contract combines an upgradeability proxy with an authorization\r\n * mechanism for administrative tasks.\r\n * All external functions in this contract must be guarded by the\r\n * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity\r\n * feature proposal that would enable this to be done automatically.\r\n */\r\ncontract AdminUpgradeabilityProxy is UpgradeabilityProxy {\r\n /**\r\n * @dev Emitted when the administration has been transferred.\r\n * @param previousAdmin Address of the previous admin.\r\n * @param newAdmin Address of the new admin.\r\n */\r\n event AdminChanged(address previousAdmin, address newAdmin);\r\n\r\n /**\r\n * @dev Storage slot with the admin of the contract.\r\n * This is the keccak-256 hash of \"org.zeppelinos.proxy.admin\", and is\r\n * validated in the constructor.\r\n */\r\n bytes32 private constant ADMIN_SLOT = 0x10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b;\r\n\r\n /**\r\n * @dev Modifier to check whether the `msg.sender` is the admin.\r\n * If it is, it will run the function. Otherwise, it will delegate the call\r\n * to the implementation.\r\n */\r\n modifier ifAdmin() {\r\n if (msg.sender == _admin()) {\r\n _;\r\n } else {\r\n _fallback();\r\n }\r\n }\r\n\r\n /**\r\n * Contract constructor.\r\n * It sets the `msg.sender` as the proxy administrator.\r\n * @param _implementation address of the initial implementation.\r\n */\r\n constructor(address _implementation) UpgradeabilityProxy(_implementation) public {\r\n assert(ADMIN_SLOT == keccak256(\"org.zeppelinos.proxy.admin\"));\r\n\r\n _setAdmin(msg.sender);\r\n }\r\n\r\n /**\r\n * @return The address of the proxy admin.\r\n */\r\n function admin() external view ifAdmin returns (address) {\r\n return _admin();\r\n }\r\n\r\n /**\r\n * @return The address of the implementation.\r\n */\r\n function implementation() external view ifAdmin returns (address) {\r\n return _implementation();\r\n }\r\n\r\n /**\r\n * @dev Changes the admin of the proxy.\r\n * Only the current admin can call this function.\r\n * @param newAdmin Address to transfer proxy administration to.\r\n */\r\n function changeAdmin(address newAdmin) external ifAdmin {\r\n require(newAdmin != address(0), \"Cannot change the admin of a proxy to the zero address\");\r\n emit AdminChanged(_admin(), newAdmin);\r\n _setAdmin(newAdmin);\r\n }\r\n\r\n /**\r\n * @dev Upgrade the backing implementation of the proxy.\r\n * Only the admin can call this function.\r\n * @param newImplementation Address of the new implementation.\r\n */\r\n function upgradeTo(address newImplementation) external ifAdmin {\r\n _upgradeTo(newImplementation);\r\n }\r\n\r\n /**\r\n * @dev Upgrade the backing implementation of the proxy and call a function\r\n * on the new implementation.\r\n * This is useful to initialize the proxied contract.\r\n * @param newImplementation Address of the new implementation.\r\n * @param data Data to send as msg.data in the low level call.\r\n * It should include the signature and the parameters of the function to be\r\n * called, as described in\r\n * https://solidity.readthedocs.io/en/develop/abi-spec.html#function-selector-and-argument-encoding.\r\n */\r\n function upgradeToAndCall(address newImplementation, bytes data) payable external ifAdmin {\r\n _upgradeTo(newImplementation);\r\n require(address(this).call.value(msg.value)(data));\r\n }\r\n\r\n /**\r\n * @return The admin slot.\r\n */\r\n function _admin() internal view returns (address adm) {\r\n bytes32 slot = ADMIN_SLOT;\r\n assembly {\r\n adm := sload(slot)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Sets the address of the proxy admin.\r\n * @param newAdmin Address of the new proxy admin.\r\n */\r\n function _setAdmin(address newAdmin) internal {\r\n bytes32 slot = ADMIN_SLOT;\r\n\r\n assembly {\r\n sstore(slot, newAdmin)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Only fall back when the sender is not the admin.\r\n */\r\n function _willFallback() internal {\r\n require(msg.sender != _admin(), \"Cannot call fallback function from the proxy admin\");\r\n super._willFallback();\r\n }\r\n}\r\n\r\n// File: contracts/FiatTokenProxy.sol\r\n\r\n/**\r\n* Copyright CENTRE SECZ 2018\r\n*\r\n* Permission is hereby granted, free of charge, to any person obtaining a copy \r\n* of this software and associated documentation files (the \"Software\"), to deal \r\n* in the Software without restriction, including without limitation the rights \r\n* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell \r\n* copies of the Software, and to permit persons to whom the Software is furnished to \r\n* do so, subject to the following conditions:\r\n*\r\n* The above copyright notice and this permission notice shall be included in all \r\n* copies or substantial portions of the Software.\r\n*\r\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR \r\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \r\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE \r\n* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r\n* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN \r\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n*/\r\n\r\npragma solidity ^0.4.24;\r\n\r\n\r\n/**\r\n * @title FiatTokenProxy\r\n * @dev This contract proxies FiatToken calls and enables FiatToken upgrades\r\n*/ \r\ncontract FiatTokenProxy is AdminUpgradeabilityProxy {\r\n constructor(address _implementation) public AdminUpgradeabilityProxy(_implementation) {\r\n }\r\n}","ABI":"[{\"constant\":false,\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_implementation\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}]","ContractName":"FiatTokenProxy","CompilerVersion":"v0.4.24+commit.e67f0147","CompilerType":"solc","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"0000000000000000000000000882477e7895bdc5cea7cb1552ed914ab157fe56","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0x43506849d7c04f9138d1a2050bbf3a0c054402dd","SwarmSource":"bzzr://a4a547cfc7202c5acaaae74d428e988bc62ad5024eb0165532d3a8f91db4ed24","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/77e2f6b85702459b561226ed31e2a5eee063c1009bde13dea5f71e77f4ed864c b/tests/cachedrpc/77e2f6b85702459b561226ed31e2a5eee063c1009bde13dea5f71e77f4ed864c new file mode 100644 index 00000000..d27c95d9 --- /dev/null +++ b/tests/cachedrpc/77e2f6b85702459b561226ed31e2a5eee063c1009bde13dea5f71e77f4ed864c @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{\"SafeMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.11;\\n\\n/**\\n * @dev Wrappers over Solidity\\u0027s arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it\\u0027s recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity\\u0027s `+` operator.\\n *\\n * Requirements:\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c \\u003e= a, \\\"SafeMath: addition overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity\\u0027s `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n return sub(a, b, \\\"SafeMath: subtraction overflow\\\");\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity\\u0027s `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n *\\n * _Available since v2.4.0._\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b \\u003c= a, errorMessage);\\n uint256 c = a - b;\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity\\u0027s `*` operator.\\n *\\n * Requirements:\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Gas optimization: this is cheaper than requiring \\u0027a\\u0027 not being zero, but the\\n // benefit is lost if \\u0027b\\u0027 is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) {\\n return 0;\\n }\\n\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity\\u0027s `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n return div(a, b, \\\"SafeMath: division by zero\\\");\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity\\u0027s `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n *\\n * _Available since v2.4.0._\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n // Solidity only automatically asserts when dividing by 0\\n require(b \\u003e 0, errorMessage);\\n uint256 c = a / b;\\n // assert(a == b * c + a % b); // There is no case in which this doesn\\u0027t hold\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts when dividing by zero.\\n *\\n * Counterpart to Solidity\\u0027s `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n return mod(a, b, \\\"SafeMath: modulo by zero\\\");\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts with custom message when dividing by zero.\\n *\\n * Counterpart to Solidity\\u0027s `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n *\\n * _Available since v2.4.0._\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b != 0, errorMessage);\\n return a % b;\\n }\\n}\"},\"Timelock.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.11;\\n\\nimport \\\"./SafeMath.sol\\\";\\n\\ncontract Timelock {\\n using SafeMath for uint;\\n\\n event NewAdmin(address indexed newAdmin);\\n event NewPendingAdmin(address indexed newPendingAdmin);\\n event NewDelay(uint indexed newDelay);\\n event CancelTransaction(bytes32 indexed txHash, address indexed target, uint value, string signature, bytes data, uint eta);\\n event ExecuteTransaction(bytes32 indexed txHash, address indexed target, uint value, string signature, bytes data, uint eta);\\n event QueueTransaction(bytes32 indexed txHash, address indexed target, uint value, string signature, bytes data, uint eta);\\n\\n uint public constant GRACE_PERIOD = 14 days;\\n uint public constant MINIMUM_DELAY = 2 days;\\n uint public constant MAXIMUM_DELAY = 30 days;\\n\\n address public admin;\\n address public pendingAdmin;\\n uint public delay;\\n\\n mapping (bytes32 =\\u003e bool) public queuedTransactions;\\n\\n\\n constructor(address admin_, uint delay_) public {\\n require(delay_ \\u003e= MINIMUM_DELAY, \\\"Timelock::constructor: Delay must exceed minimum delay.\\\");\\n require(delay_ \\u003c= MAXIMUM_DELAY, \\\"Timelock::setDelay: Delay must not exceed maximum delay.\\\");\\n\\n admin = admin_;\\n delay = delay_;\\n }\\n\\n //function() external payable { }\\n\\n function setDelay(uint delay_) public {\\n require(msg.sender == address(this), \\\"Timelock::setDelay: Call must come from Timelock.\\\");\\n require(delay_ \\u003e= MINIMUM_DELAY, \\\"Timelock::setDelay: Delay must exceed minimum delay.\\\");\\n require(delay_ \\u003c= MAXIMUM_DELAY, \\\"Timelock::setDelay: Delay must not exceed maximum delay.\\\");\\n delay = delay_;\\n\\n emit NewDelay(delay);\\n }\\n\\n function acceptAdmin() public {\\n require(msg.sender == pendingAdmin, \\\"Timelock::acceptAdmin: Call must come from pendingAdmin.\\\");\\n admin = msg.sender;\\n pendingAdmin = address(0);\\n\\n emit NewAdmin(admin);\\n }\\n\\n function setPendingAdmin(address pendingAdmin_) public {\\n require(msg.sender == address(this), \\\"Timelock::setPendingAdmin: Call must come from Timelock.\\\");\\n pendingAdmin = pendingAdmin_;\\n\\n emit NewPendingAdmin(pendingAdmin);\\n }\\n\\n function queueTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public returns (bytes32) {\\n require(msg.sender == admin, \\\"Timelock::queueTransaction: Call must come from admin.\\\");\\n require(eta \\u003e= getBlockTimestamp().add(delay), \\\"Timelock::queueTransaction: Estimated execution block must satisfy delay.\\\");\\n\\n bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta));\\n queuedTransactions[txHash] = true;\\n\\n emit QueueTransaction(txHash, target, value, signature, data, eta);\\n return txHash;\\n }\\n\\n function cancelTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public {\\n require(msg.sender == admin, \\\"Timelock::cancelTransaction: Call must come from admin.\\\");\\n\\n bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta));\\n queuedTransactions[txHash] = false;\\n\\n emit CancelTransaction(txHash, target, value, signature, data, eta);\\n }\\n\\n function executeTransaction(address target, uint value, string memory signature, bytes memory data, uint eta) public payable returns (bytes memory) {\\n require(msg.sender == admin, \\\"Timelock::executeTransaction: Call must come from admin.\\\");\\n\\n bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta));\\n require(queuedTransactions[txHash], \\\"Timelock::executeTransaction: Transaction hasn\\u0027t been queued.\\\");\\n require(getBlockTimestamp() \\u003e= eta, \\\"Timelock::executeTransaction: Transaction hasn\\u0027t surpassed time lock.\\\");\\n require(getBlockTimestamp() \\u003c= eta.add(GRACE_PERIOD), \\\"Timelock::executeTransaction: Transaction is stale.\\\");\\n\\n queuedTransactions[txHash] = false;\\n\\n bytes memory callData;\\n\\n if (bytes(signature).length == 0) {\\n callData = data;\\n } else {\\n callData = abi.encodePacked(bytes4(keccak256(bytes(signature))), data);\\n }\\n\\n // Execute the call\\n (bool success, bytes memory returnData) = target.call{ value: value }(callData);\\n require(success, \\\"Timelock::executeTransaction: Transaction execution reverted.\\\");\\n\\n emit ExecuteTransaction(txHash, target, value, signature, data, eta);\\n\\n return returnData;\\n }\\n\\n function getBlockTimestamp() internal view returns (uint) {\\n return block.timestamp;\\n }\\n}\"}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"delay_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eta\",\"type\":\"uint256\"}],\"name\":\"CancelTransaction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eta\",\"type\":\"uint256\"}],\"name\":\"ExecuteTransaction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"NewAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newDelay\",\"type\":\"uint256\"}],\"name\":\"NewDelay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"NewPendingAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eta\",\"type\":\"uint256\"}],\"name\":\"QueueTransaction\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GRACE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAXIMUM_DELAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINIMUM_DELAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"eta\",\"type\":\"uint256\"}],\"name\":\"cancelTransaction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"eta\",\"type\":\"uint256\"}],\"name\":\"executeTransaction\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"signature\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"eta\",\"type\":\"uint256\"}],\"name\":\"queueTransaction\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"queuedTransactions\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"delay_\",\"type\":\"uint256\"}],\"name\":\"setDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pendingAdmin_\",\"type\":\"address\"}],\"name\":\"setPendingAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"Timelock","CompilerVersion":"v0.6.11+commit.5ef660b1","CompilerType":"solc-m","OptimizationUsed":"1","Runs":"100000","ConstructorArguments":"000000000000000000000000510b35338c8e3b53f12aa109c38995acd9127ae0000000000000000000000000000000000000000000000000000000000002a300","EVMVersion":"Default","Library":"","LicenseType":"MIT","Proxy":"0","Implementation":"","SwarmSource":"ipfs://e54d4462330e91b001afa1952ea1544aa4176298038a1ce9f288491c5a991802","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/7b7dfcd4ac457ae825f89b8499d750496ecfc99a5448a80e7f7bd1c09dabe8e1 b/tests/cachedrpc/7b7dfcd4ac457ae825f89b8499d750496ecfc99a5448a80e7f7bd1c09dabe8e1 new file mode 100644 index 00000000..e486e569 --- /dev/null +++ b/tests/cachedrpc/7b7dfcd4ac457ae825f89b8499d750496ecfc99a5448a80e7f7bd1c09dabe8e1 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x6b175474e89094c44da98b954eedeac495271d0f","contractCreator":"0xddb108893104de4e1c6d0e47c42237db4e617acc","txHash":"0x495402df7d45fe36329b0bd94487f49baee62026d50f654600f6771bd2a596ab","blockNumber":"8928158","timestamp":"1573672677","contractFactory":"0xb5b06a16621616875a6c2637948bf98ea57c58fa","creationBytecode":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/7bb158652d7b7d6e6bb7faf47a6b4e7ad5f2cad1b3a413252d2e1ef224a084a0 b/tests/cachedrpc/7bb158652d7b7d6e6bb7faf47a6b4e7ad5f2cad1b3a413252d2e1ef224a084a0 new file mode 100644 index 00000000..eccd9182 --- /dev/null +++ b/tests/cachedrpc/7bb158652d7b7d6e6bb7faf47a6b4e7ad5f2cad1b3a413252d2e1ef224a084a0 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// hevm: flattened sources of /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/dai.sol\r\npragma solidity =0.5.12;\r\n\r\n////// /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/lib.sol\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity 0.5.12; */\r\n\r\ncontract LibNote {\r\n event LogNote(\r\n bytes4 indexed sig,\r\n address indexed usr,\r\n bytes32 indexed arg1,\r\n bytes32 indexed arg2,\r\n bytes data\r\n ) anonymous;\r\n\r\n modifier note {\r\n _;\r\n assembly {\r\n // log an 'anonymous' event with a constant 6 words of calldata\r\n // and four indexed topics: selector, caller, arg1 and arg2\r\n let mark := msize // end of memory ensures zero\r\n mstore(0x40, add(mark, 288)) // update free memory pointer\r\n mstore(mark, 0x20) // bytes type data offset\r\n mstore(add(mark, 0x20), 224) // bytes size (padded)\r\n calldatacopy(add(mark, 0x40), 0, 224) // bytes payload\r\n log4(mark, 288, // calldata\r\n shl(224, shr(224, calldataload(0))), // msg.sig\r\n caller, // msg.sender\r\n calldataload(4), // arg1\r\n calldataload(36) // arg2\r\n )\r\n }\r\n }\r\n}\r\n\r\n////// /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/dai.sol\r\n// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU Affero General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n//\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU Affero General Public License for more details.\r\n//\r\n// You should have received a copy of the GNU Affero General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity 0.5.12; */\r\n\r\n/* import \"./lib.sol\"; */\r\n\r\ncontract Dai is LibNote {\r\n // --- Auth ---\r\n mapping (address => uint) public wards;\r\n function rely(address guy) external note auth { wards[guy] = 1; }\r\n function deny(address guy) external note auth { wards[guy] = 0; }\r\n modifier auth {\r\n require(wards[msg.sender] == 1, \"Dai/not-authorized\");\r\n _;\r\n }\r\n\r\n // --- ERC20 Data ---\r\n string public constant name = \"Dai Stablecoin\";\r\n string public constant symbol = \"DAI\";\r\n string public constant version = \"1\";\r\n uint8 public constant decimals = 18;\r\n uint256 public totalSupply;\r\n\r\n mapping (address => uint) public balanceOf;\r\n mapping (address => mapping (address => uint)) public allowance;\r\n mapping (address => uint) public nonces;\r\n\r\n event Approval(address indexed src, address indexed guy, uint wad);\r\n event Transfer(address indexed src, address indexed dst, uint wad);\r\n\r\n // --- Math ---\r\n function add(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x + y) >= x);\r\n }\r\n function sub(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x - y) <= x);\r\n }\r\n\r\n // --- EIP712 niceties ---\r\n bytes32 public DOMAIN_SEPARATOR;\r\n // bytes32 public constant PERMIT_TYPEHASH = keccak256(\"Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)\");\r\n bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;\r\n\r\n constructor(uint256 chainId_) public {\r\n wards[msg.sender] = 1;\r\n DOMAIN_SEPARATOR = keccak256(abi.encode(\r\n keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\r\n keccak256(bytes(name)),\r\n keccak256(bytes(version)),\r\n chainId_,\r\n address(this)\r\n ));\r\n }\r\n\r\n // --- Token ---\r\n function transfer(address dst, uint wad) external returns (bool) {\r\n return transferFrom(msg.sender, dst, wad);\r\n }\r\n function transferFrom(address src, address dst, uint wad)\r\n public returns (bool)\r\n {\r\n require(balanceOf[src] >= wad, \"Dai/insufficient-balance\");\r\n if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) {\r\n require(allowance[src][msg.sender] >= wad, \"Dai/insufficient-allowance\");\r\n allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad);\r\n }\r\n balanceOf[src] = sub(balanceOf[src], wad);\r\n balanceOf[dst] = add(balanceOf[dst], wad);\r\n emit Transfer(src, dst, wad);\r\n return true;\r\n }\r\n function mint(address usr, uint wad) external auth {\r\n balanceOf[usr] = add(balanceOf[usr], wad);\r\n totalSupply = add(totalSupply, wad);\r\n emit Transfer(address(0), usr, wad);\r\n }\r\n function burn(address usr, uint wad) external {\r\n require(balanceOf[usr] >= wad, \"Dai/insufficient-balance\");\r\n if (usr != msg.sender && allowance[usr][msg.sender] != uint(-1)) {\r\n require(allowance[usr][msg.sender] >= wad, \"Dai/insufficient-allowance\");\r\n allowance[usr][msg.sender] = sub(allowance[usr][msg.sender], wad);\r\n }\r\n balanceOf[usr] = sub(balanceOf[usr], wad);\r\n totalSupply = sub(totalSupply, wad);\r\n emit Transfer(usr, address(0), wad);\r\n }\r\n function approve(address usr, uint wad) external returns (bool) {\r\n allowance[msg.sender][usr] = wad;\r\n emit Approval(msg.sender, usr, wad);\r\n return true;\r\n }\r\n\r\n // --- Alias ---\r\n function push(address usr, uint wad) external {\r\n transferFrom(msg.sender, usr, wad);\r\n }\r\n function pull(address usr, uint wad) external {\r\n transferFrom(usr, msg.sender, wad);\r\n }\r\n function move(address src, address dst, uint wad) external {\r\n transferFrom(src, dst, wad);\r\n }\r\n\r\n // --- Approve by signature ---\r\n function permit(address holder, address spender, uint256 nonce, uint256 expiry,\r\n bool allowed, uint8 v, bytes32 r, bytes32 s) external\r\n {\r\n bytes32 digest =\r\n keccak256(abi.encodePacked(\r\n \"\\x19\\x01\",\r\n DOMAIN_SEPARATOR,\r\n keccak256(abi.encode(PERMIT_TYPEHASH,\r\n holder,\r\n spender,\r\n nonce,\r\n expiry,\r\n allowed))\r\n ));\r\n\r\n require(holder != address(0), \"Dai/invalid-address-0\");\r\n require(holder == ecrecover(digest, v, r, s), \"Dai/invalid-permit\");\r\n require(expiry == 0 || now <= expiry, \"Dai/permit-expired\");\r\n require(nonce == nonces[holder]++, \"Dai/invalid-nonce\");\r\n uint wad = allowed ? uint(-1) : 0;\r\n allowance[holder][spender] = wad;\r\n emit Approval(holder, spender, wad);\r\n }\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId_\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":true,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"sig\",\"type\":\"bytes4\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"arg1\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"arg2\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"LogNote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"guy\",\"type\":\"address\"}],\"name\":\"deny\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"move\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"pull\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"usr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"push\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"guy\",\"type\":\"address\"}],\"name\":\"rely\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"wards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]","ContractName":"Dai","CompilerVersion":"v0.5.12+commit.7709ece9","CompilerType":"solc","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"0000000000000000000000000000000000000000000000000000000000000001","EVMVersion":"Default","Library":"","LicenseType":"GNU GPLv3","Proxy":"0","Implementation":"","SwarmSource":"bzzr://c0ae2c29860c0a59d5586a579abbcddfe4bcef0524a87301425cbc58c3e94e31","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/7ddb05eb27490f3de6b5b00a04bed6220c7b3813487ca020b6592034cbd1330b b/tests/cachedrpc/7ddb05eb27490f3de6b5b00a04bed6220c7b3813487ca020b6592034cbd1330b new file mode 100644 index 00000000..2eef9f7d --- /dev/null +++ b/tests/cachedrpc/7ddb05eb27490f3de6b5b00a04bed6220c7b3813487ca020b6592034cbd1330b @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x5e8422345238f34275888049021821e8e08caa1f","contractCreator":"0x4600d3b12c39af925c2c07c487d31d17c1e32a35","txHash":"0x8b36720344797ed57f2e22cf2aa56a09662165567a6ade701259cde560cc4a9d","blockNumber":"15686046","timestamp":"1665022895","contractFactory":"","creationBytecode":"0x6101406040523480156200001257600080fd5b5060405162001e9138038062001e9183398101604081905262000035916200024a565b81816040518060400160405280600a815260200169233930bc1022ba3432b960b11b815250604051806040016040528060068152602001650cce4f08aa8960d31b815250838280604051806040016040528060018152602001603160f81b81525085858160039081620000a9919062000327565b506004620000b8828262000327565b5050825160209384012082519284019290922060e08390526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818901819052818301979097526060810194909452608080850193909352308483018190528151808603909301835260c0948501909152815191909601209052929092526101205250506001600160a01b038116620001a65760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f74206265203000000000000000604482015260640160405180910390fd5b600780546001600160a01b0319166001600160a01b038316908117909155604080516000815260208101929092527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a15050600980546001600160a01b0319166001600160a01b03939093169290921790915550620003f392505050565b80516001600160a01b03811681146200024557600080fd5b919050565b600080604083850312156200025e57600080fd5b62000269836200022d565b915062000279602084016200022d565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ad57607f821691505b602082108103620002ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032257600081815260208120601f850160051c81016020861015620002fd5750805b601f850160051c820191505b818110156200031e5782815560010162000309565b5050505b505050565b81516001600160401b0381111562000343576200034362000282565b6200035b8162000354845462000298565b84620002d4565b602080601f8311600181146200039357600084156200037a5750858301515b600019600386901b1c1916600185901b1785556200031e565b600085815260208120601f198616915b82811015620003c457888601518255948401946001909101908401620003a3565b5085821015620003e35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e0516101005161012051611a4e620004436000396000611235015260006112840152600061125f015260006111b8015260006111e20152600061120c0152611a4e6000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806379ba5097116100f9578063a9059cbb11610097578063d73ced0411610071578063d73ced04146103b6578063dc6663c7146103c9578063dd62ed3e146103dc578063f46eccc4146103ef57600080fd5b8063a9059cbb1461037d578063bdacb30314610390578063d505accf146103a357600080fd5b80638da5cb5b116100d35780638da5cb5b1461033c57806395d89b411461034f578063983b2d5614610357578063a457c2d71461036a57600080fd5b806379ba50971461030e57806379cc6790146103165780637ecebe001461032957600080fd5b80633644e5151161016657806353a47bb71161014057806353a47bb7146102945780636a257ebc146102bf57806370a08231146102d25780637941bc89146102fb57600080fd5b80633644e51514610266578063395093511461026e57806342966c681461028157600080fd5b806318160ddd116101a257806318160ddd1461021f57806323b872dd146102315780633092afd514610244578063313ce5671461025757600080fd5b806306fdde03146101c9578063095ea7b3146101e75780631627540c1461020a575b600080fd5b6101d1610412565b6040516101de9190611767565b60405180910390f35b6101fa6101f53660046117d1565b6104a4565b60405190151581526020016101de565b61021d6102183660046117fb565b6104be565b005b6002545b6040519081526020016101de565b6101fa61023f36600461181d565b61058a565b61021d6102523660046117fb565b6105ae565b604051601281526020016101de565b61022361076c565b6101fa61027c3660046117d1565b61077b565b61021d61028f366004611859565b61079d565b6008546102a7906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b61021d6102cd3660046117d1565b6107aa565b6102236102e03660046117fb565b6001600160a01b031660009081526020819052604090205490565b61021d6103093660046117d1565b61084c565b61021d6108e6565b61021d6103243660046117d1565b6109d0565b6102236103373660046117fb565b6109e9565b6007546102a7906001600160a01b031681565b6101d1610a07565b61021d6103653660046117fb565b610a16565b6101fa6103783660046117d1565b610b73565b6101fa61038b3660046117d1565b610bee565b61021d61039e3660046117fb565b610bfc565b61021d6103b1366004611872565b610caf565b6102a76103c4366004611859565b610e13565b6009546102a7906001600160a01b031681565b6102236103ea3660046118e5565b610e3d565b6101fa6103fd3660046117fb565b600b6020526000908152604090205460ff1681565b60606003805461042190611918565b80601f016020809104026020016040519081016040528092919081815260200182805461044d90611918565b801561049a5780601f1061046f5761010080835404028352916020019161049a565b820191906000526020600020905b81548152906001019060200180831161047d57829003601f168201915b5050505050905090565b6000336104b2818585610e68565b60019150505b92915050565b6007546001600160a01b031633146105355760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b60648201526084015b60405180910390fd5b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b600033610598858285610f8d565b6105a3858585611007565b506001949350505050565b6009546001600160a01b03163314806105d157506007546001600160a01b031633145b6105ed5760405162461bcd60e51b815260040161052c9061194c565b6001600160a01b0381166106135760405162461bcd60e51b815260040161052c9061197b565b6001600160a01b0381166000908152600b602052604090205460ff1615156001146106765760405162461bcd60e51b81526020600482015260136024820152721059191c995cdcc81b9bdb995e1a5cdd185b9d606a1b604482015260640161052c565b6001600160a01b0381166000908152600b60205260408120805460ff191690555b600a5481101561073257816001600160a01b0316600a82815481106106be576106be6119aa565b6000918252602090912001546001600160a01b031603610720576000600a82815481106106ed576106ed6119aa565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610732565b8061072a816119d6565b915050610697565b506040516001600160a01b03821681527fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929060200161057f565b60006107766111ab565b905090565b6000336104b281858561078e8383610e3d565b61079891906119ef565b610e68565b6107a733826112d2565b50565b336000908152600b602052604090205460ff1615156001146107fd5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c79206d696e7465727360a01b604482015260640161052c565b61080782826113fc565b6040518181526001600160a01b0383169033907fe0dcb47e0eb67e20e87f3e34aab31c669ecec7466e8b7fb329d586dadebac6b6906020015b60405180910390a35050565b336000908152600b602052604090205460ff16151560011461089f5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c79206d696e7465727360a01b604482015260640161052c565b6108a982826109d0565b60405181815233906001600160a01b038416907fdc7fd22bc401e7c6b9be2c2736286a2a42ea0c6307bc97ff0fb12bd0abd2c74790602001610840565b6008546001600160a01b0316331461095e5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b606482015260840161052c565b600754600854604080516001600160a01b0393841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160088054600780546001600160a01b03199081166001600160a01b03841617909155169055565b6109db823383610f8d565b6109e582826112d2565b5050565b6001600160a01b0381166000908152600560205260408120546104b8565b60606004805461042190611918565b6009546001600160a01b0316331480610a3957506007546001600160a01b031633145b610a555760405162461bcd60e51b815260040161052c9061194c565b6001600160a01b038116610a7b5760405162461bcd60e51b815260040161052c9061197b565b6001600160a01b0381166000908152600b602052604090205460ff1615610add5760405162461bcd60e51b81526020600482015260166024820152754164647265737320616c72656164792065786973747360501b604482015260640161052c565b6001600160a01b0381166000818152600b60209081526040808320805460ff19166001908117909155600a805491820181559093527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a890920180546001600160a01b0319168417905590519182527f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6910161057f565b60003381610b818286610e3d565b905083811015610be15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161052c565b6105a38286868403610e68565b6000336104b2818585611007565b6009546001600160a01b0316331480610c1f57506007546001600160a01b031633145b610c3b5760405162461bcd60e51b815260040161052c9061194c565b6001600160a01b038116610c615760405162461bcd60e51b815260040161052c9061197b565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527ff02fdf7b40fb25784d39342249bbb15cee2bc0288f75ded1cf8ad2e63d4d91aa9060200161057f565b83421115610cff5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161052c565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610d2e8c6114bb565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610d89826114e3565b90506000610d9982878787611531565b9050896001600160a01b0316816001600160a01b031614610dfc5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161052c565b610e078a8a8a610e68565b50505050505050505050565b600a8181548110610e2357600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610eca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161052c565b6001600160a01b038216610f2b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161052c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610f998484610e3d565b905060001981146110015781811015610ff45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161052c565b6110018484848403610e68565b50505050565b6001600160a01b03831661106b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161052c565b6001600160a01b0382166110cd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161052c565b6001600160a01b038316600090815260208190526040902054818110156111455760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161052c565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611001565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561120457507f000000000000000000000000000000000000000000000000000000000000000046145b1561122e57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b0382166113325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161052c565b6001600160a01b038216600090815260208190526040902054818110156113a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161052c565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610f80565b6001600160a01b0382166114525760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161052c565b806002600082825461146491906119ef565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006104b86114f06111ab565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061154287878787611559565b9150915061154f8161161d565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156115905750600090506003611614565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156115e4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661160d57600060019250925050611614565b9150600090505b94509492505050565b600081600481111561163157611631611a02565b036116395750565b600181600481111561164d5761164d611a02565b0361169a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161052c565b60028160048111156116ae576116ae611a02565b036116fb5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161052c565b600381600481111561170f5761170f611a02565b036107a75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161052c565b600060208083528351808285015260005b8181101561179457858101830151858201604001528201611778565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146117cc57600080fd5b919050565b600080604083850312156117e457600080fd5b6117ed836117b5565b946020939093013593505050565b60006020828403121561180d57600080fd5b611816826117b5565b9392505050565b60008060006060848603121561183257600080fd5b61183b846117b5565b9250611849602085016117b5565b9150604084013590509250925092565b60006020828403121561186b57600080fd5b5035919050565b600080600080600080600060e0888a03121561188d57600080fd5b611896886117b5565b96506118a4602089016117b5565b95506040880135945060608801359350608088013560ff811681146118c857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156118f857600080fd5b611901836117b5565b915061190f602084016117b5565b90509250929050565b600181811c9082168061192c57607f821691505b6020821081036114dd57634e487b7160e01b600052602260045260246000fd5b6020808252601590820152744e6f74206f776e6572206f722074696d656c6f636b60581b604082015260600190565b60208082526015908201527416995c9bc81859191c995cdcc819195d1958dd1959605a1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016119e8576119e86119c0565b5060010190565b808201808211156104b8576104b86119c0565b634e487b7160e01b600052602160045260246000fdfea26469706673582212202b216e0eb771386708485627ef8b6f0d1d2b013ff3310226e959cf4f5525993764736f6c63430008100033000000000000000000000000b1748c79709f4ba2dd82834b8c82d4a505003f270000000000000000000000008412ebf45bac1b340bbe8f318b928c466c4e39ca"}]} \ No newline at end of file diff --git a/tests/cachedrpc/834f5f0199d2b72812bf8bbea022a2b8e50edf9b8947bc646efabfd9d3ab8253 b/tests/cachedrpc/834f5f0199d2b72812bf8bbea022a2b8e50edf9b8947bc646efabfd9d3ab8253 new file mode 100644 index 00000000..10c3a0f7 --- /dev/null +++ b/tests/cachedrpc/834f5f0199d2b72812bf8bbea022a2b8e50edf9b8947bc646efabfd9d3ab8253 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x5a98fcbea516cf06857215779fd812ca3bef1b32","contractCreator":"0x55bc991b2edf3ddb4c520b222be4f378418ff0fa","txHash":"0x3feabd79e8549ad68d1827c074fa7123815c80206498946293d5373a160fd866","blockNumber":"11473216","timestamp":"1608242396","contractFactory":"0x909d05f384d0663ed4be59863815ab43b4f347ec","creationBytecode":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/83ba95c0b2a258d9c8f6ac39979b8aaf61e2ef28e944698aae00b3a840b54639 b/tests/cachedrpc/83ba95c0b2a258d9c8f6ac39979b8aaf61e2ef28e944698aae00b3a840b54639 new file mode 100644 index 00000000..ef7e3fc0 --- /dev/null +++ b/tests/cachedrpc/83ba95c0b2a258d9c8f6ac39979b8aaf61e2ef28e944698aae00b3a840b54639 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f","contractCreator":"0x9c33eacc2f50e39940d3afaf2c7b8246b681a374","txHash":"0xc31d7e7e85cab1d38ce1b8ac17e821ccd47dbde00f9d57f2bd8613bff9428396","blockNumber":"10000835","timestamp":"1588610042","contractFactory":"","creationBytecode":"0x608060405234801561001057600080fd5b506040516136863803806136868339818101604052602081101561003357600080fd5b5051600180546001600160a01b0319166001600160a01b03909216919091179055613623806100636000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a2e74af61161005b578063a2e74af6146100fd578063c9c6539614610132578063e6a439051461016d578063f46901ed146101a857610088565b8063017e7e581461008d578063094b7415146100be5780631e3dd18b146100c6578063574f2ba3146100e3575b600080fd5b6100956101db565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100956101f7565b610095600480360360208110156100dc57600080fd5b5035610213565b6100eb610247565b60408051918252519081900360200190f35b6101306004803603602081101561011357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661024d565b005b6100956004803603604081101561014857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661031a565b6100956004803603604081101561018357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661076d565b610130600480360360208110156101be57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107a0565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6003818154811061022057fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60035490565b60015473ffffffffffffffffffffffffffffffffffffffff1633146102d357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103b757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056323a204944454e544943414c5f4144445245535345530000604482015290519081900360640190fd5b6000808373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16106103f45783856103f7565b84845b909250905073ffffffffffffffffffffffffffffffffffffffff821661047e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f556e697377617056323a205a45524f5f41444452455353000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82811660009081526002602090815260408083208585168452909152902054161561051f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f556e697377617056323a20504149525f45584953545300000000000000000000604482015290519081900360640190fd5b6060604051806020016105319061086d565b6020820181038252601f19601f82011660405250905060008383604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b81526014018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140192505050604051602081830303815290604052805190602001209050808251602084016000f5604080517f485cc95500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152868116602483015291519297509087169163485cc9559160448082019260009290919082900301818387803b15801561065e57600080fd5b505af1158015610672573d6000803e3d6000fd5b5050505073ffffffffffffffffffffffffffffffffffffffff84811660008181526002602081815260408084208987168086529083528185208054978d167fffffffffffffffffffffffff000000000000000000000000000000000000000098891681179091559383528185208686528352818520805488168517905560038054600181018255958190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90950180549097168417909655925483519283529082015281517f0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9929181900390910190a35050505092915050565b600260209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16331461082657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b612d748061087b8339019056fe60806040526001600c5534801561001557600080fd5b506040514690806052612d228239604080519182900360520182208282018252600a8352692ab734b9bbb0b8102b1960b11b6020938401528151808301835260018152603160f81b908401528151808401919091527fbfcc8ef98ffbf7b6c3fec7bf5185b566b9863e35a9d83acd49ad6824b5969738818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b03191633179055612c1d806101056000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c80636a627842116100f9578063ba9a7a5611610097578063d21220a711610071578063d21220a7146105da578063d505accf146105e2578063dd62ed3e14610640578063fff6cae91461067b576101b9565b8063ba9a7a5614610597578063bc25cf771461059f578063c45a0155146105d2576101b9565b80637ecebe00116100d35780637ecebe00146104d757806389afcb441461050a57806395d89b4114610556578063a9059cbb1461055e576101b9565b80636a6278421461046957806370a082311461049c5780637464fc3d146104cf576101b9565b806323b872dd116101665780633644e515116101405780633644e51514610416578063485cc9551461041e5780635909c0d5146104595780635a3d549314610461576101b9565b806323b872dd146103ad57806330adf81f146103f0578063313ce567146103f8576101b9565b8063095ea7b311610197578063095ea7b3146103155780630dfe16811461036257806318160ddd14610393576101b9565b8063022c0d9f146101be57806306fdde03146102595780630902f1ac146102d6575b600080fd5b610257600480360360808110156101d457600080fd5b81359160208101359173ffffffffffffffffffffffffffffffffffffffff604083013516919081019060808101606082013564010000000081111561021857600080fd5b82018360208201111561022a57600080fd5b8035906020019184600183028401116401000000008311171561024c57600080fd5b509092509050610683565b005b610261610d57565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029b578181015183820152602001610283565b50505050905090810190601f1680156102c85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102de610d90565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b61034e6004803603604081101561032b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610de5565b604080519115158252519081900360200190f35b61036a610dfc565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61039b610e18565b60408051918252519081900360200190f35b61034e600480360360608110156103c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e1e565b61039b610efd565b610400610f21565b6040805160ff9092168252519081900360200190f35b61039b610f26565b6102576004803603604081101561043457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610f2c565b61039b611005565b61039b61100b565b61039b6004803603602081101561047f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611011565b61039b600480360360208110156104b257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113cb565b61039b6113dd565b61039b600480360360208110156104ed57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113e3565b61053d6004803603602081101561052057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113f5565b6040805192835260208301919091528051918290030190f35b610261611892565b61034e6004803603604081101561057457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356118cb565b61039b6118d8565b610257600480360360208110156105b557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118de565b61036a611ad4565b61036a611af0565b610257600480360360e08110156105f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611b0c565b61039b6004803603604081101561065657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611dd8565b610257611df5565b600c546001146106f457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55841515806107075750600084115b61075c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612b2f6025913960400191505060405180910390fd5b600080610767610d90565b5091509150816dffffffffffffffffffffffffffff168710801561079a5750806dffffffffffffffffffffffffffff1686105b6107ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612b786021913960400191505060405180910390fd5b600654600754600091829173ffffffffffffffffffffffffffffffffffffffff91821691908116908916821480159061085457508073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b6108bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f556e697377617056323a20494e56414c49445f544f0000000000000000000000604482015290519081900360640190fd5b8a156108d0576108d0828a8d611fdb565b89156108e1576108e1818a8c611fdb565b86156109c3578873ffffffffffffffffffffffffffffffffffffffff166310d1e85c338d8d8c8c6040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b1580156109aa57600080fd5b505af11580156109be573d6000803e3d6000fd5b505050505b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d6020811015610a5957600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191955073ffffffffffffffffffffffffffffffffffffffff8316916370a0823191602480820192602092909190829003018186803b158015610acb57600080fd5b505afa158015610adf573d6000803e3d6000fd5b505050506040513d6020811015610af557600080fd5b5051925060009150506dffffffffffffffffffffffffffff85168a90038311610b1f576000610b35565b89856dffffffffffffffffffffffffffff160383035b9050600089856dffffffffffffffffffffffffffff16038311610b59576000610b6f565b89856dffffffffffffffffffffffffffff160383035b90506000821180610b805750600081115b610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612b546024913960400191505060405180910390fd5b6000610c09610beb84600363ffffffff6121e816565b610bfd876103e863ffffffff6121e816565b9063ffffffff61226e16565b90506000610c21610beb84600363ffffffff6121e816565b9050610c59620f4240610c4d6dffffffffffffffffffffffffffff8b8116908b1663ffffffff6121e816565b9063ffffffff6121e816565b610c69838363ffffffff6121e816565b1015610cd657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e697377617056323a204b0000000000000000000000000000000000000000604482015290519081900360640190fd5b5050610ce4848488886122e0565b60408051838152602081018390528082018d9052606081018c9052905173ffffffffffffffffffffffffffffffffffffffff8b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600c55505050505050505050565b6040518060400160405280600a81526020017f556e69737761702056320000000000000000000000000000000000000000000081525081565b6008546dffffffffffffffffffffffffffff808216926e0100000000000000000000000000008304909116917c0100000000000000000000000000000000000000000000000000000000900463ffffffff1690565b6000610df233848461259c565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610ee85773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054610eb6908363ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b610ef384848461260b565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b60055473ffffffffffffffffffffffffffffffffffffffff163314610fb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f556e697377617056323a20464f5242494444454e000000000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560078054929093169116179055565b60095481565b600a5481565b6000600c5460011461108457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905580611094610d90565b50600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905193955091935060009273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561110e57600080fd5b505afa158015611122573d6000803e3d6000fd5b505050506040513d602081101561113857600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b505190506000611201836dffffffffffffffffffffffffffff871663ffffffff61226e16565b90506000611225836dffffffffffffffffffffffffffff871663ffffffff61226e16565b9050600061123387876126ec565b600054909150806112705761125c6103e8610bfd611257878763ffffffff6121e816565b612878565b985061126b60006103e86128ca565b6112cd565b6112ca6dffffffffffffffffffffffffffff8916611294868463ffffffff6121e816565b8161129b57fe5b046dffffffffffffffffffffffffffff89166112bd868563ffffffff6121e816565b816112c457fe5b0461297a565b98505b60008911611326576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612bc16028913960400191505060405180910390fd5b6113308a8a6128ca565b61133c86868a8a6122e0565b811561137e5760085461137a906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff6121e816565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600c5460011461146957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905580611479610d90565b50600654600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905194965092945073ffffffffffffffffffffffffffffffffffffffff9182169391169160009184916370a08231916024808301926020929190829003018186803b1580156114fb57600080fd5b505afa15801561150f573d6000803e3d6000fd5b505050506040513d602081101561152557600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff8516916370a08231916024808301926020929190829003018186803b15801561159957600080fd5b505afa1580156115ad573d6000803e3d6000fd5b505050506040513d60208110156115c357600080fd5b5051306000908152600160205260408120549192506115e288886126ec565b600054909150806115f9848763ffffffff6121e816565b8161160057fe5b049a5080611614848663ffffffff6121e816565b8161161b57fe5b04995060008b11801561162e575060008a115b611683576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612b996028913960400191505060405180910390fd5b61168d3084612992565b611698878d8d611fdb565b6116a3868d8c611fdb565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b15801561170f57600080fd5b505afa158015611723573d6000803e3d6000fd5b505050506040513d602081101561173957600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191965073ffffffffffffffffffffffffffffffffffffffff8816916370a0823191602480820192602092909190829003018186803b1580156117ab57600080fd5b505afa1580156117bf573d6000803e3d6000fd5b505050506040513d60208110156117d557600080fd5b505193506117e585858b8b6122e0565b811561182757600854611823906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff6121e816565b600b555b604080518c8152602081018c9052815173ffffffffffffffffffffffffffffffffffffffff8f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600c81905550915091565b6040518060400160405280600681526020017f554e492d5632000000000000000000000000000000000000000000000000000081525081565b6000610df233848461260b565b6103e881565b600c5460011461194f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654600754600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff9485169490931692611a2b9285928792611a26926dffffffffffffffffffffffffffff169185916370a0823191602480820192602092909190829003018186803b1580156119ee57600080fd5b505afa158015611a02573d6000803e3d6000fd5b505050506040513d6020811015611a1857600080fd5b50519063ffffffff61226e16565b611fdb565b600854604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611aca9284928792611a26926e01000000000000000000000000000090046dffffffffffffffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff8616916370a0823191602480820192602092909190829003018186803b1580156119ee57600080fd5b50506001600c5550565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611b7b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e697377617056323a20455850495245440000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611cdc573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611d5757508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611dc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f556e697377617056323a20494e56414c49445f5349474e415455524500000000604482015290519081900360640190fd5b611dcd89898961259c565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c54600114611e6657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f556e697377617056323a204c4f434b4544000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611fd49273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611edd57600080fd5b505afa158015611ef1573d6000803e3d6000fd5b505050506040513d6020811015611f0757600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015611f7a57600080fd5b505afa158015611f8e573d6000803e3d6000fd5b505050506040513d6020811015611fa457600080fd5b50516008546dffffffffffffffffffffffffffff808216916e0100000000000000000000000000009004166122e0565b6001600c55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106120e157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016120a4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612143576040519150601f19603f3d011682016040523d82523d6000602084013e612148565b606091505b5091509150818015612176575080511580612176575080806020019051602081101561217357600080fd5b50515b6121e157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f556e697377617056323a205452414e534645525f4641494c4544000000000000604482015290519081900360640190fd5b5050505050565b60008115806122035750508082028282828161220057fe5b04145b610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b80820382811115610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b6dffffffffffffffffffffffffffff841180159061230c57506dffffffffffffffffffffffffffff8311155b61237757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f556e697377617056323a204f564552464c4f5700000000000000000000000000604482015290519081900360640190fd5b60085463ffffffff428116917c0100000000000000000000000000000000000000000000000000000000900481168203908116158015906123c757506dffffffffffffffffffffffffffff841615155b80156123e257506dffffffffffffffffffffffffffff831615155b15612492578063ffffffff16612425856123fb86612a57565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169063ffffffff612a7b16565b600980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092169290920201905563ffffffff8116612465846123fb87612a57565b600a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff92909216929092020190555b600880547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff888116919091177fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000008883168102919091177bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c010000000000000000000000000000000000000000000000000000000063ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054612641908263ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082209390935590841681522054612683908263ffffffff612abc16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561275757600080fd5b505afa15801561276b573d6000803e3d6000fd5b505050506040513d602081101561278157600080fd5b5051600b5473ffffffffffffffffffffffffffffffffffffffff821615801594509192509061286457801561285f5760006127d86112576dffffffffffffffffffffffffffff88811690881663ffffffff6121e816565b905060006127e583612878565b90508082111561285c576000612813612804848463ffffffff61226e16565b6000549063ffffffff6121e816565b905060006128388361282c86600563ffffffff6121e816565b9063ffffffff612abc16565b9050600081838161284557fe5b04905080156128585761285887826128ca565b5050505b50505b612870565b8015612870576000600b555b505092915050565b600060038211156128bb575080600160028204015b818110156128b5578091506002818285816128a457fe5b0401816128ad57fe5b04905061288d565b506128c5565b81156128c5575060015b919050565b6000546128dd908263ffffffff612abc16565b600090815573ffffffffffffffffffffffffffffffffffffffff8316815260016020526040902054612915908263ffffffff612abc16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000818310612989578161298b565b825b9392505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020546129c8908263ffffffff61226e16565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081209190915554612a02908263ffffffff61226e16565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6dffffffffffffffffffffffffffff166e0100000000000000000000000000000290565b60006dffffffffffffffffffffffffffff82167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff841681612ab457fe5b049392505050565b80820182811015610df657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe556e697377617056323a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f494e5055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f4c4951554944495459556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4255524e4544556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4d494e544544a265627a7a723158207dca18479e58487606bf70c79e44d8dee62353c9ee6d01f9a9d70885b8765f2264736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a265627a7a723158202760f92d7fa1db6f5aa16307bad65df4ebcc8550c4b1f03755ab8dfd830c178f64736f6c63430005100032000000000000000000000000c0a4272bb5df52134178df25d77561cfb17ce407"}]} \ No newline at end of file diff --git a/tests/cachedrpc/8854cd61a8789aa2ab82cdf5f621230f18d170314c8830c5a542a51689e82792 b/tests/cachedrpc/8854cd61a8789aa2ab82cdf5f621230f18d170314c8830c5a542a51689e82792 new file mode 100644 index 00000000..b5d3f0cc --- /dev/null +++ b/tests/cachedrpc/8854cd61a8789aa2ab82cdf5f621230f18d170314c8830c5a542a51689e82792 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{\"Address.sol\":{\"content\":\"pragma solidity ^0.4.24;\\n\\nlibrary Address {\\n /**\\n * Returns whether the target address is a contract\\n * @dev This function will return false if invoked during the constructor of a contract,\\n * as the code is not actually created until after the constructor finishes.\\n * @param account address of the account to check\\n * @return whether the target address is a contract\\n */\\n function isContract(address account) internal view returns (bool) {\\n uint256 size;\\n // XXX Currently there is no better way to check if there is a contract in an address\\n // than to check the size of the code at that address.\\n // See https://ethereum.stackexchange.com/a/14016/36603\\n // for more details about how this works.\\n // TODO Check this again before the Serenity release, because all addresses will be\\n // contracts then.\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size \\u003e 0;\\n }\\n}\"},\"OwnedUpgradeabilityProxy.sol\":{\"content\":\"pragma solidity ^0.4.24;\\n\\nimport \\u0027./UpgradeabilityProxy.sol\\u0027;\\n\\n\\n/**\\n * @title OwnedUpgradeabilityProxy\\n * @dev This contract combines an upgradeability proxy with basic authorization control functionalities\\n */\\ncontract OwnedUpgradeabilityProxy is UpgradeabilityProxy {\\n /**\\n * @dev Event to show ownership has been transferred\\n * @param previousOwner representing the address of the previous owner\\n * @param newOwner representing the address of the new owner\\n */\\n event ProxyOwnershipTransferred(address previousOwner, address newOwner);\\n\\n // Storage position of the owner of the contract\\n bytes32 private constant proxyOwnerPosition = keccak256(\\\"org.zeppelinos.proxy.owner\\\");\\n\\n /**\\n * @dev the constructor sets the original owner of the contract to the sender account.\\n */\\n constructor() public {\\n setUpgradeabilityOwner(msg.sender);\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyProxyOwner() {\\n require(msg.sender == proxyOwner());\\n _;\\n }\\n\\n /**\\n * @dev Tells the address of the owner\\n * @return the address of the owner\\n */\\n function proxyOwner() public view returns (address owner) {\\n bytes32 position = proxyOwnerPosition;\\n assembly {\\n owner := sload(position)\\n }\\n }\\n\\n /**\\n * @dev Sets the address of the owner\\n */\\n function setUpgradeabilityOwner(address newProxyOwner) internal {\\n bytes32 position = proxyOwnerPosition;\\n assembly {\\n sstore(position, newProxyOwner)\\n }\\n }\\n\\n /**\\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\\n * @param newOwner The address to transfer ownership to.\\n */\\n function transferProxyOwnership(address newOwner) public onlyProxyOwner {\\n require(newOwner != address(0));\\n emit ProxyOwnershipTransferred(proxyOwner(), newOwner);\\n setUpgradeabilityOwner(newOwner);\\n }\\n\\n /**\\n * @dev Allows the proxy owner to upgrade the current version of the proxy.\\n * @param implementation representing the address of the new implementation to be set.\\n */\\n function upgradeTo(address implementation) public onlyProxyOwner {\\n _upgradeTo(implementation);\\n }\\n\\n /**\\n * @dev Allows the proxy owner to upgrade the current version of the proxy and call the new implementation\\n * to initialize whatever is needed through a low level call.\\n * @param implementation representing the address of the new implementation to be set.\\n * @param data represents the msg.data to bet sent in the low level call. This parameter may include the function\\n * signature of the implementation to be called with the needed payload\\n */\\n function upgradeToAndCall(address implementation, bytes data) payable public onlyProxyOwner {\\n upgradeTo(implementation);\\n require(implementation.delegatecall(data));\\n}\\n}\"},\"Proxy.sol\":{\"content\":\"pragma solidity ^0.4.24;\\n\\n/**\\n * @title Proxy\\n * @dev Gives the possibility to delegate any call to a foreign implementation.\\n */\\ncontract Proxy {\\n /**\\n * @dev Tells the address of the implementation where every call will be delegated.\\n * @return address of the implementation to which it will be delegated\\n */\\n function implementation() public view returns (address);\\n\\n /**\\n * @dev Fallback function allowing to perform a delegatecall to the given implementation.\\n * This function will return whatever the implementation call returns\\n */\\n function () payable public {\\n address _impl = implementation();\\n require(_impl != address(0));\\n\\n assembly {\\n let ptr := mload(0x40)\\n calldatacopy(ptr, 0, calldatasize)\\n let result := delegatecall(gas, _impl, ptr, calldatasize, 0, 0)\\n let size := returndatasize\\n returndatacopy(ptr, 0, size)\\n\\n switch result\\n case 0 { revert(ptr, size) }\\n default { return(ptr, size) }\\n }\\n }\\n}\"},\"UpgradeabilityProxy.sol\":{\"content\":\"pragma solidity ^0.4.24;\\n\\nimport \\u0027./Proxy.sol\\u0027;\\nimport \\u0027./Address.sol\\u0027;\\n\\n\\n/**\\n * @title UpgradeabilityProxy\\n * @dev This contract represents a proxy where the implementation address to which it will delegate can be upgraded\\n */\\ncontract UpgradeabilityProxy is Proxy {\\n /**\\n * @dev This event will be emitted every time the implementation gets upgraded\\n * @param implementation representing the address of the upgraded implementation\\n */\\n event Upgraded(address indexed implementation);\\n\\n // Storage position of the address of the current implementation\\n bytes32 private constant implementationPosition = keccak256(\\\"org.zeppelinos.proxy.implementation\\\");\\n\\n /**\\n * @dev Constructor function\\n */\\n constructor() public {}\\n\\n /**\\n * @dev Tells the address of the current implementation\\n * @return address of the current implementation\\n */\\n function implementation() public view returns (address impl) {\\n bytes32 position = implementationPosition;\\n assembly {\\n impl := sload(position)\\n }\\n }\\n\\n /**\\n * @dev Sets the address of the current implementation\\n * @param newImplementation address representing the new implementation to be set\\n */\\n function setImplementation(address newImplementation) internal {\\n require(Address.isContract(newImplementation),\\\"newImplementation is not a contractAddress\\\");\\n bytes32 position = implementationPosition;\\n assembly {\\n sstore(position, newImplementation)\\n }\\n }\\n\\n /**\\n * @dev Upgrades the implementation address\\n * @param newImplementation representing the address of the new implementation to be set\\n */\\n function _upgradeTo(address newImplementation) internal {\\n address currentImplementation = implementation();\\n require(currentImplementation != newImplementation);\\n setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n}\"}}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"proxyOwner\",\"outputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"name\":\"impl\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferProxyOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"ProxyOwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}]","ContractName":"OwnedUpgradeabilityProxy","CompilerVersion":"v0.4.24+commit.e67f0147","CompilerType":"solc-m","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"None","Proxy":"1","Implementation":"0x5dba7dfcdbfb8812d30fdd99d9441f8b7a605621","SwarmSource":"bzzr://b21827233f9d2bef4fe7ba531d23ab64a9325b87e4f66551d34e9fa11786d84b","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/8e4105876c0d5528f2c894fb9f8881926f8daa1369d07635d6415dc35974d507 b/tests/cachedrpc/8e4105876c0d5528f2c894fb9f8881926f8daa1369d07635d6415dc35974d507 new file mode 100644 index 00000000..e513c66c --- /dev/null +++ b/tests/cachedrpc/8e4105876c0d5528f2c894fb9f8881926f8daa1369d07635d6415dc35974d507 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// Copyright (C) 2015, 2016, 2017 Dapphub\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\npragma solidity ^0.4.18;\r\n\r\ncontract WETH9 {\r\n string public name = \"Wrapped Ether\";\r\n string public symbol = \"WETH\";\r\n uint8 public decimals = 18;\r\n\r\n event Approval(address indexed src, address indexed guy, uint wad);\r\n event Transfer(address indexed src, address indexed dst, uint wad);\r\n event Deposit(address indexed dst, uint wad);\r\n event Withdrawal(address indexed src, uint wad);\r\n\r\n mapping (address => uint) public balanceOf;\r\n mapping (address => mapping (address => uint)) public allowance;\r\n\r\n function() public payable {\r\n deposit();\r\n }\r\n function deposit() public payable {\r\n balanceOf[msg.sender] += msg.value;\r\n Deposit(msg.sender, msg.value);\r\n }\r\n function withdraw(uint wad) public {\r\n require(balanceOf[msg.sender] >= wad);\r\n balanceOf[msg.sender] -= wad;\r\n msg.sender.transfer(wad);\r\n Withdrawal(msg.sender, wad);\r\n }\r\n\r\n function totalSupply() public view returns (uint) {\r\n return this.balance;\r\n }\r\n\r\n function approve(address guy, uint wad) public returns (bool) {\r\n allowance[msg.sender][guy] = wad;\r\n Approval(msg.sender, guy, wad);\r\n return true;\r\n }\r\n\r\n function transfer(address dst, uint wad) public returns (bool) {\r\n return transferFrom(msg.sender, dst, wad);\r\n }\r\n\r\n function transferFrom(address src, address dst, uint wad)\r\n public\r\n returns (bool)\r\n {\r\n require(balanceOf[src] >= wad);\r\n\r\n if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) {\r\n require(allowance[src][msg.sender] >= wad);\r\n allowance[src][msg.sender] -= wad;\r\n }\r\n\r\n balanceOf[src] -= wad;\r\n balanceOf[dst] += wad;\r\n\r\n Transfer(src, dst, wad);\r\n\r\n return true;\r\n }\r\n}\r\n\r\n\r\n/*\r\n GNU GENERAL PUBLIC LICENSE\r\n Version 3, 29 June 2007\r\n\r\n Copyright (C) 2007 Free Software Foundation, Inc. \r\n Everyone is permitted to copy and distribute verbatim copies\r\n of this license document, but changing it is not allowed.\r\n\r\n Preamble\r\n\r\n The GNU General Public License is a free, copyleft license for\r\nsoftware and other kinds of works.\r\n\r\n The licenses for most software and other practical works are designed\r\nto take away your freedom to share and change the works. By contrast,\r\nthe GNU General Public License is intended to guarantee your freedom to\r\nshare and change all versions of a program--to make sure it remains free\r\nsoftware for all its users. We, the Free Software Foundation, use the\r\nGNU General Public License for most of our software; it applies also to\r\nany other work released this way by its authors. You can apply it to\r\nyour programs, too.\r\n\r\n When we speak of free software, we are referring to freedom, not\r\nprice. Our General Public Licenses are designed to make sure that you\r\nhave the freedom to distribute copies of free software (and charge for\r\nthem if you wish), that you receive source code or can get it if you\r\nwant it, that you can change the software or use pieces of it in new\r\nfree programs, and that you know you can do these things.\r\n\r\n To protect your rights, we need to prevent others from denying you\r\nthese rights or asking you to surrender the rights. Therefore, you have\r\ncertain responsibilities if you distribute copies of the software, or if\r\nyou modify it: responsibilities to respect the freedom of others.\r\n\r\n For example, if you distribute copies of such a program, whether\r\ngratis or for a fee, you must pass on to the recipients the same\r\nfreedoms that you received. You must make sure that they, too, receive\r\nor can get the source code. And you must show them these terms so they\r\nknow their rights.\r\n\r\n Developers that use the GNU GPL protect your rights with two steps:\r\n(1) assert copyright on the software, and (2) offer you this License\r\ngiving you legal permission to copy, distribute and/or modify it.\r\n\r\n For the developers' and authors' protection, the GPL clearly explains\r\nthat there is no warranty for this free software. For both users' and\r\nauthors' sake, the GPL requires that modified versions be marked as\r\nchanged, so that their problems will not be attributed erroneously to\r\nauthors of previous versions.\r\n\r\n Some devices are designed to deny users access to install or run\r\nmodified versions of the software inside them, although the manufacturer\r\ncan do so. This is fundamentally incompatible with the aim of\r\nprotecting users' freedom to change the software. The systematic\r\npattern of such abuse occurs in the area of products for individuals to\r\nuse, which is precisely where it is most unacceptable. Therefore, we\r\nhave designed this version of the GPL to prohibit the practice for those\r\nproducts. If such problems arise substantially in other domains, we\r\nstand ready to extend this provision to those domains in future versions\r\nof the GPL, as needed to protect the freedom of users.\r\n\r\n Finally, every program is threatened constantly by software patents.\r\nStates should not allow patents to restrict development and use of\r\nsoftware on general-purpose computers, but in those that do, we wish to\r\navoid the special danger that patents applied to a free program could\r\nmake it effectively proprietary. To prevent this, the GPL assures that\r\npatents cannot be used to render the program non-free.\r\n\r\n The precise terms and conditions for copying, distribution and\r\nmodification follow.\r\n\r\n TERMS AND CONDITIONS\r\n\r\n 0. Definitions.\r\n\r\n \"This License\" refers to version 3 of the GNU General Public License.\r\n\r\n \"Copyright\" also means copyright-like laws that apply to other kinds of\r\nworks, such as semiconductor masks.\r\n\r\n \"The Program\" refers to any copyrightable work licensed under this\r\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\r\n\"recipients\" may be individuals or organizations.\r\n\r\n To \"modify\" a work means to copy from or adapt all or part of the work\r\nin a fashion requiring copyright permission, other than the making of an\r\nexact copy. The resulting work is called a \"modified version\" of the\r\nearlier work or a work \"based on\" the earlier work.\r\n\r\n A \"covered work\" means either the unmodified Program or a work based\r\non the Program.\r\n\r\n To \"propagate\" a work means to do anything with it that, without\r\npermission, would make you directly or secondarily liable for\r\ninfringement under applicable copyright law, except executing it on a\r\ncomputer or modifying a private copy. Propagation includes copying,\r\ndistribution (with or without modification), making available to the\r\npublic, and in some countries other activities as well.\r\n\r\n To \"convey\" a work means any kind of propagation that enables other\r\nparties to make or receive copies. Mere interaction with a user through\r\na computer network, with no transfer of a copy, is not conveying.\r\n\r\n An interactive user interface displays \"Appropriate Legal Notices\"\r\nto the extent that it includes a convenient and prominently visible\r\nfeature that (1) displays an appropriate copyright notice, and (2)\r\ntells the user that there is no warranty for the work (except to the\r\nextent that warranties are provided), that licensees may convey the\r\nwork under this License, and how to view a copy of this License. If\r\nthe interface presents a list of user commands or options, such as a\r\nmenu, a prominent item in the list meets this criterion.\r\n\r\n 1. Source Code.\r\n\r\n The \"source code\" for a work means the preferred form of the work\r\nfor making modifications to it. \"Object code\" means any non-source\r\nform of a work.\r\n\r\n A \"Standard Interface\" means an interface that either is an official\r\nstandard defined by a recognized standards body, or, in the case of\r\ninterfaces specified for a particular programming language, one that\r\nis widely used among developers working in that language.\r\n\r\n The \"System Libraries\" of an executable work include anything, other\r\nthan the work as a whole, that (a) is included in the normal form of\r\npackaging a Major Component, but which is not part of that Major\r\nComponent, and (b) serves only to enable use of the work with that\r\nMajor Component, or to implement a Standard Interface for which an\r\nimplementation is available to the public in source code form. A\r\n\"Major Component\", in this context, means a major essential component\r\n(kernel, window system, and so on) of the specific operating system\r\n(if any) on which the executable work runs, or a compiler used to\r\nproduce the work, or an object code interpreter used to run it.\r\n\r\n The \"Corresponding Source\" for a work in object code form means all\r\nthe source code needed to generate, install, and (for an executable\r\nwork) run the object code and to modify the work, including scripts to\r\ncontrol those activities. However, it does not include the work's\r\nSystem Libraries, or general-purpose tools or generally available free\r\nprograms which are used unmodified in performing those activities but\r\nwhich are not part of the work. For example, Corresponding Source\r\nincludes interface definition files associated with source files for\r\nthe work, and the source code for shared libraries and dynamically\r\nlinked subprograms that the work is specifically designed to require,\r\nsuch as by intimate data communication or control flow between those\r\nsubprograms and other parts of the work.\r\n\r\n The Corresponding Source need not include anything that users\r\ncan regenerate automatically from other parts of the Corresponding\r\nSource.\r\n\r\n The Corresponding Source for a work in source code form is that\r\nsame work.\r\n\r\n 2. Basic Permissions.\r\n\r\n All rights granted under this License are granted for the term of\r\ncopyright on the Program, and are irrevocable provided the stated\r\nconditions are met. This License explicitly affirms your unlimited\r\npermission to run the unmodified Program. The output from running a\r\ncovered work is covered by this License only if the output, given its\r\ncontent, constitutes a covered work. This License acknowledges your\r\nrights of fair use or other equivalent, as provided by copyright law.\r\n\r\n You may make, run and propagate covered works that you do not\r\nconvey, without conditions so long as your license otherwise remains\r\nin force. You may convey covered works to others for the sole purpose\r\nof having them make modifications exclusively for you, or provide you\r\nwith facilities for running those works, provided that you comply with\r\nthe terms of this License in conveying all material for which you do\r\nnot control copyright. Those thus making or running the covered works\r\nfor you must do so exclusively on your behalf, under your direction\r\nand control, on terms that prohibit them from making any copies of\r\nyour copyrighted material outside their relationship with you.\r\n\r\n Conveying under any other circumstances is permitted solely under\r\nthe conditions stated below. Sublicensing is not allowed; section 10\r\nmakes it unnecessary.\r\n\r\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\r\n\r\n No covered work shall be deemed part of an effective technological\r\nmeasure under any applicable law fulfilling obligations under article\r\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\r\nsimilar laws prohibiting or restricting circumvention of such\r\nmeasures.\r\n\r\n When you convey a covered work, you waive any legal power to forbid\r\ncircumvention of technological measures to the extent such circumvention\r\nis effected by exercising rights under this License with respect to\r\nthe covered work, and you disclaim any intention to limit operation or\r\nmodification of the work as a means of enforcing, against the work's\r\nusers, your or third parties' legal rights to forbid circumvention of\r\ntechnological measures.\r\n\r\n 4. Conveying Verbatim Copies.\r\n\r\n You may convey verbatim copies of the Program's source code as you\r\nreceive it, in any medium, provided that you conspicuously and\r\nappropriately publish on each copy an appropriate copyright notice;\r\nkeep intact all notices stating that this License and any\r\nnon-permissive terms added in accord with section 7 apply to the code;\r\nkeep intact all notices of the absence of any warranty; and give all\r\nrecipients a copy of this License along with the Program.\r\n\r\n You may charge any price or no price for each copy that you convey,\r\nand you may offer support or warranty protection for a fee.\r\n\r\n 5. Conveying Modified Source Versions.\r\n\r\n You may convey a work based on the Program, or the modifications to\r\nproduce it from the Program, in the form of source code under the\r\nterms of section 4, provided that you also meet all of these conditions:\r\n\r\n a) The work must carry prominent notices stating that you modified\r\n it, and giving a relevant date.\r\n\r\n b) The work must carry prominent notices stating that it is\r\n released under this License and any conditions added under section\r\n 7. This requirement modifies the requirement in section 4 to\r\n \"keep intact all notices\".\r\n\r\n c) You must license the entire work, as a whole, under this\r\n License to anyone who comes into possession of a copy. This\r\n License will therefore apply, along with any applicable section 7\r\n additional terms, to the whole of the work, and all its parts,\r\n regardless of how they are packaged. This License gives no\r\n permission to license the work in any other way, but it does not\r\n invalidate such permission if you have separately received it.\r\n\r\n d) If the work has interactive user interfaces, each must display\r\n Appropriate Legal Notices; however, if the Program has interactive\r\n interfaces that do not display Appropriate Legal Notices, your\r\n work need not make them do so.\r\n\r\n A compilation of a covered work with other separate and independent\r\nworks, which are not by their nature extensions of the covered work,\r\nand which are not combined with it such as to form a larger program,\r\nin or on a volume of a storage or distribution medium, is called an\r\n\"aggregate\" if the compilation and its resulting copyright are not\r\nused to limit the access or legal rights of the compilation's users\r\nbeyond what the individual works permit. Inclusion of a covered work\r\nin an aggregate does not cause this License to apply to the other\r\nparts of the aggregate.\r\n\r\n 6. Conveying Non-Source Forms.\r\n\r\n You may convey a covered work in object code form under the terms\r\nof sections 4 and 5, provided that you also convey the\r\nmachine-readable Corresponding Source under the terms of this License,\r\nin one of these ways:\r\n\r\n a) Convey the object code in, or embodied in, a physical product\r\n (including a physical distribution medium), accompanied by the\r\n Corresponding Source fixed on a durable physical medium\r\n customarily used for software interchange.\r\n\r\n b) Convey the object code in, or embodied in, a physical product\r\n (including a physical distribution medium), accompanied by a\r\n written offer, valid for at least three years and valid for as\r\n long as you offer spare parts or customer support for that product\r\n model, to give anyone who possesses the object code either (1) a\r\n copy of the Corresponding Source for all the software in the\r\n product that is covered by this License, on a durable physical\r\n medium customarily used for software interchange, for a price no\r\n more than your reasonable cost of physically performing this\r\n conveying of source, or (2) access to copy the\r\n Corresponding Source from a network server at no charge.\r\n\r\n c) Convey individual copies of the object code with a copy of the\r\n written offer to provide the Corresponding Source. This\r\n alternative is allowed only occasionally and noncommercially, and\r\n only if you received the object code with such an offer, in accord\r\n with subsection 6b.\r\n\r\n d) Convey the object code by offering access from a designated\r\n place (gratis or for a charge), and offer equivalent access to the\r\n Corresponding Source in the same way through the same place at no\r\n further charge. You need not require recipients to copy the\r\n Corresponding Source along with the object code. If the place to\r\n copy the object code is a network server, the Corresponding Source\r\n may be on a different server (operated by you or a third party)\r\n that supports equivalent copying facilities, provided you maintain\r\n clear directions next to the object code saying where to find the\r\n Corresponding Source. Regardless of what server hosts the\r\n Corresponding Source, you remain obligated to ensure that it is\r\n available for as long as needed to satisfy these requirements.\r\n\r\n e) Convey the object code using peer-to-peer transmission, provided\r\n you inform other peers where the object code and Corresponding\r\n Source of the work are being offered to the general public at no\r\n charge under subsection 6d.\r\n\r\n A separable portion of the object code, whose source code is excluded\r\nfrom the Corresponding Source as a System Library, need not be\r\nincluded in conveying the object code work.\r\n\r\n A \"User Product\" is either (1) a \"consumer product\", which means any\r\ntangible personal property which is normally used for personal, family,\r\nor household purposes, or (2) anything designed or sold for incorporation\r\ninto a dwelling. In determining whether a product is a consumer product,\r\ndoubtful cases shall be resolved in favor of coverage. For a particular\r\nproduct received by a particular user, \"normally used\" refers to a\r\ntypical or common use of that class of product, regardless of the status\r\nof the particular user or of the way in which the particular user\r\nactually uses, or expects or is expected to use, the product. A product\r\nis a consumer product regardless of whether the product has substantial\r\ncommercial, industrial or non-consumer uses, unless such uses represent\r\nthe only significant mode of use of the product.\r\n\r\n \"Installation Information\" for a User Product means any methods,\r\nprocedures, authorization keys, or other information required to install\r\nand execute modified versions of a covered work in that User Product from\r\na modified version of its Corresponding Source. The information must\r\nsuffice to ensure that the continued functioning of the modified object\r\ncode is in no case prevented or interfered with solely because\r\nmodification has been made.\r\n\r\n If you convey an object code work under this section in, or with, or\r\nspecifically for use in, a User Product, and the conveying occurs as\r\npart of a transaction in which the right of possession and use of the\r\nUser Product is transferred to the recipient in perpetuity or for a\r\nfixed term (regardless of how the transaction is characterized), the\r\nCorresponding Source conveyed under this section must be accompanied\r\nby the Installation Information. But this requirement does not apply\r\nif neither you nor any third party retains the ability to install\r\nmodified object code on the User Product (for example, the work has\r\nbeen installed in ROM).\r\n\r\n The requirement to provide Installation Information does not include a\r\nrequirement to continue to provide support service, warranty, or updates\r\nfor a work that has been modified or installed by the recipient, or for\r\nthe User Product in which it has been modified or installed. Access to a\r\nnetwork may be denied when the modification itself materially and\r\nadversely affects the operation of the network or violates the rules and\r\nprotocols for communication across the network.\r\n\r\n Corresponding Source conveyed, and Installation Information provided,\r\nin accord with this section must be in a format that is publicly\r\ndocumented (and with an implementation available to the public in\r\nsource code form), and must require no special password or key for\r\nunpacking, reading or copying.\r\n\r\n 7. Additional Terms.\r\n\r\n \"Additional permissions\" are terms that supplement the terms of this\r\nLicense by making exceptions from one or more of its conditions.\r\nAdditional permissions that are applicable to the entire Program shall\r\nbe treated as though they were included in this License, to the extent\r\nthat they are valid under applicable law. If additional permissions\r\napply only to part of the Program, that part may be used separately\r\nunder those permissions, but the entire Program remains governed by\r\nthis License without regard to the additional permissions.\r\n\r\n When you convey a copy of a covered work, you may at your option\r\nremove any additional permissions from that copy, or from any part of\r\nit. (Additional permissions may be written to require their own\r\nremoval in certain cases when you modify the work.) You may place\r\nadditional permissions on material, added by you to a covered work,\r\nfor which you have or can give appropriate copyright permission.\r\n\r\n Notwithstanding any other provision of this License, for material you\r\nadd to a covered work, you may (if authorized by the copyright holders of\r\nthat material) supplement the terms of this License with terms:\r\n\r\n a) Disclaiming warranty or limiting liability differently from the\r\n terms of sections 15 and 16 of this License; or\r\n\r\n b) Requiring preservation of specified reasonable legal notices or\r\n author attributions in that material or in the Appropriate Legal\r\n Notices displayed by works containing it; or\r\n\r\n c) Prohibiting misrepresentation of the origin of that material, or\r\n requiring that modified versions of such material be marked in\r\n reasonable ways as different from the original version; or\r\n\r\n d) Limiting the use for publicity purposes of names of licensors or\r\n authors of the material; or\r\n\r\n e) Declining to grant rights under trademark law for use of some\r\n trade names, trademarks, or service marks; or\r\n\r\n f) Requiring indemnification of licensors and authors of that\r\n material by anyone who conveys the material (or modified versions of\r\n it) with contractual assumptions of liability to the recipient, for\r\n any liability that these contractual assumptions directly impose on\r\n those licensors and authors.\r\n\r\n All other non-permissive additional terms are considered \"further\r\nrestrictions\" within the meaning of section 10. If the Program as you\r\nreceived it, or any part of it, contains a notice stating that it is\r\ngoverned by this License along with a term that is a further\r\nrestriction, you may remove that term. If a license document contains\r\na further restriction but permits relicensing or conveying under this\r\nLicense, you may add to a covered work material governed by the terms\r\nof that license document, provided that the further restriction does\r\nnot survive such relicensing or conveying.\r\n\r\n If you add terms to a covered work in accord with this section, you\r\nmust place, in the relevant source files, a statement of the\r\nadditional terms that apply to those files, or a notice indicating\r\nwhere to find the applicable terms.\r\n\r\n Additional terms, permissive or non-permissive, may be stated in the\r\nform of a separately written license, or stated as exceptions;\r\nthe above requirements apply either way.\r\n\r\n 8. Termination.\r\n\r\n You may not propagate or modify a covered work except as expressly\r\nprovided under this License. Any attempt otherwise to propagate or\r\nmodify it is void, and will automatically terminate your rights under\r\nthis License (including any patent licenses granted under the third\r\nparagraph of section 11).\r\n\r\n However, if you cease all violation of this License, then your\r\nlicense from a particular copyright holder is reinstated (a)\r\nprovisionally, unless and until the copyright holder explicitly and\r\nfinally terminates your license, and (b) permanently, if the copyright\r\nholder fails to notify you of the violation by some reasonable means\r\nprior to 60 days after the cessation.\r\n\r\n Moreover, your license from a particular copyright holder is\r\nreinstated permanently if the copyright holder notifies you of the\r\nviolation by some reasonable means, this is the first time you have\r\nreceived notice of violation of this License (for any work) from that\r\ncopyright holder, and you cure the violation prior to 30 days after\r\nyour receipt of the notice.\r\n\r\n Termination of your rights under this section does not terminate the\r\nlicenses of parties who have received copies or rights from you under\r\nthis License. If your rights have been terminated and not permanently\r\nreinstated, you do not qualify to receive new licenses for the same\r\nmaterial under section 10.\r\n\r\n 9. Acceptance Not Required for Having Copies.\r\n\r\n You are not required to accept this License in order to receive or\r\nrun a copy of the Program. Ancillary propagation of a covered work\r\noccurring solely as a consequence of using peer-to-peer transmission\r\nto receive a copy likewise does not require acceptance. However,\r\nnothing other than this License grants you permission to propagate or\r\nmodify any covered work. These actions infringe copyright if you do\r\nnot accept this License. Therefore, by modifying or propagating a\r\ncovered work, you indicate your acceptance of this License to do so.\r\n\r\n 10. Automatic Licensing of Downstream Recipients.\r\n\r\n Each time you convey a covered work, the recipient automatically\r\nreceives a license from the original licensors, to run, modify and\r\npropagate that work, subject to this License. You are not responsible\r\nfor enforcing compliance by third parties with this License.\r\n\r\n An \"entity transaction\" is a transaction transferring control of an\r\norganization, or substantially all assets of one, or subdividing an\r\norganization, or merging organizations. If propagation of a covered\r\nwork results from an entity transaction, each party to that\r\ntransaction who receives a copy of the work also receives whatever\r\nlicenses to the work the party's predecessor in interest had or could\r\ngive under the previous paragraph, plus a right to possession of the\r\nCorresponding Source of the work from the predecessor in interest, if\r\nthe predecessor has it or can get it with reasonable efforts.\r\n\r\n You may not impose any further restrictions on the exercise of the\r\nrights granted or affirmed under this License. For example, you may\r\nnot impose a license fee, royalty, or other charge for exercise of\r\nrights granted under this License, and you may not initiate litigation\r\n(including a cross-claim or counterclaim in a lawsuit) alleging that\r\nany patent claim is infringed by making, using, selling, offering for\r\nsale, or importing the Program or any portion of it.\r\n\r\n 11. Patents.\r\n\r\n A \"contributor\" is a copyright holder who authorizes use under this\r\nLicense of the Program or a work on which the Program is based. The\r\nwork thus licensed is called the contributor's \"contributor version\".\r\n\r\n A contributor's \"essential patent claims\" are all patent claims\r\nowned or controlled by the contributor, whether already acquired or\r\nhereafter acquired, that would be infringed by some manner, permitted\r\nby this License, of making, using, or selling its contributor version,\r\nbut do not include claims that would be infringed only as a\r\nconsequence of further modification of the contributor version. For\r\npurposes of this definition, \"control\" includes the right to grant\r\npatent sublicenses in a manner consistent with the requirements of\r\nthis License.\r\n\r\n Each contributor grants you a non-exclusive, worldwide, royalty-free\r\npatent license under the contributor's essential patent claims, to\r\nmake, use, sell, offer for sale, import and otherwise run, modify and\r\npropagate the contents of its contributor version.\r\n\r\n In the following three paragraphs, a \"patent license\" is any express\r\nagreement or commitment, however denominated, not to enforce a patent\r\n(such as an express permission to practice a patent or covenant not to\r\nsue for patent infringement). To \"grant\" such a patent license to a\r\nparty means to make such an agreement or commitment not to enforce a\r\npatent against the party.\r\n\r\n If you convey a covered work, knowingly relying on a patent license,\r\nand the Corresponding Source of the work is not available for anyone\r\nto copy, free of charge and under the terms of this License, through a\r\npublicly available network server or other readily accessible means,\r\nthen you must either (1) cause the Corresponding Source to be so\r\navailable, or (2) arrange to deprive yourself of the benefit of the\r\npatent license for this particular work, or (3) arrange, in a manner\r\nconsistent with the requirements of this License, to extend the patent\r\nlicense to downstream recipients. \"Knowingly relying\" means you have\r\nactual knowledge that, but for the patent license, your conveying the\r\ncovered work in a country, or your recipient's use of the covered work\r\nin a country, would infringe one or more identifiable patents in that\r\ncountry that you have reason to believe are valid.\r\n\r\n If, pursuant to or in connection with a single transaction or\r\narrangement, you convey, or propagate by procuring conveyance of, a\r\ncovered work, and grant a patent license to some of the parties\r\nreceiving the covered work authorizing them to use, propagate, modify\r\nor convey a specific copy of the covered work, then the patent license\r\nyou grant is automatically extended to all recipients of the covered\r\nwork and works based on it.\r\n\r\n A patent license is \"discriminatory\" if it does not include within\r\nthe scope of its coverage, prohibits the exercise of, or is\r\nconditioned on the non-exercise of one or more of the rights that are\r\nspecifically granted under this License. You may not convey a covered\r\nwork if you are a party to an arrangement with a third party that is\r\nin the business of distributing software, under which you make payment\r\nto the third party based on the extent of your activity of conveying\r\nthe work, and under which the third party grants, to any of the\r\nparties who would receive the covered work from you, a discriminatory\r\npatent license (a) in connection with copies of the covered work\r\nconveyed by you (or copies made from those copies), or (b) primarily\r\nfor and in connection with specific products or compilations that\r\ncontain the covered work, unless you entered into that arrangement,\r\nor that patent license was granted, prior to 28 March 2007.\r\n\r\n Nothing in this License shall be construed as excluding or limiting\r\nany implied license or other defenses to infringement that may\r\notherwise be available to you under applicable patent law.\r\n\r\n 12. No Surrender of Others' Freedom.\r\n\r\n If conditions are imposed on you (whether by court order, agreement or\r\notherwise) that contradict the conditions of this License, they do not\r\nexcuse you from the conditions of this License. If you cannot convey a\r\ncovered work so as to satisfy simultaneously your obligations under this\r\nLicense and any other pertinent obligations, then as a consequence you may\r\nnot convey it at all. For example, if you agree to terms that obligate you\r\nto collect a royalty for further conveying from those to whom you convey\r\nthe Program, the only way you could satisfy both those terms and this\r\nLicense would be to refrain entirely from conveying the Program.\r\n\r\n 13. Use with the GNU Affero General Public License.\r\n\r\n Notwithstanding any other provision of this License, you have\r\npermission to link or combine any covered work with a work licensed\r\nunder version 3 of the GNU Affero General Public License into a single\r\ncombined work, and to convey the resulting work. The terms of this\r\nLicense will continue to apply to the part which is the covered work,\r\nbut the special requirements of the GNU Affero General Public License,\r\nsection 13, concerning interaction through a network will apply to the\r\ncombination as such.\r\n\r\n 14. Revised Versions of this License.\r\n\r\n The Free Software Foundation may publish revised and/or new versions of\r\nthe GNU General Public License from time to time. Such new versions will\r\nbe similar in spirit to the present version, but may differ in detail to\r\naddress new problems or concerns.\r\n\r\n Each version is given a distinguishing version number. If the\r\nProgram specifies that a certain numbered version of the GNU General\r\nPublic License \"or any later version\" applies to it, you have the\r\noption of following the terms and conditions either of that numbered\r\nversion or of any later version published by the Free Software\r\nFoundation. If the Program does not specify a version number of the\r\nGNU General Public License, you may choose any version ever published\r\nby the Free Software Foundation.\r\n\r\n If the Program specifies that a proxy can decide which future\r\nversions of the GNU General Public License can be used, that proxy's\r\npublic statement of acceptance of a version permanently authorizes you\r\nto choose that version for the Program.\r\n\r\n Later license versions may give you additional or different\r\npermissions. However, no additional obligations are imposed on any\r\nauthor or copyright holder as a result of your choosing to follow a\r\nlater version.\r\n\r\n 15. Disclaimer of Warranty.\r\n\r\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\r\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\r\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\r\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\r\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\r\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\r\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\r\n\r\n 16. Limitation of Liability.\r\n\r\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\r\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\r\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\r\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\r\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\r\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\r\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\r\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\r\nSUCH DAMAGES.\r\n\r\n 17. Interpretation of Sections 15 and 16.\r\n\r\n If the disclaimer of warranty and limitation of liability provided\r\nabove cannot be given local legal effect according to their terms,\r\nreviewing courts shall apply local law that most closely approximates\r\nan absolute waiver of all civil liability in connection with the\r\nProgram, unless a warranty or assumption of liability accompanies a\r\ncopy of the Program in return for a fee.\r\n\r\n END OF TERMS AND CONDITIONS\r\n\r\n How to Apply These Terms to Your New Programs\r\n\r\n If you develop a new program, and you want it to be of the greatest\r\npossible use to the public, the best way to achieve this is to make it\r\nfree software which everyone can redistribute and change under these terms.\r\n\r\n To do so, attach the following notices to the program. It is safest\r\nto attach them to the start of each source file to most effectively\r\nstate the exclusion of warranty; and each file should have at least\r\nthe \"copyright\" line and a pointer to where the full notice is found.\r\n\r\n \r\n Copyright (C) \r\n\r\n This program is free software: you can redistribute it and/or modify\r\n it under the terms of the GNU General Public License as published by\r\n the Free Software Foundation, either version 3 of the License, or\r\n (at your option) any later version.\r\n\r\n This program is distributed in the hope that it will be useful,\r\n but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n GNU General Public License for more details.\r\n\r\n You should have received a copy of the GNU General Public License\r\n along with this program. If not, see .\r\n\r\nAlso add information on how to contact you by electronic and paper mail.\r\n\r\n If the program does terminal interaction, make it output a short\r\nnotice like this when it starts in an interactive mode:\r\n\r\n Copyright (C) \r\n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\r\n This is free software, and you are welcome to redistribute it\r\n under certain conditions; type `show c' for details.\r\n\r\nThe hypothetical commands `show w' and `show c' should show the appropriate\r\nparts of the General Public License. Of course, your program's commands\r\nmight be different; for a GUI interface, you would use an \"about box\".\r\n\r\n You should also get your employer (if you work as a programmer) or school,\r\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\r\nFor more information on this, and how to apply and follow the GNU GPL, see\r\n.\r\n\r\n The GNU General Public License does not permit incorporating your program\r\ninto proprietary programs. If your program is a subroutine library, you\r\nmay consider it more useful to permit linking proprietary applications with\r\nthe library. If this is what you want to do, use the GNU Lesser General\r\nPublic License instead of this License. But first, please read\r\n.\r\n\r\n*/","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"guy\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"}]","ContractName":"WETH9","CompilerVersion":"v0.4.19+commit.c4cbbb05","CompilerType":"solc","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://deb4c2ccab3c2fdca32ab3f46728389c2fe2c165d5fafa07661e4e004f6c344a","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/8f4f65a7d88c3e910052fc8f24c2ac34b81b03449a627b2829e74c27bef26052 b/tests/cachedrpc/8f4f65a7d88c3e910052fc8f24c2ac34b81b03449a627b2829e74c27bef26052 new file mode 100644 index 00000000..8544394d --- /dev/null +++ b/tests/cachedrpc/8f4f65a7d88c3e910052fc8f24c2ac34b81b03449a627b2829e74c27bef26052 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x00000000000000adc04c56bf30ac9d3c0aaf14dc","contractCreator":"0x939c8d89ebc11fa45e576215e2353673ad0ba18a","txHash":"0xa7f75a8b23c0f3150b7116aae930101f42996cb35e3e596a646156926350933a","blockNumber":"17129405","timestamp":"1682499983","contractFactory":"0x0000000000ffe8b47b3e2130213b802212439497","creationBytecode":"0x6101c060405234620000b9576200001f6200001962000114565b62000151565b604051615f2f9081620006bd823960805181612622015260a05181612646015260c051816125ff015260e0518181816113b80152612430015261010051818181611257015261247f01526101205181818161145e01526124eb015261014051816125ac015261016051816125d3015261018051818181610f1f01528181612144015261226501526101a05181818161218201526122a30152f35b600080fd5b604081019081106001600160401b03821117620000da57604052565b634e487b7160e01b600052604160045260246000fd5b601f909101601f19168101906001600160401b03821190821017620000da57604052565b620065ec60208138039182604051938492620001318285620000f0565b833981010312620000b957516001600160a01b0381168103620000b95790565b60406004916200016062000587565b610120526101005260e05260c05260a0526080524661014052620001b060c0519060805160a0516040519360005281602052604052466060523060805260a0600020926040526000606052608052565b610160526001600160a01b03166101808190528151630a96ad3960e01b815292839182905afa90811562000230575b600091620001fa575b506101a052620001f86001600055565b565b62000220915060403d811162000228575b620002178183620000f0565b81019062000240565b5038620001e8565b503d6200020b565b6200023a62000257565b620001df565b9190826040910312620000b9576020825192015190565b506040513d6000823e3d90fd5b604051906200027382620000be565b60038252565b6040519060a082016001600160401b03811183821017620000da57604052606a8252565b6040519060c082016001600160401b03811183821017620000da576040526084825263656e742960e01b60a0837f436f6e73696465726174696f6e4974656d2875696e7438206974656d5479706560208201527f2c6164647265737320746f6b656e2c75696e74323536206964656e746966696560408201527f724f7243726974657269612c75696e74323536207374617274416d6f756e742c60608201527f75696e7432353620656e64416d6f756e742c616464726573732072656369706960808201520152565b6040519061010082016001600160401b03811183821017620000da5760405260d482527f4b65792c75696e7432353620636f756e7465722900000000000000000000000060e0837f4f72646572436f6d706f6e656e74732861646472657373206f6666657265722c60208201527f61646472657373207a6f6e652c4f666665724974656d5b5d206f666665722c4360408201527f6f6e73696465726174696f6e4974656d5b5d20636f6e73696465726174696f6e60608201527f2c75696e7438206f72646572547970652c75696e74323536207374617274546960808201527f6d652c75696e7432353620656e6454696d652c62797465733332207a6f6e654860a08201527f6173682c75696e743235362073616c742c6279746573333220636f6e6475697460c08201520152565b60405190608082016001600160401b03811183821017620000da576040526052825271766572696679696e67436f6e74726163742960701b6060837f454950373132446f6d61696e28737472696e67206e616d652c737472696e672060208201527f76657273696f6e2c75696e7432353620636861696e49642c616464726573732060408201520152565b9081519160005b83811062000539575050016000815290565b806020809284010151818501520162000527565b6200057862000571949362000571620001f894604051978895602087019062000520565b9062000520565b03601f198101845283620000f0565b6040516200059581620000be565b600781526614d9585c1bdc9d60ca1b6020918201527f32b5c112df393a49218d7552f96b2eeb829dfb4272f4f24eef510a586b85feef91620005d662000264565b8281019062312e3560e81b825251902091620005f162000279565b818101927f4f666665724974656d2875696e7438206974656d547970652c6164647265737384527f20746f6b656e2c75696e74323536206964656e7469666965724f72437269746560408301527f7269612c75696e74323536207374617274416d6f756e742c75696e7432353620606083015269656e64416d6f756e742960b01b6080830152620006816200029d565b92620006b46200069062000366565b936200069b62000495565b838151910120968151902095805184820120956200054d565b80519101209056fe60806040526004361015610023575b361561001957600080fd5b610021614f96565b005b60003560e01c80156100eb57806306fdde031461016957806346423aa7146101605780635b34b9661461015757806379df72bd1461014e57806387201b4114610145578063881477321461013c578063a817440414610133578063a900866b1461012a578063b3a34c4c14610121578063e7acab2414610118578063ed98a5741461010f578063f07ec37314610106578063f2d12b12146100fd578063f47b7740146100f4578063fb0f3ee1146100eb5763fd9f1e100361000e576100e6610f50565b61000e565b506100e66101c8565b506100e6610ec8565b506100e6610df2565b506100e6610d8a565b506100e6610cc2565b506100e6610c05565b506100e6610b81565b506100e6610b17565b506100e6610a60565b506100e66108d6565b506100e66107c6565b506100e661059d565b506100e66104f5565b506100e6610474565b506100e661042e565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc906020828201126101c3576004359167ffffffffffffffff83116101c35782610240920301126101c35760040190565b600080fd5b506101d236610172565b6101243590600382169160021c91600183119234158403610420575b60038111907f0203020301010000000000000000000000000000000000000000000000000000811a9061024c8260a0850260240135887d010102030000000000000000000000000000000000000000000000000000851a888a61121a565b928060051b6101c4013596610260816106a8565b6102b3575050604435602435176102a55761028b9461027e916115b5565b61028661166d565b6159cc565b6102956001600055565b60405160018152602090f35b0390f35b636ab37ce76000526004601cfd5b610286925061028b969161032a916102c96111a8565b9384836102d682956106a8565b6002810361032f5750610325918a6102f060a082016111bf565b6102fc606083016111bf565b60c060e08401359301359173ffffffffffffffffffffffffffffffffffffffff33921690611efe565b611738565b612105565b610338816106a8565b600381036103875750610325918a61035260a082016111bf565b61035e606083016111bf565b60c060e08401359301359173ffffffffffffffffffffffffffffffffffffffff33921690611fff565b806103936004926106a8565b036103dc57610325918a6103a6816111bf565b6103b2606083016111bf565b9073ffffffffffffffffffffffffffffffffffffffff602060408501359401359216903390611efe565b610325918a6103ea816111bf565b6103f6606083016111bf565b9073ffffffffffffffffffffffffffffffffffffffff602060408501359401359216903390611fff565b61042934611d42565b6101ee565b50346101c35760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c357602080526707536561706f727460475260606020f35b50346101c35760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c357600435600052600260205260806040600020546040519060ff81161515825260ff8160081c16151560208301526effffffffffffffffffffffffffffff8160101c16604083015260881c6060820152f35b50346101c35760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c35761052d614f7c565b3360005260016020526020604060002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff43014060801c018091556040518181527f721c20121297512b72821b97f5326877ea8ecf4bb9948fea5bfcb6453074d37f833392a2604051908152f35b50346101c3577ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6020813601126101c3576004359067ffffffffffffffff82116101c3576101609082360301126101c35761061263ffffffff6020921661014461060982600401611cd6565b91013590612423565b604051908152f35b9181601f840112156101c35782359167ffffffffffffffff83116101c3576020808501948460051b0101116101c357565b73ffffffffffffffffffffffffffffffffffffffff8116036101c357565b60a435906106768261064b565b565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600611156106b257565b610676610678565b60809080516106c8816106a8565b83528173ffffffffffffffffffffffffffffffffffffffff918260208201511660208601526040810151604086015260608101516060860152015116910152565b90815180825260208080930193019160005b828110610729575050505090565b909192938260e0600192604088516107428382516106ba565b8085015173ffffffffffffffffffffffffffffffffffffffff1660a0840152015160c08201520195019392910161071b565b9092916040820191604081528451809352606081019260208096019060005b8181106107b0575050506107ad9394818403910152610709565b90565b8251151586529487019491870191600101610793565b5060e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c35767ffffffffffffffff6004358181116101c35761081290369060040161061a565b50506024358181116101c35761082c90369060040161061a565b50506044358181116101c35761084690369060040161061a565b50506064359081116101c35761086090369060040161061a565b505061087961086d610669565b60c43590608435611813565b906102a160405192839283610774565b60207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8201126101c3576004359067ffffffffffffffff82116101c3576108d29160040161061a565b9091565b50346101c3576108e536610889565b505060046108fb63ffffffff8235168201611aba565b90610904614f7c565b81519060005b82811061091d5760405160018152602090f35b8061092a60019286612988565b51805184608082015161093c81612934565b61094581612934565b14610a4857805173ffffffffffffffffffffffffffffffffffffffff1661096b82614762565b90610980826000526002602052604060002090565b61098a81846158f0565b5061099d610999825460ff1690565b1590565b6109ae575b50505050505b0161090a565b6109f4610a1f928460207ff280791efe782edcf06ce15c8f4dff17601db3b88eb3805a0db7d77faf757f04986060890151516101408a015103610a3b575b015191615199565b60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055565b610a2e60405192839283614e56565b0390a138808080806109a2565b610a43614c68565b6109ec565b50506109a8565b9060206107ad928181520190610709565b5060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c35760043567ffffffffffffffff8082116101c357610aab368360040161061a565b50506024359081116101c3576102a191610b0391610acc368260040161061a565b5050610afb610ae463ffffffff809416600401615ec5565b92610aed6110db565b926000845216600401611c52565b903392613b96565b604051918291602083526020830190610709565b50346101c35760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c35773ffffffffffffffffffffffffffffffffffffffff600435610b688161064b565b1660005260036020526020604060002054604051908152f35b507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6040813601126101c3576004359067ffffffffffffffff82116101c35760409082360301126101c357610bfb610be363ffffffff602093166004016119cd565b610beb6110db565b9060008252339160243591613f10565b6040519015158152f35b507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6080813601126101c3576004359067ffffffffffffffff908183116101c35760a09083360301126101c3576024359081116101c3576102a191610cb091610c71368260040161061a565b5050610ca060643592610c838461064b565b610c9663ffffffff80921660040161186c565b9216600401611a2d565b9133811502019160443591613f10565b60405190151581529081906020820190565b5060a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c357600467ffffffffffffffff81358181116101c357610d0d3682850161061a565b5050602435908282116101c357610d263683860161061a565b50506044359283116101c357610d7b61087994610d453686830161061a565b5050610d5963ffffffff8094168201615ec5565b92610d7381610d666110db565b9660008852168301611b44565b951601611b44565b608435933393606435936126d4565b50346101c35760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c3576020610612600435610dcb8161064b565b73ffffffffffffffffffffffffffffffffffffffff16600052600160205260406000205490565b5060807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c35767ffffffffffffffff600480358281116101c357610e3d3682840161061a565b5050602435908382116101c357610e563683850161061a565b50506044359384116101c3576102a193610eb0610ebc94610e793684830161061a565b5050610e9f610ea860643595610e8e8761064b565b63ffffffff92838092168501611bf5565b97168301611a2d565b931601611c52565b91338115020192613b96565b60405191829182610a4f565b50346101c35760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c357610f006125a7565b606060005260205273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166040526303312e3560635260a06000f35b50346101c357610f5f36610889565b90610f68614f7c565b600091825b818110610f925783610f855760405160018152602090f35b610f8d614d23565b610295565b80610fa06001928486614cc8565b94610faa866111bf565b907f6bacc01dbe442496068f7d234edd811f1a5f833243e0aec824f86ab861f3c90d611075611006610fde60208b016111bf565b93610feb60808c01614d16565b60048633148833141715911417179961014061060982611cd6565b9261104a61101e856000526002602052604060002090565b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016610100179055565b60405193845273ffffffffffffffffffffffffffffffffffffffff9081169416929081906020820190565b0390a301610f6d565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519060a0820182811067ffffffffffffffff8211176110ce57604052565b6110d661107e565b604052565b604051906020820182811067ffffffffffffffff8211176110ce57604052565b604051906040820182811067ffffffffffffffff8211176110ce57604052565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f604051930116820182811067ffffffffffffffff8211176110ce57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff811161119b575b01160190565b6111a361107e565b611195565b6111b06110fb565b90602082526020828136910137565b356107ad8161064b565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1813603018212156101c3570180359067ffffffffffffffff82116101c3576020019181360383136101c357565b959392919094611228614f4e565b61123061155f565b6101643561014435428211154282111761154b57505061020435610264351061153d5793907f00000000000000000000000000000000000000000000000000000000000000006080528060a0526060602460c037604060646101203760e06080908120610160526001610264359081016102a060059290921b918201526102c081019283526024906102e00137610160948360a0528460c052600060e05260009260005b83610204358210156113315790604060019261010060a060208560061b9a818c610284018537858c61028401610120376102a48c0135179d019860e06080208a5201988a8a528b60c08401526102840191013701969392966112d4565b5096509192979690976001610204350160051b610160206060525b836102643588101561138957906102a460a060019301958787528860c082015260408a60061b91610100836102840191013701351796019561134c565b50925095945095925073ffffffffffffffffffffffffffffffffffffffff91501161152f576107ad91611528917f00000000000000000000000000000000000000000000000000000000000000006080528060a052606060c460c03760206101046101203760c0608020600052602060002060e05260016102643560051b610200015261022090816102643560051b0152606060c46102406102643560051b013761036060843561145a8173ffffffffffffffffffffffffffffffffffffffff166000526001602052604060002090565b54967f00000000000000000000000000000000000000000000000000000000000000006080526040608460a037606051610100526101205260a0610144610140376101e09687526101809687608020976102643560051b0191888352336101a06102643560051b015260806101c06102643560051b0152610120826102643560051b01527f9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f3160a06102643502938460a435940190a360006060526102643560051b01016040528101906111c9565b908361430d565b6339f3e3fd6000526004601cfd5b63466aa6166000526004601cfd5b6321ccfeb76000526020526040526044601cfd5b7401000000000000000000000000000000000000000060243560c4351760a43560843517171060186101243510166102643560061b61026001610244351461024061022435146020600435141616161561152f57565b608435916101043560e43560c4358315611627579461067695604051957f4ce34aa200000000000000000000000000000000000000000000000000000000875260206004880152600160248801526044870152606486015260848501523360a485015260c484015260e483015261223e565b925092806116366002926106a8565b0361166057928360016106769503611651575b503391614fab565b61165a90611d31565b38611649565b919061067693339161508a565b3460643560006102643560061b815b8181106116bd575050508181116116b0575b61169a81608435611d62565b8082116116a5575050565b610676910333611d62565b6116b8611d22565b61168e565b806102840135948086116116e657906116e08660409303966102a4830135611d62565b0161167c565b638ffff98084526004601cfd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9190820391821161173057565b6106766116f3565b919082156117d95760843592610104353360c43560e4355b6117cc575b8360051b6101e40335936102643560061b9060005b82811061177f57505050956106769596611dae565b87876102848301358c856117ab575b918493916117a5936102a46040970135908a611dae565b0161176a565b9891816117bf60409695936117a595611723565b9a9193509193945061178e565b6117d4611d53565b611755565b3392606435608435602435604435611750565b60209067ffffffffffffffff8111611806575b60051b0190565b61180e61107e565b6117ff565b906108d2929163ffffffff9161182f8360043516600401611bf5565b926118408160243516600401611a2d565b6118606118538360443516600401611b44565b9260643516600401611b44565b923381150201946126d4565b90604051610200810160405260806118c68294604060208201602086013760a084018085526118a563ffffffff918284351684016118f5565b6118b68160608401351683016118cb565b60608601528382013516016118cb565b910152565b9060206040519263ffffffff813563ffffffe0601f82011692848401908737168452830101604052565b6118c660609161016081853763ffffffff611917816040840135168301611927565b604086015283820135160161197a565b90641fffffffe082359263ffffffff841660405194818652602093849160051b168601019283928160a0809402910185378086015b83811061196c5750505050604052565b84815293820193810161195c565b90641fffffffe082359263ffffffff841660405194818652602093849160051b168601019283928160c0809402910185378086015b8381106119bf5750505050604052565b8481529382019381016119af565b906040516102008101604052611a13819360a083018084526119f963ffffffff918284351684016118f5565b6001602085015260016040850152602082013516016118cb565b606082015260806040519160208301604052600083520152565b803591600592641fffffffe081851b16604080519060209384848401018252829663ffffffff809216845260005b858110611a6e5750505050505050909150565b8083888093850101351683018551908360a091828401895287608093848484018737820135160101908d60018884351601901b8851928184018a52833782015282828801015201611a5b565b908135641fffffffe08160051b166040805160209384848301018352819663ffffffff809216835260005b858110611af55750505050505050565b808388809385010135168301611b34838851928984016101a085018b52611b2581848b81860135168501016118f5565b8452878a8201351601016118cb565b8382015282828701015201611ae5565b90813591641fffffffe08360051b166040516020928383830101604052819563ffffffff809116835260005b848110611b7f57505050505050565b80611b9587848180958801013516860101611ba1565b82828701015201611b70565b90813591604080519363ffffffff81168552602080641fffffffe08360051b168701019381643fffffffc0869460061b16910185378086015b828110611be75750505052565b848152938301938101611bda565b90813591641fffffffe08360051b166040516020928383830101604052819563ffffffff809116835260005b848110611c3057505050505050565b80611c468784818095880101351686010161186c565b82828701015201611c21565b908135641fffffffe08160051b166040805160209384848301018352819663ffffffff809216835260005b858110611c8d5750505050505050565b808388809385010135168301611cc6838851928984018a52611cb782898184013516830101611ba1565b8452878a820135160101611ba1565b8382015282828701015201611c7d565b9060405161016081016040528092611d16610140918281853763ffffffff611d05816040840135168301611927565b60408601526060820135160161197a565b80606084015251910152565b50638ffff9806000526004601cfd5b6369f958276000526020526024601cfd5b63a61be9f06000526020526024601cfd5b50636ab37ce76000526004601cfd5b611d6b82611d99565b600080808085855af115611d7d575050565b611d85612681565b63bc806b966000526020526040526044601cfd5b15611da057565b6391b3e5146000526004601cfd5b929193949094611dbd83611d99565b611dc781836120f2565b80611ef0575050604051926000947f23b872dd00000000000000000000000000000000000000000000000000000000865280600452816024528260445260208660648180885af1803d15601f3d1160018a51141617163d1515811615611e36575b505050505050604052606052565b80863b151516611e2857908795969115611e5b5786635f15d67287526020526024601cfd5b959192939515611e80575063988919238594526020526040526060526080526084601cfd5b3d611ea3575b5063f486bc87845260205260405260605260805260a05260a4601cfd5b601f3d0160051c9060051c908060030291808211611ed7575b505060205a910110611ece5785611e86565b833d81803e3d90fd5b8080600392028380020360091c92030201018680611ebc565b906106769592949391612359565b919395909294611f0e81836120f2565b80611f375750508460016106769603611f28575b50614fab565b611f3190611d31565b38611f22565b815160649693959394929190602003611fec5760c0906001906040845260208401527f4ce34aa20000000000000000000000000000000000000000000000000000000060408401526020604484015280888401525b02019360027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc48601527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe48501526004840152602483015260448201520152565b5060c08682016001815101809152611f8c565b95909192939461200e86611d99565b61201881836120f2565b806120285750506106769461508a565b90606495969493929160208251146000146120df5760c0906001906040845260208401527f4ce34aa20000000000000000000000000000000000000000000000000000000060408401526020604484015280888401525b02019360037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc48601527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe48501526004840152602483015260448201520152565b5060c0868201600181510180915261207f565b906020820151036121005750565b610676905b90604082510361223a5760208201519160c06064820151026044019260405193602073ffffffffffffffffffffffffffffffffffffffff6000928184927f00000000000000000000000000000000000000000000000000000000000000001674ff00000000000000000000000000000000000000001783528584527f00000000000000000000000000000000000000000000000000000000000000006040526055600b2016976040528180526040860182895af190805191156122215750937f4ce34aa2000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000060209596160361221557505052565b61221e91612345565b52565b63d13d53d48691612230612681565b526020526024601cfd5b9050565b9060405190602073ffffffffffffffffffffffffffffffffffffffff6101046000938285937f00000000000000000000000000000000000000000000000000000000000000001674ff00000000000000000000000000000000000000001784528785527f00000000000000000000000000000000000000000000000000000000000000006040526055600b20169560405282805282865af1908051911561233657507fffffffff000000000000000000000000000000000000000000000000000000007f4ce34aa20000000000000000000000000000000000000000000000000000000091160361232d575050565b61067691612345565b63d13d53d49150612230612681565b631cf99b266000526020526040526044601cfd5b9060649492939160208251146000146124105760c0906001906040845260208401527f4ce34aa20000000000000000000000000000000000000000000000000000000060408401526020604484015280878401525b02019260017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc48501527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe484015260048301526024820152600060448201520152565b5060c085820160018151018091526123ae565b91909161014081018051917f0000000000000000000000000000000000000000000000000000000000000000604051604083018051928351926020809501906000915b868684106125665750505050506040519160051b8220917f00000000000000000000000000000000000000000000000000000000000000009093606086019481865101906000915b8a83106125245750505050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08660051b604051209401978851907f00000000000000000000000000000000000000000000000000000000000000008a5282519383528451958552865261018089209852525252565b8380827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0600194510180519089815260e08120875252019201920191906124ae565b80827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0600194510180519088815260c0812087525201920192019190612466565b6000467f0000000000000000000000000000000000000000000000000000000000000000036125f557507f000000000000000000000000000000000000000000000000000000000000000090565b60405190608051907f000000000000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000006020527f0000000000000000000000000000000000000000000000000000000000000000604052466060523060805260a081209260405260605260805290565b3d61268857565b601f3d0160051c60405160051c9080600302918082116126bb575b505060205a9101106126b157565b3d6000803e3d6000fd5b8080600392028380020360091c920302010138806126a3565b93959480939297956126e692866129aa565b93909187519681516127006126fb828b612e96565b613328565b9860009a8b905b8282106127cb5750506000925b8284106127575750505050509461273b949587829861274c575b5081511561273f576136dc565b9190565b61274761338b565b6136dc565b82510382523861272e565b909192939a8a6127738361276c8f8990612988565b5189613408565b61278c8180516080602082511515930151910151141690565b156127a65750506001809101945b019291909a939a612714565b86916127c5916127be85886001979b01038093612988565b528d612988565b5061279a565b90949b6127e7896127e0888598969798612988565b518961339a565b8c6128018280516080602082511515930151910151141690565b1561281d5750506001809101955b01909b949b93929193612707565b879161283a91846001959a03916128348383612988565b52612988565b5061280f565b6128486110ae565b90604051610160810181811067ffffffffffffffff8211176128c7575b604052600080825280602083015260609182604082015282808201528160808201528160a08201528160c08201528160e08201528161010082015281610120820152816101408201528452806020850152604084015280808401526080830152565b6128cf61107e565b612865565b6128dc6110fb565b600181529060203681840137565b906128fc6128f7836117ec565b61111b565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061292a82946117ec565b0190602036910137565b600511156106b257565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60209080511561297c570190565b61298461293e565b0190565b602091815181101561299d575b60051b010190565b6129a561293e565b612995565b9391936000936129b8614f5d565b6000357c400000000000000000000000000000000000000000000000000000000016926129e3612840565b508251936129f0856128ea565b9760205b6001870160051b8110612ac6575050907c4000000000000000000000000000000000000000000000000000000001612a329214612ab9575b83612fb7565b60205b6001840160051b8110612a485750505050565b6020816001928901518015612ab357612aab90828701515186612a7f825173ffffffffffffffffffffffffffffffffffffffff1690565b8287015173ffffffffffffffffffffffffffffffffffffffff165b906060604085015194015194614232565b019050612a35565b50612aab565b612ac1612f94565b612a2c565b808601518215612c5557612ad981614668565b918d82969215612c42578501527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019382519260a08401519360c08101519060408101519e8f519160800151612b2e81612934565b60048110600052600110179e60005b828110612bd757505050606080925101519485519560005b878110612b6e5750505050505050506020905b016129f4565b80878760a0612b7f60019587612988565b51612bb789898c6080850196612b9788518a83612f61565b9186019889519089518214600014612bc7575050508088525b8751612eef565b8094520190815190525201612b55565b612bd092612f61565b8852612bb0565b8087612be560019385612988565b519c8d600051905110179c612c28878c60808401938c6060612c0987518984612f61565b92019687519087518214600014612c32575050508086525b8551612ea3565b8092525201612b3d565b612c3b92612f61565b8652612c21565b5050935050906000602080930152612b68565b906000602080930152612b68565b939193600093612c71614f5d565b6000357c40000000000000000000000000000000000000000000000000000000001692612c9c612840565b50825193612ca9856128ea565b9760205b6001870160051b8110612d45575050907c4000000000000000000000000000000000000000000000000000000001612cea9214612ab95783612fb7565b60205b6001840160051b8110612d005750505050565b6020816001928901518015612d3f57612d3790828701515186612a7f825173ffffffffffffffffffffffffffffffffffffffff1690565b019050612ced565b50612d37565b808601518215612e7557612d5881614414565b918d82969215612e62578501527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019382519260a08401519360c08101519060408101519e8f519160800151612dad81612934565b60048110600052600110179e60005b828110612e2657505050606080925101519485519560005b878110612ded5750505050505050506020905b01612cad565b80878760a0612dfe60019587612988565b51612e1689898c6080850196612b9788518a83612f61565b8094520190815190525201612dd4565b8087612e3460019385612988565b519c8d600051905110179c612e58878c60808401938c6060612c0987518984612f61565b8092525201612dbc565b5050935050906000602080930152612de7565b906000602080930152612de7565b8181029291811591840414171561173057565b9190820180921161173057565b929092838103612eb35750505090565b612ec983612ecf93039342039182850390612e83565b93612e83565b8201809211612ee2575b81049015150290565b612eea6116f3565b612ed9565b919092838303612eff5750505090565b600192612f1883612f1e93039342039182850390612e83565b94612e83565b8301809311612f54575b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff830104019015150290565b612f5c6116f3565b612f28565b919091828114612f8e5782818309612f8057612f7c91612e83565b0490565b63c63cf0896000526004601cfd5b50905090565b506312d3f5a36000526004601cfd5b600211156106b257565b516107ad816106a8565b815181519260005b8281106130c05750505060005b828110612fd857505050565b612fe28183612988565b5161301661300260208301516effffffffffffffffffffffffffffff1690565b6effffffffffffffffffffffffffffff1690565b156130b75751606081018051519060005b828110613089575050506040018051519060005b82811061304f575050506001905b01612fcc565b8061306f6130696130636001948651612988565b51612fad565b60031090565b61307a575b0161303b565b61308481866131ba565b613074565b8061309d6130696130636001948651612988565b6130a8575b01613027565b6130b281876131a6565b6130a2565b50600190613049565b6130ca8183612988565b516130df81518781101561317a575b86612988565b51602090613101613002838301516effffffffffffffffffffffffffffff1690565b1561316f57519060409081830151918401519263bfb3f8ce9185015161312681612fa3565b61312f81612fa3565b61315c575b50815183101561315357509161314d91600194936131d7565b01612fbf565b6000526004601cfd5b9050606091500151636088d7de38613134565b50505060019061314d565b613190602084015161318b81612fa3565b613195565b6130d9565b63133c37c66000526020526024601cfd5b63a8930e9a6000526020526040526044601cfd5b63d69293326000526020526040526044601cfd5b61221e826106a8565b906131e191612988565b518051916131ee836106a8565b600383111561324d5761322e8260046040606095019586518015156000146132345761322490878701519060808801519161326a565b14600303906131ce565b01519052565b50608085015151156132245761324861325b565b613224565b6394eb6af66000526004601cfd5b506309bde3396000526004601cfd5b916000928352602090818420918082019181815191600592831b0101905b8184106132a857505050500361329b5750565b6309bde33990526004601cfd5b8351808611821b95865294831894909452604086209392820192613288565b604051906060820182811067ffffffffffffffff82111761331b575b6040528160406132f16110ae565b91600092838152836020820152838382015283606082015283608082015281528260208201520152565b61332361107e565b6132e3565b906133356128f7836117ec565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061336382946117ec565b019060005b82811061337457505050565b60209061337f6132c7565b82828501015201613368565b5063d5da9a1b6000526004601cfd5b929190926133a66132c7565b938051156133f557846133d89181519373ffffffffffffffffffffffffffffffffffffffff608086019616865261348a565b6060810151156133e6575050565b60006001928160208701525252565b63375c24c160005260006020526024601cfd5b929190926134146132c7565b938051156134545784613429918151936135d1565b60208401913383526040850152606081015115613444575050565b6000600192526000608082015252565b63375c24c160005260016020526024601cfd5b50637fda72796000526004601cfd5b50634e487b7160005260116020526024601cfd5b9092919260009081928290828351905b8160051b850181106134c957505050505060608293945101526134ba5750565b600114611da057610676613476565b6020909695960190602082515184518110156135c4575b60051b8401015180519060208451015160206040840151920151158251821015176135b9579060209160051b0101519660609081890151998a81019a15908b1060011b171798976000828201528b51871560011461356c57502085189060408b0151610120820151189060208c0151905118171761355f575b9061349a565b613567613467565b613559565b929061012092949750806040915185526020810151602086015201516040840152805160208d0152015160408b01522092602085018281186135af575b50613559565b82519052386135a9565b505050959495613559565b6135cc613467565b6134e0565b9092919260009081928291808051600590811b82015b8084106136035750505050505060608293945101526134ba5750565b6020979697809401938085515187518110156136cf575b841b8701015190808651015191606092828483510151920151158251821015176136c3576000918391871b010151928301998a519b8c81019c15908d1060011b17179a99528b51881560011461368357505060a0902086146135e75761367e613467565b6135e7565b8251815281830151818301526040808401519082015260808084015191015260a0909120965083018481186136b9575b506135e7565b84519052386136b3565b505050509695966135e7565b6136d7613467565b61361a565b9092938151936136eb856128ea565b956136f46111a8565b9180519060005b8281106138ca5750505060005b86811061379a57505061371a90612105565b478061378a575b50613734575b5050506107ad6001600055565b60005b8381106137445750613727565b8061375a61375460019388612988565b51151590565b613765575b01613737565b6137856137728285612988565b518561377e8482612988565b5191615aab565b61375f565b6137949033611d62565b38613721565b6137a48186612988565b516137c461300260208301516effffffffffffffffffffffffffffff1690565b156138b4576137dc6137d6838b612988565b60019052565b51604081015180519060005b82811061384c575050506060809101519081519160005b83811061381457505050506001905b01613708565b8061382160019284612988565b5160a08582019182518061383b575b5001519052016137ff565b61384690858b613944565b38613830565b8061385960019284612988565b51608060608201918251613872575b01519052016137e8565b608081018051908b90526138ab8c61389e8b5173ffffffffffffffffffffffffffffffffffffffff1690565b6101208c0151908561395b565b82820152613868565b508060006138c46001938b612988565b5261380e565b80613925866138db60019486612988565b5180519081516138ea816106a8565b6138f3816106a8565b1561392b575b604061391c602083015173ffffffffffffffffffffffffffffffffffffffff1690565b9101519161395b565b016136fb565b47606083015111156138f95761393f611d22565b6138f9565b63a5f542086000526020526040526060526064601cfd5b9291908351613969816106a8565b613972816106a8565b613a1557505050806139ba6139a1602061067694015173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff6040830151911617613a08575b60606139ff608083015173ffffffffffffffffffffffffffffffffffffffff1690565b91015190611d62565b613a10611d53565b6139dc565b60018451613a22816106a8565b613a2b816106a8565b03613aab5792610676936040820151613a9e575b602082015173ffffffffffffffffffffffffffffffffffffffff169073ffffffffffffffffffffffffffffffffffffffff6060613a93608086015173ffffffffffffffffffffffffffffffffffffffff1690565b940151931691611dae565b613aa6611d53565b613a3f565b60028451613ab8816106a8565b613ac1816106a8565b03613b2e5783613aeb602061067696015173ffffffffffffffffffffffffffffffffffffffff1690565b608082015173ffffffffffffffffffffffffffffffffffffffff169273ffffffffffffffffffffffffffffffffffffffff60606040850151940151941691611efe565b83613b53602061067696015173ffffffffffffffffffffffffffffffffffffffff1690565b608082015173ffffffffffffffffffffffffffffffffffffffff169273ffffffffffffffffffffffffffffffffffffffff60606040850151940151941691611fff565b9193929081613ba89184519085612c63565b9190805160051b604001937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082018051907f4b9f2d36e1b4c93de62cc077b00b1a91d84b6c31b4a14e012718dcca230689e760209788835282a152865196613c0f88613328565b9560009889915b818310613c44575050505093613c359487829798613c39575b506136dc565b5090565b825103825238613c2f565b9091929988613c6585613c57818f612988565b518581519101519089613cba565b613c7e8180516080602082511515930151910151141690565b15613c975750506001809101935b019190999299613c16565b8591613cb491613cad8560019699038093612988565b528b612988565b50613c8c565b909192613cc56132c7565b938351158015613eaf575b613ea2575b613cdd6132c7565b90613ce98282866135d1565b81519460609384870193845115613e82575092859288836107ad9996613d168360809a97613e199c61348a565b613d208351612fad565b613d29816106a8565b885190613d35826106a8565b613d3e826106a8565b60ff85519273ffffffffffffffffffffffffffffffffffffffff8c604080613d806139a160208a015173ffffffffffffffffffffffffffffffffffffffff1690565b613da46139a1602086015173ffffffffffffffffffffffffffffffffffffffff1690565b189701519101511894169218161717613e73575b50835182518601511015613e3957505090602083613ded613ddb613dfa9561296e565b5193518c518301518551910397612988565b5151015191015190612988565b5101525b015173ffffffffffffffffffffffffffffffffffffffff1690565b60808351019073ffffffffffffffffffffffffffffffffffffffff169052565b8495939492509060206040613ded85613e54613e659661296e565b519451015188518551910397612988565b510152519086510152613dfe565b613e7c90613eb8565b38613db8565b9750505050505050608060009182602085015201526107ad815160019052565b613eaa613ec9565b613cd5565b50805115613cd0565b63bced929d6000526020526024601cfd5b506398e9db6e6000526004601cfd5b613ee06110fb565b90600182528160005b60209081811015613f0b57602091613eff612840565b90828501015201613ee9565b505050565b92613faa613f7692613fe295613f4060046080835101516005811015613ff1575b613f3a81612934565b14614f6c565b613f8884613f4d83614414565b9098829a9296613f5b613ed8565b96613f658861296e565b52613f6f8761296e565b5086612fb7565b613f7f8561296e565b51519889613ffe565b613fa4613f936128d4565b9183613f9e8461296e565b5261296e565b51615aab565b815173ffffffffffffffffffffffffffffffffffffffff16602083015173ffffffffffffffffffffffffffffffffffffffff16612a9a565b613fec6001600055565b600190565b613ff9610678565b613f31565b60a08082015160c08301519796909593916140176111a8565b9689604086019384515190600095865b8c898d86841061411757505050505050505060809260048487015161404b81612934565b101661410a575b6060809501968751519760005b89811061408e575050505050505050505061407b919250612105565b47806140845750565b6106769033611d62565b806140ea8c8f8b8b8b8f936140bf908c8c6140ac60019c8e51612988565b51968701958651958801958651906141c0565b8092528b830151905281516140d3816106a8565b6140dc816106a8565b156140f0575b50339061395b565b0161405f565b47106140fd575b386140e2565b614105611d22565b6140f7565b614112612f94565b614052565b998561417e9392869798999c6141596141338860019a51612988565b51948551614140816106a8565b15179e8d60608701938451956080890196875190614189565b9052528c61012061391c825173ffffffffffffffffffffffffffffffffffffffff1690565b01908d939291614027565b90939084810361419f5750506107ad9350612f61565b93836141b46107ad97966141ba949686612f61565b93612f61565b90612ea3565b9093908481036141d65750506107ad9350612f61565b93836141b46107ad97966141eb949686612f61565b90612eef565b90815180825260208080930193019160005b828110614211575050505090565b909192938260a08261422660019489516106ba565b01950193929101614203565b929094939160409182519460809182870191875273ffffffffffffffffffffffffffffffffffffffff94856020921682890152838189015286518093528160a089019701936000915b8483106142c95750505050505082828594936142c493867f9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f319896036060870152169716956141f1565b0390a3565b90919293949784836001928b5180516142e1816106a8565b8252808401518c168483015285810151868301526060908101519082015201990195949301919061427b565b9092916000938285526002602052604085209283549260ff8460081c166143ef576effffffffffffffffffffffffffffff8460101c166143de5760ff841615614374575b505071010000000000000000000000000000010001909255509091506106769050565b6143806128f78261115f565b9281845236828201116143da579262010001949261067697986020846143d2957fffffffffffffffffffffffffffffff0000000000000000000000000000000000988387013784010152608435615199565b918594614351565b8780fd5b5063ee9e0e6386526020526024601cfd5b50631a51557486526020526024601cfd5b90805b61440b575090565b80910680614403565b80519061442d61099960a084015160c085015190615184565b61465b576effffffffffffffffffffffffffffff92602092848484015116938560408501511693608083016004815161446581612934565b61446e81612934565b146146285786158688111761461b575b519161448983612934565b6001809316158688101661460e575b6144a184614762565b976144b6896000526002602052604060002090565b946144c4610999878c6158f0565b6145ff578554938a60ff8616156145cb575b5050508260881c848115906144f8575b505050508460881b9060101b17179055565b98979893909192936145bb5760101c82168885146145a757818914614589578882910297029702958701968688118789030280910397039181871182841117614543575b80806144e6565b9095919661455a614554848a614400565b82614400565b80150180809204980492049580871190831117614577578061453c565b601190634e487b71600052526024601cfd5b925050508495940194848611858703028091039503388080806144e6565b9397509550505083039383388080806144e6565b50505050839493388080806144e6565b60606145ee6145f7945173ffffffffffffffffffffffffffffffffffffffff1690565b92015191615199565b38808a6144d6565b50600097508796505050505050565b6146166147ce565b614498565b6146236147bf565b61447e565b50919360809396506001915061464795021861464e575b0151906147dd565b9192909190565b6146566147bf565b61463f565b5050600090600090600090565b80519061468561099960a084015160c08501514210904210151690565b61465b576effffffffffffffffffffffffffffff9260209284848401511693856040850151169360808301600481516146bd81612934565b6146c681612934565b1461473657861586881117614729575b51916146e183612934565b6001809316158688101661471c575b6146f984614762565b9761470e896000526002602052604060002090565b946144c4610999878c615953565b6147246147ce565b6146f0565b6147316147bf565b6146d6565b509193608093965060019150614647950218614755575b01519061499c565b61475d6147bf565b61474d565b6060810151516101408201511161153d57806147b973ffffffffffffffffffffffffffffffffffffffff6107ad93511673ffffffffffffffffffffffffffffffffffffffff16600052600160205260406000205490565b90612423565b50635a052b326000526004601cfd5b5063a11b63ff6000526004601cfd5b60609060408282018051516101408401510361498f575b60008061481f614818865173ffffffffffffffffffffffffffffffffffffffff1690565b9786614b6b565b9082895af19361484f8673ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b958654906001978883019055821b189415614981575b61486d615dcd565b9490919586614973575b0180515182518111614965575b6000905b8981831061492f575050505281519083519180518311614921575b91906000925b888385106148ce575050505050526148c057918190565b6148c981614c57565b918190565b90919293966148dd8884612988565b516149156148eb8a8a612988565b518681015187840151106148ff8285614c77565b179260a080910151910151908091149015171590565b171796019291906148a9565b61492a87614c57565b6148a3565b90919761493d898551612988565b5161495b61494b8b88612988565b5188830151898201511092614c77565b1717970190614888565b61496e88614c57565b614884565b61497c88614c57565b614877565b61498a85614c57565b614865565b614997614c68565b6147f4565b60609081810180515161014083015103614b03575b6149d96149d2835173ffffffffffffffffffffffffffffffffffffffff1690565b9483614b6b565b9060008092819282895af193614a0f8673ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b958654906001978883019055821b189415614af9579060409291614a31615dcd565b9590919687614aeb575b0180515182518111614add575b84905b8a818310614ab75750505052825184519281518411614aa9575b9291905b88838510614a80575050505050526148c057918190565b9091929396614a8f8884612988565b51614a9d6148eb8a8a612988565b17179601929190614a69565b614ab288614c57565b614a65565b909198614ac58a8551612988565b51614ad361494b8c88612988565b1717980190614a4b565b614ae689614c57565b614a48565b614af489614c57565b614a3b565b5093505050918190565b614b0b614c68565b6149b1565b91909160408051936020928360e083028701018352818652839160010160051b92838701915b848410614b4557505050505050565b60c060a0879285878c01528460808083893e606083019088013e01930193019291614b36565b9190608490614bd2604051916398919765835260a0601c84019633602086015260806040860152614bbe6060614ba8604084015185890190614bfc565b9283608001828901520151838388010190614bfc565b018094608082016080820152010190614bd7565b010190565b8051603f0163ffffffe0169291610676918491905b829060045afa153d15176101c357565b9081519081815260209283808083019301918460051b0101915b84838210614c29575050505060071b0190565b8160809251805185528281015183860152604080820151908601526060809101519085015201910190614c16565b63939792856000526020526024601cfd5b50632165628a6000526004601cfd5b90815191604081015180156003851116614cb4575b6020809160608401516080850151149060408601511416948451149301519101511416161590565b506040820151600490931460030392614c8c565b9190811015614d09575b60051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea1813603018212156101c3570190565b614d1161293e565b614cd2565b3560058110156101c35790565b5063fed398fc6000526004601cfd5b90815180825260208080930193019160005b828110614d52575050505090565b909192938260a060019287518051614d69816106a8565b82528084015173ffffffffffffffffffffffffffffffffffffffff168483015260408082015190830152606080820151908301526080908101519082015201950193929101614d44565b90815180825260208080930193019160005b828110614dd3575050505090565b909192938260c060019287518051614dea816106a8565b82528084015173ffffffffffffffffffffffffffffffffffffffff9081168584015260408083015190840152606080830151908401526080808301519084015260a091820151169082015201950193929101614dc5565b906005821015614e4e5752565b61221e610678565b90815260406020820152614e8360408201835173ffffffffffffffffffffffffffffffffffffffff169052565b602082015173ffffffffffffffffffffffffffffffffffffffff1660608201526101806040830151614efa614ec6610160928360808701526101a0860190614d32565b60608601517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08683030160a0870152614db3565b93614f0d608082015160c0860190614e41565b60a081015160e085015260c081015191610100928386015260e082015192610120938487015282015192610140938487015282015190850152015191015290565b614f56614f7c565b6002600055565b614f65614f7c565b6003600055565b614f74614f7c565b600201600055565b600160005403614f8857565b637fa8a9876000526004601cfd5b600360005403614fa257565b61067634611d42565b929091833b1561507857604051926000947f23b872dd000000000000000000000000000000000000000000000000000000008652816004528260245283604452858060648180855af1156150055750505050604052606052565b85853d61502c575b5063f486bc879052602052604052606052608052600160a05260a4601cfd5b601f3d0160051c9060051c90806003029180821161505f575b505060205a910110615057578561500d565b3d81803e3d90fd5b8080600392028380020360091c92030201018680615045565b83635f15d6726000526020526024601cfd5b9392919091843b1561517257604051936080519160a0519360c051956000987ff242432a000000000000000000000000000000000000000000000000000000008a528160045282602452836044528460645260a06084528960a452898060c48180855af11561510957505050505060805260a05260c052604052606052565b89893d61512e575b5063f486bc87905260205260405260605260805260a05260a4601cfd5b601f3d0160051c9060051c908060030291808211615159575b505060205a9101106150575786615111565b8080600392028380020360091c92030201018780615147565b84635f15d6726000526020526024601cfd5b9190428111428411151692831561154b575050565b92919033841461531a576151ab6125a7565b936151e882867f19010000000000000000000000000000000000000000000000000000000000006000526002526022526042600020906000602252565b908351926002601f601d860116106102e27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d8601101660001461530c5760018085169081604103927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf600593880101831c93808952880160209384820151928560238560e81c94019460e31c1690815285845191185283925b8684106152ec575050505050966152e69161067697986152a5604060002092615514565b600052526040600020907f19010000000000000000000000000000000000000000000000000000000000006000526002526022526042600020906000602252565b90615320565b85859101938684821c841b16604060002081528786519118520192615281565b506106769495508190615320565b50509050565b909291926000948580528051957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0820180519188604103908091600181119687156154aa575b50505085148515151697881561539c575b50505050505050501561538657565b61538e612681565b634f7fb80d6000526004601cfd5b909192939495809798508452604082527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbc8401938451957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08201976020600060648b519c7f1626ba7e000000000000000000000000000000000000000000000000000000009e8f8c528d520189845afa9a8b615448575b50505050505252523880808080808080615377565b600051036154565780615433565b3b61538e5761549c57606001906041640101000000835160001a1a159114166154875763815e1d646000526004601cfd5b631f003d0a6000525160001a6020526024601cfd5b638baa579f6000526004601cfd5b9091925060408601908151926060880151851a906154e2575b8752845260208360808660015afa508484528a86525251388080615366565b50601b8360ff1c017f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff841683526154c3565b600981106157ac576011811061566857601581106155ca576017811061557f5760177f403be09941a31d05cfc2f896505811353d45d38743288b016630cce39435476a9114027f1d51df90cba8de7637ca3e8fe1e3511d1dc2f23487d05dbdecb781860c21ac1c1890565b60157fbb40bf8cea3a5a716e2b6eb08bbdac8ec159f82f380783db3c56904f15a43d049114027f3bd8cff538aba49a9c374c806d277181e9651624b3e31111bc0624574f8bca1d1890565b6013811061561d5760137f54b3212a178782f104e0d514b41a9a5c4ca9c980bf6597c3cecbf280917e202a9114027f5a4f867d3d458dabecad65f6201ceeaba0096df2d0c491cc32e6ea4e643500171890565b60117f2d7a3ed6dab270fdb8e054b2ad525f0ce2a8b89cc76c17f0965434740f673a559114027fc3939feff011e53ab8c35ca3370aad54c5df1fc2938cd62543174fa6e7d858771890565b600d811061570e57600f81106156c357600f7fcc4886e37eedd9aacd6c1c2c9247197a621a71282e87a7cbc673f3736d9aa1419114027f1da3eed3ecef6ebaa6e5023c057ec2c75150693fd0dac5c90f4a142f9879fde81890565b600d7f8df51df98847160517f5b1186b4bc3f418d98b8a7f17f1292f392d79d600d79e9114027f6b5b04cbae4fcb1a9d78e7b2dfc51a36933d023cf6e347e03d517b472a8525901890565b600b811061576157600b7f32f4e7485d6485f9f6c255929b9905c62ba919758bbe231f231eaeecf33d810c9114027fbb98d87cc12922b83759626c5f07d72266da9702d19ffad6a514c73a89002f5f1890565b60097f6f0ec38c21f6f583ab7f3c5413c773ffd5344c34fde1d390958e438bf667448f9114027fd1d97d1ef5eaa37a4ee5fbf234e6f6d64eb511eb562221cd7edfbdde0848da051890565b6005811061585257600781106158075760077fb58d772fb09b426b9dece637f61ca9065f2b994f1464b51e9207f55f7c8f59489114027f7ff98d9d4e55d876c5cfac10b43c04039522f3ddfb0ea9bfe70c68cfb5c7cc141890565b60057f25d02425402d882d211a7ab774c0ed6eca048c4d03d9af40132475744753b2a39114027f1c19f71958cdd8f081b4c31f7caf5c010b29d12950be2fa1c95070dc47e30b551890565b600381106158a55760037ff3e8417a785f980bdaf134fa0274a6bf891eeb8195cd94b09d2aa651046e28bc9114027fa02eb7ff164c884e5e2c336dc85f81c6a93329d8e9adf214b32729b894de2af11890565b60017f832c58a5b611aadcfa6a082ac9d04bace53d8278387f10040347b7e98eb5b3029114027fbf8e29b89f29ed9b529c154a63038ffca562f8d7cd1e2545dda53a1b582dde301890565b905460ff8160081c16615941576effffffffffffffffffffffffffffff8160101c169081615921575b505050600190565b60881c1115615932575b8080615919565b61593b906159bb565b3861592b565b50631a5155746000526020526024601cfd5b906000905460ff8160081c166159b2576effffffffffffffffffffffffffffff8160101c169081615988575b50505050600190565b60881c111561599857808061597f565b6159a3575b50600090565b6159ac906159bb565b3861599d565b50905050600090565b6310fda3e16000526020526024601cfd5b9190608082019081356159de8161064b565b33141590600460018211911016166159f557505050565b61067692615a236139a16060604051956317b1f94287526020808801528460408801523382880152016111bf565b6080840152606061014461012085013761014060a08401526101e060c0840152615aa6601c61032461026435615a6f60a08202918261016001906101808a019060051b61020001614bec565b6102a0810160e08801528461032082890160006102e08201526102c084016101008b015260016103008201520152019401926111bf565b615d11565b919082519060808201918251926005841015615b66575b615af3602083019473ffffffffffffffffffffffffffffffffffffffff865116331415906004600182119110161690565b15615b1b575090615b0d9160806106769601519085615bf7565b91519263fb5014fc93615d79565b60049194935051615b2b81612934565b615b3481612934565b03615b605761067693615b549184519460808660601b9301519085615b73565b91639397928593615d79565b50505050565b615b6e610678565b615ac2565b9493919260c060a494615be3614bd2946040519663f4dd92ce8852601c88019a1860a088015260a06020880152615bcd6060615bb66040840151878b0190614bfc565b928360a00160408b0152015185838a010190615cc9565b019160a083016060880152838388010190614bd7565b01809460a082016080820152010190615cad565b9392614bd2906101649392604051936317b1f9428552601c85019760208087015260408601523360608601528151608086015260a082015161012086015260c082015190610140918287015260e08301516101608701528160a0870152615c9d604084015193615c886060615c7261018097888c0190614bfc565b9283870160c08c0152015186838b010190615cc9565b019183830160e0890152848389010190614bd7565b0194859182016101008201520101905b612984602092839283815180845260051b948593019101614bec565b8051908183526020928380808401938560051b01019101915b818110615cf35750505060a0020190565b60a090818481835160045afa153d15176101c3578501920191615ce2565b6020909391937fffffffff00000000000000000000000000000000000000000000000000000000845116926000948580938180525af1908251149015615d6a5715615d5a575050565b63fb5014fc90526020526024601cfd5b5063fb5014fc90612230612681565b602090949391947fffffffff00000000000000000000000000000000000000000000000000000000845116926000948580938180525af1908251149015615dc4571561223057505050565b50612230612681565b60009081906080803d109060009081908280918515615e70575b8515615df8575b5050505050929190565b91939750919550602094939480920196604051918360c08302840101604052818352839160010160051b98898401905b8a8410615e4d5750505050615e4293949596509501614b10565b913880808080615dee565b60a083879284878901528181863e60608501518286015201920193019290615e28565b9450909150604081803e5190602051913d81113d8411179485615de75794508093506020915060003e60005191602082813e602051903d8260a0028560071b0186011161ffff83861711179460008052615de7565b908135641fffffffe08160051b169060405191602091828285010160405263ffffffff809116845260005b828110615f005750929450505050565b80615f1685848180958c010135168a01016119cd565b82828801015201615ef056fea164736f6c6343000811000a00000000000000000000000000000000f9490004c11cef243f5400493c00ad63"}]} \ No newline at end of file diff --git a/tests/cachedrpc/907b95a52fb00090858ecb36bebae2af60b69031c9db27a8dbdcbff5b75c50a1 b/tests/cachedrpc/907b95a52fb00090858ecb36bebae2af60b69031c9db27a8dbdcbff5b75c50a1 new file mode 100644 index 00000000..95c8ff52 --- /dev/null +++ b/tests/cachedrpc/907b95a52fb00090858ecb36bebae2af60b69031c9db27a8dbdcbff5b75c50a1 @@ -0,0 +1 @@ +{"jsonrpc":"2.0","id":1,"result":{"storage":{"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563":{"key":"0x0000000000000000000000000000000000000000000000000000000000000000","value":"0x0000000000000000000000002ba937d2c71d0fbbeda8ce3bf02a8b88727961ec"}},"nextKey":null}} diff --git a/tests/cachedrpc/918308a2cbdf8f85eb4710c1d9f6acfcf7d645550763b86a0ce90fffe357b077 b/tests/cachedrpc/918308a2cbdf8f85eb4710c1d9f6acfcf7d645550763b86a0ce90fffe357b077 new file mode 100644 index 00000000..5b2af27d --- /dev/null +++ b/tests/cachedrpc/918308a2cbdf8f85eb4710c1d9f6acfcf7d645550763b86a0ce90fffe357b077 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xc944e90c64b2c07662a292be6244bdf05cda44a7","contractCreator":"0x06590a641dc3eb43f2cebe435576389f209116da","txHash":"0x079625b9f58a40f1948b396b7007d09ff4aa193d7ec798923910fc179294cab8","blockNumber":"11446769","timestamp":"1607890633","contractFactory":"","creationBytecode":"0x60806040523480156200001157600080fd5b5060405162001c2538038062001c25833981810160405260208110156200003757600080fd5b5051604080518082018252600b81526a23b930b834102a37b5b2b760a91b60208281019182528351808501909452600384526211d49560ea1b9084015281519192916200008791600591620003a7565b5080516200009d906006906020840190620003a7565b505060078054601260ff1990911617905550620000c633620001bb602090811b62000dcd17901c565b620000d23382620001dd565b620000dd33620002f0565b7fd87cd6ef79d4e2b95e15ce8abf732db51ec771f1ca2edccf22a46c729ac564727fefcec85968da792893fa503eb21730083fc6c50ed5461e56163b28335b2a5f967f044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d6200014a6200033c565b6040805160208082019690965280820194909452606084019290925260808301523060a08301527f51f3d585afe6dfeb2af01bba0889a36c1db03beec88c6a4d0c53817069026afa60c0808401919091528151808403909101815260e0909201905280519101206008555062000453565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03821662000239576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620002476000838362000340565b62000263816004546200034560201b62000def1790919060201c565b6004556001600160a01b0382166000908152600260209081526040909120546200029891839062000def62000345821b17901c565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038116600081815260096020526040808220805460ff19166001179055517f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f69190a250565b4690565b505050565b600082820183811015620003a0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003df57600085556200042a565b82601f10620003fa57805160ff19168380011785556200042a565b828001600101855582156200042a579182015b828111156200042a5782518255916020019190600101906200040d565b50620004389291506200043c565b5090565b5b808211156200043857600081556001016200043d565b6117c280620004636000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806379cc6790116100c3578063a9059cbb1161007c578063a9059cbb1461042b578063aa271e1a14610457578063d505accf1461047d578063dd62ed3e146104ce578063e3056a34146104fc578063f2fde38b1461050457610158565b806379cc6790146103775780637ecebe00146103a357806395d89b41146103c9578063983b2d56146103d157806398650275146103f7578063a457c2d7146103ff57610158565b8063313ce56711610115578063313ce567146102b657806339509351146102d457806340c10f191461030057806342966c681461032c57806370a082311461034957806379ba50971461036f57610158565b806306fdde031461015d578063095ea7b3146101da5780630c340a241461021a57806318160ddd1461023e57806323b872dd146102585780633092afd51461028e575b600080fd5b61016561052a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b0381351690602001356105c0565b604080519115158252519081900360200190f35b6102226105dd565b604080516001600160a01b039092168252519081900360200190f35b6102466105ec565b60408051918252519081900360200190f35b6102066004803603606081101561026e57600080fd5b506001600160a01b038135811691602081013590911690604001356105f2565b6102b4600480360360208110156102a457600080fd5b50356001600160a01b0316610679565b005b6102be6106dd565b6040805160ff9092168252519081900360200190f35b610206600480360360408110156102ea57600080fd5b506001600160a01b0381351690602001356106e6565b6102b46004803603604081101561031657600080fd5b506001600160a01b038135169060200135610734565b6102b46004803603602081101561034257600080fd5b5035610793565b6102466004803603602081101561035f57600080fd5b50356001600160a01b03166107a4565b6102b46107bf565b6102b46004803603604081101561038d57600080fd5b506001600160a01b0381351690602001356108ce565b610246600480360360208110156103b957600080fd5b50356001600160a01b0316610928565b61016561093a565b6102b4600480360360208110156103e757600080fd5b50356001600160a01b031661099b565b6102b46109fc565b6102066004803603604081101561041557600080fd5b506001600160a01b038135169060200135610a07565b6102066004803603604081101561044157600080fd5b506001600160a01b038135169060200135610a6f565b6102066004803603602081101561046d57600080fd5b50356001600160a01b0316610a83565b6102b4600480360360e081101561049357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135610aa1565b610246600480360360408110156104e457600080fd5b506001600160a01b0381358116916020013516610c95565b610222610cc0565b6102b46004803603602081101561051a57600080fd5b50356001600160a01b0316610ccf565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105b65780601f1061058b576101008083540402835291602001916105b6565b820191906000526020600020905b81548152906001019060200180831161059957829003601f168201915b5050505050905090565b60006105d46105cd610e50565b8484610e54565b50600192915050565b6000546001600160a01b031681565b60045490565b60006105ff848484610f40565b61066f8461060b610e50565b61066a856040518060600160405280602881526020016116b2602891396001600160a01b038a16600090815260036020526040812090610649610e50565b6001600160a01b03168152602081019190915260400160002054919061109d565b610e54565b5060019392505050565b6000546001600160a01b031633146106d1576040805162461bcd60e51b815260206004820152601660248201527513db9b1e4811dbdd995c9b9bdc8818d85b8818d85b1b60521b604482015290519081900360640190fd5b6106da81611134565b50565b60075460ff1690565b60006105d46106f3610e50565b8461066a8560036000610704610e50565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610def565b61073d33610a83565b610785576040805162461bcd60e51b815260206004820152601460248201527313db9b1e481b5a5b9d195c8818d85b8818d85b1b60621b604482015290519081900360640190fd5b61078f828261117d565b5050565b6106da61079e610e50565b8261126f565b6001600160a01b031660009081526002602052604090205490565b6001546001600160a01b0316158015906107e357506001546001600160a01b031633145b610834576040805162461bcd60e51b815260206004820152601f60248201527f43616c6c6572206d7573742062652070656e64696e6720676f7665726e6f7200604482015290519081900360640190fd5b60008054600180546001600160a01b038082166001600160a01b03198086168217808855931690935560405193811694929391169184917f0ac6deed30eef60090c749850e10f2fa469e3e25fec1d1bef2853003f6e6f18f9190a36001546040516001600160a01b03918216918316907f76563ad561b7036ae716b9b25cb521b21463240f104c97e12f25877f2235f33d90600090a35050565b6000610905826040518060600160405280602481526020016116da602491396108fe866108f9610e50565b610c95565b919061109d565b905061091983610913610e50565b83610e54565b610923838361126f565b505050565b600a6020526000908152604090205481565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105b65780601f1061058b576101008083540402835291602001916105b6565b6000546001600160a01b031633146109f3576040805162461bcd60e51b815260206004820152601660248201527513db9b1e4811dbdd995c9b9bdc8818d85b8818d85b1b60521b604482015290519081900360640190fd5b6106da8161136b565b610a0533611134565b565b60006105d4610a14610e50565b8461066a856040518060600160405280602581526020016117686025913960036000610a3e610e50565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061109d565b60006105d4610a7c610e50565b8484610f40565b6001600160a01b031660009081526009602052604090205460ff1690565b6008546001600160a01b038089166000818152600a602081815260408084205481517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981850152808301879052968e166060880152608087018d905260a0870181905260c08088018d90528251808903909101815260e08801835280519084012061190160f01b6101008901526101028801989098526101228088019890985281518088039098018852610142909601905285519581019590952092909152909252610b6e906001610def565b6001600160a01b0389166000908152600a602090815260408083209390935582519081018690528083018590526001600160f81b031960f888901b16606082015282516041818303018152606190910190925290610bcd9083906113b7565b9050806001600160a01b0316896001600160a01b031614610c2b576040805162461bcd60e51b815260206004820152601360248201527211d4950e881a5b9d985b1a59081c195c9b5a5d606a1b604482015290519081900360640190fd5b851580610c385750854211155b610c7f576040805162461bcd60e51b815260206004820152601360248201527211d4950e88195e1c1a5c9959081c195c9b5a5d606a1b604482015290519081900360640190fd5b610c8a898989610e54565b505050505050505050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6001546001600160a01b031681565b6000546001600160a01b03163314610d27576040805162461bcd60e51b815260206004820152601660248201527513db9b1e4811dbdd995c9b9bdc8818d85b8818d85b1b60521b604482015290519081900360640190fd5b6001600160a01b038116610d79576040805162461bcd60e51b815260206004820152601460248201527311dbdd995c9b9bdc881b5d5cdd081899481cd95d60621b604482015290519081900360640190fd5b600180546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907f76563ad561b7036ae716b9b25cb521b21463240f104c97e12f25877f2235f33d90600090a35050565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610e49576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610e995760405162461bcd60e51b81526004018080602001828103825260248152602001806117446024913960400191505060405180910390fd5b6001600160a01b038216610ede5760405162461bcd60e51b81526004018080602001828103825260228152602001806116266022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610f855760405162461bcd60e51b815260040180806020018281038252602581526020018061171f6025913960400191505060405180910390fd5b6001600160a01b038216610fca5760405162461bcd60e51b81526004018080602001828103825260238152602001806115e16023913960400191505060405180910390fd5b610fd5838383610923565b61101281604051806060016040528060268152602001611648602691396001600160a01b038616600090815260026020526040902054919061109d565b6001600160a01b0380851660009081526002602052604080822093909355908416815220546110419082610def565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561112c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110f15781810151838201526020016110d9565b50505050905090810190601f16801561111e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038116600081815260096020526040808220805460ff19169055517fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929190a250565b6001600160a01b0382166111d8576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6111e460008383610923565b6004546111f19082610def565b6004556001600160a01b0382166000908152600260205260409020546112179082610def565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166112b45760405162461bcd60e51b81526004018080602001828103825260218152602001806116fe6021913960400191505060405180910390fd5b6112c082600083610923565b6112fd81604051806060016040528060228152602001611604602291396001600160a01b038516600090815260026020526040902054919061109d565b6001600160a01b038316600090815260026020526040902055600454611323908261159e565b6004556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038116600081815260096020526040808220805460ff19166001179055517f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f69190a250565b6000815160411461140f576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114805760405162461bcd60e51b815260040180806020018281038252602281526020018061166e6022913960400191505060405180910390fd5b8060ff16601b148061149557508060ff16601c145b6114d05760405162461bcd60e51b81526004018080602001828103825260228152602001806116906022913960400191505060405180910390fd5b600060018783868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561152c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611594576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b9695505050505050565b6000610e4983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061109d56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545434453413a20696e76616c6964207369676e6174757265202773272076616c756545434453413a20696e76616c6964207369676e6174757265202776272076616c756545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122028978c229b51c3a9489101e8096301e85866fa63b6ccbd95d247e376d1f5407664736f6c634300070400330000000000000000000000000000000000000000204fce5e3e25026110000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/970b0c32d6f4a4b516be910024a50972473c62398dbbbc65640715db0030f5c7 b/tests/cachedrpc/970b0c32d6f4a4b516be910024a50972473c62398dbbbc65640715db0030f5c7 new file mode 100644 index 00000000..7588ac01 --- /dev/null +++ b/tests/cachedrpc/970b0c32d6f4a4b516be910024a50972473c62398dbbbc65640715db0030f5c7 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity 0.4.24;\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol\r\n\r\n/**\r\n * @title ERC20Basic\r\n * @dev Simpler version of ERC20 interface\r\n * See https://github.com/ethereum/EIPs/issues/179\r\n */\r\ncontract ERC20Basic {\r\n function totalSupply() public view returns (uint256);\r\n function balanceOf(address _who) public view returns (uint256);\r\n function transfer(address _to, uint256 _value) public returns (bool);\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/math/SafeMath.sol\r\n\r\n/**\r\n * @title SafeMath\r\n * @dev Math operations with safety checks that throw on error\r\n */\r\nlibrary SafeMath {\r\n\r\n /**\r\n * @dev Multiplies two numbers, throws on overflow.\r\n */\r\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {\r\n // Gas optimization: this is cheaper than asserting 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\r\n if (_a == 0) {\r\n return 0;\r\n }\r\n\r\n c = _a * _b;\r\n assert(c / _a == _b);\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Integer division of two numbers, truncating the quotient.\r\n */\r\n function div(uint256 _a, uint256 _b) internal pure returns (uint256) {\r\n // assert(_b > 0); // Solidity automatically throws when dividing by 0\r\n // uint256 c = _a / _b;\r\n // assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold\r\n return _a / _b;\r\n }\r\n\r\n /**\r\n * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).\r\n */\r\n function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {\r\n assert(_b <= _a);\r\n return _a - _b;\r\n }\r\n\r\n /**\r\n * @dev Adds two numbers, throws on overflow.\r\n */\r\n function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) {\r\n c = _a + _b;\r\n assert(c >= _a);\r\n return c;\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/BasicToken.sol\r\n\r\n/**\r\n * @title Basic token\r\n * @dev Basic version of StandardToken, with no allowances.\r\n */\r\ncontract BasicToken is ERC20Basic {\r\n using SafeMath for uint256;\r\n\r\n mapping(address => uint256) internal balances;\r\n\r\n uint256 internal totalSupply_;\r\n\r\n /**\r\n * @dev Total number of tokens in existence\r\n */\r\n function totalSupply() public view returns (uint256) {\r\n return totalSupply_;\r\n }\r\n\r\n /**\r\n * @dev Transfer token for a specified address\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n */\r\n function transfer(address _to, uint256 _value) public returns (bool) {\r\n require(_value <= balances[msg.sender]);\r\n require(_to != address(0));\r\n\r\n balances[msg.sender] = balances[msg.sender].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n emit Transfer(msg.sender, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Gets the balance of the specified address.\r\n * @param _owner The address to query the the balance of.\r\n * @return An uint256 representing the amount owned by the passed address.\r\n */\r\n function balanceOf(address _owner) public view returns (uint256) {\r\n return balances[_owner];\r\n }\r\n\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\r\n\r\n/**\r\n * @title ERC20 interface\r\n * @dev see https://github.com/ethereum/EIPs/issues/20\r\n */\r\ncontract ERC20 is ERC20Basic {\r\n function allowance(address _owner, address _spender)\r\n public view returns (uint256);\r\n\r\n function transferFrom(address _from, address _to, uint256 _value)\r\n public returns (bool);\r\n\r\n function approve(address _spender, uint256 _value) public returns (bool);\r\n event Approval(\r\n address indexed owner,\r\n address indexed spender,\r\n uint256 value\r\n );\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol\r\n\r\n/**\r\n * @title Standard ERC20 token\r\n *\r\n * @dev Implementation of the basic standard token.\r\n * https://github.com/ethereum/EIPs/issues/20\r\n * Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol\r\n */\r\ncontract StandardToken is ERC20, BasicToken {\r\n\r\n mapping (address => mapping (address => uint256)) internal allowed;\r\n\r\n\r\n /**\r\n * @dev Transfer tokens from one address to another\r\n * @param _from address The address which you want to send tokens from\r\n * @param _to address The address which you want to transfer to\r\n * @param _value uint256 the amount of tokens to be transferred\r\n */\r\n function transferFrom(\r\n address _from,\r\n address _to,\r\n uint256 _value\r\n )\r\n public\r\n returns (bool)\r\n {\r\n require(_value <= balances[_from]);\r\n require(_value <= allowed[_from][msg.sender]);\r\n require(_to != address(0));\r\n\r\n balances[_from] = balances[_from].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);\r\n emit Transfer(_from, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\r\n * Beware that changing an allowance with this method brings the risk that someone may use both the old\r\n * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this\r\n * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:\r\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n * @param _spender The address which will spend the funds.\r\n * @param _value The amount of tokens to be spent.\r\n */\r\n function approve(address _spender, uint256 _value) public returns (bool) {\r\n allowed[msg.sender][_spender] = _value;\r\n emit Approval(msg.sender, _spender, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Function to check the amount of tokens that an owner allowed to a spender.\r\n * @param _owner address The address which owns the funds.\r\n * @param _spender address The address which will spend the funds.\r\n * @return A uint256 specifying the amount of tokens still available for the spender.\r\n */\r\n function allowance(\r\n address _owner,\r\n address _spender\r\n )\r\n public\r\n view\r\n returns (uint256)\r\n {\r\n return allowed[_owner][_spender];\r\n }\r\n\r\n /**\r\n * @dev Increase the amount of tokens that an owner allowed to a spender.\r\n * approve should be called when allowed[_spender] == 0. To increment\r\n * allowed value is better to use this function to avoid 2 calls (and wait until\r\n * the first transaction is mined)\r\n * From MonolithDAO Token.sol\r\n * @param _spender The address which will spend the funds.\r\n * @param _addedValue The amount of tokens to increase the allowance by.\r\n */\r\n function increaseApproval(\r\n address _spender,\r\n uint256 _addedValue\r\n )\r\n public\r\n returns (bool)\r\n {\r\n allowed[msg.sender][_spender] = (\r\n allowed[msg.sender][_spender].add(_addedValue));\r\n emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Decrease the amount of tokens that an owner allowed to a spender.\r\n * approve should be called when allowed[_spender] == 0. To decrement\r\n * allowed value is better to use this function to avoid 2 calls (and wait until\r\n * the first transaction is mined)\r\n * From MonolithDAO Token.sol\r\n * @param _spender The address which will spend the funds.\r\n * @param _subtractedValue The amount of tokens to decrease the allowance by.\r\n */\r\n function decreaseApproval(\r\n address _spender,\r\n uint256 _subtractedValue\r\n )\r\n public\r\n returns (bool)\r\n {\r\n uint256 oldValue = allowed[msg.sender][_spender];\r\n if (_subtractedValue >= oldValue) {\r\n allowed[msg.sender][_spender] = 0;\r\n } else {\r\n allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);\r\n }\r\n emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/DetailedERC20.sol\r\n\r\n/**\r\n * @title DetailedERC20 token\r\n * @dev The decimals are only for visualization purposes.\r\n * All the operations are done using the smallest and indivisible token unit,\r\n * just as on Ethereum all the operations are done in wei.\r\n */\r\ncontract DetailedERC20 is ERC20 {\r\n string public name;\r\n string public symbol;\r\n uint8 public decimals;\r\n\r\n constructor(string _name, string _symbol, uint8 _decimals) public {\r\n name = _name;\r\n symbol = _symbol;\r\n decimals = _decimals;\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/ownership/Ownable.sol\r\n\r\n/**\r\n * @title Ownable\r\n * @dev The Ownable contract has an owner address, and provides basic authorization control\r\n * functions, this simplifies the implementation of \"user permissions\".\r\n */\r\ncontract Ownable {\r\n address public owner;\r\n\r\n\r\n event OwnershipRenounced(address indexed previousOwner);\r\n event OwnershipTransferred(\r\n address indexed previousOwner,\r\n address indexed newOwner\r\n );\r\n\r\n\r\n /**\r\n * @dev The Ownable constructor sets the original `owner` of the contract to the sender\r\n * account.\r\n */\r\n constructor() public {\r\n owner = msg.sender;\r\n }\r\n\r\n /**\r\n * @dev Throws if called by any account other than the owner.\r\n */\r\n modifier onlyOwner() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Allows the current owner to relinquish control of the contract.\r\n * @notice Renouncing to ownership will leave the contract without an owner.\r\n * It will not be possible to call the functions with the `onlyOwner`\r\n * modifier anymore.\r\n */\r\n function renounceOwnership() public onlyOwner {\r\n emit OwnershipRenounced(owner);\r\n owner = address(0);\r\n }\r\n\r\n /**\r\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\r\n * @param _newOwner The address to transfer ownership to.\r\n */\r\n function transferOwnership(address _newOwner) public onlyOwner {\r\n _transferOwnership(_newOwner);\r\n }\r\n\r\n /**\r\n * @dev Transfers control of the contract to a newOwner.\r\n * @param _newOwner The address to transfer ownership to.\r\n */\r\n function _transferOwnership(address _newOwner) internal {\r\n require(_newOwner != address(0));\r\n emit OwnershipTransferred(owner, _newOwner);\r\n owner = _newOwner;\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol\r\n\r\n/**\r\n * @title Mintable token\r\n * @dev Simple ERC20 Token example, with mintable token creation\r\n * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol\r\n */\r\ncontract MintableToken is StandardToken, Ownable {\r\n event Mint(address indexed to, uint256 amount);\r\n event MintFinished();\r\n\r\n bool public mintingFinished = false;\r\n\r\n\r\n modifier canMint() {\r\n require(!mintingFinished);\r\n _;\r\n }\r\n\r\n modifier hasMintPermission() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Function to mint tokens\r\n * @param _to The address that will receive the minted tokens.\r\n * @param _amount The amount of tokens to mint.\r\n * @return A boolean that indicates if the operation was successful.\r\n */\r\n function mint(\r\n address _to,\r\n uint256 _amount\r\n )\r\n public\r\n hasMintPermission\r\n canMint\r\n returns (bool)\r\n {\r\n totalSupply_ = totalSupply_.add(_amount);\r\n balances[_to] = balances[_to].add(_amount);\r\n emit Mint(_to, _amount);\r\n emit Transfer(address(0), _to, _amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Function to stop minting new tokens.\r\n * @return True if the operation was successful.\r\n */\r\n function finishMinting() public onlyOwner canMint returns (bool) {\r\n mintingFinished = true;\r\n emit MintFinished();\r\n return true;\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol\r\n\r\n/**\r\n * @title Burnable Token\r\n * @dev Token that can be irreversibly burned (destroyed).\r\n */\r\ncontract BurnableToken is BasicToken {\r\n\r\n event Burn(address indexed burner, uint256 value);\r\n\r\n /**\r\n * @dev Burns a specific amount of tokens.\r\n * @param _value The amount of token to be burned.\r\n */\r\n function burn(uint256 _value) public {\r\n _burn(msg.sender, _value);\r\n }\r\n\r\n function _burn(address _who, uint256 _value) internal {\r\n require(_value <= balances[_who]);\r\n // no need to require value <= totalSupply, since that would imply the\r\n // sender's balance is greater than the totalSupply, which *should* be an assertion failure\r\n\r\n balances[_who] = balances[_who].sub(_value);\r\n totalSupply_ = totalSupply_.sub(_value);\r\n emit Burn(_who, _value);\r\n emit Transfer(_who, address(0), _value);\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/lifecycle/Pausable.sol\r\n\r\n/**\r\n * @title Pausable\r\n * @dev Base contract which allows children to implement an emergency stop mechanism.\r\n */\r\ncontract Pausable is Ownable {\r\n event Pause();\r\n event Unpause();\r\n\r\n bool public paused = false;\r\n\r\n\r\n /**\r\n * @dev Modifier to make a function callable only when the contract is not paused.\r\n */\r\n modifier whenNotPaused() {\r\n require(!paused);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Modifier to make a function callable only when the contract is paused.\r\n */\r\n modifier whenPaused() {\r\n require(paused);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev called by the owner to pause, triggers stopped state\r\n */\r\n function pause() public onlyOwner whenNotPaused {\r\n paused = true;\r\n emit Pause();\r\n }\r\n\r\n /**\r\n * @dev called by the owner to unpause, returns to normal state\r\n */\r\n function unpause() public onlyOwner whenPaused {\r\n paused = false;\r\n emit Unpause();\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/PausableToken.sol\r\n\r\n/**\r\n * @title Pausable token\r\n * @dev StandardToken modified with pausable transfers.\r\n **/\r\ncontract PausableToken is StandardToken, Pausable {\r\n\r\n function transfer(\r\n address _to,\r\n uint256 _value\r\n )\r\n public\r\n whenNotPaused\r\n returns (bool)\r\n {\r\n return super.transfer(_to, _value);\r\n }\r\n\r\n function transferFrom(\r\n address _from,\r\n address _to,\r\n uint256 _value\r\n )\r\n public\r\n whenNotPaused\r\n returns (bool)\r\n {\r\n return super.transferFrom(_from, _to, _value);\r\n }\r\n\r\n function approve(\r\n address _spender,\r\n uint256 _value\r\n )\r\n public\r\n whenNotPaused\r\n returns (bool)\r\n {\r\n return super.approve(_spender, _value);\r\n }\r\n\r\n function increaseApproval(\r\n address _spender,\r\n uint _addedValue\r\n )\r\n public\r\n whenNotPaused\r\n returns (bool success)\r\n {\r\n return super.increaseApproval(_spender, _addedValue);\r\n }\r\n\r\n function decreaseApproval(\r\n address _spender,\r\n uint _subtractedValue\r\n )\r\n public\r\n whenNotPaused\r\n returns (bool success)\r\n {\r\n return super.decreaseApproval(_spender, _subtractedValue);\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/ownership/Claimable.sol\r\n\r\n/**\r\n * @title Claimable\r\n * @dev Extension for the Ownable contract, where the ownership needs to be claimed.\r\n * This allows the new owner to accept the transfer.\r\n */\r\ncontract Claimable is Ownable {\r\n address public pendingOwner;\r\n\r\n /**\r\n * @dev Modifier throws if called by any account other than the pendingOwner.\r\n */\r\n modifier onlyPendingOwner() {\r\n require(msg.sender == pendingOwner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Allows the current owner to set the pendingOwner address.\r\n * @param newOwner The address to transfer ownership to.\r\n */\r\n function transferOwnership(address newOwner) public onlyOwner {\r\n pendingOwner = newOwner;\r\n }\r\n\r\n /**\r\n * @dev Allows the pendingOwner address to finalize the transfer.\r\n */\r\n function claimOwnership() public onlyPendingOwner {\r\n emit OwnershipTransferred(owner, pendingOwner);\r\n owner = pendingOwner;\r\n pendingOwner = address(0);\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol\r\n\r\n/**\r\n * @title SafeERC20\r\n * @dev Wrappers around ERC20 operations that throw on failure.\r\n * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,\r\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\r\n */\r\nlibrary SafeERC20 {\r\n function safeTransfer(\r\n ERC20Basic _token,\r\n address _to,\r\n uint256 _value\r\n )\r\n internal\r\n {\r\n require(_token.transfer(_to, _value));\r\n }\r\n\r\n function safeTransferFrom(\r\n ERC20 _token,\r\n address _from,\r\n address _to,\r\n uint256 _value\r\n )\r\n internal\r\n {\r\n require(_token.transferFrom(_from, _to, _value));\r\n }\r\n\r\n function safeApprove(\r\n ERC20 _token,\r\n address _spender,\r\n uint256 _value\r\n )\r\n internal\r\n {\r\n require(_token.approve(_spender, _value));\r\n }\r\n}\r\n\r\n// File: openzeppelin-solidity/contracts/ownership/CanReclaimToken.sol\r\n\r\n/**\r\n * @title Contracts that should be able to recover tokens\r\n * @author SylTi\r\n * @dev This allow a contract to recover any ERC20 token received in a contract by transferring the balance to the contract owner.\r\n * This will prevent any accidental loss of tokens.\r\n */\r\ncontract CanReclaimToken is Ownable {\r\n using SafeERC20 for ERC20Basic;\r\n\r\n /**\r\n * @dev Reclaim all ERC20Basic compatible tokens\r\n * @param _token ERC20Basic The address of the token contract\r\n */\r\n function reclaimToken(ERC20Basic _token) external onlyOwner {\r\n uint256 balance = _token.balanceOf(this);\r\n _token.safeTransfer(owner, balance);\r\n }\r\n\r\n}\r\n\r\n// File: contracts/utils/OwnableContract.sol\r\n\r\n// empty block is used as this contract just inherits others.\r\ncontract OwnableContract is CanReclaimToken, Claimable { } /* solhint-disable-line no-empty-blocks */\r\n\r\n// File: contracts/token/WBTC.sol\r\n\r\ncontract WBTC is StandardToken, DetailedERC20(\"Wrapped BTC\", \"WBTC\", 8),\r\n MintableToken, BurnableToken, PausableToken, OwnableContract {\r\n\r\n function burn(uint value) public onlyOwner {\r\n super.burn(value);\r\n }\r\n\r\n function finishMinting() public onlyOwner returns (bool) {\r\n return false;\r\n }\r\n\r\n function renounceOwnership() public onlyOwner {\r\n revert(\"renouncing ownership is blocked\");\r\n }\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"mintingFinished\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"reclaimToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"claimOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseApproval\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finishMinting\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseApproval\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"burner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"MintFinished\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"}],\"name\":\"OwnershipRenounced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]","ContractName":"WBTC","CompilerVersion":"v0.4.24+commit.e67f0147","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://a1e0f5cdc96081f44eea73f352e7ef8fbfbacd306ec0f0b7275c9752d31fbe32","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/9b6dcdeadca4eae20a18dcc499a6c7ecde7aa64490b112aa498d5faeed07c41b b/tests/cachedrpc/9b6dcdeadca4eae20a18dcc499a6c7ecde7aa64490b112aa498d5faeed07c41b new file mode 100644 index 00000000..a4666993 --- /dev/null +++ b/tests/cachedrpc/9b6dcdeadca4eae20a18dcc499a6c7ecde7aa64490b112aa498d5faeed07c41b @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n */\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n assert(_ADMIN_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.admin\\\")) - 1));\\n _changeAdmin(admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function admin() external ifAdmin returns (address admin_) {\\n admin_ = _getAdmin();\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function implementation() external ifAdmin returns (address implementation_) {\\n implementation_ = _implementation();\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\n */\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\n _changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\n */\\n function upgradeTo(address newImplementation) external ifAdmin {\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\n _upgradeToAndCall(newImplementation, data, true);\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\n */\\n function _beforeFallback() internal virtual override {\\n require(msg.sender != _getAdmin(), \\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n super._beforeFallback();\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializating the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.implementation\\\")) - 1));\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internall call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overriden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Emitted when the beacon is upgraded.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(\\n Address.isContract(IBeacon(newBeacon).implementation()),\\n \\\"ERC1967: beacon implementation is not a contract\\\"\\n );\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/Address.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/StorageSlot.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 100\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"metadata\": {\r\n \"useLiteralContent\": true\r\n },\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"implementation_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"TransparentUpgradeableProxy","CompilerVersion":"v0.8.9+commit.e5eed63a","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"100","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0x98a58adab0f8a66a1bf4544d804bc0475dff32c7","SwarmSource":"","SimilarMatch":"0xc4448b71118c9071bcb9734a0eac55d18a153949"}]} \ No newline at end of file diff --git a/tests/cachedrpc/a1f33cc5ebf99ab2707e98aa61c9ece9cb06ff5acd16ef0494ee537ec3e90f0f b/tests/cachedrpc/a1f33cc5ebf99ab2707e98aa61c9ece9cb06ff5acd16ef0494ee537ec3e90f0f new file mode 100644 index 00000000..7297a099 --- /dev/null +++ b/tests/cachedrpc/a1f33cc5ebf99ab2707e98aa61c9ece9cb06ff5acd16ef0494ee537ec3e90f0f @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"contracts/Seaport.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { Consideration } from \\\"./lib/Consideration.sol\\\";\\n\\n/**\\n * @title Seaport\\n * @custom:version 1.5\\n * @author 0age (0age.eth)\\n * @custom:coauthor d1ll0n (d1ll0n.eth)\\n * @custom:coauthor transmissions11 (t11s.eth)\\n * @custom:coauthor James Wenzel (emo.eth)\\n * @custom:contributor Kartik (slokh.eth)\\n * @custom:contributor LeFevre (lefevre.eth)\\n * @custom:contributor Joseph Schiarizzi (CupOJoseph.eth)\\n * @custom:contributor Aspyn Palatnick (stuckinaboot.eth)\\n * @custom:contributor Stephan Min (stephanm.eth)\\n * @custom:contributor Ryan Ghods (ralxz.eth)\\n * @custom:contributor Daniel Viau (snotrocket.eth)\\n * @custom:contributor hack3r-0m (hack3r-0m.eth)\\n * @custom:contributor Diego Estevez (antidiego.eth)\\n * @custom:contributor Chomtana (chomtana.eth)\\n * @custom:contributor Saw-mon and Natalie (sawmonandnatalie.eth)\\n * @custom:contributor 0xBeans (0xBeans.eth)\\n * @custom:contributor 0x4non (punkdev.eth)\\n * @custom:contributor Laurence E. Day (norsefire.eth)\\n * @custom:contributor vectorized.eth (vectorized.eth)\\n * @custom:contributor karmacoma (karmacoma.eth)\\n * @custom:contributor horsefacts (horsefacts.eth)\\n * @custom:contributor UncarvedBlock (uncarvedblock.eth)\\n * @custom:contributor Zoraiz Mahmood (zorz.eth)\\n * @custom:contributor William Poulin (wpoulin.eth)\\n * @custom:contributor Rajiv Patel-O'Connor (rajivpoc.eth)\\n * @custom:contributor tserg (tserg.eth)\\n * @custom:contributor cygaar (cygaar.eth)\\n * @custom:contributor Meta0xNull (meta0xnull.eth)\\n * @custom:contributor gpersoon (gpersoon.eth)\\n * @custom:contributor Matt Solomon (msolomon.eth)\\n * @custom:contributor Weikang Song (weikangs.eth)\\n * @custom:contributor zer0dot (zer0dot.eth)\\n * @custom:contributor Mudit Gupta (mudit.eth)\\n * @custom:contributor leonardoalt (leoalt.eth)\\n * @custom:contributor cmichel (cmichel.eth)\\n * @custom:contributor PraneshASP (pranesh.eth)\\n * @custom:contributor JasperAlexander (jasperalexander.eth)\\n * @custom:contributor Ellahi (ellahi.eth)\\n * @custom:contributor zaz (1zaz1.eth)\\n * @custom:contributor berndartmueller (berndartmueller.eth)\\n * @custom:contributor dmfxyz (dmfxyz.eth)\\n * @custom:contributor daltoncoder (dontkillrobots.eth)\\n * @custom:contributor 0xf4ce (0xf4ce.eth)\\n * @custom:contributor phaze (phaze.eth)\\n * @custom:contributor hrkrshnn (hrkrshnn.eth)\\n * @custom:contributor axic (axic.eth)\\n * @custom:contributor leastwood (leastwood.eth)\\n * @custom:contributor 0xsanson (sanson.eth)\\n * @custom:contributor blockdev (blockd3v.eth)\\n * @custom:contributor fiveoutofnine (fiveoutofnine.eth)\\n * @custom:contributor shuklaayush (shuklaayush.eth)\\n * @custom:contributor dravee (dravee.eth)\\n * @custom:contributor 0xPatissier\\n * @custom:contributor pcaversaccio\\n * @custom:contributor David Eiber\\n * @custom:contributor csanuragjain\\n * @custom:contributor sach1r0\\n * @custom:contributor twojoy0\\n * @custom:contributor ori_dabush\\n * @custom:contributor Daniel Gelfand\\n * @custom:contributor okkothejawa\\n * @custom:contributor FlameHorizon\\n * @custom:contributor vdrg\\n * @custom:contributor dmitriia\\n * @custom:contributor bokeh-eth\\n * @custom:contributor asutorufos\\n * @custom:contributor rfart(rfa)\\n * @custom:contributor Riley Holterhus\\n * @custom:contributor big-tech-sux\\n * @notice Seaport is a generalized native token/ERC20/ERC721/ERC1155\\n * marketplace with lightweight methods for common routes as well as\\n * more flexible methods for composing advanced orders or groups of\\n * orders. Each order contains an arbitrary number of items that may be\\n * spent (the \\\"offer\\\") along with an arbitrary number of items that must\\n * be received back by the indicated recipients (the \\\"consideration\\\").\\n */\\ncontract Seaport is Consideration {\\n /**\\n * @notice Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) Consideration(conduitController) {}\\n\\n /**\\n * @dev Internal pure function to retrieve and return the name of this\\n * contract.\\n *\\n * @return The name of this contract.\\n */\\n function _name() internal pure override returns (string memory) {\\n // Return the name of the contract.\\n assembly {\\n mstore(0x20, 0x20)\\n mstore(0x47, 0x07536561706f7274)\\n return(0x20, 0x60)\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to retrieve the name of this contract as a\\n * string that will be used to derive the name hash in the constructor.\\n *\\n * @return The name of this contract as a string.\\n */\\n function _nameString() internal pure override returns (string memory) {\\n // Return the name of the contract.\\n return \\\"Seaport\\\";\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/Consideration.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n ConsiderationInterface\\n} from \\\"../interfaces/ConsiderationInterface.sol\\\";\\n\\nimport {\\n AdvancedOrder,\\n BasicOrderParameters,\\n CriteriaResolver,\\n Execution,\\n Fulfillment,\\n FulfillmentComponent,\\n Order,\\n OrderComponents\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { OrderCombiner } from \\\"./OrderCombiner.sol\\\";\\n\\nimport {\\n CalldataStart,\\n CalldataPointer\\n} from \\\"../helpers/PointerLibraries.sol\\\";\\n\\nimport {\\n Offset_fulfillAdvancedOrder_criteriaResolvers,\\n Offset_fulfillAvailableAdvancedOrders_cnsdrationFlflmnts,\\n Offset_fulfillAvailableAdvancedOrders_criteriaResolvers,\\n Offset_fulfillAvailableAdvancedOrders_offerFulfillments,\\n Offset_fulfillAvailableOrders_considerationFulfillments,\\n Offset_fulfillAvailableOrders_offerFulfillments,\\n Offset_matchAdvancedOrders_criteriaResolvers,\\n Offset_matchAdvancedOrders_fulfillments,\\n Offset_matchOrders_fulfillments,\\n OrderParameters_counter_offset\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title Consideration\\n * @author 0age (0age.eth)\\n * @custom:coauthor d1ll0n (d1ll0n.eth)\\n * @custom:coauthor transmissions11 (t11s.eth)\\n * @custom:coauthor James Wenzel (emo.eth)\\n * @custom:version 1.5\\n * @notice Consideration is a generalized native token/ERC20/ERC721/ERC1155\\n * marketplace that provides lightweight methods for common routes as\\n * well as more flexible methods for composing advanced orders or groups\\n * of orders. Each order contains an arbitrary number of items that may\\n * be spent (the \\\"offer\\\") along with an arbitrary number of items that\\n * must be received back by the indicated recipients (the\\n * \\\"consideration\\\").\\n */\\ncontract Consideration is ConsiderationInterface, OrderCombiner {\\n /**\\n * @notice Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) OrderCombiner(conduitController) {}\\n\\n /**\\n * @notice Accept native token transfers during execution that may then be\\n * used to facilitate native token transfers, where any tokens that\\n * remain will be transferred to the caller. Native tokens are only\\n * acceptable mid-fulfillment (and not during basic fulfillment).\\n */\\n receive() external payable {\\n // Ensure the reentrancy guard is currently set to accept native tokens.\\n _assertAcceptingNativeTokens();\\n }\\n\\n /**\\n * @notice Fulfill an order offering an ERC20, ERC721, or ERC1155 item by\\n * supplying Ether (or other native tokens), ERC20 tokens, an ERC721\\n * item, or an ERC1155 item as consideration. Six permutations are\\n * supported: Native token to ERC721, Native token to ERC1155, ERC20\\n * to ERC721, ERC20 to ERC1155, ERC721 to ERC20, and ERC1155 to\\n * ERC20 (with native tokens supplied as msg.value). For an order to\\n * be eligible for fulfillment via this method, it must contain a\\n * single offer item (though that item may have a greater amount if\\n * the item is not an ERC721). An arbitrary number of \\\"additional\\n * recipients\\\" may also be supplied which will each receive native\\n * tokens or ERC20 items from the fulfiller as consideration. Refer\\n * to the documentation for a more comprehensive summary of how to\\n * utilize this method and what orders are compatible with it.\\n *\\n * @param parameters Additional information on the fulfilled order. Note\\n * that the offerer and the fulfiller must first approve\\n * this contract (or their chosen conduit if indicated)\\n * before any tokens can be transferred. Also note that\\n * contract recipients of ERC1155 consideration items must\\n * implement `onERC1155Received` to receive those items.\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillBasicOrder(\\n BasicOrderParameters calldata parameters\\n ) external payable override returns (bool fulfilled) {\\n // Validate and fulfill the basic order.\\n fulfilled = _validateAndFulfillBasicOrder(parameters);\\n }\\n\\n /**\\n * @notice Fulfill an order offering an ERC20, ERC721, or ERC1155 item by\\n * supplying Ether (or other native tokens), ERC20 tokens, an ERC721\\n * item, or an ERC1155 item as consideration. Six permutations are\\n * supported: Native token to ERC721, Native token to ERC1155, ERC20\\n * to ERC721, ERC20 to ERC1155, ERC721 to ERC20, and ERC1155 to\\n * ERC20 (with native tokens supplied as msg.value). For an order to\\n * be eligible for fulfillment via this method, it must contain a\\n * single offer item (though that item may have a greater amount if\\n * the item is not an ERC721). An arbitrary number of \\\"additional\\n * recipients\\\" may also be supplied which will each receive native\\n * tokens or ERC20 items from the fulfiller as consideration. Refer\\n * to the documentation for a more comprehensive summary of how to\\n * utilize this method and what orders are compatible with it. Note\\n * that this function costs less gas than `fulfillBasicOrder` due to\\n * the zero bytes in the function selector (0x00000000) which also\\n * results in earlier function dispatch.\\n *\\n * @param parameters Additional information on the fulfilled order. Note\\n * that the offerer and the fulfiller must first approve\\n * this contract (or their chosen conduit if indicated)\\n * before any tokens can be transferred. Also note that\\n * contract recipients of ERC1155 consideration items must\\n * implement `onERC1155Received` to receive those items.\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillBasicOrder_efficient_6GL6yc(\\n BasicOrderParameters calldata parameters\\n ) external payable override returns (bool fulfilled) {\\n // Validate and fulfill the basic order.\\n fulfilled = _validateAndFulfillBasicOrder(parameters);\\n }\\n\\n /**\\n * @notice Fulfill an order with an arbitrary number of items for offer and\\n * consideration. Note that this function does not support\\n * criteria-based orders or partial filling of orders (though\\n * filling the remainder of a partially-filled order is supported).\\n *\\n * @custom:param order The order to fulfill. Note that both the\\n * offerer and the fulfiller must first approve\\n * this contract (or the corresponding conduit if\\n * indicated) to transfer any relevant tokens on\\n * their behalf and that contracts must implement\\n * `onERC1155Received` to receive ERC1155 tokens\\n * as consideration.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit, if\\n * any, to source the fulfiller's token approvals\\n * from. The zero hash signifies that no conduit\\n * should be used (and direct approvals set on\\n * this contract).\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillOrder(\\n /**\\n * @custom:name order\\n */\\n Order calldata,\\n bytes32 fulfillerConduitKey\\n ) external payable override returns (bool fulfilled) {\\n // Convert order to \\\"advanced\\\" order, then validate and fulfill it.\\n fulfilled = _validateAndFulfillAdvancedOrder(\\n _toAdvancedOrderReturnType(_decodeOrderAsAdvancedOrder)(\\n CalldataStart.pptr()\\n ),\\n new CriteriaResolver[](0), // No criteria resolvers supplied.\\n fulfillerConduitKey,\\n msg.sender\\n );\\n }\\n\\n /**\\n * @notice Fill an order, fully or partially, with an arbitrary number of\\n * items for offer and consideration alongside criteria resolvers\\n * containing specific token identifiers and associated proofs.\\n *\\n * @custom:param advancedOrder The order to fulfill along with the\\n * fraction of the order to attempt to fill.\\n * Note that both the offerer and the\\n * fulfiller must first approve this\\n * contract (or their conduit if indicated\\n * by the order) to transfer any relevant\\n * tokens on their behalf and that contracts\\n * must implement `onERC1155Received` to\\n * receive ERC1155 tokens as consideration.\\n * Also note that all offer and\\n * consideration components must have no\\n * remainder after multiplication of the\\n * respective amount with the supplied\\n * fraction for the partial fill to be\\n * considered valid.\\n * @custom:param criteriaResolvers An array where each element contains a\\n * reference to a specific offer or\\n * consideration, a token identifier, and a\\n * proof that the supplied token identifier\\n * is contained in the merkle root held by\\n * the item in question's criteria element.\\n * Note that an empty criteria indicates\\n * that any (transferable) token identifier\\n * on the token in question is valid and\\n * that no associated proof needs to be\\n * supplied.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit,\\n * if any, to source the fulfiller's token\\n * approvals from. The zero hash signifies\\n * that no conduit should be used (and\\n * direct approvals set on this contract).\\n * @param recipient The intended recipient for all received\\n * items, with `address(0)` indicating that\\n * the caller should receive the items.\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillAdvancedOrder(\\n /**\\n * @custom:name advancedOrder\\n */\\n AdvancedOrder calldata,\\n /**\\n * @custom:name criteriaResolvers\\n */\\n CriteriaResolver[] calldata,\\n bytes32 fulfillerConduitKey,\\n address recipient\\n ) external payable override returns (bool fulfilled) {\\n // Validate and fulfill the order.\\n fulfilled = _validateAndFulfillAdvancedOrder(\\n _toAdvancedOrderReturnType(_decodeAdvancedOrder)(\\n CalldataStart.pptr()\\n ),\\n _toCriteriaResolversReturnType(_decodeCriteriaResolvers)(\\n CalldataStart.pptr(\\n Offset_fulfillAdvancedOrder_criteriaResolvers\\n )\\n ),\\n fulfillerConduitKey,\\n _substituteCallerForEmptyRecipient(recipient)\\n );\\n }\\n\\n /**\\n * @notice Attempt to fill a group of orders, each with an arbitrary number\\n * of items for offer and consideration. Any order that is not\\n * currently active, has already been fully filled, or has been\\n * cancelled will be omitted. Remaining offer and consideration\\n * items will then be aggregated where possible as indicated by the\\n * supplied offer and consideration component arrays and aggregated\\n * items will be transferred to the fulfiller or to each intended\\n * recipient, respectively. Note that a failing item transfer or an\\n * issue with order formatting will cause the entire batch to fail.\\n * Note that this function does not support criteria-based orders or\\n * partial filling of orders (though filling the remainder of a\\n * partially-filled order is supported).\\n *\\n * @custom:param orders The orders to fulfill. Note that\\n * both the offerer and the\\n * fulfiller must first approve this\\n * contract (or the corresponding\\n * conduit if indicated) to transfer\\n * any relevant tokens on their\\n * behalf and that contracts must\\n * implement `onERC1155Received` to\\n * receive ERC1155 tokens as\\n * consideration.\\n * @custom:param offerFulfillments An array of FulfillmentComponent\\n * arrays indicating which offer\\n * items to attempt to aggregate\\n * when preparing executions. Note\\n * that any offer items not included\\n * as part of a fulfillment will be\\n * sent unaggregated to the caller.\\n * @custom:param considerationFulfillments An array of FulfillmentComponent\\n * arrays indicating which\\n * consideration items to attempt to\\n * aggregate when preparing\\n * executions.\\n * @param fulfillerConduitKey A bytes32 value indicating what\\n * conduit, if any, to source the\\n * fulfiller's token approvals from.\\n * The zero hash signifies that no\\n * conduit should be used (and\\n * direct approvals set on this\\n * contract).\\n * @param maximumFulfilled The maximum number of orders to\\n * fulfill.\\n *\\n * @return availableOrders An array of booleans indicating if each order\\n * with an index corresponding to the index of the\\n * returned boolean was fulfillable or not.\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders.\\n */\\n function fulfillAvailableOrders(\\n /**\\n * @custom:name orders\\n */\\n Order[] calldata,\\n /**\\n * @custom:name offerFulfillments\\n */\\n FulfillmentComponent[][] calldata,\\n /**\\n * @custom:name considerationFulfillments\\n */\\n FulfillmentComponent[][] calldata,\\n bytes32 fulfillerConduitKey,\\n uint256 maximumFulfilled\\n )\\n external\\n payable\\n override\\n returns (\\n bool[] memory /* availableOrders */,\\n Execution[] memory /* executions */\\n )\\n {\\n // Convert orders to \\\"advanced\\\" orders and fulfill all available orders.\\n return\\n _fulfillAvailableAdvancedOrders(\\n _toAdvancedOrdersReturnType(_decodeOrdersAsAdvancedOrders)(\\n CalldataStart.pptr()\\n ), // Convert to advanced orders.\\n new CriteriaResolver[](0), // No criteria resolvers supplied.\\n _toNestedFulfillmentComponentsReturnType(\\n _decodeNestedFulfillmentComponents\\n )(\\n CalldataStart.pptr(\\n Offset_fulfillAvailableOrders_offerFulfillments\\n )\\n ),\\n _toNestedFulfillmentComponentsReturnType(\\n _decodeNestedFulfillmentComponents\\n )(\\n CalldataStart.pptr(\\n Offset_fulfillAvailableOrders_considerationFulfillments\\n )\\n ),\\n fulfillerConduitKey,\\n msg.sender,\\n maximumFulfilled\\n );\\n }\\n\\n /**\\n * @notice Attempt to fill a group of orders, fully or partially, with an\\n * arbitrary number of items for offer and consideration per order\\n * alongside criteria resolvers containing specific token\\n * identifiers and associated proofs. Any order that is not\\n * currently active, has already been fully filled, or has been\\n * cancelled will be omitted. Remaining offer and consideration\\n * items will then be aggregated where possible as indicated by the\\n * supplied offer and consideration component arrays and aggregated\\n * items will be transferred to the fulfiller or to each intended\\n * recipient, respectively. Note that a failing item transfer or an\\n * issue with order formatting will cause the entire batch to fail.\\n *\\n * @custom:param advancedOrders The orders to fulfill along with\\n * the fraction of those orders to\\n * attempt to fill. Note that both\\n * the offerer and the fulfiller\\n * must first approve this contract\\n * (or their conduit if indicated by\\n * the order) to transfer any\\n * relevant tokens on their behalf\\n * and that contracts must implement\\n * `onERC1155Received` to receive\\n * ERC1155 tokens as consideration.\\n * Also note that all offer and\\n * consideration components must\\n * have no remainder after\\n * multiplication of the respective\\n * amount with the supplied fraction\\n * for an order's partial fill\\n * amount to be considered valid.\\n * @custom:param criteriaResolvers An array where each element\\n * contains a reference to a\\n * specific offer or consideration,\\n * a token identifier, and a proof\\n * that the supplied token\\n * identifier is contained in the\\n * merkle root held by the item in\\n * question's criteria element. Note\\n * that an empty criteria indicates\\n * that any (transferable) token\\n * identifier on the token in\\n * question is valid and that no\\n * associated proof needs to be\\n * supplied.\\n * @custom:param offerFulfillments An array of FulfillmentComponent\\n * arrays indicating which offer\\n * items to attempt to aggregate\\n * when preparing executions. Note\\n * that any offer items not included\\n * as part of a fulfillment will be\\n * sent unaggregated to the caller.\\n * @custom:param considerationFulfillments An array of FulfillmentComponent\\n * arrays indicating which\\n * consideration items to attempt to\\n * aggregate when preparing\\n * executions.\\n * @param fulfillerConduitKey A bytes32 value indicating what\\n * conduit, if any, to source the\\n * fulfiller's token approvals from.\\n * The zero hash signifies that no\\n * conduit should be used (and\\n * direct approvals set on this\\n * contract).\\n * @param recipient The intended recipient for all\\n * received items, with `address(0)`\\n * indicating that the caller should\\n * receive the offer items.\\n * @param maximumFulfilled The maximum number of orders to\\n * fulfill.\\n *\\n * @return availableOrders An array of booleans indicating if each order\\n * with an index corresponding to the index of the\\n * returned boolean was fulfillable or not.\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders.\\n */\\n function fulfillAvailableAdvancedOrders(\\n /**\\n * @custom:name advancedOrders\\n */\\n AdvancedOrder[] calldata,\\n /**\\n * @custom:name criteriaResolvers\\n */\\n CriteriaResolver[] calldata,\\n /**\\n * @custom:name offerFulfillments\\n */\\n FulfillmentComponent[][] calldata,\\n /**\\n * @custom:name considerationFulfillments\\n */\\n FulfillmentComponent[][] calldata,\\n bytes32 fulfillerConduitKey,\\n address recipient,\\n uint256 maximumFulfilled\\n )\\n external\\n payable\\n override\\n returns (\\n bool[] memory /* availableOrders */,\\n Execution[] memory /* executions */\\n )\\n {\\n // Fulfill all available orders.\\n return\\n _fulfillAvailableAdvancedOrders(\\n _toAdvancedOrdersReturnType(_decodeAdvancedOrders)(\\n CalldataStart.pptr()\\n ),\\n _toCriteriaResolversReturnType(_decodeCriteriaResolvers)(\\n CalldataStart.pptr(\\n Offset_fulfillAvailableAdvancedOrders_criteriaResolvers\\n )\\n ),\\n _toNestedFulfillmentComponentsReturnType(\\n _decodeNestedFulfillmentComponents\\n )(\\n CalldataStart.pptr(\\n Offset_fulfillAvailableAdvancedOrders_offerFulfillments\\n )\\n ),\\n _toNestedFulfillmentComponentsReturnType(\\n _decodeNestedFulfillmentComponents\\n )(\\n CalldataStart.pptr(\\n Offset_fulfillAvailableAdvancedOrders_cnsdrationFlflmnts\\n )\\n ),\\n fulfillerConduitKey,\\n _substituteCallerForEmptyRecipient(recipient),\\n maximumFulfilled\\n );\\n }\\n\\n /**\\n * @notice Match an arbitrary number of orders, each with an arbitrary\\n * number of items for offer and consideration along with a set of\\n * fulfillments allocating offer components to consideration\\n * components. Note that this function does not support\\n * criteria-based or partial filling of orders (though filling the\\n * remainder of a partially-filled order is supported). Any unspent\\n * offer item amounts or native tokens will be transferred to the\\n * caller.\\n *\\n * @custom:param orders The orders to match. Note that both the\\n * offerer and fulfiller on each order must first\\n * approve this contract (or their conduit if\\n * indicated by the order) to transfer any\\n * relevant tokens on their behalf and each\\n * consideration recipient must implement\\n * `onERC1155Received` to receive ERC1155 tokens.\\n * @custom:param fulfillments An array of elements allocating offer\\n * components to consideration components. Note\\n * that each consideration component must be\\n * fully met for the match operation to be valid,\\n * and that any unspent offer items will be sent\\n * unaggregated to the caller.\\n *\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders. Note that unspent offer item amounts or native\\n * tokens will not be reflected as part of this array.\\n */\\n function matchOrders(\\n /**\\n * @custom:name orders\\n */\\n Order[] calldata,\\n /**\\n * @custom:name fulfillments\\n */\\n Fulfillment[] calldata\\n ) external payable override returns (Execution[] memory /* executions */) {\\n // Convert to advanced, validate, and match orders using fulfillments.\\n return\\n _matchAdvancedOrders(\\n _toAdvancedOrdersReturnType(_decodeOrdersAsAdvancedOrders)(\\n CalldataStart.pptr()\\n ),\\n new CriteriaResolver[](0), // No criteria resolvers supplied.\\n _toFulfillmentsReturnType(_decodeFulfillments)(\\n CalldataStart.pptr(Offset_matchOrders_fulfillments)\\n ),\\n msg.sender\\n );\\n }\\n\\n /**\\n * @notice Match an arbitrary number of full, partial, or contract orders,\\n * each with an arbitrary number of items for offer and\\n * consideration, supplying criteria resolvers containing specific\\n * token identifiers and associated proofs as well as fulfillments\\n * allocating offer components to consideration components. Any\\n * unspent offer item amounts will be transferred to the designated\\n * recipient (with the null address signifying to use the caller)\\n * and any unspent native tokens will be returned to the caller.\\n *\\n * @custom:param advancedOrders The advanced orders to match. Note that\\n * both the offerer and fulfiller on each\\n * order must first approve this contract\\n * (or their conduit if indicated by the\\n * order) to transfer any relevant tokens on\\n * their behalf and each consideration\\n * recipient must implement\\n * `onERC1155Received` to receive ERC1155\\n * tokens. Also note that the offer and\\n * consideration components for each order\\n * must have no remainder after multiplying\\n * the respective amount with the supplied\\n * fraction for the group of partial fills\\n * to be considered valid.\\n * @custom:param criteriaResolvers An array where each element contains a\\n * reference to a specific offer or\\n * consideration, a token identifier, and a\\n * proof that the supplied token identifier\\n * is contained in the merkle root held by\\n * the item in question's criteria element.\\n * Note that an empty criteria indicates\\n * that any (transferable) token identifier\\n * on the token in question is valid and\\n * that no associated proof needs to be\\n * supplied.\\n * @custom:param fulfillments An array of elements allocating offer\\n * components to consideration components.\\n * Note that each consideration component\\n * must be fully met for the match operation\\n * to be valid, and that any unspent offer\\n * items will be sent unaggregated to the\\n * designated recipient.\\n * @param recipient The intended recipient for all unspent\\n * offer item amounts, or the caller if the\\n * null address is supplied.\\n *\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders. Note that unspent offer item amounts or\\n * native tokens will not be reflected as part of this\\n * array.\\n */\\n function matchAdvancedOrders(\\n /**\\n * @custom:name advancedOrders\\n */\\n AdvancedOrder[] calldata,\\n /**\\n * @custom:name criteriaResolvers\\n */\\n CriteriaResolver[] calldata,\\n /**\\n * @custom:name fulfillments\\n */\\n Fulfillment[] calldata,\\n address recipient\\n ) external payable override returns (Execution[] memory /* executions */) {\\n // Validate and match the advanced orders using supplied fulfillments.\\n return\\n _matchAdvancedOrders(\\n _toAdvancedOrdersReturnType(_decodeAdvancedOrders)(\\n CalldataStart.pptr()\\n ),\\n _toCriteriaResolversReturnType(_decodeCriteriaResolvers)(\\n CalldataStart.pptr(\\n Offset_matchAdvancedOrders_criteriaResolvers\\n )\\n ),\\n _toFulfillmentsReturnType(_decodeFulfillments)(\\n CalldataStart.pptr(Offset_matchAdvancedOrders_fulfillments)\\n ),\\n _substituteCallerForEmptyRecipient(recipient)\\n );\\n }\\n\\n /**\\n * @notice Cancel an arbitrary number of orders. Note that only the offerer\\n * or the zone of a given order may cancel it. Callers should ensure\\n * that the intended order was cancelled by calling `getOrderStatus`\\n * and confirming that `isCancelled` returns `true`.\\n *\\n * @param orders The orders to cancel.\\n *\\n * @return cancelled A boolean indicating whether the supplied orders have\\n * been successfully cancelled.\\n */\\n function cancel(\\n OrderComponents[] calldata orders\\n ) external override returns (bool cancelled) {\\n // Cancel the orders.\\n cancelled = _cancel(orders);\\n }\\n\\n /**\\n * @notice Validate an arbitrary number of orders, thereby registering their\\n * signatures as valid and allowing the fulfiller to skip signature\\n * verification on fulfillment. Note that validated orders may still\\n * be unfulfillable due to invalid item amounts or other factors;\\n * callers should determine whether validated orders are fulfillable\\n * by simulating the fulfillment call prior to execution. Also note\\n * that anyone can validate a signed order, but only the offerer can\\n * validate an order without supplying a signature.\\n *\\n * @custom:param orders The orders to validate.\\n *\\n * @return validated A boolean indicating whether the supplied orders have\\n * been successfully validated.\\n */\\n function validate(\\n /**\\n * @custom:name orders\\n */\\n Order[] calldata\\n ) external override returns (bool /* validated */) {\\n return\\n _validate(_toOrdersReturnType(_decodeOrders)(CalldataStart.pptr()));\\n }\\n\\n /**\\n * @notice Cancel all orders from a given offerer with a given zone in bulk\\n * by incrementing a counter. Note that only the offerer may\\n * increment the counter.\\n *\\n * @return newCounter The new counter.\\n */\\n function incrementCounter() external override returns (uint256 newCounter) {\\n // Increment current counter for the supplied offerer. Note that the\\n // counter is incremented by a large, quasi-random interval.\\n newCounter = _incrementCounter();\\n }\\n\\n /**\\n * @notice Retrieve the order hash for a given order.\\n *\\n * @custom:param order The components of the order.\\n *\\n * @return orderHash The order hash.\\n */\\n function getOrderHash(\\n /**\\n * @custom:name order\\n */\\n OrderComponents calldata\\n ) external view override returns (bytes32 orderHash) {\\n CalldataPointer orderPointer = CalldataStart.pptr();\\n\\n // Derive order hash by supplying order parameters along with counter.\\n orderHash = _deriveOrderHash(\\n _toOrderParametersReturnType(\\n _decodeOrderComponentsAsOrderParameters\\n )(orderPointer),\\n // Read order counter\\n orderPointer.offset(OrderParameters_counter_offset).readUint256()\\n );\\n }\\n\\n /**\\n * @notice Retrieve the status of a given order by hash, including whether\\n * the order has been cancelled or validated and the fraction of the\\n * order that has been filled. Since the _orderStatus[orderHash]\\n * does not get set for contract orders, getOrderStatus will always\\n * return (false, false, 0, 0) for those hashes. Note that this\\n * function is susceptible to view reentrancy and so should be used\\n * with care when calling from other contracts.\\n *\\n * @param orderHash The order hash in question.\\n *\\n * @return isValidated A boolean indicating whether the order in question\\n * has been validated (i.e. previously approved or\\n * partially filled).\\n * @return isCancelled A boolean indicating whether the order in question\\n * has been cancelled.\\n * @return totalFilled The total portion of the order that has been filled\\n * (i.e. the \\\"numerator\\\").\\n * @return totalSize The total size of the order that is either filled or\\n * unfilled (i.e. the \\\"denominator\\\").\\n */\\n function getOrderStatus(\\n bytes32 orderHash\\n )\\n external\\n view\\n override\\n returns (\\n bool isValidated,\\n bool isCancelled,\\n uint256 totalFilled,\\n uint256 totalSize\\n )\\n {\\n // Retrieve the order status using the order hash.\\n return _getOrderStatus(orderHash);\\n }\\n\\n /**\\n * @notice Retrieve the current counter for a given offerer.\\n *\\n * @param offerer The offerer in question.\\n *\\n * @return counter The current counter.\\n */\\n function getCounter(\\n address offerer\\n ) external view override returns (uint256 counter) {\\n // Return the counter for the supplied offerer.\\n counter = _getCounter(offerer);\\n }\\n\\n /**\\n * @notice Retrieve configuration information for this contract.\\n *\\n * @return version The contract version.\\n * @return domainSeparator The domain separator for this contract.\\n * @return conduitController The conduit Controller set for this contract.\\n */\\n function information()\\n external\\n view\\n override\\n returns (\\n string memory version,\\n bytes32 domainSeparator,\\n address conduitController\\n )\\n {\\n // Return the information for this contract.\\n return _information();\\n }\\n\\n /**\\n * @dev Gets the contract offerer nonce for the specified contract offerer.\\n * Note that this function is susceptible to view reentrancy and so\\n * should be used with care when calling from other contracts.\\n *\\n * @param contractOfferer The contract offerer for which to get the nonce.\\n *\\n * @return nonce The contract offerer nonce.\\n */\\n function getContractOffererNonce(\\n address contractOfferer\\n ) external view override returns (uint256 nonce) {\\n nonce = _contractNonces[contractOfferer];\\n }\\n\\n /**\\n * @notice Retrieve the name of this contract.\\n *\\n * @return contractName The name of this contract.\\n */\\n function name()\\n external\\n pure\\n override\\n returns (string memory /* contractName */)\\n {\\n // Return the name of the contract.\\n return _name();\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/OrderCombiner.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { Side, ItemType, OrderType } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n AdvancedOrder,\\n ConsiderationItem,\\n CriteriaResolver,\\n Execution,\\n Fulfillment,\\n FulfillmentComponent,\\n OfferItem,\\n OrderParameters,\\n ReceivedItem\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { OrderFulfiller } from \\\"./OrderFulfiller.sol\\\";\\n\\nimport { FulfillmentApplier } from \\\"./FulfillmentApplier.sol\\\";\\n\\nimport {\\n _revertConsiderationNotMet,\\n _revertInsufficientNativeTokensSupplied,\\n _revertInvalidNativeOfferItem,\\n _revertNoSpecifiedOrdersAvailable\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport {\\n AccumulatorDisarmed,\\n ConsiderationItem_recipient_offset,\\n Execution_offerer_offset,\\n NonMatchSelector_InvalidErrorValue,\\n NonMatchSelector_MagicMask,\\n OneWord,\\n OneWordShift,\\n OrdersMatchedTopic0,\\n ReceivedItem_amount_offset,\\n ReceivedItem_recipient_offset,\\n TwoWords\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title OrderCombiner\\n * @author 0age\\n * @notice OrderCombiner contains logic for fulfilling combinations of orders,\\n * either by matching offer items to consideration items or by\\n * fulfilling orders where available.\\n */\\ncontract OrderCombiner is OrderFulfiller, FulfillmentApplier {\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) OrderFulfiller(conduitController) {}\\n\\n /**\\n * @notice Internal function to attempt to fill a group of orders, fully or\\n * partially, with an arbitrary number of items for offer and\\n * consideration per order alongside criteria resolvers containing\\n * specific token identifiers and associated proofs. Any order that\\n * is not currently active, has already been fully filled, or has\\n * been cancelled will be omitted. Remaining offer and consideration\\n * items will then be aggregated where possible as indicated by the\\n * supplied offer and consideration component arrays and aggregated\\n * items will be transferred to the fulfiller or to each intended\\n * recipient, respectively. Note that a failing item transfer or an\\n * issue with order formatting will cause the entire batch to fail.\\n *\\n * @param advancedOrders The orders to fulfill along with the\\n * fraction of those orders to attempt to\\n * fill. Note that both the offerer and the\\n * fulfiller must first approve this\\n * contract (or a conduit if indicated by\\n * the order) to transfer any relevant\\n * tokens on their behalf and that\\n * contracts must implement\\n * `onERC1155Received` in order to receive\\n * ERC1155 tokens as consideration. Also\\n * note that all offer and consideration\\n * components must have no remainder after\\n * multiplication of the respective amount\\n * with the supplied fraction for an\\n * order's partial fill amount to be\\n * considered valid.\\n * @param criteriaResolvers An array where each element contains a\\n * reference to a specific offer or\\n * consideration, a token identifier, and a\\n * proof that the supplied token identifier\\n * is contained in the merkle root held by\\n * the item in question's criteria element.\\n * Note that an empty criteria indicates\\n * that any (transferable) token\\n * identifier on the token in question is\\n * valid and that no associated proof needs\\n * to be supplied.\\n * @param offerFulfillments An array of FulfillmentComponent arrays\\n * indicating which offer items to attempt\\n * to aggregate when preparing executions.\\n * @param considerationFulfillments An array of FulfillmentComponent arrays\\n * indicating which consideration items to\\n * attempt to aggregate when preparing\\n * executions.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit,\\n * if any, to source the fulfiller's token\\n * approvals from. The zero hash signifies\\n * that no conduit should be used (and\\n * direct approvals set on Consideration).\\n * @param recipient The intended recipient for all received\\n * items.\\n * @param maximumFulfilled The maximum number of orders to fulfill.\\n *\\n * @return availableOrders An array of booleans indicating if each order\\n * with an index corresponding to the index of the\\n * returned boolean was fulfillable or not.\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders.\\n */\\n function _fulfillAvailableAdvancedOrders(\\n AdvancedOrder[] memory advancedOrders,\\n CriteriaResolver[] memory criteriaResolvers,\\n FulfillmentComponent[][] memory offerFulfillments,\\n FulfillmentComponent[][] memory considerationFulfillments,\\n bytes32 fulfillerConduitKey,\\n address recipient,\\n uint256 maximumFulfilled\\n )\\n internal\\n returns (\\n bool[] memory /* availableOrders */,\\n Execution[] memory /* executions */\\n )\\n {\\n // Validate orders, apply amounts, & determine if they use conduits.\\n (\\n bytes32[] memory orderHashes,\\n bool containsNonOpen\\n ) = _validateOrdersAndPrepareToFulfill(\\n advancedOrders,\\n criteriaResolvers,\\n false, // Signifies that invalid orders should NOT revert.\\n maximumFulfilled,\\n recipient\\n );\\n\\n // Aggregate used offer and consideration items and execute transfers.\\n return\\n _executeAvailableFulfillments(\\n advancedOrders,\\n offerFulfillments,\\n considerationFulfillments,\\n fulfillerConduitKey,\\n recipient,\\n orderHashes,\\n containsNonOpen\\n );\\n }\\n\\n /**\\n * @dev Internal function to validate a group of orders, update their\\n * statuses, reduce amounts by their previously filled fractions, apply\\n * criteria resolvers, and emit OrderFulfilled events. Note that this\\n * function needs to be called before\\n * _aggregateValidFulfillmentConsiderationItems to set the memory\\n * layout that _aggregateValidFulfillmentConsiderationItems depends on.\\n *\\n * @param advancedOrders The advanced orders to validate and reduce by\\n * their previously filled amounts.\\n * @param criteriaResolvers An array where each element contains a reference\\n * to a specific order as well as that order's\\n * offer or consideration, a token identifier, and\\n * a proof that the supplied token identifier is\\n * contained in the order's merkle root. Note that\\n * a root of zero indicates that any transferable\\n * token identifier is valid and that no proof\\n * needs to be supplied.\\n * @param revertOnInvalid A boolean indicating whether to revert on any\\n * order being invalid; setting this to false will\\n * instead cause the invalid order to be skipped.\\n * @param maximumFulfilled The maximum number of orders to fulfill.\\n * @param recipient The intended recipient for all items that do not\\n * already have a designated recipient and are not\\n * already used as part of a provided fulfillment.\\n *\\n * @return orderHashes The hashes of the orders being fulfilled.\\n * @return containsNonOpen A boolean indicating whether any restricted or\\n * contract orders are present within the provided\\n * array of advanced orders.\\n */\\n function _validateOrdersAndPrepareToFulfill(\\n AdvancedOrder[] memory advancedOrders,\\n CriteriaResolver[] memory criteriaResolvers,\\n bool revertOnInvalid,\\n uint256 maximumFulfilled,\\n address recipient\\n ) internal returns (bytes32[] memory orderHashes, bool containsNonOpen) {\\n // Ensure this function cannot be triggered during a reentrant call.\\n _setReentrancyGuard(true); // Native tokens accepted during execution.\\n\\n // Declare an error buffer indicating status of any native offer items.\\n // Native tokens may only be provided as part of contract orders or when\\n // fulfilling via matchOrders or matchAdvancedOrders; if bits indicating\\n // these conditions are not met have been set, throw.\\n uint256 invalidNativeOfferItemErrorBuffer;\\n\\n // Use assembly to set the value for the second bit of the error buffer.\\n assembly {\\n /**\\n * Use the 231st bit of the error buffer to indicate whether the\\n * current function is not matchAdvancedOrders or matchOrders.\\n *\\n * sig func\\n * -----------------------------------------------------------------\\n * 1010100000010111010001000 0 000100 matchOrders\\n * 1111001011010001001010110 0 010010 matchAdvancedOrders\\n * 1110110110011000101001010 1 110100 fulfillAvailableOrders\\n * 1000011100100000000110110 1 000001 fulfillAvailableAdvancedOrders\\n * ^ 7th bit\\n */\\n invalidNativeOfferItemErrorBuffer := and(\\n NonMatchSelector_MagicMask,\\n calldataload(0)\\n )\\n }\\n\\n // Declare variables for later use.\\n AdvancedOrder memory advancedOrder;\\n uint256 terminalMemoryOffset;\\n\\n unchecked {\\n // Read length of orders array and place on the stack.\\n uint256 totalOrders = advancedOrders.length;\\n\\n // Track the order hash for each order being fulfilled.\\n orderHashes = new bytes32[](totalOrders);\\n\\n // Determine the memory offset to terminate on during loops.\\n terminalMemoryOffset = (totalOrders + 1) << OneWordShift;\\n }\\n\\n // Skip overflow checks as all for loops are indexed starting at zero.\\n unchecked {\\n // Declare inner variables.\\n OfferItem[] memory offer;\\n ConsiderationItem[] memory consideration;\\n\\n // Iterate over each order.\\n for (uint256 i = OneWord; i < terminalMemoryOffset; i += OneWord) {\\n // Retrieve order using assembly to bypass out-of-range check.\\n assembly {\\n advancedOrder := mload(add(advancedOrders, i))\\n }\\n\\n // Determine if max number orders have already been fulfilled.\\n if (maximumFulfilled == 0) {\\n // Mark fill fraction as zero as the order will not be used.\\n advancedOrder.numerator = 0;\\n\\n // Continue iterating through the remaining orders.\\n continue;\\n }\\n\\n // Validate it, update status, and determine fraction to fill.\\n (\\n bytes32 orderHash,\\n uint256 numerator,\\n uint256 denominator\\n ) = _validateOrderAndUpdateStatus(\\n advancedOrder,\\n revertOnInvalid\\n );\\n\\n // Do not track hash or adjust prices if order is not fulfilled.\\n if (numerator == 0) {\\n // Mark fill fraction as zero if the order is not fulfilled.\\n advancedOrder.numerator = 0;\\n\\n // Continue iterating through the remaining orders.\\n continue;\\n }\\n\\n // Otherwise, track the order hash in question.\\n assembly {\\n mstore(add(orderHashes, i), orderHash)\\n }\\n\\n // Decrement the number of fulfilled orders.\\n // Skip underflow check as the condition before\\n // implies that maximumFulfilled > 0.\\n --maximumFulfilled;\\n\\n // Place the start time for the order on the stack.\\n uint256 startTime = advancedOrder.parameters.startTime;\\n\\n // Place the end time for the order on the stack.\\n uint256 endTime = advancedOrder.parameters.endTime;\\n\\n // Retrieve array of offer items for the order in question.\\n offer = advancedOrder.parameters.offer;\\n\\n // Read length of offer array and place on the stack.\\n uint256 totalOfferItems = offer.length;\\n\\n {\\n // Determine the order type, used to check for eligibility\\n // for native token offer items as well as for the presence\\n // of restricted and contract orders (or non-open orders).\\n OrderType orderType = advancedOrder.parameters.orderType;\\n\\n // Utilize assembly to efficiently check for order types.\\n // Note that these checks expect that there are no order\\n // types beyond the current set (0-4) and will need to be\\n // modified if more order types are added.\\n assembly {\\n // Declare a variable indicating if the order is not a\\n // contract order. Cache in scratch space to avoid stack\\n // depth errors.\\n let isNonContract := lt(orderType, 4)\\n mstore(0, isNonContract)\\n\\n // Update the variable indicating if the order is not an\\n // open order, remaining set if it has been set already.\\n containsNonOpen := or(containsNonOpen, gt(orderType, 1))\\n }\\n }\\n\\n // Iterate over each offer item on the order.\\n for (uint256 j = 0; j < totalOfferItems; ++j) {\\n // Retrieve the offer item.\\n OfferItem memory offerItem = offer[j];\\n\\n // If the offer item is for the native token and the order\\n // type is not a contract order type, set the first bit of\\n // the error buffer to true.\\n assembly {\\n invalidNativeOfferItemErrorBuffer := or(\\n invalidNativeOfferItemErrorBuffer,\\n lt(mload(offerItem), mload(0))\\n )\\n }\\n\\n // Apply order fill fraction to offer item end amount.\\n uint256 endAmount = _getFraction(\\n numerator,\\n denominator,\\n offerItem.endAmount\\n );\\n\\n // Reuse same fraction if start and end amounts are equal.\\n if (offerItem.startAmount == offerItem.endAmount) {\\n // Apply derived amount to both start and end amount.\\n offerItem.startAmount = endAmount;\\n } else {\\n // Apply order fill fraction to offer item start amount.\\n offerItem.startAmount = _getFraction(\\n numerator,\\n denominator,\\n offerItem.startAmount\\n );\\n }\\n\\n // Adjust offer amount using current time; round down.\\n uint256 currentAmount = _locateCurrentAmount(\\n offerItem.startAmount,\\n endAmount,\\n startTime,\\n endTime,\\n false // round down\\n );\\n\\n // Update amounts in memory to match the current amount.\\n // Note that the end amount is used to track spent amounts.\\n offerItem.startAmount = currentAmount;\\n offerItem.endAmount = currentAmount;\\n }\\n\\n // Retrieve array of consideration items for order in question.\\n consideration = (advancedOrder.parameters.consideration);\\n\\n // Read length of consideration array and place on the stack.\\n uint256 totalConsiderationItems = consideration.length;\\n\\n // Iterate over each consideration item on the order.\\n for (uint256 j = 0; j < totalConsiderationItems; ++j) {\\n // Retrieve the consideration item.\\n ConsiderationItem memory considerationItem = (\\n consideration[j]\\n );\\n\\n // Apply fraction to consideration item end amount.\\n uint256 endAmount = _getFraction(\\n numerator,\\n denominator,\\n considerationItem.endAmount\\n );\\n\\n // Reuse same fraction if start and end amounts are equal.\\n if (\\n considerationItem.startAmount ==\\n considerationItem.endAmount\\n ) {\\n // Apply derived amount to both start and end amount.\\n considerationItem.startAmount = endAmount;\\n } else {\\n // Apply fraction to consideration item start amount.\\n considerationItem.startAmount = _getFraction(\\n numerator,\\n denominator,\\n considerationItem.startAmount\\n );\\n }\\n\\n // Adjust consideration amount using current time; round up.\\n uint256 currentAmount = (\\n _locateCurrentAmount(\\n considerationItem.startAmount,\\n endAmount,\\n startTime,\\n endTime,\\n true // round up\\n )\\n );\\n\\n considerationItem.startAmount = currentAmount;\\n\\n // Utilize assembly to manually \\\"shift\\\" the recipient value,\\n // then to copy the start amount to the recipient.\\n // Note that this sets up the memory layout that is\\n // subsequently relied upon by\\n // _aggregateValidFulfillmentConsiderationItems.\\n assembly {\\n // Derive the pointer to the recipient using the item\\n // pointer along with the offset to the recipient.\\n let considerationItemRecipientPtr := add(\\n considerationItem,\\n ConsiderationItem_recipient_offset // recipient\\n )\\n\\n // Write recipient to endAmount, as endAmount is not\\n // used from this point on and can be repurposed to fit\\n // the layout of a ReceivedItem.\\n mstore(\\n add(\\n considerationItem,\\n ReceivedItem_recipient_offset // old endAmount\\n ),\\n mload(considerationItemRecipientPtr)\\n )\\n\\n // Write startAmount to recipient, as recipient is not\\n // used from this point on and can be repurposed to\\n // track received amounts.\\n mstore(considerationItemRecipientPtr, currentAmount)\\n }\\n }\\n }\\n }\\n\\n // If the first bit is set, a native offer item was encountered on an\\n // order that is not a contract order. If the 231st bit is set in the\\n // error buffer, the current function is not matchOrders or\\n // matchAdvancedOrders. If the value is 1 + (1 << 230), then both the\\n // 1st and 231st bits were set; in that case, revert with an error.\\n if (\\n invalidNativeOfferItemErrorBuffer ==\\n NonMatchSelector_InvalidErrorValue\\n ) {\\n _revertInvalidNativeOfferItem();\\n }\\n\\n // Apply criteria resolvers to each order as applicable.\\n _applyCriteriaResolvers(advancedOrders, criteriaResolvers);\\n\\n // Emit an event for each order signifying that it has been fulfilled.\\n // Skip overflow checks as all for loops are indexed starting at zero.\\n unchecked {\\n bytes32 orderHash;\\n\\n // Iterate over each order.\\n for (uint256 i = OneWord; i < terminalMemoryOffset; i += OneWord) {\\n assembly {\\n orderHash := mload(add(orderHashes, i))\\n }\\n\\n // Do not emit an event if no order hash is present.\\n if (orderHash == bytes32(0)) {\\n continue;\\n }\\n\\n // Retrieve order using assembly to bypass out-of-range check.\\n assembly {\\n advancedOrder := mload(add(advancedOrders, i))\\n }\\n\\n // Retrieve parameters for the order in question.\\n OrderParameters memory orderParameters = (\\n advancedOrder.parameters\\n );\\n\\n // Emit an OrderFulfilled event.\\n _emitOrderFulfilledEvent(\\n orderHash,\\n orderParameters.offerer,\\n orderParameters.zone,\\n recipient,\\n orderParameters.offer,\\n orderParameters.consideration\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to fulfill a group of validated orders, fully or\\n * partially, with an arbitrary number of items for offer and\\n * consideration per order and to execute transfers. Any order that is\\n * not currently active, has already been fully filled, or has been\\n * cancelled will be omitted. Remaining offer and consideration items\\n * will then be aggregated where possible as indicated by the supplied\\n * offer and consideration component arrays and aggregated items will\\n * be transferred to the fulfiller or to each intended recipient,\\n * respectively. Note that a failing item transfer or an issue with\\n * order formatting will cause the entire batch to fail.\\n *\\n * @param advancedOrders The orders to fulfill along with the\\n * fraction of those orders to attempt to\\n * fill. Note that both the offerer and the\\n * fulfiller must first approve this\\n * contract (or the conduit if indicated by\\n * the order) to transfer any relevant\\n * tokens on their behalf and that\\n * contracts must implement\\n * `onERC1155Received` in order to receive\\n * ERC1155 tokens as consideration. Also\\n * note that all offer and consideration\\n * components must have no remainder after\\n * multiplication of the respective amount\\n * with the supplied fraction for an\\n * order's partial fill amount to be\\n * considered valid.\\n * @param offerFulfillments An array of FulfillmentComponent arrays\\n * indicating which offer items to attempt\\n * to aggregate when preparing executions.\\n * @param considerationFulfillments An array of FulfillmentComponent arrays\\n * indicating which consideration items to\\n * attempt to aggregate when preparing\\n * executions.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit,\\n * if any, to source the fulfiller's token\\n * approvals from. The zero hash signifies\\n * that no conduit should be used, with\\n * direct approvals set on Consideration.\\n * @param recipient The intended recipient for all items\\n * that do not already have a designated\\n * recipient and are not already used as\\n * part of a provided fulfillment.\\n * @param orderHashes An array of order hashes for each order.\\n * @param containsNonOpen A boolean indicating whether any\\n * restricted or contract orders are\\n * present within the provided array of\\n * advanced orders.\\n *\\n * @return availableOrders An array of booleans indicating if each order\\n * with an index corresponding to the index of the\\n * returned boolean was fulfillable or not.\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders.\\n */\\n function _executeAvailableFulfillments(\\n AdvancedOrder[] memory advancedOrders,\\n FulfillmentComponent[][] memory offerFulfillments,\\n FulfillmentComponent[][] memory considerationFulfillments,\\n bytes32 fulfillerConduitKey,\\n address recipient,\\n bytes32[] memory orderHashes,\\n bool containsNonOpen\\n )\\n internal\\n returns (bool[] memory availableOrders, Execution[] memory executions)\\n {\\n // Retrieve length of offer fulfillments array and place on the stack.\\n uint256 totalOfferFulfillments = offerFulfillments.length;\\n\\n // Retrieve length of consideration fulfillments array & place on stack.\\n uint256 totalConsiderationFulfillments = (\\n considerationFulfillments.length\\n );\\n\\n // Allocate an execution for each offer and consideration fulfillment.\\n executions = new Execution[](\\n totalOfferFulfillments + totalConsiderationFulfillments\\n );\\n\\n // Skip overflow checks as all for loops are indexed starting at zero.\\n unchecked {\\n // Track number of filtered executions.\\n uint256 totalFilteredExecutions = 0;\\n\\n // Iterate over each offer fulfillment.\\n for (uint256 i = 0; i < totalOfferFulfillments; ) {\\n // Derive aggregated execution corresponding with fulfillment.\\n Execution memory execution = _aggregateAvailable(\\n advancedOrders,\\n Side.OFFER,\\n offerFulfillments[i],\\n fulfillerConduitKey,\\n recipient\\n );\\n\\n // If the execution is filterable...\\n if (_isFilterableExecution(execution)) {\\n // Increment total filtered executions.\\n ++totalFilteredExecutions;\\n } else {\\n // Otherwise, assign the execution to the executions array.\\n executions[i - totalFilteredExecutions] = execution;\\n }\\n\\n // Increment iterator.\\n ++i;\\n }\\n\\n // Iterate over each consideration fulfillment.\\n for (uint256 i = 0; i < totalConsiderationFulfillments; ) {\\n // Derive aggregated execution corresponding with fulfillment.\\n Execution memory execution = _aggregateAvailable(\\n advancedOrders,\\n Side.CONSIDERATION,\\n considerationFulfillments[i],\\n fulfillerConduitKey,\\n address(0) // unused\\n );\\n\\n // If the execution is filterable...\\n if (_isFilterableExecution(execution)) {\\n // Increment total filtered executions.\\n ++totalFilteredExecutions;\\n } else {\\n // Otherwise, assign the execution to the executions array.\\n executions[\\n i + totalOfferFulfillments - totalFilteredExecutions\\n ] = execution;\\n }\\n\\n // Increment iterator.\\n ++i;\\n }\\n\\n // If some number of executions have been filtered...\\n if (totalFilteredExecutions != 0) {\\n // reduce the total length of the executions array.\\n assembly {\\n mstore(\\n executions,\\n sub(mload(executions), totalFilteredExecutions)\\n )\\n }\\n }\\n }\\n\\n // Revert if no orders are available.\\n if (executions.length == 0) {\\n _revertNoSpecifiedOrdersAvailable();\\n }\\n\\n // Perform final checks and return.\\n availableOrders = _performFinalChecksAndExecuteOrders(\\n advancedOrders,\\n executions,\\n orderHashes,\\n recipient,\\n containsNonOpen\\n );\\n\\n return (availableOrders, executions);\\n }\\n\\n /**\\n * @dev Internal function to perform a final check that each consideration\\n * item for an arbitrary number of fulfilled orders has been met and to\\n * trigger associated executions, transferring the respective items.\\n *\\n * @param advancedOrders The orders to check and perform executions for.\\n * @param executions An array of elements indicating the sequence of\\n * transfers to perform when fulfilling the given\\n * orders.\\n * @param orderHashes An array of order hashes for each order.\\n * @param recipient The intended recipient for all items that do not\\n * already have a designated recipient and are not\\n * used as part of a provided fulfillment.\\n * @param containsNonOpen A boolean indicating whether any restricted or\\n * contract orders are present within the provided\\n * array of advanced orders.\\n *\\n * @return availableOrders An array of booleans indicating if each order\\n * with an index corresponding to the index of the\\n * returned boolean was fulfillable or not.\\n */\\n function _performFinalChecksAndExecuteOrders(\\n AdvancedOrder[] memory advancedOrders,\\n Execution[] memory executions,\\n bytes32[] memory orderHashes,\\n address recipient,\\n bool containsNonOpen\\n ) internal returns (bool[] memory /* availableOrders */) {\\n // Retrieve the length of the advanced orders array and place on stack.\\n uint256 totalOrders = advancedOrders.length;\\n\\n // Initialize array for tracking available orders.\\n bool[] memory availableOrders = new bool[](totalOrders);\\n\\n // Initialize an accumulator array. From this point forward, no new\\n // memory regions can be safely allocated until the accumulator is no\\n // longer being utilized, as the accumulator operates in an open-ended\\n // fashion from this memory pointer; existing memory may still be\\n // accessed and modified, however.\\n bytes memory accumulator = new bytes(AccumulatorDisarmed);\\n\\n {\\n // Declare a variable for the available native token balance.\\n uint256 nativeTokenBalance;\\n\\n // Retrieve the length of the executions array and place on stack.\\n uint256 totalExecutions = executions.length;\\n\\n // Iterate over each execution.\\n for (uint256 i = 0; i < totalExecutions; ) {\\n // Retrieve the execution and the associated received item.\\n Execution memory execution = executions[i];\\n ReceivedItem memory item = execution.item;\\n\\n // If execution transfers native tokens, reduce value available.\\n if (item.itemType == ItemType.NATIVE) {\\n // Get the current available balance of native tokens.\\n assembly {\\n nativeTokenBalance := selfbalance()\\n }\\n\\n // Ensure that sufficient native tokens are still available.\\n if (item.amount > nativeTokenBalance) {\\n _revertInsufficientNativeTokensSupplied();\\n }\\n }\\n\\n // Transfer the item specified by the execution.\\n _transfer(\\n item,\\n execution.offerer,\\n execution.conduitKey,\\n accumulator\\n );\\n\\n // Skip overflow check as for loop is indexed starting at zero.\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n // Skip overflow checks as all for loops are indexed starting at zero.\\n unchecked {\\n // Iterate over each order.\\n for (uint256 i = 0; i < totalOrders; ++i) {\\n // Retrieve the order in question.\\n AdvancedOrder memory advancedOrder = advancedOrders[i];\\n\\n // Skip the order in question if not being not fulfilled.\\n if (advancedOrder.numerator == 0) {\\n // Explicitly set availableOrders at the given index to\\n // guard against the possibility of dirtied memory.\\n availableOrders[i] = false;\\n continue;\\n }\\n\\n // Mark the order as available.\\n availableOrders[i] = true;\\n\\n // Retrieve the order parameters.\\n OrderParameters memory parameters = advancedOrder.parameters;\\n\\n {\\n // Retrieve offer items.\\n OfferItem[] memory offer = parameters.offer;\\n\\n // Read length of offer array & place on the stack.\\n uint256 totalOfferItems = offer.length;\\n\\n // Iterate over each offer item to restore it.\\n for (uint256 j = 0; j < totalOfferItems; ++j) {\\n // Retrieve the offer item in question.\\n OfferItem memory offerItem = offer[j];\\n\\n // Transfer to recipient if unspent amount is not zero.\\n // Note that the transfer will not be reflected in the\\n // executions array.\\n if (offerItem.startAmount != 0) {\\n // Replace the endAmount parameter with the recipient to\\n // make offerItem compatible with the ReceivedItem input\\n // to _transfer and cache the original endAmount so it\\n // can be restored after the transfer.\\n uint256 originalEndAmount = _replaceEndAmountWithRecipient(\\n offerItem,\\n recipient\\n );\\n\\n // Transfer excess offer item amount to recipient.\\n _toOfferItemInput(_transfer)(\\n offerItem,\\n parameters.offerer,\\n parameters.conduitKey,\\n accumulator\\n );\\n\\n // Restore the original endAmount in offerItem.\\n assembly {\\n mstore(\\n add(\\n offerItem,\\n ReceivedItem_recipient_offset\\n ),\\n originalEndAmount\\n )\\n }\\n }\\n\\n // Restore original amount on the offer item.\\n offerItem.startAmount = offerItem.endAmount;\\n }\\n }\\n\\n {\\n // Read consideration items & ensure they are fulfilled.\\n ConsiderationItem[] memory consideration = (\\n parameters.consideration\\n );\\n\\n // Read length of consideration array & place on stack.\\n uint256 totalConsiderationItems = consideration.length;\\n\\n // Iterate over each consideration item.\\n for (uint256 j = 0; j < totalConsiderationItems; ++j) {\\n ConsiderationItem memory considerationItem = (\\n consideration[j]\\n );\\n\\n // Retrieve remaining amount on consideration item.\\n uint256 unmetAmount = considerationItem.startAmount;\\n\\n // Revert if the remaining amount is not zero.\\n if (unmetAmount != 0) {\\n _revertConsiderationNotMet(i, j, unmetAmount);\\n }\\n\\n // Utilize assembly to restore the original value.\\n assembly {\\n // Write recipient to startAmount.\\n mstore(\\n add(\\n considerationItem,\\n ReceivedItem_amount_offset\\n ),\\n mload(\\n add(\\n considerationItem,\\n ConsiderationItem_recipient_offset\\n )\\n )\\n )\\n }\\n }\\n }\\n }\\n }\\n\\n // Trigger any accumulated transfers via call to the conduit.\\n _triggerIfArmed(accumulator);\\n\\n // Determine whether any native token balance remains.\\n uint256 remainingNativeTokenBalance;\\n assembly {\\n remainingNativeTokenBalance := selfbalance()\\n }\\n\\n // Return any remaining native token balance to the caller.\\n if (remainingNativeTokenBalance != 0) {\\n _transferNativeTokens(\\n payable(msg.sender),\\n remainingNativeTokenBalance\\n );\\n }\\n\\n // If any restricted or contract orders are present in the group of\\n // orders being fulfilled, perform any validateOrder or ratifyOrder\\n // calls after all executions and related transfers are complete.\\n if (containsNonOpen) {\\n // Iterate over each order a second time.\\n for (uint256 i = 0; i < totalOrders; ) {\\n // Ensure the order in question is being fulfilled.\\n if (availableOrders[i]) {\\n // Check restricted orders and contract orders.\\n _assertRestrictedAdvancedOrderValidity(\\n advancedOrders[i],\\n orderHashes,\\n orderHashes[i]\\n );\\n }\\n\\n // Skip overflow checks as for loop is indexed starting at zero.\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n // Clear the reentrancy guard.\\n _clearReentrancyGuard();\\n\\n // Return the array containing available orders.\\n return availableOrders;\\n }\\n\\n /**\\n * @dev Internal function to emit an OrdersMatched event using the same\\n * memory region as the existing order hash array.\\n *\\n * @param orderHashes An array of order hashes to include as an argument for\\n * the OrdersMatched event.\\n */\\n function _emitOrdersMatched(bytes32[] memory orderHashes) internal {\\n assembly {\\n // Load the array length from memory.\\n let length := mload(orderHashes)\\n\\n // Get the full size of the event data - one word for the offset,\\n // one for the array length and one per hash.\\n let dataSize := add(TwoWords, shl(OneWordShift, length))\\n\\n // Get pointer to start of data, reusing word before array length\\n // for the offset.\\n let dataPointer := sub(orderHashes, OneWord)\\n\\n // Cache the existing word in memory at the offset pointer.\\n let cache := mload(dataPointer)\\n\\n // Write an offset of 32.\\n mstore(dataPointer, OneWord)\\n\\n // Emit the OrdersMatched event.\\n log1(dataPointer, dataSize, OrdersMatchedTopic0)\\n\\n // Restore the cached word.\\n mstore(dataPointer, cache)\\n }\\n }\\n\\n /**\\n * @dev Internal function to match an arbitrary number of full or partial\\n * orders, each with an arbitrary number of items for offer and\\n * consideration, supplying criteria resolvers containing specific\\n * token identifiers and associated proofs as well as fulfillments\\n * allocating offer components to consideration components.\\n *\\n * @param advancedOrders The advanced orders to match. Note that both the\\n * offerer and fulfiller on each order must first\\n * approve this contract (or their conduit if\\n * indicated by the order) to transfer any relevant\\n * tokens on their behalf and each consideration\\n * recipient must implement `onERC1155Received` in\\n * order to receive ERC1155 tokens. Also note that\\n * the offer and consideration components for each\\n * order must have no remainder after multiplying\\n * the respective amount with the supplied fraction\\n * in order for the group of partial fills to be\\n * considered valid.\\n * @param criteriaResolvers An array where each element contains a reference\\n * to a specific order as well as that order's\\n * offer or consideration, a token identifier, and\\n * a proof that the supplied token identifier is\\n * contained in the order's merkle root. Note that\\n * an empty root indicates that any (transferable)\\n * token identifier is valid and that no associated\\n * proof needs to be supplied.\\n * @param fulfillments An array of elements allocating offer components\\n * to consideration components. Note that each\\n * consideration component must be fully met in\\n * order for the match operation to be valid.\\n * @param recipient The intended recipient for all unspent offer\\n * item amounts.\\n *\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders.\\n */\\n function _matchAdvancedOrders(\\n AdvancedOrder[] memory advancedOrders,\\n CriteriaResolver[] memory criteriaResolvers,\\n Fulfillment[] memory fulfillments,\\n address recipient\\n ) internal returns (Execution[] memory /* executions */) {\\n // Validate orders, update order status, and determine item amounts.\\n (\\n bytes32[] memory orderHashes,\\n bool containsNonOpen\\n ) = _validateOrdersAndPrepareToFulfill(\\n advancedOrders,\\n criteriaResolvers,\\n true, // Signifies that invalid orders should revert.\\n advancedOrders.length,\\n recipient\\n );\\n\\n // Emit OrdersMatched event, providing an array of matched order hashes.\\n _emitOrdersMatched(orderHashes);\\n\\n // Fulfill the orders using the supplied fulfillments and recipient.\\n return\\n _fulfillAdvancedOrders(\\n advancedOrders,\\n fulfillments,\\n orderHashes,\\n recipient,\\n containsNonOpen\\n );\\n }\\n\\n /**\\n * @dev Internal function to fulfill an arbitrary number of orders, either\\n * full or partial, after validating, adjusting amounts, and applying\\n * criteria resolvers.\\n *\\n * @param advancedOrders The orders to match, including a fraction to\\n * attempt to fill for each order.\\n * @param fulfillments An array of elements allocating offer components\\n * to consideration components. Note that the final\\n * amount of each consideration component must be\\n * zero for a match operation to be considered valid.\\n * @param orderHashes An array of order hashes for each order.\\n * @param recipient The intended recipient for all items that do not\\n * already have a designated recipient and are not\\n * used as part of a provided fulfillment.\\n * @param containsNonOpen A boolean indicating whether any restricted or\\n * contract orders are present within the provided\\n * array of advanced orders.\\n *\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders.\\n */\\n function _fulfillAdvancedOrders(\\n AdvancedOrder[] memory advancedOrders,\\n Fulfillment[] memory fulfillments,\\n bytes32[] memory orderHashes,\\n address recipient,\\n bool containsNonOpen\\n ) internal returns (Execution[] memory executions) {\\n // Retrieve fulfillments array length and place on the stack.\\n uint256 totalFulfillments = fulfillments.length;\\n\\n // Allocate executions by fulfillment and apply them to each execution.\\n executions = new Execution[](totalFulfillments);\\n\\n // Skip overflow checks as all for loops are indexed starting at zero.\\n unchecked {\\n // Track number of filtered executions.\\n uint256 totalFilteredExecutions = 0;\\n\\n // Iterate over each fulfillment.\\n for (uint256 i = 0; i < totalFulfillments; ++i) {\\n /// Retrieve the fulfillment in question.\\n Fulfillment memory fulfillment = fulfillments[i];\\n\\n // Derive the execution corresponding with the fulfillment.\\n Execution memory execution = _applyFulfillment(\\n advancedOrders,\\n fulfillment.offerComponents,\\n fulfillment.considerationComponents,\\n i\\n );\\n\\n // If the execution is filterable...\\n if (_isFilterableExecution(execution)) {\\n // Increment total filtered executions.\\n ++totalFilteredExecutions;\\n } else {\\n // Otherwise, assign the execution to the executions array.\\n executions[i - totalFilteredExecutions] = execution;\\n }\\n }\\n\\n // If some number of executions have been filtered...\\n if (totalFilteredExecutions != 0) {\\n // reduce the total length of the executions array.\\n assembly {\\n mstore(\\n executions,\\n sub(mload(executions), totalFilteredExecutions)\\n )\\n }\\n }\\n }\\n\\n // Perform final checks and execute orders.\\n _performFinalChecksAndExecuteOrders(\\n advancedOrders,\\n executions,\\n orderHashes,\\n recipient,\\n containsNonOpen\\n );\\n\\n // Return the executions array.\\n return executions;\\n }\\n\\n /**\\n * @dev Internal pure function to determine whether a given execution is\\n * filterable and may be removed from the executions array. The offerer\\n * and the recipient must be the same address and the item type cannot\\n * indicate a native token transfer.\\n *\\n * @param execution The execution to check for filterability.\\n *\\n * @return filterable A boolean indicating whether the execution in question\\n * can be filtered from the executions array.\\n */\\n function _isFilterableExecution(\\n Execution memory execution\\n ) internal pure returns (bool filterable) {\\n // Utilize assembly to efficiently determine if execution is filterable.\\n assembly {\\n // Retrieve the received item referenced by the execution.\\n let item := mload(execution)\\n\\n // Determine whether the execution is filterable.\\n filterable := and(\\n // Determine if offerer and recipient are the same address.\\n eq(\\n // Retrieve the recipient's address from the received item.\\n mload(add(item, ReceivedItem_recipient_offset)),\\n // Retrieve the offerer's address from the execution.\\n mload(add(execution, Execution_offerer_offset))\\n ),\\n // Determine if received item's item type is non-zero, thereby\\n // indicating that the execution does not involve native tokens.\\n iszero(iszero(mload(item)))\\n )\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationConstants.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/*\\n * -------------------------- Disambiguation & Other Notes ---------------------\\n * - The term \\\"head\\\" is used as it is in the documentation for ABI encoding,\\n * but only in reference to dynamic types, i.e. it always refers to the\\n * offset or pointer to the body of a dynamic type. In calldata, the head\\n * is always an offset (relative to the parent object), while in memory,\\n * the head is always the pointer to the body. More information found here:\\n * https://docs.soliditylang.org/en/v0.8.17/abi-spec.html#argument-encoding\\n * - Note that the length of an array is separate from and precedes the\\n * head of the array.\\n *\\n * - The term \\\"body\\\" is used in place of the term \\\"head\\\" used in the ABI\\n * documentation. It refers to the start of the data for a dynamic type,\\n * e.g. the first word of a struct or the first word of the first element\\n * in an array.\\n *\\n * - The term \\\"pointer\\\" is used to describe the absolute position of a value\\n * and never an offset relative to another value.\\n * - The suffix \\\"_ptr\\\" refers to a memory pointer.\\n * - The suffix \\\"_cdPtr\\\" refers to a calldata pointer.\\n *\\n * - The term \\\"offset\\\" is used to describe the position of a value relative\\n * to some parent value. For example, OrderParameters_conduit_offset is the\\n * offset to the \\\"conduit\\\" value in the OrderParameters struct relative to\\n * the start of the body.\\n * - Note: Offsets are used to derive pointers.\\n *\\n * - Some structs have pointers defined for all of their fields in this file.\\n * Lines which are commented out are fields that are not used in the\\n * codebase but have been left in for readability.\\n */\\n\\n// Declare constants for name, version, and reentrancy sentinel values.\\n\\n// Name is right padded, so it touches the length which is left padded. This\\n// enables writing both values at once. Length goes at byte 95 in memory, and\\n// name fills bytes 96-109, so both values can be written left-padded to 77.\\nuint256 constant NameLengthPtr = 0x4D;\\nuint256 constant NameWithLength = 0x0d436F6E73696465726174696F6E;\\n\\nuint256 constant information_version_offset = 0;\\nuint256 constant information_version_cd_offset = 0x60;\\nuint256 constant information_domainSeparator_offset = 0x20;\\nuint256 constant information_conduitController_offset = 0x40;\\nuint256 constant information_versionLengthPtr = 0x63;\\nuint256 constant information_versionWithLength = 0x03312e35; // 1.5\\nuint256 constant information_length = 0xa0;\\n\\nuint256 constant _NOT_ENTERED = 1;\\nuint256 constant _ENTERED = 2;\\nuint256 constant _ENTERED_AND_ACCEPTING_NATIVE_TOKENS = 3;\\n\\nuint256 constant Offset_fulfillAdvancedOrder_criteriaResolvers = 0x20;\\nuint256 constant Offset_fulfillAvailableOrders_offerFulfillments = 0x20;\\nuint256 constant Offset_fulfillAvailableOrders_considerationFulfillments = 0x40;\\nuint256 constant Offset_fulfillAvailableAdvancedOrders_criteriaResolvers = 0x20;\\nuint256 constant Offset_fulfillAvailableAdvancedOrders_offerFulfillments = 0x40;\\nuint256 constant Offset_fulfillAvailableAdvancedOrders_cnsdrationFlflmnts = (\\n 0x60\\n);\\n\\nuint256 constant Offset_matchOrders_fulfillments = 0x20;\\n\\nuint256 constant Offset_matchAdvancedOrders_criteriaResolvers = 0x20;\\nuint256 constant Offset_matchAdvancedOrders_fulfillments = 0x40;\\n\\n// Common Offsets\\n// Offsets for identically positioned fields shared by:\\n// OfferItem, ConsiderationItem, SpentItem, ReceivedItem\\n\\nuint256 constant Selector_length = 0x4;\\n\\nuint256 constant Common_token_offset = 0x20;\\nuint256 constant Common_identifier_offset = 0x40;\\nuint256 constant Common_amount_offset = 0x60;\\nuint256 constant Common_endAmount_offset = 0x80;\\n\\nuint256 constant SpentItem_size = 0x80;\\nuint256 constant SpentItem_size_shift = 0x7;\\n\\nuint256 constant OfferItem_size = 0xa0;\\nuint256 constant OfferItem_size_with_length = 0xc0;\\n\\nuint256 constant ReceivedItem_size_excluding_recipient = 0x80;\\nuint256 constant ReceivedItem_size = 0xa0;\\nuint256 constant ReceivedItem_amount_offset = 0x60;\\nuint256 constant ReceivedItem_recipient_offset = 0x80;\\n\\nuint256 constant ReceivedItem_CommonParams_size = 0x60;\\n\\nuint256 constant ConsiderationItem_size = 0xc0;\\nuint256 constant ConsiderationItem_size_with_length = 0xe0;\\n\\nuint256 constant ConsiderationItem_recipient_offset = 0xa0;\\n// Store the same constant in an abbreviated format for a line length fix.\\nuint256 constant ConsiderItem_recipient_offset = 0xa0;\\n\\nuint256 constant Execution_offerer_offset = 0x20;\\nuint256 constant Execution_conduit_offset = 0x40;\\n\\n// uint256 constant OrderParameters_offerer_offset = 0x00;\\nuint256 constant OrderParameters_zone_offset = 0x20;\\nuint256 constant OrderParameters_offer_head_offset = 0x40;\\nuint256 constant OrderParameters_consideration_head_offset = 0x60;\\n// uint256 constant OrderParameters_orderType_offset = 0x80;\\nuint256 constant OrderParameters_startTime_offset = 0xa0;\\nuint256 constant OrderParameters_endTime_offset = 0xc0;\\nuint256 constant OrderParameters_zoneHash_offset = 0xe0;\\n// uint256 constant OrderParameters_salt_offset = 0x100;\\nuint256 constant OrderParameters_conduit_offset = 0x120;\\nuint256 constant OrderParameters_counter_offset = 0x140;\\n\\nuint256 constant Fulfillment_itemIndex_offset = 0x20;\\n\\nuint256 constant AdvancedOrder_head_size = 0xa0;\\nuint256 constant AdvancedOrder_numerator_offset = 0x20;\\nuint256 constant AdvancedOrder_denominator_offset = 0x40;\\nuint256 constant AdvancedOrder_signature_offset = 0x60;\\nuint256 constant AdvancedOrder_extraData_offset = 0x80;\\n\\nuint256 constant OrderStatus_ValidatedAndNotCancelled = 1;\\nuint256 constant OrderStatus_filledNumerator_offset = 0x10;\\nuint256 constant OrderStatus_filledDenominator_offset = 0x88;\\n\\nuint256 constant ThirtyOneBytes = 0x1f;\\nuint256 constant OneWord = 0x20;\\nuint256 constant TwoWords = 0x40;\\nuint256 constant ThreeWords = 0x60;\\nuint256 constant FourWords = 0x80;\\nuint256 constant FiveWords = 0xa0;\\n\\nuint256 constant OneWordShift = 0x5;\\nuint256 constant TwoWordsShift = 0x6;\\n\\nuint256 constant SixtyThreeBytes = 0x3f;\\nuint256 constant OnlyFullWordMask = 0xffffffe0;\\n\\nuint256 constant FreeMemoryPointerSlot = 0x40;\\nuint256 constant ZeroSlot = 0x60;\\nuint256 constant DefaultFreeMemoryPointer = 0x80;\\n\\nuint256 constant Slot0x80 = 0x80;\\nuint256 constant Slot0xA0 = 0xa0;\\n\\n// uint256 constant BasicOrder_endAmount_cdPtr = 0x104;\\nuint256 constant BasicOrder_common_params_size = 0xa0;\\nuint256 constant BasicOrder_considerationHashesArray_ptr = 0x160;\\nuint256 constant BasicOrder_receivedItemByteMap = (\\n 0x0000010102030000000000000000000000000000000000000000000000000000\\n);\\nuint256 constant BasicOrder_offeredItemByteMap = (\\n 0x0203020301010000000000000000000000000000000000000000000000000000\\n);\\n\\nbytes32 constant OrdersMatchedTopic0 = (\\n 0x4b9f2d36e1b4c93de62cc077b00b1a91d84b6c31b4a14e012718dcca230689e7\\n);\\n\\nuint256 constant EIP712_Order_size = 0x180;\\nuint256 constant EIP712_OfferItem_size = 0xc0;\\nuint256 constant EIP712_ConsiderationItem_size = 0xe0;\\nuint256 constant AdditionalRecipient_size = 0x40;\\nuint256 constant AdditionalRecipient_size_shift = 0x6;\\n\\nuint256 constant EIP712_DomainSeparator_offset = 0x02;\\nuint256 constant EIP712_OrderHash_offset = 0x22;\\nuint256 constant EIP712_DigestPayload_size = 0x42;\\n\\nuint256 constant EIP712_domainData_nameHash_offset = 0x20;\\nuint256 constant EIP712_domainData_versionHash_offset = 0x40;\\nuint256 constant EIP712_domainData_chainId_offset = 0x60;\\nuint256 constant EIP712_domainData_verifyingContract_offset = 0x80;\\nuint256 constant EIP712_domainData_size = 0xa0;\\n\\n// Minimum BulkOrder proof size: 64 bytes for signature + 3 for key + 32 for 1\\n// sibling. Maximum BulkOrder proof size: 65 bytes for signature + 3 for key +\\n// 768 for 24 siblings.\\n\\nuint256 constant BulkOrderProof_minSize = 0x63;\\nuint256 constant BulkOrderProof_rangeSize = 0x2e2;\\nuint256 constant BulkOrderProof_lengthAdjustmentBeforeMask = 0x1d;\\nuint256 constant BulkOrderProof_lengthRangeAfterMask = 0x2;\\nuint256 constant BulkOrderProof_keyShift = 0xe8;\\nuint256 constant BulkOrderProof_keySize = 0x3;\\n\\nuint256 constant BulkOrder_Typehash_Height_One = (\\n 0x3ca2711d29384747a8f61d60aad3c450405f7aaff5613541dee28df2d6986d32\\n);\\nuint256 constant BulkOrder_Typehash_Height_Two = (\\n 0xbf8e29b89f29ed9b529c154a63038ffca562f8d7cd1e2545dda53a1b582dde30\\n);\\nuint256 constant BulkOrder_Typehash_Height_Three = (\\n 0x53c6f6856e13104584dd0797ca2b2779202dc2597c6066a42e0d8fe990b0024d\\n);\\nuint256 constant BulkOrder_Typehash_Height_Four = (\\n 0xa02eb7ff164c884e5e2c336dc85f81c6a93329d8e9adf214b32729b894de2af1\\n);\\nuint256 constant BulkOrder_Typehash_Height_Five = (\\n 0x39c9d33c18e050dda0aeb9a8086fb16fc12d5d64536780e1da7405a800b0b9f6\\n);\\nuint256 constant BulkOrder_Typehash_Height_Six = (\\n 0x1c19f71958cdd8f081b4c31f7caf5c010b29d12950be2fa1c95070dc47e30b55\\n);\\nuint256 constant BulkOrder_Typehash_Height_Seven = (\\n 0xca74fab2fece9a1d58234a274220ad05ca096a92ef6a1ca1750b9d90c948955c\\n);\\nuint256 constant BulkOrder_Typehash_Height_Eight = (\\n 0x7ff98d9d4e55d876c5cfac10b43c04039522f3ddfb0ea9bfe70c68cfb5c7cc14\\n);\\nuint256 constant BulkOrder_Typehash_Height_Nine = (\\n 0xbed7be92d41c56f9e59ac7a6272185299b815ddfabc3f25deb51fe55fe2f9e8a\\n);\\nuint256 constant BulkOrder_Typehash_Height_Ten = (\\n 0xd1d97d1ef5eaa37a4ee5fbf234e6f6d64eb511eb562221cd7edfbdde0848da05\\n);\\nuint256 constant BulkOrder_Typehash_Height_Eleven = (\\n 0x896c3f349c4da741c19b37fec49ed2e44d738e775a21d9c9860a69d67a3dae53\\n);\\nuint256 constant BulkOrder_Typehash_Height_Twelve = (\\n 0xbb98d87cc12922b83759626c5f07d72266da9702d19ffad6a514c73a89002f5f\\n);\\nuint256 constant BulkOrder_Typehash_Height_Thirteen = (\\n 0xe6ae19322608dd1f8a8d56aab48ed9c28be489b689f4b6c91268563efc85f20e\\n);\\nuint256 constant BulkOrder_Typehash_Height_Fourteen = (\\n 0x6b5b04cbae4fcb1a9d78e7b2dfc51a36933d023cf6e347e03d517b472a852590\\n);\\nuint256 constant BulkOrder_Typehash_Height_Fifteen = (\\n 0xd1eb68309202b7106b891e109739dbbd334a1817fe5d6202c939e75cf5e35ca9\\n);\\nuint256 constant BulkOrder_Typehash_Height_Sixteen = (\\n 0x1da3eed3ecef6ebaa6e5023c057ec2c75150693fd0dac5c90f4a142f9879fde8\\n);\\nuint256 constant BulkOrder_Typehash_Height_Seventeen = (\\n 0xeee9a1392aa395c7002308119a58f2582777a75e54e0c1d5d5437bd2e8bf6222\\n);\\nuint256 constant BulkOrder_Typehash_Height_Eighteen = (\\n 0xc3939feff011e53ab8c35ca3370aad54c5df1fc2938cd62543174fa6e7d85877\\n);\\nuint256 constant BulkOrder_Typehash_Height_Nineteen = (\\n 0x0efca7572ac20f5ae84db0e2940674f7eca0a4726fa1060ffc2d18cef54b203d\\n);\\nuint256 constant BulkOrder_Typehash_Height_Twenty = (\\n 0x5a4f867d3d458dabecad65f6201ceeaba0096df2d0c491cc32e6ea4e64350017\\n);\\nuint256 constant BulkOrder_Typehash_Height_TwentyOne = (\\n 0x80987079d291feebf21c2230e69add0f283cee0b8be492ca8050b4185a2ff719\\n);\\nuint256 constant BulkOrder_Typehash_Height_TwentyTwo = (\\n 0x3bd8cff538aba49a9c374c806d277181e9651624b3e31111bc0624574f8bca1d\\n);\\nuint256 constant BulkOrder_Typehash_Height_TwentyThree = (\\n 0x5d6a3f098a0bc373f808c619b1bb4028208721b3c4f8d6bc8a874d659814eb76\\n);\\nuint256 constant BulkOrder_Typehash_Height_TwentyFour = (\\n 0x1d51df90cba8de7637ca3e8fe1e3511d1dc2f23487d05dbdecb781860c21ac1c\\n);\\n\\nuint256 constant receivedItemsHash_ptr = 0x60;\\n\\n/*\\n * Memory layout in _prepareBasicFulfillmentFromCalldata of\\n * data for OrderFulfilled\\n *\\n * event OrderFulfilled(\\n * bytes32 orderHash,\\n * address indexed offerer,\\n * address indexed zone,\\n * address fulfiller,\\n * SpentItem[] offer,\\n * > (itemType, token, id, amount)\\n * ReceivedItem[] consideration\\n * > (itemType, token, id, amount, recipient)\\n * )\\n *\\n * - 0x00: orderHash\\n * - 0x20: fulfiller\\n * - 0x40: offer offset (0x80)\\n * - 0x60: consideration offset (0x120)\\n * - 0x80: offer.length (1)\\n * - 0xa0: offerItemType\\n * - 0xc0: offerToken\\n * - 0xe0: offerIdentifier\\n * - 0x100: offerAmount\\n * - 0x120: consideration.length (1 + additionalRecipients.length)\\n * - 0x140: considerationItemType\\n * - 0x160: considerationToken\\n * - 0x180: considerationIdentifier\\n * - 0x1a0: considerationAmount\\n * - 0x1c0: considerationRecipient\\n * - ...\\n */\\n\\n// Minimum length of the OrderFulfilled event data.\\n// Must be added to the size of the ReceivedItem array for additionalRecipients\\n// (0xa0 * additionalRecipients.length) to calculate full size of the buffer.\\nuint256 constant OrderFulfilled_baseSize = 0x1e0;\\nuint256 constant OrderFulfilled_selector = (\\n 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31\\n);\\n\\n// Minimum offset in memory to OrderFulfilled event data.\\n// Must be added to the size of the EIP712 hash array for additionalRecipients\\n// (32 * additionalRecipients.length) to calculate the pointer to event data.\\nuint256 constant OrderFulfilled_baseOffset = 0x180;\\nuint256 constant OrderFulfilled_consideration_length_baseOffset = 0x2a0;\\nuint256 constant OrderFulfilled_offer_length_baseOffset = 0x200;\\n\\n// Related constants used for restricted order checks on basic orders.\\nuint256 constant OrderFulfilled_baseDataSize = 0x160;\\n// uint256 constant ValidateOrder_offerDataOffset = 0x184;\\n// uint256 constant RatifyOrder_offerDataOffset = 0xc4;\\n\\n// uint256 constant OrderFulfilled_orderHash_offset = 0x00;\\nuint256 constant OrderFulfilled_fulfiller_offset = 0x20;\\nuint256 constant OrderFulfilled_offer_head_offset = 0x40;\\nuint256 constant OrderFulfilled_offer_body_offset = 0x80;\\nuint256 constant OrderFulfilled_consideration_head_offset = 0x60;\\nuint256 constant OrderFulfilled_consideration_body_offset = 0x120;\\n\\n// BasicOrderParameters\\nuint256 constant BasicOrder_parameters_cdPtr = 0x04;\\nuint256 constant BasicOrder_considerationToken_cdPtr = 0x24;\\nuint256 constant BasicOrder_considerationIdentifier_cdPtr = 0x44;\\nuint256 constant BasicOrder_considerationAmount_cdPtr = 0x64;\\nuint256 constant BasicOrder_offerer_cdPtr = 0x84;\\nuint256 constant BasicOrder_zone_cdPtr = 0xa4;\\nuint256 constant BasicOrder_offerToken_cdPtr = 0xc4;\\nuint256 constant BasicOrder_offerIdentifier_cdPtr = 0xe4;\\nuint256 constant BasicOrder_offerAmount_cdPtr = 0x104;\\nuint256 constant BasicOrder_basicOrderType_cdPtr = 0x124;\\nuint256 constant BasicOrder_startTime_cdPtr = 0x144;\\nuint256 constant BasicOrder_endTime_cdPtr = 0x164;\\n// uint256 constant BasicOrder_zoneHash_cdPtr = 0x184;\\n// uint256 constant BasicOrder_salt_cdPtr = 0x1a4;\\nuint256 constant BasicOrder_offererConduit_cdPtr = 0x1c4;\\nuint256 constant BasicOrder_fulfillerConduit_cdPtr = 0x1e4;\\nuint256 constant BasicOrder_totalOriginalAdditionalRecipients_cdPtr = 0x204;\\nuint256 constant BasicOrder_additionalRecipients_head_cdPtr = 0x224;\\nuint256 constant BasicOrder_signature_cdPtr = 0x244;\\nuint256 constant BasicOrder_additionalRecipients_length_cdPtr = 0x264;\\nuint256 constant BasicOrder_additionalRecipients_data_cdPtr = 0x284;\\nuint256 constant BasicOrder_parameters_ptr = 0x20;\\nuint256 constant BasicOrder_basicOrderType_range = 0x18; // 24 values\\n\\n/*\\n * Memory layout in _prepareBasicFulfillmentFromCalldata of\\n * EIP712 data for ConsiderationItem\\n * - 0x80: ConsiderationItem EIP-712 typehash (constant)\\n * - 0xa0: itemType\\n * - 0xc0: token\\n * - 0xe0: identifier\\n * - 0x100: startAmount\\n * - 0x120: endAmount\\n * - 0x140: recipient\\n */\\nuint256 constant BasicOrder_considerationItem_typeHash_ptr = 0x80; // memoryPtr\\nuint256 constant BasicOrder_considerationItem_itemType_ptr = 0xa0;\\nuint256 constant BasicOrder_considerationItem_token_ptr = 0xc0;\\nuint256 constant BasicOrder_considerationItem_identifier_ptr = 0xe0;\\nuint256 constant BasicOrder_considerationItem_startAmount_ptr = 0x100;\\nuint256 constant BasicOrder_considerationItem_endAmount_ptr = 0x120;\\n// uint256 constant BasicOrder_considerationItem_recipient_ptr = 0x140;\\n\\n/*\\n * Memory layout in _prepareBasicFulfillmentFromCalldata of\\n * EIP712 data for OfferItem\\n * - 0x80: OfferItem EIP-712 typehash (constant)\\n * - 0xa0: itemType\\n * - 0xc0: token\\n * - 0xe0: identifier (reused for offeredItemsHash)\\n * - 0x100: startAmount\\n * - 0x120: endAmount\\n */\\nuint256 constant BasicOrder_offerItem_typeHash_ptr = 0x80;\\nuint256 constant BasicOrder_offerItem_itemType_ptr = 0xa0;\\nuint256 constant BasicOrder_offerItem_token_ptr = 0xc0;\\n// uint256 constant BasicOrder_offerItem_identifier_ptr = 0xe0;\\n// uint256 constant BasicOrder_offerItem_startAmount_ptr = 0x100;\\nuint256 constant BasicOrder_offerItem_endAmount_ptr = 0x120;\\n\\n/*\\n * Memory layout in _prepareBasicFulfillmentFromCalldata of\\n * EIP712 data for Order\\n * - 0x80: Order EIP-712 typehash (constant)\\n * - 0xa0: orderParameters.offerer\\n * - 0xc0: orderParameters.zone\\n * - 0xe0: keccak256(abi.encodePacked(offerHashes))\\n * - 0x100: keccak256(abi.encodePacked(considerationHashes))\\n * - 0x120: orderType\\n * - 0x140: startTime\\n * - 0x160: endTime\\n * - 0x180: zoneHash\\n * - 0x1a0: salt\\n * - 0x1c0: conduit\\n * - 0x1e0: _counters[orderParameters.offerer] (from storage)\\n */\\nuint256 constant BasicOrder_order_typeHash_ptr = 0x80;\\nuint256 constant BasicOrder_order_offerer_ptr = 0xa0;\\n// uint256 constant BasicOrder_order_zone_ptr = 0xc0;\\nuint256 constant BasicOrder_order_offerHashes_ptr = 0xe0;\\nuint256 constant BasicOrder_order_considerationHashes_ptr = 0x100;\\nuint256 constant BasicOrder_order_orderType_ptr = 0x120;\\nuint256 constant BasicOrder_order_startTime_ptr = 0x140;\\n// uint256 constant BasicOrder_order_endTime_ptr = 0x160;\\n// uint256 constant BasicOrder_order_zoneHash_ptr = 0x180;\\n// uint256 constant BasicOrder_order_salt_ptr = 0x1a0;\\n// uint256 constant BasicOrder_order_conduitKey_ptr = 0x1c0;\\nuint256 constant BasicOrder_order_counter_ptr = 0x1e0;\\nuint256 constant BasicOrder_additionalRecipients_head_ptr = 0x240;\\nuint256 constant BasicOrder_signature_ptr = 0x260;\\nuint256 constant BasicOrder_startTimeThroughZoneHash_size = 0x60;\\n\\nuint256 constant ContractOrder_orderHash_offerer_shift = 0x60;\\n\\nuint256 constant Counter_blockhash_shift = 0x80;\\n\\n// Signature-related\\nbytes32 constant EIP2098_allButHighestBitMask = (\\n 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\\n);\\nbytes32 constant ECDSA_twentySeventhAndTwentyEighthBytesSet = (\\n 0x0000000000000000000000000000000000000000000000000000000101000000\\n);\\nuint256 constant ECDSA_MaxLength = 65;\\nuint256 constant ECDSA_signature_s_offset = 0x40;\\nuint256 constant ECDSA_signature_v_offset = 0x60;\\n\\nbytes32 constant EIP1271_isValidSignature_selector = (\\n 0x1626ba7e00000000000000000000000000000000000000000000000000000000\\n);\\nuint256 constant EIP1271_isValidSignature_digest_negativeOffset = 0x40;\\nuint256 constant EIP1271_isValidSignature_selector_negativeOffset = 0x44;\\nuint256 constant EIP1271_isValidSignature_calldata_baseLength = 0x64;\\nuint256 constant EIP1271_isValidSignature_signature_head_offset = 0x40;\\n\\nuint256 constant EIP_712_PREFIX = (\\n 0x1901000000000000000000000000000000000000000000000000000000000000\\n);\\n\\nuint256 constant ExtraGasBuffer = 0x20;\\nuint256 constant CostPerWord = 0x3;\\nuint256 constant MemoryExpansionCoefficientShift = 0x9;\\n\\nuint256 constant Create2AddressDerivation_ptr = 0x0b;\\nuint256 constant Create2AddressDerivation_length = 0x55;\\n\\nuint256 constant MaskOverByteTwelve = (\\n 0x0000000000000000000000ff0000000000000000000000000000000000000000\\n);\\nuint256 constant MaskOverLastTwentyBytes = (\\n 0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff\\n);\\nuint256 constant AddressDirtyUpperBitThreshold = (\\n 0x0000000000000000000000010000000000000000000000000000000000000000\\n);\\nuint256 constant MaskOverFirstFourBytes = (\\n 0xffffffff00000000000000000000000000000000000000000000000000000000\\n);\\n\\nuint256 constant Conduit_execute_signature = (\\n 0x4ce34aa200000000000000000000000000000000000000000000000000000000\\n);\\n\\nuint256 constant MaxUint8 = 0xff;\\nuint256 constant MaxUint120 = 0xffffffffffffffffffffffffffffff;\\n\\nuint256 constant Conduit_execute_ConduitTransfer_ptr = 0x20;\\nuint256 constant Conduit_execute_ConduitTransfer_length = 0x01;\\nuint256 constant Conduit_execute_ConduitTransfer_offset_ptr = 0x04;\\nuint256 constant Conduit_execute_ConduitTransfer_length_ptr = 0x24;\\nuint256 constant Conduit_execute_transferItemType_ptr = 0x44;\\nuint256 constant Conduit_execute_transferToken_ptr = 0x64;\\nuint256 constant Conduit_execute_transferFrom_ptr = 0x84;\\nuint256 constant Conduit_execute_transferTo_ptr = 0xa4;\\nuint256 constant Conduit_execute_transferIdentifier_ptr = 0xc4;\\nuint256 constant Conduit_execute_transferAmount_ptr = 0xe4;\\n\\nuint256 constant OneConduitExecute_size = 0x104;\\n\\n// Sentinel value to indicate that the conduit accumulator is not armed.\\nuint256 constant AccumulatorDisarmed = 0x20;\\nuint256 constant AccumulatorArmed = 0x40;\\nuint256 constant Accumulator_conduitKey_ptr = 0x20;\\nuint256 constant Accumulator_selector_ptr = 0x40;\\nuint256 constant Accumulator_array_offset_ptr = 0x44;\\nuint256 constant Accumulator_array_length_ptr = 0x64;\\nuint256 constant Accumulator_itemSizeOffsetDifference = 0x3c;\\nuint256 constant Accumulator_array_offset = 0x20;\\n\\nuint256 constant Conduit_transferItem_size = 0xc0;\\nuint256 constant Conduit_transferItem_token_ptr = 0x20;\\nuint256 constant Conduit_transferItem_from_ptr = 0x40;\\nuint256 constant Conduit_transferItem_to_ptr = 0x60;\\nuint256 constant Conduit_transferItem_identifier_ptr = 0x80;\\nuint256 constant Conduit_transferItem_amount_ptr = 0xa0;\\n\\nuint256 constant Ecrecover_precompile = 0x1;\\nuint256 constant Ecrecover_args_size = 0x80;\\nuint256 constant Signature_lower_v = 27;\\n\\n// Bitmask that only gives a non-zero value if masked with a non-match selector.\\nuint256 constant NonMatchSelector_MagicMask = (\\n 0x4000000000000000000000000000000000000000000000000000000000\\n);\\n\\n// First bit indicates that a NATIVE offer items has been used and the 231st bit\\n// indicates that a non match selector has been called.\\nuint256 constant NonMatchSelector_InvalidErrorValue = (\\n 0x4000000000000000000000000000000000000000000000000000000001\\n);\\n\\n/**\\n * @dev Selector and offsets for generateOrder\\n *\\n * function generateOrder(\\n * address fulfiller,\\n * SpentItem[] calldata minimumReceived,\\n * SpentItem[] calldata maximumSpent,\\n * bytes calldata context\\n * )\\n */\\nuint256 constant generateOrder_selector = 0x98919765;\\nuint256 constant generateOrder_selector_offset = 0x1c;\\nuint256 constant generateOrder_head_offset = 0x04;\\nuint256 constant generateOrder_minimumReceived_head_offset = 0x20;\\nuint256 constant generateOrder_maximumSpent_head_offset = 0x40;\\nuint256 constant generateOrder_context_head_offset = 0x60;\\nuint256 constant generateOrder_base_tail_offset = 0x80;\\nuint256 constant generateOrder_maximum_returndatasize = 0xffff;\\n\\nuint256 constant ratifyOrder_selector = 0xf4dd92ce;\\nuint256 constant ratifyOrder_selector_offset = 0x1c;\\nuint256 constant ratifyOrder_head_offset = 0x04;\\n// uint256 constant ratifyOrder_offer_head_offset = 0x00;\\nuint256 constant ratifyOrder_consideration_head_offset = 0x20;\\nuint256 constant ratifyOrder_context_head_offset = 0x40;\\nuint256 constant ratifyOrder_orderHashes_head_offset = 0x60;\\nuint256 constant ratifyOrder_contractNonce_offset = 0x80;\\nuint256 constant ratifyOrder_base_tail_offset = 0xa0;\\n\\nuint256 constant validateOrder_selector = 0x17b1f942;\\nuint256 constant validateOrder_selector_offset = 0x1c;\\nuint256 constant validateOrder_head_offset = 0x04;\\nuint256 constant validateOrder_zoneParameters_offset = 0x20;\\n\\n// uint256 constant ZoneParameters_orderHash_offset = 0x00;\\nuint256 constant ZoneParameters_fulfiller_offset = 0x20;\\nuint256 constant ZoneParameters_offerer_offset = 0x40;\\nuint256 constant ZoneParameters_offer_head_offset = 0x60;\\nuint256 constant ZoneParameters_consideration_head_offset = 0x80;\\nuint256 constant ZoneParameters_extraData_head_offset = 0xa0;\\nuint256 constant ZoneParameters_orderHashes_head_offset = 0xc0;\\nuint256 constant ZoneParameters_startTime_offset = 0xe0;\\nuint256 constant ZoneParameters_endTime_offset = 0x100;\\nuint256 constant ZoneParameters_zoneHash_offset = 0x120;\\nuint256 constant ZoneParameters_base_tail_offset = 0x140;\\nuint256 constant ZoneParameters_selectorAndPointer_length = 0x24;\\nuint256 constant ZoneParameters_basicOrderFixedElements_length = 0x64;\\n\\n// ConsiderationDecoder Constants\\nuint256 constant OrderParameters_head_size = 0x0160;\\nuint256 constant OrderParameters_totalOriginalConsiderationItems_offset = (\\n 0x0140\\n);\\nuint256 constant AdvancedOrderPlusOrderParameters_head_size = 0x0200;\\n\\nuint256 constant Order_signature_offset = 0x20;\\nuint256 constant Order_head_size = 0x40;\\n\\nuint256 constant AdvancedOrder_fixed_segment_0 = 0x40;\\n\\nuint256 constant CriteriaResolver_head_size = 0xa0;\\nuint256 constant CriteriaResolver_fixed_segment_0 = 0x80;\\nuint256 constant CriteriaResolver_criteriaProof_offset = 0x80;\\n\\nuint256 constant FulfillmentComponent_mem_tail_size = 0x40;\\nuint256 constant FulfillmentComponent_mem_tail_size_shift = 0x6;\\nuint256 constant Fulfillment_head_size = 0x40;\\nuint256 constant Fulfillment_considerationComponents_offset = 0x20;\\n\\nuint256 constant OrderComponents_OrderParameters_common_head_size = 0x0140;\\n\"\r\n },\r\n \"contracts/interfaces/ConsiderationInterface.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport {\\n AdvancedOrder,\\n BasicOrderParameters,\\n CriteriaResolver,\\n Execution,\\n Fulfillment,\\n FulfillmentComponent,\\n Order,\\n OrderComponents\\n} from \\\"../lib/ConsiderationStructs.sol\\\";\\n\\n/**\\n * @title ConsiderationInterface\\n * @author 0age\\n * @custom:version 1.5\\n * @notice Consideration is a generalized native token/ERC20/ERC721/ERC1155\\n * marketplace. It minimizes external calls to the greatest extent\\n * possible and provides lightweight methods for common routes as well\\n * as more flexible methods for composing advanced orders.\\n *\\n * @dev ConsiderationInterface contains all external function interfaces for\\n * Consideration.\\n */\\ninterface ConsiderationInterface {\\n /**\\n * @notice Fulfill an order offering an ERC721 token by supplying Ether (or\\n * the native token for the given chain) as consideration for the\\n * order. An arbitrary number of \\\"additional recipients\\\" may also be\\n * supplied which will each receive native tokens from the fulfiller\\n * as consideration.\\n *\\n * @param parameters Additional information on the fulfilled order. Note\\n * that the offerer must first approve this contract (or\\n * their preferred conduit if indicated by the order) for\\n * their offered ERC721 token to be transferred.\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillBasicOrder(\\n BasicOrderParameters calldata parameters\\n ) external payable returns (bool fulfilled);\\n\\n /**\\n * @notice Fulfill an order with an arbitrary number of items for offer and\\n * consideration. Note that this function does not support\\n * criteria-based orders or partial filling of orders (though\\n * filling the remainder of a partially-filled order is supported).\\n *\\n * @param order The order to fulfill. Note that both the\\n * offerer and the fulfiller must first approve\\n * this contract (or the corresponding conduit if\\n * indicated) to transfer any relevant tokens on\\n * their behalf and that contracts must implement\\n * `onERC1155Received` to receive ERC1155 tokens\\n * as consideration.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit, if\\n * any, to source the fulfiller's token approvals\\n * from. The zero hash signifies that no conduit\\n * should be used, with direct approvals set on\\n * Consideration.\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillOrder(\\n Order calldata order,\\n bytes32 fulfillerConduitKey\\n ) external payable returns (bool fulfilled);\\n\\n /**\\n * @notice Fill an order, fully or partially, with an arbitrary number of\\n * items for offer and consideration alongside criteria resolvers\\n * containing specific token identifiers and associated proofs.\\n *\\n * @param advancedOrder The order to fulfill along with the fraction\\n * of the order to attempt to fill. Note that\\n * both the offerer and the fulfiller must first\\n * approve this contract (or their preferred\\n * conduit if indicated by the order) to transfer\\n * any relevant tokens on their behalf and that\\n * contracts must implement `onERC1155Received`\\n * to receive ERC1155 tokens as consideration.\\n * Also note that all offer and consideration\\n * components must have no remainder after\\n * multiplication of the respective amount with\\n * the supplied fraction for the partial fill to\\n * be considered valid.\\n * @param criteriaResolvers An array where each element contains a\\n * reference to a specific offer or\\n * consideration, a token identifier, and a proof\\n * that the supplied token identifier is\\n * contained in the merkle root held by the item\\n * in question's criteria element. Note that an\\n * empty criteria indicates that any\\n * (transferable) token identifier on the token\\n * in question is valid and that no associated\\n * proof needs to be supplied.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit, if\\n * any, to source the fulfiller's token approvals\\n * from. The zero hash signifies that no conduit\\n * should be used, with direct approvals set on\\n * Consideration.\\n * @param recipient The intended recipient for all received items,\\n * with `address(0)` indicating that the caller\\n * should receive the items.\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillAdvancedOrder(\\n AdvancedOrder calldata advancedOrder,\\n CriteriaResolver[] calldata criteriaResolvers,\\n bytes32 fulfillerConduitKey,\\n address recipient\\n ) external payable returns (bool fulfilled);\\n\\n /**\\n * @notice Attempt to fill a group of orders, each with an arbitrary number\\n * of items for offer and consideration. Any order that is not\\n * currently active, has already been fully filled, or has been\\n * cancelled will be omitted. Remaining offer and consideration\\n * items will then be aggregated where possible as indicated by the\\n * supplied offer and consideration component arrays and aggregated\\n * items will be transferred to the fulfiller or to each intended\\n * recipient, respectively. Note that a failing item transfer or an\\n * issue with order formatting will cause the entire batch to fail.\\n * Note that this function does not support criteria-based orders or\\n * partial filling of orders (though filling the remainder of a\\n * partially-filled order is supported).\\n *\\n * @param orders The orders to fulfill. Note that both\\n * the offerer and the fulfiller must first\\n * approve this contract (or the\\n * corresponding conduit if indicated) to\\n * transfer any relevant tokens on their\\n * behalf and that contracts must implement\\n * `onERC1155Received` to receive ERC1155\\n * tokens as consideration.\\n * @param offerFulfillments An array of FulfillmentComponent arrays\\n * indicating which offer items to attempt\\n * to aggregate when preparing executions.\\n * @param considerationFulfillments An array of FulfillmentComponent arrays\\n * indicating which consideration items to\\n * attempt to aggregate when preparing\\n * executions.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit,\\n * if any, to source the fulfiller's token\\n * approvals from. The zero hash signifies\\n * that no conduit should be used, with\\n * direct approvals set on this contract.\\n * @param maximumFulfilled The maximum number of orders to fulfill.\\n *\\n * @return availableOrders An array of booleans indicating if each order\\n * with an index corresponding to the index of the\\n * returned boolean was fulfillable or not.\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders. Note that unspent offer item amounts or\\n * native tokens will not be reflected as part of\\n * this array.\\n */\\n function fulfillAvailableOrders(\\n Order[] calldata orders,\\n FulfillmentComponent[][] calldata offerFulfillments,\\n FulfillmentComponent[][] calldata considerationFulfillments,\\n bytes32 fulfillerConduitKey,\\n uint256 maximumFulfilled\\n )\\n external\\n payable\\n returns (bool[] memory availableOrders, Execution[] memory executions);\\n\\n /**\\n * @notice Attempt to fill a group of orders, fully or partially, with an\\n * arbitrary number of items for offer and consideration per order\\n * alongside criteria resolvers containing specific token\\n * identifiers and associated proofs. Any order that is not\\n * currently active, has already been fully filled, or has been\\n * cancelled will be omitted. Remaining offer and consideration\\n * items will then be aggregated where possible as indicated by the\\n * supplied offer and consideration component arrays and aggregated\\n * items will be transferred to the fulfiller or to each intended\\n * recipient, respectively. Note that a failing item transfer or an\\n * issue with order formatting will cause the entire batch to fail.\\n *\\n * @param advancedOrders The orders to fulfill along with the\\n * fraction of those orders to attempt to\\n * fill. Note that both the offerer and the\\n * fulfiller must first approve this\\n * contract (or their preferred conduit if\\n * indicated by the order) to transfer any\\n * relevant tokens on their behalf and that\\n * contracts must implement\\n * `onERC1155Received` to enable receipt of\\n * ERC1155 tokens as consideration. Also\\n * note that all offer and consideration\\n * components must have no remainder after\\n * multiplication of the respective amount\\n * with the supplied fraction for an\\n * order's partial fill amount to be\\n * considered valid.\\n * @param criteriaResolvers An array where each element contains a\\n * reference to a specific offer or\\n * consideration, a token identifier, and a\\n * proof that the supplied token identifier\\n * is contained in the merkle root held by\\n * the item in question's criteria element.\\n * Note that an empty criteria indicates\\n * that any (transferable) token\\n * identifier on the token in question is\\n * valid and that no associated proof needs\\n * to be supplied.\\n * @param offerFulfillments An array of FulfillmentComponent arrays\\n * indicating which offer items to attempt\\n * to aggregate when preparing executions.\\n * @param considerationFulfillments An array of FulfillmentComponent arrays\\n * indicating which consideration items to\\n * attempt to aggregate when preparing\\n * executions.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit,\\n * if any, to source the fulfiller's token\\n * approvals from. The zero hash signifies\\n * that no conduit should be used, with\\n * direct approvals set on this contract.\\n * @param recipient The intended recipient for all received\\n * items, with `address(0)` indicating that\\n * the caller should receive the items.\\n * @param maximumFulfilled The maximum number of orders to fulfill.\\n *\\n * @return availableOrders An array of booleans indicating if each order\\n * with an index corresponding to the index of the\\n * returned boolean was fulfillable or not.\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders. Note that unspent offer item amounts or\\n * native tokens will not be reflected as part of\\n * this array.\\n */\\n function fulfillAvailableAdvancedOrders(\\n AdvancedOrder[] calldata advancedOrders,\\n CriteriaResolver[] calldata criteriaResolvers,\\n FulfillmentComponent[][] calldata offerFulfillments,\\n FulfillmentComponent[][] calldata considerationFulfillments,\\n bytes32 fulfillerConduitKey,\\n address recipient,\\n uint256 maximumFulfilled\\n )\\n external\\n payable\\n returns (bool[] memory availableOrders, Execution[] memory executions);\\n\\n /**\\n * @notice Match an arbitrary number of orders, each with an arbitrary\\n * number of items for offer and consideration along with a set of\\n * fulfillments allocating offer components to consideration\\n * components. Note that this function does not support\\n * criteria-based or partial filling of orders (though filling the\\n * remainder of a partially-filled order is supported). Any unspent\\n * offer item amounts or native tokens will be transferred to the\\n * caller.\\n *\\n * @param orders The orders to match. Note that both the offerer and\\n * fulfiller on each order must first approve this\\n * contract (or their conduit if indicated by the order)\\n * to transfer any relevant tokens on their behalf and\\n * each consideration recipient must implement\\n * `onERC1155Received` to enable ERC1155 token receipt.\\n * @param fulfillments An array of elements allocating offer components to\\n * consideration components. Note that each\\n * consideration component must be fully met for the\\n * match operation to be valid.\\n *\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders. Note that unspent offer item amounts or\\n * native tokens will not be reflected as part of this\\n * array.\\n */\\n function matchOrders(\\n Order[] calldata orders,\\n Fulfillment[] calldata fulfillments\\n ) external payable returns (Execution[] memory executions);\\n\\n /**\\n * @notice Match an arbitrary number of full or partial orders, each with an\\n * arbitrary number of items for offer and consideration, supplying\\n * criteria resolvers containing specific token identifiers and\\n * associated proofs as well as fulfillments allocating offer\\n * components to consideration components. Any unspent offer item\\n * amounts will be transferred to the designated recipient (with the\\n * null address signifying to use the caller) and any unspent native\\n * tokens will be returned to the caller.\\n *\\n * @param orders The advanced orders to match. Note that both the\\n * offerer and fulfiller on each order must first\\n * approve this contract (or a preferred conduit if\\n * indicated by the order) to transfer any relevant\\n * tokens on their behalf and each consideration\\n * recipient must implement `onERC1155Received` in\\n * order to receive ERC1155 tokens. Also note that\\n * the offer and consideration components for each\\n * order must have no remainder after multiplying\\n * the respective amount with the supplied fraction\\n * in order for the group of partial fills to be\\n * considered valid.\\n * @param criteriaResolvers An array where each element contains a reference\\n * to a specific order as well as that order's\\n * offer or consideration, a token identifier, and\\n * a proof that the supplied token identifier is\\n * contained in the order's merkle root. Note that\\n * an empty root indicates that any (transferable)\\n * token identifier is valid and that no associated\\n * proof needs to be supplied.\\n * @param fulfillments An array of elements allocating offer components\\n * to consideration components. Note that each\\n * consideration component must be fully met in\\n * order for the match operation to be valid.\\n * @param recipient The intended recipient for all unspent offer\\n * item amounts, or the caller if the null address\\n * is supplied.\\n *\\n * @return executions An array of elements indicating the sequence of\\n * transfers performed as part of matching the given\\n * orders. Note that unspent offer item amounts or native\\n * tokens will not be reflected as part of this array.\\n */\\n function matchAdvancedOrders(\\n AdvancedOrder[] calldata orders,\\n CriteriaResolver[] calldata criteriaResolvers,\\n Fulfillment[] calldata fulfillments,\\n address recipient\\n ) external payable returns (Execution[] memory executions);\\n\\n /**\\n * @notice Cancel an arbitrary number of orders. Note that only the offerer\\n * or the zone of a given order may cancel it. Callers should ensure\\n * that the intended order was cancelled by calling `getOrderStatus`\\n * and confirming that `isCancelled` returns `true`.\\n *\\n * @param orders The orders to cancel.\\n *\\n * @return cancelled A boolean indicating whether the supplied orders have\\n * been successfully cancelled.\\n */\\n function cancel(\\n OrderComponents[] calldata orders\\n ) external returns (bool cancelled);\\n\\n /**\\n * @notice Validate an arbitrary number of orders, thereby registering their\\n * signatures as valid and allowing the fulfiller to skip signature\\n * verification on fulfillment. Note that validated orders may still\\n * be unfulfillable due to invalid item amounts or other factors;\\n * callers should determine whether validated orders are fulfillable\\n * by simulating the fulfillment call prior to execution. Also note\\n * that anyone can validate a signed order, but only the offerer can\\n * validate an order without supplying a signature.\\n *\\n * @param orders The orders to validate.\\n *\\n * @return validated A boolean indicating whether the supplied orders have\\n * been successfully validated.\\n */\\n function validate(\\n Order[] calldata orders\\n ) external returns (bool validated);\\n\\n /**\\n * @notice Cancel all orders from a given offerer with a given zone in bulk\\n * by incrementing a counter. Note that only the offerer may\\n * increment the counter.\\n *\\n * @return newCounter The new counter.\\n */\\n function incrementCounter() external returns (uint256 newCounter);\\n\\n /**\\n * @notice Fulfill an order offering an ERC721 token by supplying Ether (or\\n * the native token for the given chain) as consideration for the\\n * order. An arbitrary number of \\\"additional recipients\\\" may also be\\n * supplied which will each receive native tokens from the fulfiller\\n * as consideration. Note that this function costs less gas than\\n * `fulfillBasicOrder` due to the zero bytes in the function\\n * selector (0x00000000) which also results in earlier function\\n * dispatch.\\n *\\n * @param parameters Additional information on the fulfilled order. Note\\n * that the offerer must first approve this contract (or\\n * their preferred conduit if indicated by the order) for\\n * their offered ERC721 token to be transferred.\\n *\\n * @return fulfilled A boolean indicating whether the order has been\\n * successfully fulfilled.\\n */\\n function fulfillBasicOrder_efficient_6GL6yc(\\n BasicOrderParameters calldata parameters\\n ) external payable returns (bool fulfilled);\\n\\n /**\\n * @notice Retrieve the order hash for a given order.\\n *\\n * @param order The components of the order.\\n *\\n * @return orderHash The order hash.\\n */\\n function getOrderHash(\\n OrderComponents calldata order\\n ) external view returns (bytes32 orderHash);\\n\\n /**\\n * @notice Retrieve the status of a given order by hash, including whether\\n * the order has been cancelled or validated and the fraction of the\\n * order that has been filled.\\n *\\n * @param orderHash The order hash in question.\\n *\\n * @return isValidated A boolean indicating whether the order in question\\n * has been validated (i.e. previously approved or\\n * partially filled).\\n * @return isCancelled A boolean indicating whether the order in question\\n * has been cancelled.\\n * @return totalFilled The total portion of the order that has been filled\\n * (i.e. the \\\"numerator\\\").\\n * @return totalSize The total size of the order that is either filled or\\n * unfilled (i.e. the \\\"denominator\\\").\\n */\\n function getOrderStatus(\\n bytes32 orderHash\\n )\\n external\\n view\\n returns (\\n bool isValidated,\\n bool isCancelled,\\n uint256 totalFilled,\\n uint256 totalSize\\n );\\n\\n /**\\n * @notice Retrieve the current counter for a given offerer.\\n *\\n * @param offerer The offerer in question.\\n *\\n * @return counter The current counter.\\n */\\n function getCounter(\\n address offerer\\n ) external view returns (uint256 counter);\\n\\n /**\\n * @notice Retrieve configuration information for this contract.\\n *\\n * @return version The contract version.\\n * @return domainSeparator The domain separator for this contract.\\n * @return conduitController The conduit Controller set for this contract.\\n */\\n function information()\\n external\\n view\\n returns (\\n string memory version,\\n bytes32 domainSeparator,\\n address conduitController\\n );\\n\\n function getContractOffererNonce(\\n address contractOfferer\\n ) external view returns (uint256 nonce);\\n\\n /**\\n * @notice Retrieve the name of this contract.\\n *\\n * @return contractName The name of this contract.\\n */\\n function name() external view returns (string memory contractName);\\n}\\n\"\r\n },\r\n \"contracts/helpers/PointerLibraries.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\ntype CalldataPointer is uint256;\\n\\ntype ReturndataPointer is uint256;\\n\\ntype MemoryPointer is uint256;\\n\\nusing CalldataPointerLib for CalldataPointer global;\\nusing MemoryPointerLib for MemoryPointer global;\\nusing ReturndataPointerLib for ReturndataPointer global;\\n\\nusing CalldataReaders for CalldataPointer global;\\nusing ReturndataReaders for ReturndataPointer global;\\nusing MemoryReaders for MemoryPointer global;\\nusing MemoryWriters for MemoryPointer global;\\n\\nCalldataPointer constant CalldataStart = CalldataPointer.wrap(0x04);\\nMemoryPointer constant FreeMemoryPPtr = MemoryPointer.wrap(0x40);\\nuint256 constant IdentityPrecompileAddress = 0x4;\\nuint256 constant OffsetOrLengthMask = 0xffffffff;\\nuint256 constant _OneWord = 0x20;\\nuint256 constant _FreeMemoryPointerSlot = 0x40;\\n\\n/// @dev Allocates `size` bytes in memory by increasing the free memory pointer\\n/// and returns the memory pointer to the first byte of the allocated region.\\n// (Free functions cannot have visibility.)\\n// solhint-disable-next-line func-visibility\\nfunction malloc(uint256 size) pure returns (MemoryPointer mPtr) {\\n assembly {\\n mPtr := mload(_FreeMemoryPointerSlot)\\n mstore(_FreeMemoryPointerSlot, add(mPtr, size))\\n }\\n}\\n\\n// (Free functions cannot have visibility.)\\n// solhint-disable-next-line func-visibility\\nfunction getFreeMemoryPointer() pure returns (MemoryPointer mPtr) {\\n mPtr = FreeMemoryPPtr.readMemoryPointer();\\n}\\n\\n// (Free functions cannot have visibility.)\\n// solhint-disable-next-line func-visibility\\nfunction setFreeMemoryPointer(MemoryPointer mPtr) pure {\\n FreeMemoryPPtr.write(mPtr);\\n}\\n\\nlibrary CalldataPointerLib {\\n function lt(\\n CalldataPointer a,\\n CalldataPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := lt(a, b)\\n }\\n }\\n\\n function gt(\\n CalldataPointer a,\\n CalldataPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := gt(a, b)\\n }\\n }\\n\\n function eq(\\n CalldataPointer a,\\n CalldataPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := eq(a, b)\\n }\\n }\\n\\n function isNull(CalldataPointer a) internal pure returns (bool b) {\\n assembly {\\n b := iszero(a)\\n }\\n }\\n\\n /// @dev Resolves an offset stored at `cdPtr + headOffset` to a calldata.\\n /// pointer `cdPtr` must point to some parent object with a dynamic\\n /// type's head stored at `cdPtr + headOffset`.\\n function pptr(\\n CalldataPointer cdPtr,\\n uint256 headOffset\\n ) internal pure returns (CalldataPointer cdPtrChild) {\\n cdPtrChild = cdPtr.offset(\\n cdPtr.offset(headOffset).readUint256() & OffsetOrLengthMask\\n );\\n }\\n\\n /// @dev Resolves an offset stored at `cdPtr` to a calldata pointer.\\n /// `cdPtr` must point to some parent object with a dynamic type as its\\n /// first member, e.g. `struct { bytes data; }`\\n function pptr(\\n CalldataPointer cdPtr\\n ) internal pure returns (CalldataPointer cdPtrChild) {\\n cdPtrChild = cdPtr.offset(cdPtr.readUint256() & OffsetOrLengthMask);\\n }\\n\\n /// @dev Returns the calldata pointer one word after `cdPtr`.\\n function next(\\n CalldataPointer cdPtr\\n ) internal pure returns (CalldataPointer cdPtrNext) {\\n assembly {\\n cdPtrNext := add(cdPtr, _OneWord)\\n }\\n }\\n\\n /// @dev Returns the calldata pointer `_offset` bytes after `cdPtr`.\\n function offset(\\n CalldataPointer cdPtr,\\n uint256 _offset\\n ) internal pure returns (CalldataPointer cdPtrNext) {\\n assembly {\\n cdPtrNext := add(cdPtr, _offset)\\n }\\n }\\n\\n /// @dev Copies `size` bytes from calldata starting at `src` to memory at\\n /// `dst`.\\n function copy(\\n CalldataPointer src,\\n MemoryPointer dst,\\n uint256 size\\n ) internal pure {\\n assembly {\\n calldatacopy(dst, src, size)\\n }\\n }\\n}\\n\\nlibrary ReturndataPointerLib {\\n function lt(\\n ReturndataPointer a,\\n ReturndataPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := lt(a, b)\\n }\\n }\\n\\n function gt(\\n ReturndataPointer a,\\n ReturndataPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := gt(a, b)\\n }\\n }\\n\\n function eq(\\n ReturndataPointer a,\\n ReturndataPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := eq(a, b)\\n }\\n }\\n\\n function isNull(ReturndataPointer a) internal pure returns (bool b) {\\n assembly {\\n b := iszero(a)\\n }\\n }\\n\\n /// @dev Resolves an offset stored at `rdPtr + headOffset` to a returndata\\n /// pointer. `rdPtr` must point to some parent object with a dynamic\\n /// type's head stored at `rdPtr + headOffset`.\\n function pptr(\\n ReturndataPointer rdPtr,\\n uint256 headOffset\\n ) internal pure returns (ReturndataPointer rdPtrChild) {\\n rdPtrChild = rdPtr.offset(\\n rdPtr.offset(headOffset).readUint256() & OffsetOrLengthMask\\n );\\n }\\n\\n /// @dev Resolves an offset stored at `rdPtr` to a returndata pointer.\\n /// `rdPtr` must point to some parent object with a dynamic type as its\\n /// first member, e.g. `struct { bytes data; }`\\n function pptr(\\n ReturndataPointer rdPtr\\n ) internal pure returns (ReturndataPointer rdPtrChild) {\\n rdPtrChild = rdPtr.offset(rdPtr.readUint256() & OffsetOrLengthMask);\\n }\\n\\n /// @dev Returns the returndata pointer one word after `cdPtr`.\\n function next(\\n ReturndataPointer rdPtr\\n ) internal pure returns (ReturndataPointer rdPtrNext) {\\n assembly {\\n rdPtrNext := add(rdPtr, _OneWord)\\n }\\n }\\n\\n /// @dev Returns the returndata pointer `_offset` bytes after `cdPtr`.\\n function offset(\\n ReturndataPointer rdPtr,\\n uint256 _offset\\n ) internal pure returns (ReturndataPointer rdPtrNext) {\\n assembly {\\n rdPtrNext := add(rdPtr, _offset)\\n }\\n }\\n\\n /// @dev Copies `size` bytes from returndata starting at `src` to memory at\\n /// `dst`.\\n function copy(\\n ReturndataPointer src,\\n MemoryPointer dst,\\n uint256 size\\n ) internal pure {\\n assembly {\\n returndatacopy(dst, src, size)\\n }\\n }\\n}\\n\\nlibrary MemoryPointerLib {\\n function copy(\\n MemoryPointer src,\\n MemoryPointer dst,\\n uint256 size\\n ) internal view {\\n assembly {\\n let success := staticcall(\\n gas(),\\n IdentityPrecompileAddress,\\n src,\\n size,\\n dst,\\n size\\n )\\n if or(iszero(returndatasize()), iszero(success)) {\\n revert(0, 0)\\n }\\n }\\n }\\n\\n function lt(\\n MemoryPointer a,\\n MemoryPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := lt(a, b)\\n }\\n }\\n\\n function gt(\\n MemoryPointer a,\\n MemoryPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := gt(a, b)\\n }\\n }\\n\\n function eq(\\n MemoryPointer a,\\n MemoryPointer b\\n ) internal pure returns (bool c) {\\n assembly {\\n c := eq(a, b)\\n }\\n }\\n\\n function isNull(MemoryPointer a) internal pure returns (bool b) {\\n assembly {\\n b := iszero(a)\\n }\\n }\\n\\n function hash(\\n MemoryPointer ptr,\\n uint256 length\\n ) internal pure returns (bytes32 _hash) {\\n assembly {\\n _hash := keccak256(ptr, length)\\n }\\n }\\n\\n /// @dev Returns the memory pointer one word after `mPtr`.\\n function next(\\n MemoryPointer mPtr\\n ) internal pure returns (MemoryPointer mPtrNext) {\\n assembly {\\n mPtrNext := add(mPtr, _OneWord)\\n }\\n }\\n\\n /// @dev Returns the memory pointer `_offset` bytes after `mPtr`.\\n function offset(\\n MemoryPointer mPtr,\\n uint256 _offset\\n ) internal pure returns (MemoryPointer mPtrNext) {\\n assembly {\\n mPtrNext := add(mPtr, _offset)\\n }\\n }\\n\\n /// @dev Resolves a pointer at `mPtr + headOffset` to a memory\\n /// pointer. `mPtr` must point to some parent object with a dynamic\\n /// type's pointer stored at `mPtr + headOffset`.\\n function pptr(\\n MemoryPointer mPtr,\\n uint256 headOffset\\n ) internal pure returns (MemoryPointer mPtrChild) {\\n mPtrChild = mPtr.offset(headOffset).readMemoryPointer();\\n }\\n\\n /// @dev Resolves a pointer stored at `mPtr` to a memory pointer.\\n /// `mPtr` must point to some parent object with a dynamic type as its\\n /// first member, e.g. `struct { bytes data; }`\\n function pptr(\\n MemoryPointer mPtr\\n ) internal pure returns (MemoryPointer mPtrChild) {\\n mPtrChild = mPtr.readMemoryPointer();\\n }\\n}\\n\\nlibrary CalldataReaders {\\n /// @dev Reads the value at `cdPtr` and applies a mask to return only the\\n /// last 4 bytes.\\n function readMaskedUint256(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint256 value) {\\n value = cdPtr.readUint256() & OffsetOrLengthMask;\\n }\\n\\n /// @dev Reads the bool at `cdPtr` in calldata.\\n function readBool(\\n CalldataPointer cdPtr\\n ) internal pure returns (bool value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the address at `cdPtr` in calldata.\\n function readAddress(\\n CalldataPointer cdPtr\\n ) internal pure returns (address value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes1 at `cdPtr` in calldata.\\n function readBytes1(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes1 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes2 at `cdPtr` in calldata.\\n function readBytes2(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes2 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes3 at `cdPtr` in calldata.\\n function readBytes3(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes3 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes4 at `cdPtr` in calldata.\\n function readBytes4(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes4 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes5 at `cdPtr` in calldata.\\n function readBytes5(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes5 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes6 at `cdPtr` in calldata.\\n function readBytes6(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes6 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes7 at `cdPtr` in calldata.\\n function readBytes7(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes7 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes8 at `cdPtr` in calldata.\\n function readBytes8(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes8 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes9 at `cdPtr` in calldata.\\n function readBytes9(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes9 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes10 at `cdPtr` in calldata.\\n function readBytes10(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes10 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes11 at `cdPtr` in calldata.\\n function readBytes11(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes11 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes12 at `cdPtr` in calldata.\\n function readBytes12(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes12 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes13 at `cdPtr` in calldata.\\n function readBytes13(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes13 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes14 at `cdPtr` in calldata.\\n function readBytes14(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes14 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes15 at `cdPtr` in calldata.\\n function readBytes15(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes15 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes16 at `cdPtr` in calldata.\\n function readBytes16(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes16 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes17 at `cdPtr` in calldata.\\n function readBytes17(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes17 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes18 at `cdPtr` in calldata.\\n function readBytes18(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes18 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes19 at `cdPtr` in calldata.\\n function readBytes19(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes19 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes20 at `cdPtr` in calldata.\\n function readBytes20(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes20 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes21 at `cdPtr` in calldata.\\n function readBytes21(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes21 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes22 at `cdPtr` in calldata.\\n function readBytes22(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes22 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes23 at `cdPtr` in calldata.\\n function readBytes23(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes23 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes24 at `cdPtr` in calldata.\\n function readBytes24(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes24 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes25 at `cdPtr` in calldata.\\n function readBytes25(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes25 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes26 at `cdPtr` in calldata.\\n function readBytes26(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes26 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes27 at `cdPtr` in calldata.\\n function readBytes27(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes27 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes28 at `cdPtr` in calldata.\\n function readBytes28(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes28 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes29 at `cdPtr` in calldata.\\n function readBytes29(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes29 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes30 at `cdPtr` in calldata.\\n function readBytes30(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes30 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes31 at `cdPtr` in calldata.\\n function readBytes31(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes31 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes32 at `cdPtr` in calldata.\\n function readBytes32(\\n CalldataPointer cdPtr\\n ) internal pure returns (bytes32 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint8 at `cdPtr` in calldata.\\n function readUint8(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint8 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint16 at `cdPtr` in calldata.\\n function readUint16(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint16 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint24 at `cdPtr` in calldata.\\n function readUint24(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint24 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint32 at `cdPtr` in calldata.\\n function readUint32(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint32 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint40 at `cdPtr` in calldata.\\n function readUint40(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint40 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint48 at `cdPtr` in calldata.\\n function readUint48(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint48 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint56 at `cdPtr` in calldata.\\n function readUint56(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint56 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint64 at `cdPtr` in calldata.\\n function readUint64(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint64 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint72 at `cdPtr` in calldata.\\n function readUint72(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint72 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint80 at `cdPtr` in calldata.\\n function readUint80(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint80 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint88 at `cdPtr` in calldata.\\n function readUint88(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint88 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint96 at `cdPtr` in calldata.\\n function readUint96(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint96 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint104 at `cdPtr` in calldata.\\n function readUint104(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint104 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint112 at `cdPtr` in calldata.\\n function readUint112(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint112 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint120 at `cdPtr` in calldata.\\n function readUint120(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint120 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint128 at `cdPtr` in calldata.\\n function readUint128(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint128 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint136 at `cdPtr` in calldata.\\n function readUint136(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint136 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint144 at `cdPtr` in calldata.\\n function readUint144(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint144 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint152 at `cdPtr` in calldata.\\n function readUint152(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint152 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint160 at `cdPtr` in calldata.\\n function readUint160(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint160 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint168 at `cdPtr` in calldata.\\n function readUint168(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint168 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint176 at `cdPtr` in calldata.\\n function readUint176(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint176 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint184 at `cdPtr` in calldata.\\n function readUint184(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint184 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint192 at `cdPtr` in calldata.\\n function readUint192(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint192 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint200 at `cdPtr` in calldata.\\n function readUint200(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint200 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint208 at `cdPtr` in calldata.\\n function readUint208(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint208 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint216 at `cdPtr` in calldata.\\n function readUint216(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint216 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint224 at `cdPtr` in calldata.\\n function readUint224(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint224 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint232 at `cdPtr` in calldata.\\n function readUint232(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint232 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint240 at `cdPtr` in calldata.\\n function readUint240(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint240 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint248 at `cdPtr` in calldata.\\n function readUint248(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint248 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the uint256 at `cdPtr` in calldata.\\n function readUint256(\\n CalldataPointer cdPtr\\n ) internal pure returns (uint256 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int8 at `cdPtr` in calldata.\\n function readInt8(\\n CalldataPointer cdPtr\\n ) internal pure returns (int8 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int16 at `cdPtr` in calldata.\\n function readInt16(\\n CalldataPointer cdPtr\\n ) internal pure returns (int16 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int24 at `cdPtr` in calldata.\\n function readInt24(\\n CalldataPointer cdPtr\\n ) internal pure returns (int24 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int32 at `cdPtr` in calldata.\\n function readInt32(\\n CalldataPointer cdPtr\\n ) internal pure returns (int32 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int40 at `cdPtr` in calldata.\\n function readInt40(\\n CalldataPointer cdPtr\\n ) internal pure returns (int40 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int48 at `cdPtr` in calldata.\\n function readInt48(\\n CalldataPointer cdPtr\\n ) internal pure returns (int48 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int56 at `cdPtr` in calldata.\\n function readInt56(\\n CalldataPointer cdPtr\\n ) internal pure returns (int56 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int64 at `cdPtr` in calldata.\\n function readInt64(\\n CalldataPointer cdPtr\\n ) internal pure returns (int64 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int72 at `cdPtr` in calldata.\\n function readInt72(\\n CalldataPointer cdPtr\\n ) internal pure returns (int72 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int80 at `cdPtr` in calldata.\\n function readInt80(\\n CalldataPointer cdPtr\\n ) internal pure returns (int80 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int88 at `cdPtr` in calldata.\\n function readInt88(\\n CalldataPointer cdPtr\\n ) internal pure returns (int88 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int96 at `cdPtr` in calldata.\\n function readInt96(\\n CalldataPointer cdPtr\\n ) internal pure returns (int96 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int104 at `cdPtr` in calldata.\\n function readInt104(\\n CalldataPointer cdPtr\\n ) internal pure returns (int104 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int112 at `cdPtr` in calldata.\\n function readInt112(\\n CalldataPointer cdPtr\\n ) internal pure returns (int112 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int120 at `cdPtr` in calldata.\\n function readInt120(\\n CalldataPointer cdPtr\\n ) internal pure returns (int120 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int128 at `cdPtr` in calldata.\\n function readInt128(\\n CalldataPointer cdPtr\\n ) internal pure returns (int128 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int136 at `cdPtr` in calldata.\\n function readInt136(\\n CalldataPointer cdPtr\\n ) internal pure returns (int136 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int144 at `cdPtr` in calldata.\\n function readInt144(\\n CalldataPointer cdPtr\\n ) internal pure returns (int144 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int152 at `cdPtr` in calldata.\\n function readInt152(\\n CalldataPointer cdPtr\\n ) internal pure returns (int152 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int160 at `cdPtr` in calldata.\\n function readInt160(\\n CalldataPointer cdPtr\\n ) internal pure returns (int160 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int168 at `cdPtr` in calldata.\\n function readInt168(\\n CalldataPointer cdPtr\\n ) internal pure returns (int168 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int176 at `cdPtr` in calldata.\\n function readInt176(\\n CalldataPointer cdPtr\\n ) internal pure returns (int176 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int184 at `cdPtr` in calldata.\\n function readInt184(\\n CalldataPointer cdPtr\\n ) internal pure returns (int184 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int192 at `cdPtr` in calldata.\\n function readInt192(\\n CalldataPointer cdPtr\\n ) internal pure returns (int192 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int200 at `cdPtr` in calldata.\\n function readInt200(\\n CalldataPointer cdPtr\\n ) internal pure returns (int200 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int208 at `cdPtr` in calldata.\\n function readInt208(\\n CalldataPointer cdPtr\\n ) internal pure returns (int208 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int216 at `cdPtr` in calldata.\\n function readInt216(\\n CalldataPointer cdPtr\\n ) internal pure returns (int216 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int224 at `cdPtr` in calldata.\\n function readInt224(\\n CalldataPointer cdPtr\\n ) internal pure returns (int224 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int232 at `cdPtr` in calldata.\\n function readInt232(\\n CalldataPointer cdPtr\\n ) internal pure returns (int232 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int240 at `cdPtr` in calldata.\\n function readInt240(\\n CalldataPointer cdPtr\\n ) internal pure returns (int240 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int248 at `cdPtr` in calldata.\\n function readInt248(\\n CalldataPointer cdPtr\\n ) internal pure returns (int248 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n\\n /// @dev Reads the int256 at `cdPtr` in calldata.\\n function readInt256(\\n CalldataPointer cdPtr\\n ) internal pure returns (int256 value) {\\n assembly {\\n value := calldataload(cdPtr)\\n }\\n }\\n}\\n\\nlibrary ReturndataReaders {\\n /// @dev Reads value at `rdPtr` & applies a mask to return only last 4 bytes\\n function readMaskedUint256(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint256 value) {\\n value = rdPtr.readUint256() & OffsetOrLengthMask;\\n }\\n\\n /// @dev Reads the bool at `rdPtr` in returndata.\\n function readBool(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bool value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the address at `rdPtr` in returndata.\\n function readAddress(\\n ReturndataPointer rdPtr\\n ) internal pure returns (address value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes1 at `rdPtr` in returndata.\\n function readBytes1(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes1 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes2 at `rdPtr` in returndata.\\n function readBytes2(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes2 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes3 at `rdPtr` in returndata.\\n function readBytes3(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes3 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes4 at `rdPtr` in returndata.\\n function readBytes4(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes4 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes5 at `rdPtr` in returndata.\\n function readBytes5(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes5 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes6 at `rdPtr` in returndata.\\n function readBytes6(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes6 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes7 at `rdPtr` in returndata.\\n function readBytes7(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes7 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes8 at `rdPtr` in returndata.\\n function readBytes8(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes8 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes9 at `rdPtr` in returndata.\\n function readBytes9(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes9 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes10 at `rdPtr` in returndata.\\n function readBytes10(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes10 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes11 at `rdPtr` in returndata.\\n function readBytes11(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes11 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes12 at `rdPtr` in returndata.\\n function readBytes12(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes12 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes13 at `rdPtr` in returndata.\\n function readBytes13(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes13 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes14 at `rdPtr` in returndata.\\n function readBytes14(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes14 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes15 at `rdPtr` in returndata.\\n function readBytes15(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes15 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes16 at `rdPtr` in returndata.\\n function readBytes16(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes16 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes17 at `rdPtr` in returndata.\\n function readBytes17(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes17 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes18 at `rdPtr` in returndata.\\n function readBytes18(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes18 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes19 at `rdPtr` in returndata.\\n function readBytes19(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes19 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes20 at `rdPtr` in returndata.\\n function readBytes20(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes20 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes21 at `rdPtr` in returndata.\\n function readBytes21(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes21 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes22 at `rdPtr` in returndata.\\n function readBytes22(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes22 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes23 at `rdPtr` in returndata.\\n function readBytes23(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes23 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes24 at `rdPtr` in returndata.\\n function readBytes24(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes24 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes25 at `rdPtr` in returndata.\\n function readBytes25(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes25 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes26 at `rdPtr` in returndata.\\n function readBytes26(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes26 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes27 at `rdPtr` in returndata.\\n function readBytes27(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes27 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes28 at `rdPtr` in returndata.\\n function readBytes28(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes28 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes29 at `rdPtr` in returndata.\\n function readBytes29(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes29 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes30 at `rdPtr` in returndata.\\n function readBytes30(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes30 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes31 at `rdPtr` in returndata.\\n function readBytes31(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes31 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the bytes32 at `rdPtr` in returndata.\\n function readBytes32(\\n ReturndataPointer rdPtr\\n ) internal pure returns (bytes32 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint8 at `rdPtr` in returndata.\\n function readUint8(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint8 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint16 at `rdPtr` in returndata.\\n function readUint16(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint16 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint24 at `rdPtr` in returndata.\\n function readUint24(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint24 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint32 at `rdPtr` in returndata.\\n function readUint32(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint32 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint40 at `rdPtr` in returndata.\\n function readUint40(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint40 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint48 at `rdPtr` in returndata.\\n function readUint48(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint48 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint56 at `rdPtr` in returndata.\\n function readUint56(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint56 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint64 at `rdPtr` in returndata.\\n function readUint64(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint64 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint72 at `rdPtr` in returndata.\\n function readUint72(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint72 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint80 at `rdPtr` in returndata.\\n function readUint80(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint80 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint88 at `rdPtr` in returndata.\\n function readUint88(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint88 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint96 at `rdPtr` in returndata.\\n function readUint96(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint96 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint104 at `rdPtr` in returndata.\\n function readUint104(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint104 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint112 at `rdPtr` in returndata.\\n function readUint112(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint112 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint120 at `rdPtr` in returndata.\\n function readUint120(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint120 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint128 at `rdPtr` in returndata.\\n function readUint128(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint128 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint136 at `rdPtr` in returndata.\\n function readUint136(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint136 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint144 at `rdPtr` in returndata.\\n function readUint144(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint144 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint152 at `rdPtr` in returndata.\\n function readUint152(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint152 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint160 at `rdPtr` in returndata.\\n function readUint160(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint160 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint168 at `rdPtr` in returndata.\\n function readUint168(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint168 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint176 at `rdPtr` in returndata.\\n function readUint176(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint176 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint184 at `rdPtr` in returndata.\\n function readUint184(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint184 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint192 at `rdPtr` in returndata.\\n function readUint192(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint192 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint200 at `rdPtr` in returndata.\\n function readUint200(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint200 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint208 at `rdPtr` in returndata.\\n function readUint208(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint208 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint216 at `rdPtr` in returndata.\\n function readUint216(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint216 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint224 at `rdPtr` in returndata.\\n function readUint224(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint224 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint232 at `rdPtr` in returndata.\\n function readUint232(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint232 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint240 at `rdPtr` in returndata.\\n function readUint240(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint240 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint248 at `rdPtr` in returndata.\\n function readUint248(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint248 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the uint256 at `rdPtr` in returndata.\\n function readUint256(\\n ReturndataPointer rdPtr\\n ) internal pure returns (uint256 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int8 at `rdPtr` in returndata.\\n function readInt8(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int8 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int16 at `rdPtr` in returndata.\\n function readInt16(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int16 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int24 at `rdPtr` in returndata.\\n function readInt24(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int24 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int32 at `rdPtr` in returndata.\\n function readInt32(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int32 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int40 at `rdPtr` in returndata.\\n function readInt40(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int40 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int48 at `rdPtr` in returndata.\\n function readInt48(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int48 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int56 at `rdPtr` in returndata.\\n function readInt56(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int56 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int64 at `rdPtr` in returndata.\\n function readInt64(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int64 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int72 at `rdPtr` in returndata.\\n function readInt72(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int72 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int80 at `rdPtr` in returndata.\\n function readInt80(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int80 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int88 at `rdPtr` in returndata.\\n function readInt88(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int88 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int96 at `rdPtr` in returndata.\\n function readInt96(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int96 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int104 at `rdPtr` in returndata.\\n function readInt104(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int104 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int112 at `rdPtr` in returndata.\\n function readInt112(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int112 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int120 at `rdPtr` in returndata.\\n function readInt120(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int120 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int128 at `rdPtr` in returndata.\\n function readInt128(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int128 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int136 at `rdPtr` in returndata.\\n function readInt136(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int136 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int144 at `rdPtr` in returndata.\\n function readInt144(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int144 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int152 at `rdPtr` in returndata.\\n function readInt152(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int152 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int160 at `rdPtr` in returndata.\\n function readInt160(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int160 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int168 at `rdPtr` in returndata.\\n function readInt168(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int168 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int176 at `rdPtr` in returndata.\\n function readInt176(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int176 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int184 at `rdPtr` in returndata.\\n function readInt184(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int184 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int192 at `rdPtr` in returndata.\\n function readInt192(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int192 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int200 at `rdPtr` in returndata.\\n function readInt200(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int200 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int208 at `rdPtr` in returndata.\\n function readInt208(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int208 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int216 at `rdPtr` in returndata.\\n function readInt216(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int216 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int224 at `rdPtr` in returndata.\\n function readInt224(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int224 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int232 at `rdPtr` in returndata.\\n function readInt232(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int232 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int240 at `rdPtr` in returndata.\\n function readInt240(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int240 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int248 at `rdPtr` in returndata.\\n function readInt248(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int248 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n\\n /// @dev Reads the int256 at `rdPtr` in returndata.\\n function readInt256(\\n ReturndataPointer rdPtr\\n ) internal pure returns (int256 value) {\\n assembly {\\n returndatacopy(0, rdPtr, _OneWord)\\n value := mload(0)\\n }\\n }\\n}\\n\\nlibrary MemoryReaders {\\n /// @dev Reads the memory pointer at `mPtr` in memory.\\n function readMemoryPointer(\\n MemoryPointer mPtr\\n ) internal pure returns (MemoryPointer value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads value at `mPtr` & applies a mask to return only last 4 bytes\\n function readMaskedUint256(\\n MemoryPointer mPtr\\n ) internal pure returns (uint256 value) {\\n value = mPtr.readUint256() & OffsetOrLengthMask;\\n }\\n\\n /// @dev Reads the bool at `mPtr` in memory.\\n function readBool(MemoryPointer mPtr) internal pure returns (bool value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the address at `mPtr` in memory.\\n function readAddress(\\n MemoryPointer mPtr\\n ) internal pure returns (address value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes1 at `mPtr` in memory.\\n function readBytes1(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes1 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes2 at `mPtr` in memory.\\n function readBytes2(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes2 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes3 at `mPtr` in memory.\\n function readBytes3(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes3 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes4 at `mPtr` in memory.\\n function readBytes4(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes4 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes5 at `mPtr` in memory.\\n function readBytes5(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes5 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes6 at `mPtr` in memory.\\n function readBytes6(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes6 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes7 at `mPtr` in memory.\\n function readBytes7(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes7 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes8 at `mPtr` in memory.\\n function readBytes8(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes8 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes9 at `mPtr` in memory.\\n function readBytes9(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes9 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes10 at `mPtr` in memory.\\n function readBytes10(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes10 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes11 at `mPtr` in memory.\\n function readBytes11(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes11 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes12 at `mPtr` in memory.\\n function readBytes12(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes12 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes13 at `mPtr` in memory.\\n function readBytes13(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes13 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes14 at `mPtr` in memory.\\n function readBytes14(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes14 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes15 at `mPtr` in memory.\\n function readBytes15(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes15 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes16 at `mPtr` in memory.\\n function readBytes16(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes16 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes17 at `mPtr` in memory.\\n function readBytes17(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes17 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes18 at `mPtr` in memory.\\n function readBytes18(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes18 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes19 at `mPtr` in memory.\\n function readBytes19(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes19 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes20 at `mPtr` in memory.\\n function readBytes20(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes20 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes21 at `mPtr` in memory.\\n function readBytes21(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes21 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes22 at `mPtr` in memory.\\n function readBytes22(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes22 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes23 at `mPtr` in memory.\\n function readBytes23(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes23 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes24 at `mPtr` in memory.\\n function readBytes24(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes24 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes25 at `mPtr` in memory.\\n function readBytes25(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes25 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes26 at `mPtr` in memory.\\n function readBytes26(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes26 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes27 at `mPtr` in memory.\\n function readBytes27(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes27 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes28 at `mPtr` in memory.\\n function readBytes28(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes28 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes29 at `mPtr` in memory.\\n function readBytes29(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes29 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes30 at `mPtr` in memory.\\n function readBytes30(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes30 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes31 at `mPtr` in memory.\\n function readBytes31(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes31 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the bytes32 at `mPtr` in memory.\\n function readBytes32(\\n MemoryPointer mPtr\\n ) internal pure returns (bytes32 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint8 at `mPtr` in memory.\\n function readUint8(MemoryPointer mPtr) internal pure returns (uint8 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint16 at `mPtr` in memory.\\n function readUint16(\\n MemoryPointer mPtr\\n ) internal pure returns (uint16 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint24 at `mPtr` in memory.\\n function readUint24(\\n MemoryPointer mPtr\\n ) internal pure returns (uint24 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint32 at `mPtr` in memory.\\n function readUint32(\\n MemoryPointer mPtr\\n ) internal pure returns (uint32 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint40 at `mPtr` in memory.\\n function readUint40(\\n MemoryPointer mPtr\\n ) internal pure returns (uint40 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint48 at `mPtr` in memory.\\n function readUint48(\\n MemoryPointer mPtr\\n ) internal pure returns (uint48 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint56 at `mPtr` in memory.\\n function readUint56(\\n MemoryPointer mPtr\\n ) internal pure returns (uint56 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint64 at `mPtr` in memory.\\n function readUint64(\\n MemoryPointer mPtr\\n ) internal pure returns (uint64 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint72 at `mPtr` in memory.\\n function readUint72(\\n MemoryPointer mPtr\\n ) internal pure returns (uint72 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint80 at `mPtr` in memory.\\n function readUint80(\\n MemoryPointer mPtr\\n ) internal pure returns (uint80 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint88 at `mPtr` in memory.\\n function readUint88(\\n MemoryPointer mPtr\\n ) internal pure returns (uint88 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint96 at `mPtr` in memory.\\n function readUint96(\\n MemoryPointer mPtr\\n ) internal pure returns (uint96 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint104 at `mPtr` in memory.\\n function readUint104(\\n MemoryPointer mPtr\\n ) internal pure returns (uint104 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint112 at `mPtr` in memory.\\n function readUint112(\\n MemoryPointer mPtr\\n ) internal pure returns (uint112 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint120 at `mPtr` in memory.\\n function readUint120(\\n MemoryPointer mPtr\\n ) internal pure returns (uint120 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint128 at `mPtr` in memory.\\n function readUint128(\\n MemoryPointer mPtr\\n ) internal pure returns (uint128 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint136 at `mPtr` in memory.\\n function readUint136(\\n MemoryPointer mPtr\\n ) internal pure returns (uint136 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint144 at `mPtr` in memory.\\n function readUint144(\\n MemoryPointer mPtr\\n ) internal pure returns (uint144 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint152 at `mPtr` in memory.\\n function readUint152(\\n MemoryPointer mPtr\\n ) internal pure returns (uint152 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint160 at `mPtr` in memory.\\n function readUint160(\\n MemoryPointer mPtr\\n ) internal pure returns (uint160 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint168 at `mPtr` in memory.\\n function readUint168(\\n MemoryPointer mPtr\\n ) internal pure returns (uint168 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint176 at `mPtr` in memory.\\n function readUint176(\\n MemoryPointer mPtr\\n ) internal pure returns (uint176 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint184 at `mPtr` in memory.\\n function readUint184(\\n MemoryPointer mPtr\\n ) internal pure returns (uint184 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint192 at `mPtr` in memory.\\n function readUint192(\\n MemoryPointer mPtr\\n ) internal pure returns (uint192 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint200 at `mPtr` in memory.\\n function readUint200(\\n MemoryPointer mPtr\\n ) internal pure returns (uint200 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint208 at `mPtr` in memory.\\n function readUint208(\\n MemoryPointer mPtr\\n ) internal pure returns (uint208 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint216 at `mPtr` in memory.\\n function readUint216(\\n MemoryPointer mPtr\\n ) internal pure returns (uint216 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint224 at `mPtr` in memory.\\n function readUint224(\\n MemoryPointer mPtr\\n ) internal pure returns (uint224 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint232 at `mPtr` in memory.\\n function readUint232(\\n MemoryPointer mPtr\\n ) internal pure returns (uint232 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint240 at `mPtr` in memory.\\n function readUint240(\\n MemoryPointer mPtr\\n ) internal pure returns (uint240 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint248 at `mPtr` in memory.\\n function readUint248(\\n MemoryPointer mPtr\\n ) internal pure returns (uint248 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the uint256 at `mPtr` in memory.\\n function readUint256(\\n MemoryPointer mPtr\\n ) internal pure returns (uint256 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int8 at `mPtr` in memory.\\n function readInt8(MemoryPointer mPtr) internal pure returns (int8 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int16 at `mPtr` in memory.\\n function readInt16(MemoryPointer mPtr) internal pure returns (int16 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int24 at `mPtr` in memory.\\n function readInt24(MemoryPointer mPtr) internal pure returns (int24 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int32 at `mPtr` in memory.\\n function readInt32(MemoryPointer mPtr) internal pure returns (int32 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int40 at `mPtr` in memory.\\n function readInt40(MemoryPointer mPtr) internal pure returns (int40 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int48 at `mPtr` in memory.\\n function readInt48(MemoryPointer mPtr) internal pure returns (int48 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int56 at `mPtr` in memory.\\n function readInt56(MemoryPointer mPtr) internal pure returns (int56 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int64 at `mPtr` in memory.\\n function readInt64(MemoryPointer mPtr) internal pure returns (int64 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int72 at `mPtr` in memory.\\n function readInt72(MemoryPointer mPtr) internal pure returns (int72 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int80 at `mPtr` in memory.\\n function readInt80(MemoryPointer mPtr) internal pure returns (int80 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int88 at `mPtr` in memory.\\n function readInt88(MemoryPointer mPtr) internal pure returns (int88 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int96 at `mPtr` in memory.\\n function readInt96(MemoryPointer mPtr) internal pure returns (int96 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int104 at `mPtr` in memory.\\n function readInt104(\\n MemoryPointer mPtr\\n ) internal pure returns (int104 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int112 at `mPtr` in memory.\\n function readInt112(\\n MemoryPointer mPtr\\n ) internal pure returns (int112 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int120 at `mPtr` in memory.\\n function readInt120(\\n MemoryPointer mPtr\\n ) internal pure returns (int120 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int128 at `mPtr` in memory.\\n function readInt128(\\n MemoryPointer mPtr\\n ) internal pure returns (int128 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int136 at `mPtr` in memory.\\n function readInt136(\\n MemoryPointer mPtr\\n ) internal pure returns (int136 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int144 at `mPtr` in memory.\\n function readInt144(\\n MemoryPointer mPtr\\n ) internal pure returns (int144 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int152 at `mPtr` in memory.\\n function readInt152(\\n MemoryPointer mPtr\\n ) internal pure returns (int152 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int160 at `mPtr` in memory.\\n function readInt160(\\n MemoryPointer mPtr\\n ) internal pure returns (int160 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int168 at `mPtr` in memory.\\n function readInt168(\\n MemoryPointer mPtr\\n ) internal pure returns (int168 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int176 at `mPtr` in memory.\\n function readInt176(\\n MemoryPointer mPtr\\n ) internal pure returns (int176 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int184 at `mPtr` in memory.\\n function readInt184(\\n MemoryPointer mPtr\\n ) internal pure returns (int184 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int192 at `mPtr` in memory.\\n function readInt192(\\n MemoryPointer mPtr\\n ) internal pure returns (int192 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int200 at `mPtr` in memory.\\n function readInt200(\\n MemoryPointer mPtr\\n ) internal pure returns (int200 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int208 at `mPtr` in memory.\\n function readInt208(\\n MemoryPointer mPtr\\n ) internal pure returns (int208 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int216 at `mPtr` in memory.\\n function readInt216(\\n MemoryPointer mPtr\\n ) internal pure returns (int216 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int224 at `mPtr` in memory.\\n function readInt224(\\n MemoryPointer mPtr\\n ) internal pure returns (int224 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int232 at `mPtr` in memory.\\n function readInt232(\\n MemoryPointer mPtr\\n ) internal pure returns (int232 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int240 at `mPtr` in memory.\\n function readInt240(\\n MemoryPointer mPtr\\n ) internal pure returns (int240 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int248 at `mPtr` in memory.\\n function readInt248(\\n MemoryPointer mPtr\\n ) internal pure returns (int248 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n\\n /// @dev Reads the int256 at `mPtr` in memory.\\n function readInt256(\\n MemoryPointer mPtr\\n ) internal pure returns (int256 value) {\\n assembly {\\n value := mload(mPtr)\\n }\\n }\\n}\\n\\nlibrary MemoryWriters {\\n /// @dev Writes `valuePtr` to memory at `mPtr`.\\n function write(MemoryPointer mPtr, MemoryPointer valuePtr) internal pure {\\n assembly {\\n mstore(mPtr, valuePtr)\\n }\\n }\\n\\n /// @dev Writes a boolean `value` to `mPtr` in memory.\\n function write(MemoryPointer mPtr, bool value) internal pure {\\n assembly {\\n mstore(mPtr, value)\\n }\\n }\\n\\n /// @dev Writes an address `value` to `mPtr` in memory.\\n function write(MemoryPointer mPtr, address value) internal pure {\\n assembly {\\n mstore(mPtr, value)\\n }\\n }\\n\\n /// @dev Writes a bytes32 `value` to `mPtr` in memory.\\n /// Separate name to disambiguate literal write parameters.\\n function writeBytes32(MemoryPointer mPtr, bytes32 value) internal pure {\\n assembly {\\n mstore(mPtr, value)\\n }\\n }\\n\\n /// @dev Writes a uint256 `value` to `mPtr` in memory.\\n function write(MemoryPointer mPtr, uint256 value) internal pure {\\n assembly {\\n mstore(mPtr, value)\\n }\\n }\\n\\n /// @dev Writes an int256 `value` to `mPtr` in memory.\\n /// Separate name to disambiguate literal write parameters.\\n function writeInt(MemoryPointer mPtr, int256 value) internal pure {\\n assembly {\\n mstore(mPtr, value)\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationStructs.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport {\\n BasicOrderType,\\n ItemType,\\n OrderType,\\n Side\\n} from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n CalldataPointer,\\n MemoryPointer\\n} from \\\"../helpers/PointerLibraries.sol\\\";\\n\\n/**\\n * @dev An order contains eleven components: an offerer, a zone (or account that\\n * can cancel the order or restrict who can fulfill the order depending on\\n * the type), the order type (specifying partial fill support as well as\\n * restricted order status), the start and end time, a hash that will be\\n * provided to the zone when validating restricted orders, a salt, a key\\n * corresponding to a given conduit, a counter, and an arbitrary number of\\n * offer items that can be spent along with consideration items that must\\n * be received by their respective recipient.\\n */\\nstruct OrderComponents {\\n address offerer;\\n address zone;\\n OfferItem[] offer;\\n ConsiderationItem[] consideration;\\n OrderType orderType;\\n uint256 startTime;\\n uint256 endTime;\\n bytes32 zoneHash;\\n uint256 salt;\\n bytes32 conduitKey;\\n uint256 counter;\\n}\\n\\n/**\\n * @dev An offer item has five components: an item type (ETH or other native\\n * tokens, ERC20, ERC721, and ERC1155, as well as criteria-based ERC721 and\\n * ERC1155), a token address, a dual-purpose \\\"identifierOrCriteria\\\"\\n * component that will either represent a tokenId or a merkle root\\n * depending on the item type, and a start and end amount that support\\n * increasing or decreasing amounts over the duration of the respective\\n * order.\\n */\\nstruct OfferItem {\\n ItemType itemType;\\n address token;\\n uint256 identifierOrCriteria;\\n uint256 startAmount;\\n uint256 endAmount;\\n}\\n\\n/**\\n * @dev A consideration item has the same five components as an offer item and\\n * an additional sixth component designating the required recipient of the\\n * item.\\n */\\nstruct ConsiderationItem {\\n ItemType itemType;\\n address token;\\n uint256 identifierOrCriteria;\\n uint256 startAmount;\\n uint256 endAmount;\\n address payable recipient;\\n}\\n\\n/**\\n * @dev A spent item is translated from a utilized offer item and has four\\n * components: an item type (ETH or other native tokens, ERC20, ERC721, and\\n * ERC1155), a token address, a tokenId, and an amount.\\n */\\nstruct SpentItem {\\n ItemType itemType;\\n address token;\\n uint256 identifier;\\n uint256 amount;\\n}\\n\\n/**\\n * @dev A received item is translated from a utilized consideration item and has\\n * the same four components as a spent item, as well as an additional fifth\\n * component designating the required recipient of the item.\\n */\\nstruct ReceivedItem {\\n ItemType itemType;\\n address token;\\n uint256 identifier;\\n uint256 amount;\\n address payable recipient;\\n}\\n\\n/**\\n * @dev For basic orders involving ETH / native / ERC20 <=> ERC721 / ERC1155\\n * matching, a group of six functions may be called that only requires a\\n * subset of the usual order arguments. Note the use of a \\\"basicOrderType\\\"\\n * enum; this represents both the usual order type as well as the \\\"route\\\"\\n * of the basic order (a simple derivation function for the basic order\\n * type is `basicOrderType = orderType + (4 * basicOrderRoute)`.)\\n */\\nstruct BasicOrderParameters {\\n // calldata offset\\n address considerationToken; // 0x24\\n uint256 considerationIdentifier; // 0x44\\n uint256 considerationAmount; // 0x64\\n address payable offerer; // 0x84\\n address zone; // 0xa4\\n address offerToken; // 0xc4\\n uint256 offerIdentifier; // 0xe4\\n uint256 offerAmount; // 0x104\\n BasicOrderType basicOrderType; // 0x124\\n uint256 startTime; // 0x144\\n uint256 endTime; // 0x164\\n bytes32 zoneHash; // 0x184\\n uint256 salt; // 0x1a4\\n bytes32 offererConduitKey; // 0x1c4\\n bytes32 fulfillerConduitKey; // 0x1e4\\n uint256 totalOriginalAdditionalRecipients; // 0x204\\n AdditionalRecipient[] additionalRecipients; // 0x224\\n bytes signature; // 0x244\\n // Total length, excluding dynamic array data: 0x264 (580)\\n}\\n\\n/**\\n * @dev Basic orders can supply any number of additional recipients, with the\\n * implied assumption that they are supplied from the offered ETH (or other\\n * native token) or ERC20 token for the order.\\n */\\nstruct AdditionalRecipient {\\n uint256 amount;\\n address payable recipient;\\n}\\n\\n/**\\n * @dev The full set of order components, with the exception of the counter,\\n * must be supplied when fulfilling more sophisticated orders or groups of\\n * orders. The total number of original consideration items must also be\\n * supplied, as the caller may specify additional consideration items.\\n */\\nstruct OrderParameters {\\n address offerer; // 0x00\\n address zone; // 0x20\\n OfferItem[] offer; // 0x40\\n ConsiderationItem[] consideration; // 0x60\\n OrderType orderType; // 0x80\\n uint256 startTime; // 0xa0\\n uint256 endTime; // 0xc0\\n bytes32 zoneHash; // 0xe0\\n uint256 salt; // 0x100\\n bytes32 conduitKey; // 0x120\\n uint256 totalOriginalConsiderationItems; // 0x140\\n // offer.length // 0x160\\n}\\n\\n/**\\n * @dev Orders require a signature in addition to the other order parameters.\\n */\\nstruct Order {\\n OrderParameters parameters;\\n bytes signature;\\n}\\n\\n/**\\n * @dev Advanced orders include a numerator (i.e. a fraction to attempt to fill)\\n * and a denominator (the total size of the order) in addition to the\\n * signature and other order parameters. It also supports an optional field\\n * for supplying extra data; this data will be provided to the zone if the\\n * order type is restricted and the zone is not the caller, or will be\\n * provided to the offerer as context for contract order types.\\n */\\nstruct AdvancedOrder {\\n OrderParameters parameters;\\n uint120 numerator;\\n uint120 denominator;\\n bytes signature;\\n bytes extraData;\\n}\\n\\n/**\\n * @dev Orders can be validated (either explicitly via `validate`, or as a\\n * consequence of a full or partial fill), specifically cancelled (they can\\n * also be cancelled in bulk via incrementing a per-zone counter), and\\n * partially or fully filled (with the fraction filled represented by a\\n * numerator and denominator).\\n */\\nstruct OrderStatus {\\n bool isValidated;\\n bool isCancelled;\\n uint120 numerator;\\n uint120 denominator;\\n}\\n\\n/**\\n * @dev A criteria resolver specifies an order, side (offer vs. consideration),\\n * and item index. It then provides a chosen identifier (i.e. tokenId)\\n * alongside a merkle proof demonstrating the identifier meets the required\\n * criteria.\\n */\\nstruct CriteriaResolver {\\n uint256 orderIndex;\\n Side side;\\n uint256 index;\\n uint256 identifier;\\n bytes32[] criteriaProof;\\n}\\n\\n/**\\n * @dev A fulfillment is applied to a group of orders. It decrements a series of\\n * offer and consideration items, then generates a single execution\\n * element. A given fulfillment can be applied to as many offer and\\n * consideration items as desired, but must contain at least one offer and\\n * at least one consideration that match. The fulfillment must also remain\\n * consistent on all key parameters across all offer items (same offerer,\\n * token, type, tokenId, and conduit preference) as well as across all\\n * consideration items (token, type, tokenId, and recipient).\\n */\\nstruct Fulfillment {\\n FulfillmentComponent[] offerComponents;\\n FulfillmentComponent[] considerationComponents;\\n}\\n\\n/**\\n * @dev Each fulfillment component contains one index referencing a specific\\n * order and another referencing a specific offer or consideration item.\\n */\\nstruct FulfillmentComponent {\\n uint256 orderIndex;\\n uint256 itemIndex;\\n}\\n\\n/**\\n * @dev An execution is triggered once all consideration items have been zeroed\\n * out. It sends the item in question from the offerer to the item's\\n * recipient, optionally sourcing approvals from either this contract\\n * directly or from the offerer's chosen conduit if one is specified. An\\n * execution is not provided as an argument, but rather is derived via\\n * orders, criteria resolvers, and fulfillments (where the total number of\\n * executions will be less than or equal to the total number of indicated\\n * fulfillments) and returned as part of `matchOrders`.\\n */\\nstruct Execution {\\n ReceivedItem item;\\n address offerer;\\n bytes32 conduitKey;\\n}\\n\\n/**\\n * @dev Restricted orders are validated post-execution by calling validateOrder\\n * on the zone. This struct provides context about the order fulfillment\\n * and any supplied extraData, as well as all order hashes fulfilled in a\\n * call to a match or fulfillAvailable method.\\n */\\nstruct ZoneParameters {\\n bytes32 orderHash;\\n address fulfiller;\\n address offerer;\\n SpentItem[] offer;\\n ReceivedItem[] consideration;\\n bytes extraData;\\n bytes32[] orderHashes;\\n uint256 startTime;\\n uint256 endTime;\\n bytes32 zoneHash;\\n}\\n\\n/**\\n * @dev Zones and contract offerers can communicate which schemas they implement\\n * along with any associated metadata related to each schema.\\n */\\nstruct Schema {\\n uint256 id;\\n bytes metadata;\\n}\\n\\nusing StructPointers for OrderComponents global;\\nusing StructPointers for OfferItem global;\\nusing StructPointers for ConsiderationItem global;\\nusing StructPointers for SpentItem global;\\nusing StructPointers for ReceivedItem global;\\nusing StructPointers for BasicOrderParameters global;\\nusing StructPointers for AdditionalRecipient global;\\nusing StructPointers for OrderParameters global;\\nusing StructPointers for Order global;\\nusing StructPointers for AdvancedOrder global;\\nusing StructPointers for OrderStatus global;\\nusing StructPointers for CriteriaResolver global;\\nusing StructPointers for Fulfillment global;\\nusing StructPointers for FulfillmentComponent global;\\nusing StructPointers for Execution global;\\nusing StructPointers for ZoneParameters global;\\n\\n/**\\n * @dev This library provides a set of functions for converting structs to\\n * pointers.\\n */\\nlibrary StructPointers {\\n /**\\n * @dev Get a MemoryPointer from OrderComponents.\\n *\\n * @param obj The OrderComponents object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n OrderComponents memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from OrderComponents.\\n *\\n * @param obj The OrderComponents object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n OrderComponents calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from OfferItem.\\n *\\n * @param obj The OfferItem object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n OfferItem memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from OfferItem.\\n *\\n * @param obj The OfferItem object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n OfferItem calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from ConsiderationItem.\\n *\\n * @param obj The ConsiderationItem object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n ConsiderationItem memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from ConsiderationItem.\\n *\\n * @param obj The ConsiderationItem object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n ConsiderationItem calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from SpentItem.\\n *\\n * @param obj The SpentItem object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n SpentItem memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from SpentItem.\\n *\\n * @param obj The SpentItem object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n SpentItem calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from ReceivedItem.\\n *\\n * @param obj The ReceivedItem object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n ReceivedItem memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from ReceivedItem.\\n *\\n * @param obj The ReceivedItem object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n ReceivedItem calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from BasicOrderParameters.\\n *\\n * @param obj The BasicOrderParameters object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n BasicOrderParameters memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from BasicOrderParameters.\\n *\\n * @param obj The BasicOrderParameters object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n BasicOrderParameters calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from AdditionalRecipient.\\n *\\n * @param obj The AdditionalRecipient object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n AdditionalRecipient memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from AdditionalRecipient.\\n *\\n * @param obj The AdditionalRecipient object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n AdditionalRecipient calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from OrderParameters.\\n *\\n * @param obj The OrderParameters object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n OrderParameters memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from OrderParameters.\\n *\\n * @param obj The OrderParameters object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n OrderParameters calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from Order.\\n *\\n * @param obj The Order object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n Order memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from Order.\\n *\\n * @param obj The Order object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n Order calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from AdvancedOrder.\\n *\\n * @param obj The AdvancedOrder object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n AdvancedOrder memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from AdvancedOrder.\\n *\\n * @param obj The AdvancedOrder object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n AdvancedOrder calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from OrderStatus.\\n *\\n * @param obj The OrderStatus object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n OrderStatus memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from OrderStatus.\\n *\\n * @param obj The OrderStatus object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n OrderStatus calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from CriteriaResolver.\\n *\\n * @param obj The CriteriaResolver object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n CriteriaResolver memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from CriteriaResolver.\\n *\\n * @param obj The CriteriaResolver object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n CriteriaResolver calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from Fulfillment.\\n *\\n * @param obj The Fulfillment object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n Fulfillment memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from Fulfillment.\\n *\\n * @param obj The Fulfillment object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n Fulfillment calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from FulfillmentComponent.\\n *\\n * @param obj The FulfillmentComponent object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n FulfillmentComponent memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from FulfillmentComponent.\\n *\\n * @param obj The FulfillmentComponent object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n FulfillmentComponent calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from Execution.\\n *\\n * @param obj The Execution object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n Execution memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from Execution.\\n *\\n * @param obj The Execution object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n Execution calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a MemoryPointer from ZoneParameters.\\n *\\n * @param obj The ZoneParameters object.\\n *\\n * @return ptr The MemoryPointer.\\n */\\n function toMemoryPointer(\\n ZoneParameters memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Get a CalldataPointer from ZoneParameters.\\n *\\n * @param obj The ZoneParameters object.\\n *\\n * @return ptr The CalldataPointer.\\n */\\n function toCalldataPointer(\\n ZoneParameters calldata obj\\n ) internal pure returns (CalldataPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { Side } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n BadFraction_error_length,\\n BadFraction_error_selector,\\n CannotCancelOrder_error_length,\\n CannotCancelOrder_error_selector,\\n ConsiderationLengthNotEqualToTotalOriginal_error_length,\\n ConsiderationLengthNotEqualToTotalOriginal_error_selector,\\n ConsiderationNotMet_error_considerationIndex_ptr,\\n ConsiderationNotMet_error_length,\\n ConsiderationNotMet_error_orderIndex_ptr,\\n ConsiderationNotMet_error_selector,\\n ConsiderationNotMet_error_shortfallAmount_ptr,\\n CriteriaNotEnabledForItem_error_length,\\n CriteriaNotEnabledForItem_error_selector,\\n Error_selector_offset,\\n InsufficientNativeTokensSupplied_error_length,\\n InsufficientNativeTokensSupplied_error_selector,\\n InvalidBasicOrderParameterEncoding_error_length,\\n InvalidBasicOrderParameterEncoding_error_selector,\\n InvalidCallToConduit_error_conduit_ptr,\\n InvalidCallToConduit_error_length,\\n InvalidCallToConduit_error_selector,\\n InvalidConduit_error_conduit_ptr,\\n InvalidConduit_error_conduitKey_ptr,\\n InvalidConduit_error_length,\\n InvalidConduit_error_selector,\\n InvalidContractOrder_error_length,\\n InvalidContractOrder_error_orderHash_ptr,\\n InvalidContractOrder_error_selector,\\n InvalidERC721TransferAmount_error_amount_ptr,\\n InvalidERC721TransferAmount_error_length,\\n InvalidERC721TransferAmount_error_selector,\\n InvalidMsgValue_error_length,\\n InvalidMsgValue_error_selector,\\n InvalidMsgValue_error_value_ptr,\\n InvalidNativeOfferItem_error_length,\\n InvalidNativeOfferItem_error_selector,\\n InvalidProof_error_length,\\n InvalidProof_error_selector,\\n InvalidTime_error_endTime_ptr,\\n InvalidTime_error_length,\\n InvalidTime_error_selector,\\n InvalidTime_error_startTime_ptr,\\n MismatchedOfferAndConsiderationComponents_error_idx_ptr,\\n MismatchedOfferAndConsiderationComponents_error_length,\\n MismatchedOfferAndConsiderationComponents_error_selector,\\n MissingFulfillmentComponentOnAggregation_error_length,\\n MissingFulfillmentComponentOnAggregation_error_selector,\\n MissingFulfillmentComponentOnAggregation_error_side_ptr,\\n MissingOriginalConsiderationItems_error_length,\\n MissingOriginalConsiderationItems_error_selector,\\n NoReentrantCalls_error_length,\\n NoReentrantCalls_error_selector,\\n NoSpecifiedOrdersAvailable_error_length,\\n NoSpecifiedOrdersAvailable_error_selector,\\n OfferAndConsiderationRequiredOnFulfillment_error_length,\\n OfferAndConsiderationRequiredOnFulfillment_error_selector,\\n OrderAlreadyFilled_error_length,\\n OrderAlreadyFilled_error_orderHash_ptr,\\n OrderAlreadyFilled_error_selector,\\n OrderCriteriaResolverOutOfRange_error_length,\\n OrderCriteriaResolverOutOfRange_error_selector,\\n OrderCriteriaResolverOutOfRange_error_side_ptr,\\n OrderIsCancelled_error_length,\\n OrderIsCancelled_error_orderHash_ptr,\\n OrderIsCancelled_error_selector,\\n OrderPartiallyFilled_error_length,\\n OrderPartiallyFilled_error_orderHash_ptr,\\n OrderPartiallyFilled_error_selector,\\n PartialFillsNotEnabledForOrder_error_length,\\n PartialFillsNotEnabledForOrder_error_selector,\\n UnresolvedConsiderationCriteria_error_considerationIdx_ptr,\\n UnresolvedConsiderationCriteria_error_length,\\n UnresolvedConsiderationCriteria_error_orderIndex_ptr,\\n UnresolvedConsiderationCriteria_error_selector,\\n UnresolvedOfferCriteria_error_length,\\n UnresolvedOfferCriteria_error_offerIndex_ptr,\\n UnresolvedOfferCriteria_error_orderIndex_ptr,\\n UnresolvedOfferCriteria_error_selector,\\n UnusedItemParameters_error_length,\\n UnusedItemParameters_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @dev Reverts the current transaction with a \\\"BadFraction\\\" error message.\\n */\\nfunction _revertBadFraction() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, BadFraction_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"BadFraction()\\\"))\\n revert(Error_selector_offset, BadFraction_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with a \\\"ConsiderationNotMet\\\" error\\n * message, including the provided order index, consideration index, and\\n * shortfall amount.\\n *\\n * @param orderIndex The index of the order that did not meet the\\n * consideration criteria.\\n * @param considerationIndex The index of the consideration item that did not\\n * meet its criteria.\\n * @param shortfallAmount The amount by which the consideration criteria were\\n * not met.\\n */\\nfunction _revertConsiderationNotMet(\\n uint256 orderIndex,\\n uint256 considerationIndex,\\n uint256 shortfallAmount\\n) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, ConsiderationNotMet_error_selector)\\n\\n // Store arguments.\\n mstore(ConsiderationNotMet_error_orderIndex_ptr, orderIndex)\\n mstore(\\n ConsiderationNotMet_error_considerationIndex_ptr,\\n considerationIndex\\n )\\n mstore(ConsiderationNotMet_error_shortfallAmount_ptr, shortfallAmount)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"ConsiderationNotMet(uint256,uint256,uint256)\\\",\\n // orderIndex,\\n // considerationIndex,\\n // shortfallAmount\\n // ))\\n revert(Error_selector_offset, ConsiderationNotMet_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with a \\\"CriteriaNotEnabledForItem\\\" error\\n * message.\\n */\\nfunction _revertCriteriaNotEnabledForItem() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, CriteriaNotEnabledForItem_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"CriteriaNotEnabledForItem()\\\"))\\n revert(Error_selector_offset, CriteriaNotEnabledForItem_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an\\n * \\\"InsufficientNativeTokensSupplied\\\" error message.\\n */\\nfunction _revertInsufficientNativeTokensSupplied() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InsufficientNativeTokensSupplied_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"InsufficientNativeTokensSupplied()\\\"))\\n revert(\\n Error_selector_offset,\\n InsufficientNativeTokensSupplied_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an\\n * \\\"InvalidBasicOrderParameterEncoding\\\" error message.\\n */\\nfunction _revertInvalidBasicOrderParameterEncoding() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidBasicOrderParameterEncoding_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidBasicOrderParameterEncoding()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n InvalidBasicOrderParameterEncoding_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidCallToConduit\\\" error\\n * message, including the provided address of the conduit that was called\\n * improperly.\\n *\\n * @param conduit The address of the conduit that was called improperly.\\n */\\nfunction _revertInvalidCallToConduit(address conduit) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidCallToConduit_error_selector)\\n\\n // Store argument.\\n mstore(InvalidCallToConduit_error_conduit_ptr, conduit)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidCallToConduit(address)\\\",\\n // conduit\\n // ))\\n revert(Error_selector_offset, InvalidCallToConduit_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"CannotCancelOrder\\\" error\\n * message.\\n */\\nfunction _revertCannotCancelOrder() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, CannotCancelOrder_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"CannotCancelOrder()\\\"))\\n revert(Error_selector_offset, CannotCancelOrder_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidConduit\\\" error message,\\n * including the provided key and address of the invalid conduit.\\n *\\n * @param conduitKey The key of the invalid conduit.\\n * @param conduit The address of the invalid conduit.\\n */\\nfunction _revertInvalidConduit(bytes32 conduitKey, address conduit) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidConduit_error_selector)\\n\\n // Store arguments.\\n mstore(InvalidConduit_error_conduitKey_ptr, conduitKey)\\n mstore(InvalidConduit_error_conduit_ptr, conduit)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidConduit(bytes32,address)\\\",\\n // conduitKey,\\n // conduit\\n // ))\\n revert(Error_selector_offset, InvalidConduit_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidERC721TransferAmount\\\"\\n * error message.\\n *\\n * @param amount The invalid amount.\\n */\\nfunction _revertInvalidERC721TransferAmount(uint256 amount) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidERC721TransferAmount_error_selector)\\n\\n // Store argument.\\n mstore(InvalidERC721TransferAmount_error_amount_ptr, amount)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidERC721TransferAmount(uint256)\\\",\\n // amount\\n // ))\\n revert(Error_selector_offset, InvalidERC721TransferAmount_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidMsgValue\\\" error message,\\n * including the invalid value that was sent in the transaction's\\n * `msg.value` field.\\n *\\n * @param value The invalid value that was sent in the transaction's `msg.value`\\n * field.\\n */\\nfunction _revertInvalidMsgValue(uint256 value) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidMsgValue_error_selector)\\n\\n // Store argument.\\n mstore(InvalidMsgValue_error_value_ptr, value)\\n\\n // revert(abi.encodeWithSignature(\\\"InvalidMsgValue(uint256)\\\", value))\\n revert(Error_selector_offset, InvalidMsgValue_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidNativeOfferItem\\\" error\\n * message.\\n */\\nfunction _revertInvalidNativeOfferItem() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidNativeOfferItem_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"InvalidNativeOfferItem()\\\"))\\n revert(Error_selector_offset, InvalidNativeOfferItem_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidProof\\\" error message.\\n */\\nfunction _revertInvalidProof() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidProof_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"InvalidProof()\\\"))\\n revert(Error_selector_offset, InvalidProof_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidContractOrder\\\" error\\n * message.\\n *\\n * @param orderHash The hash of the contract order that caused the error.\\n */\\nfunction _revertInvalidContractOrder(bytes32 orderHash) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidContractOrder_error_selector)\\n\\n // Store arguments.\\n mstore(InvalidContractOrder_error_orderHash_ptr, orderHash)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidContractOrder(bytes32)\\\",\\n // orderHash\\n // ))\\n revert(Error_selector_offset, InvalidContractOrder_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts the current transaction with an \\\"InvalidTime\\\" error message.\\n *\\n * @param startTime The time at which the order becomes active.\\n * @param endTime The time at which the order becomes inactive.\\n */\\nfunction _revertInvalidTime(uint256 startTime, uint256 endTime) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidTime_error_selector)\\n\\n // Store arguments.\\n mstore(InvalidTime_error_startTime_ptr, startTime)\\n mstore(InvalidTime_error_endTime_ptr, endTime)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidTime(uint256,uint256)\\\",\\n // startTime,\\n // endTime\\n // ))\\n revert(Error_selector_offset, InvalidTime_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a\\n * \\\"MismatchedFulfillmentOfferAndConsiderationComponents\\\" error message.\\n *\\n * @param fulfillmentIndex The index of the fulfillment that caused the\\n * error.\\n */\\nfunction _revertMismatchedFulfillmentOfferAndConsiderationComponents(\\n uint256 fulfillmentIndex\\n) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, MismatchedOfferAndConsiderationComponents_error_selector)\\n\\n // Store fulfillment index argument.\\n mstore(\\n MismatchedOfferAndConsiderationComponents_error_idx_ptr,\\n fulfillmentIndex\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"MismatchedFulfillmentOfferAndConsiderationComponents(uint256)\\\",\\n // fulfillmentIndex\\n // ))\\n revert(\\n Error_selector_offset,\\n MismatchedOfferAndConsiderationComponents_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a \\\"MissingFulfillmentComponentOnAggregation\\\"\\n * error message.\\n *\\n * @param side The side of the fulfillment component that is missing (0 for\\n * offer, 1 for consideration).\\n *\\n */\\nfunction _revertMissingFulfillmentComponentOnAggregation(Side side) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, MissingFulfillmentComponentOnAggregation_error_selector)\\n\\n // Store argument.\\n mstore(MissingFulfillmentComponentOnAggregation_error_side_ptr, side)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"MissingFulfillmentComponentOnAggregation(uint8)\\\",\\n // side\\n // ))\\n revert(\\n Error_selector_offset,\\n MissingFulfillmentComponentOnAggregation_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a \\\"MissingOriginalConsiderationItems\\\" error\\n * message.\\n */\\nfunction _revertMissingOriginalConsiderationItems() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, MissingOriginalConsiderationItems_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"MissingOriginalConsiderationItems()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n MissingOriginalConsiderationItems_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a \\\"NoReentrantCalls\\\" error message.\\n */\\nfunction _revertNoReentrantCalls() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, NoReentrantCalls_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"NoReentrantCalls()\\\"))\\n revert(Error_selector_offset, NoReentrantCalls_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a \\\"NoSpecifiedOrdersAvailable\\\" error message.\\n */\\nfunction _revertNoSpecifiedOrdersAvailable() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, NoSpecifiedOrdersAvailable_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"NoSpecifiedOrdersAvailable()\\\"))\\n revert(Error_selector_offset, NoSpecifiedOrdersAvailable_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a \\\"OfferAndConsiderationRequiredOnFulfillment\\\"\\n * error message.\\n */\\nfunction _revertOfferAndConsiderationRequiredOnFulfillment() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, OfferAndConsiderationRequiredOnFulfillment_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"OfferAndConsiderationRequiredOnFulfillment()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n OfferAndConsiderationRequiredOnFulfillment_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with an \\\"OrderAlreadyFilled\\\" error message.\\n *\\n * @param orderHash The hash of the order that has already been filled.\\n */\\nfunction _revertOrderAlreadyFilled(bytes32 orderHash) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, OrderAlreadyFilled_error_selector)\\n\\n // Store argument.\\n mstore(OrderAlreadyFilled_error_orderHash_ptr, orderHash)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"OrderAlreadyFilled(bytes32)\\\",\\n // orderHash\\n // ))\\n revert(Error_selector_offset, OrderAlreadyFilled_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with an \\\"OrderCriteriaResolverOutOfRange\\\" error\\n * message.\\n *\\n * @param side The side of the criteria that is missing (0 for offer, 1 for\\n * consideration).\\n *\\n */\\nfunction _revertOrderCriteriaResolverOutOfRange(Side side) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, OrderCriteriaResolverOutOfRange_error_selector)\\n\\n // Store argument.\\n mstore(OrderCriteriaResolverOutOfRange_error_side_ptr, side)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"OrderCriteriaResolverOutOfRange(uint8)\\\",\\n // side\\n // ))\\n revert(\\n Error_selector_offset,\\n OrderCriteriaResolverOutOfRange_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with an \\\"OrderIsCancelled\\\" error message.\\n *\\n * @param orderHash The hash of the order that has already been cancelled.\\n */\\nfunction _revertOrderIsCancelled(bytes32 orderHash) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, OrderIsCancelled_error_selector)\\n\\n // Store argument.\\n mstore(OrderIsCancelled_error_orderHash_ptr, orderHash)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"OrderIsCancelled(bytes32)\\\",\\n // orderHash\\n // ))\\n revert(Error_selector_offset, OrderIsCancelled_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with an \\\"OrderPartiallyFilled\\\" error message.\\n *\\n * @param orderHash The hash of the order that has already been partially\\n * filled.\\n */\\nfunction _revertOrderPartiallyFilled(bytes32 orderHash) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, OrderPartiallyFilled_error_selector)\\n\\n // Store argument.\\n mstore(OrderPartiallyFilled_error_orderHash_ptr, orderHash)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"OrderPartiallyFilled(bytes32)\\\",\\n // orderHash\\n // ))\\n revert(Error_selector_offset, OrderPartiallyFilled_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a \\\"PartialFillsNotEnabledForOrder\\\" error message.\\n */\\nfunction _revertPartialFillsNotEnabledForOrder() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, PartialFillsNotEnabledForOrder_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"PartialFillsNotEnabledForOrder()\\\"))\\n revert(\\n Error_selector_offset,\\n PartialFillsNotEnabledForOrder_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with an \\\"UnresolvedConsiderationCriteria\\\" error\\n * message.\\n */\\nfunction _revertUnresolvedConsiderationCriteria(\\n uint256 orderIndex,\\n uint256 considerationIndex\\n) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, UnresolvedConsiderationCriteria_error_selector)\\n\\n // Store orderIndex and considerationIndex arguments.\\n mstore(UnresolvedConsiderationCriteria_error_orderIndex_ptr, orderIndex)\\n mstore(\\n UnresolvedConsiderationCriteria_error_considerationIdx_ptr,\\n considerationIndex\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"UnresolvedConsiderationCriteria(uint256, uint256)\\\",\\n // orderIndex,\\n // considerationIndex\\n // ))\\n revert(\\n Error_selector_offset,\\n UnresolvedConsiderationCriteria_error_length\\n )\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with an \\\"UnresolvedOfferCriteria\\\" error message.\\n */\\nfunction _revertUnresolvedOfferCriteria(\\n uint256 orderIndex,\\n uint256 offerIndex\\n) pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, UnresolvedOfferCriteria_error_selector)\\n\\n // Store arguments.\\n mstore(UnresolvedOfferCriteria_error_orderIndex_ptr, orderIndex)\\n mstore(UnresolvedOfferCriteria_error_offerIndex_ptr, offerIndex)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"UnresolvedOfferCriteria(uint256, uint256)\\\",\\n // orderIndex,\\n // offerIndex\\n // ))\\n revert(Error_selector_offset, UnresolvedOfferCriteria_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with an \\\"UnusedItemParameters\\\" error message.\\n */\\nfunction _revertUnusedItemParameters() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, UnusedItemParameters_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"UnusedItemParameters()\\\"))\\n revert(Error_selector_offset, UnusedItemParameters_error_length)\\n }\\n}\\n\\n/**\\n * @dev Reverts execution with a \\\"ConsiderationLengthNotEqualToTotalOriginal\\\"\\n * error message.\\n */\\nfunction _revertConsiderationLengthNotEqualToTotalOriginal() pure {\\n assembly {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, ConsiderationLengthNotEqualToTotalOriginal_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"ConsiderationLengthNotEqualToTotalOriginal()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n ConsiderationLengthNotEqualToTotalOriginal_error_length\\n )\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationEnums.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nenum OrderType {\\n // 0: no partial fills, anyone can execute\\n FULL_OPEN,\\n\\n // 1: partial fills supported, anyone can execute\\n PARTIAL_OPEN,\\n\\n // 2: no partial fills, only offerer or zone can execute\\n FULL_RESTRICTED,\\n\\n // 3: partial fills supported, only offerer or zone can execute\\n PARTIAL_RESTRICTED,\\n\\n // 4: contract order type\\n CONTRACT\\n}\\n\\nenum BasicOrderType {\\n // 0: no partial fills, anyone can execute\\n ETH_TO_ERC721_FULL_OPEN,\\n\\n // 1: partial fills supported, anyone can execute\\n ETH_TO_ERC721_PARTIAL_OPEN,\\n\\n // 2: no partial fills, only offerer or zone can execute\\n ETH_TO_ERC721_FULL_RESTRICTED,\\n\\n // 3: partial fills supported, only offerer or zone can execute\\n ETH_TO_ERC721_PARTIAL_RESTRICTED,\\n\\n // 4: no partial fills, anyone can execute\\n ETH_TO_ERC1155_FULL_OPEN,\\n\\n // 5: partial fills supported, anyone can execute\\n ETH_TO_ERC1155_PARTIAL_OPEN,\\n\\n // 6: no partial fills, only offerer or zone can execute\\n ETH_TO_ERC1155_FULL_RESTRICTED,\\n\\n // 7: partial fills supported, only offerer or zone can execute\\n ETH_TO_ERC1155_PARTIAL_RESTRICTED,\\n\\n // 8: no partial fills, anyone can execute\\n ERC20_TO_ERC721_FULL_OPEN,\\n\\n // 9: partial fills supported, anyone can execute\\n ERC20_TO_ERC721_PARTIAL_OPEN,\\n\\n // 10: no partial fills, only offerer or zone can execute\\n ERC20_TO_ERC721_FULL_RESTRICTED,\\n\\n // 11: partial fills supported, only offerer or zone can execute\\n ERC20_TO_ERC721_PARTIAL_RESTRICTED,\\n\\n // 12: no partial fills, anyone can execute\\n ERC20_TO_ERC1155_FULL_OPEN,\\n\\n // 13: partial fills supported, anyone can execute\\n ERC20_TO_ERC1155_PARTIAL_OPEN,\\n\\n // 14: no partial fills, only offerer or zone can execute\\n ERC20_TO_ERC1155_FULL_RESTRICTED,\\n\\n // 15: partial fills supported, only offerer or zone can execute\\n ERC20_TO_ERC1155_PARTIAL_RESTRICTED,\\n\\n // 16: no partial fills, anyone can execute\\n ERC721_TO_ERC20_FULL_OPEN,\\n\\n // 17: partial fills supported, anyone can execute\\n ERC721_TO_ERC20_PARTIAL_OPEN,\\n\\n // 18: no partial fills, only offerer or zone can execute\\n ERC721_TO_ERC20_FULL_RESTRICTED,\\n\\n // 19: partial fills supported, only offerer or zone can execute\\n ERC721_TO_ERC20_PARTIAL_RESTRICTED,\\n\\n // 20: no partial fills, anyone can execute\\n ERC1155_TO_ERC20_FULL_OPEN,\\n\\n // 21: partial fills supported, anyone can execute\\n ERC1155_TO_ERC20_PARTIAL_OPEN,\\n\\n // 22: no partial fills, only offerer or zone can execute\\n ERC1155_TO_ERC20_FULL_RESTRICTED,\\n\\n // 23: partial fills supported, only offerer or zone can execute\\n ERC1155_TO_ERC20_PARTIAL_RESTRICTED\\n}\\n\\nenum BasicOrderRouteType {\\n // 0: provide Ether (or other native token) to receive offered ERC721 item.\\n ETH_TO_ERC721,\\n\\n // 1: provide Ether (or other native token) to receive offered ERC1155 item.\\n ETH_TO_ERC1155,\\n\\n // 2: provide ERC20 item to receive offered ERC721 item.\\n ERC20_TO_ERC721,\\n\\n // 3: provide ERC20 item to receive offered ERC1155 item.\\n ERC20_TO_ERC1155,\\n\\n // 4: provide ERC721 item to receive offered ERC20 item.\\n ERC721_TO_ERC20,\\n\\n // 5: provide ERC1155 item to receive offered ERC20 item.\\n ERC1155_TO_ERC20\\n}\\n\\nenum ItemType {\\n // 0: ETH on mainnet, MATIC on polygon, etc.\\n NATIVE,\\n\\n // 1: ERC20 items (ERC777 and ERC20 analogues could also technically work)\\n ERC20,\\n\\n // 2: ERC721 items\\n ERC721,\\n\\n // 3: ERC1155 items\\n ERC1155,\\n\\n // 4: ERC721 items where a number of tokenIds are supported\\n ERC721_WITH_CRITERIA,\\n\\n // 5: ERC1155 items where a number of ids are supported\\n ERC1155_WITH_CRITERIA\\n}\\n\\nenum Side {\\n // 0: Items that can be spent\\n OFFER,\\n\\n // 1: Items that must be received\\n CONSIDERATION\\n}\\n\"\r\n },\r\n \"contracts/lib/FulfillmentApplier.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { ItemType, Side } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n AdvancedOrder,\\n Execution,\\n FulfillmentComponent,\\n ReceivedItem\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport {\\n _revertMismatchedFulfillmentOfferAndConsiderationComponents,\\n _revertMissingFulfillmentComponentOnAggregation,\\n _revertOfferAndConsiderationRequiredOnFulfillment\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport {\\n FulfillmentApplicationErrors\\n} from \\\"../interfaces/FulfillmentApplicationErrors.sol\\\";\\n\\nimport {\\n AdvancedOrder_numerator_offset,\\n Common_amount_offset,\\n Common_identifier_offset,\\n Common_token_offset,\\n Execution_conduit_offset,\\n Execution_offerer_offset,\\n Fulfillment_itemIndex_offset,\\n OneWord,\\n OneWordShift,\\n OrderParameters_conduit_offset,\\n OrderParameters_consideration_head_offset,\\n OrderParameters_offer_head_offset,\\n ReceivedItem_CommonParams_size,\\n ReceivedItem_recipient_offset,\\n ReceivedItem_size\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n Error_selector_offset,\\n InvalidFulfillmentComponentData_error_length,\\n InvalidFulfillmentComponentData_error_selector,\\n MissingItemAmount_error_length,\\n MissingItemAmount_error_selector,\\n Panic_arithmetic,\\n Panic_error_code_ptr,\\n Panic_error_length,\\n Panic_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @title FulfillmentApplier\\n * @author 0age\\n * @notice FulfillmentApplier contains logic related to applying fulfillments,\\n * both as part of order matching (where offer items are matched to\\n * consideration items) as well as fulfilling available orders (where\\n * order items and consideration items are independently aggregated).\\n */\\ncontract FulfillmentApplier is FulfillmentApplicationErrors {\\n /**\\n * @dev Internal pure function to match offer items to consideration items\\n * on a group of orders via a supplied fulfillment.\\n *\\n * @param advancedOrders The orders to match.\\n * @param offerComponents An array designating offer components to\\n * match to consideration components.\\n * @param considerationComponents An array designating consideration\\n * components to match to offer components.\\n * Note that each consideration amount must\\n * be zero in order for the match operation\\n * to be valid.\\n * @param fulfillmentIndex The index of the fulfillment being\\n * applied.\\n *\\n * @return execution The transfer performed as a result of the fulfillment.\\n */\\n function _applyFulfillment(\\n AdvancedOrder[] memory advancedOrders,\\n FulfillmentComponent[] memory offerComponents,\\n FulfillmentComponent[] memory considerationComponents,\\n uint256 fulfillmentIndex\\n ) internal pure returns (Execution memory execution) {\\n // Ensure 1+ of both offer and consideration components are supplied.\\n if (\\n offerComponents.length == 0 || considerationComponents.length == 0\\n ) {\\n _revertOfferAndConsiderationRequiredOnFulfillment();\\n }\\n\\n // Declare a new Execution struct.\\n Execution memory considerationExecution;\\n\\n // Validate & aggregate consideration items to new Execution object.\\n _aggregateValidFulfillmentConsiderationItems(\\n advancedOrders,\\n considerationComponents,\\n considerationExecution\\n );\\n\\n // Retrieve the consideration item from the execution struct.\\n ReceivedItem memory considerationItem = considerationExecution.item;\\n\\n // Skip aggregating offer items if no consideration items are available.\\n if (considerationItem.amount == 0) {\\n // Set the offerer and recipient to null address and the item type\\n // to a non-native item type if the execution amount is zero. This\\n // will cause the execution item to be skipped.\\n considerationExecution.offerer = address(0);\\n considerationExecution.item.recipient = payable(0);\\n considerationExecution.item.itemType = ItemType.ERC20;\\n return considerationExecution;\\n }\\n\\n // Recipient does not need to be specified because it will always be set\\n // to that of the consideration.\\n // Validate & aggregate offer items to Execution object.\\n _aggregateValidFulfillmentOfferItems(\\n advancedOrders,\\n offerComponents,\\n execution\\n );\\n\\n // Ensure offer & consideration item types, tokens, & identifiers match.\\n // (a != b || c != d || e != f) == (((a ^ b) | (c ^ d) | (e ^ f)) != 0),\\n // but the second expression requires less gas to evaluate.\\n if (\\n ((uint8(execution.item.itemType) ^\\n uint8(considerationItem.itemType)) |\\n (uint160(execution.item.token) ^\\n uint160(considerationItem.token)) |\\n (execution.item.identifier ^ considerationItem.identifier)) != 0\\n ) {\\n _revertMismatchedFulfillmentOfferAndConsiderationComponents(\\n fulfillmentIndex\\n );\\n }\\n\\n // If total consideration amount exceeds the offer amount...\\n if (considerationItem.amount > execution.item.amount) {\\n // Retrieve the first consideration component from the fulfillment.\\n FulfillmentComponent memory targetComponent = (\\n considerationComponents[0]\\n );\\n\\n // Skip underflow check as the conditional being true implies that\\n // considerationItem.amount > execution.item.amount.\\n unchecked {\\n // Add excess consideration item amount to original order array.\\n advancedOrders[targetComponent.orderIndex]\\n .parameters\\n .consideration[targetComponent.itemIndex]\\n .startAmount = (considerationItem.amount -\\n execution.item.amount);\\n }\\n } else {\\n // Retrieve the first offer component from the fulfillment.\\n FulfillmentComponent memory targetComponent = offerComponents[0];\\n\\n // Skip underflow check as the conditional being false implies that\\n // execution.item.amount >= considerationItem.amount.\\n unchecked {\\n // Add excess offer item amount to the original array of orders.\\n advancedOrders[targetComponent.orderIndex]\\n .parameters\\n .offer[targetComponent.itemIndex]\\n .startAmount = (execution.item.amount -\\n considerationItem.amount);\\n }\\n\\n // Reduce total offer amount to equal the consideration amount.\\n execution.item.amount = considerationItem.amount;\\n }\\n\\n // Reuse consideration recipient.\\n execution.item.recipient = considerationItem.recipient;\\n\\n // Return the final execution that will be triggered for relevant items.\\n return execution; // Execution(considerationItem, offerer, conduitKey);\\n }\\n\\n /**\\n * @dev Internal view function to aggregate offer or consideration items\\n * from a group of orders into a single execution via a supplied array\\n * of fulfillment components. Items that are not available to aggregate\\n * will not be included in the aggregated execution.\\n *\\n * @param advancedOrders The orders to aggregate.\\n * @param side The side (i.e. offer or consideration).\\n * @param fulfillmentComponents An array designating item components to\\n * aggregate if part of an available order.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit, if\\n * any, to source the fulfiller's token\\n * approvals from. The zero hash signifies that\\n * no conduit should be used, with approvals\\n * set directly on this contract.\\n * @param recipient The intended recipient for all received\\n * items.\\n *\\n * @return execution The transfer performed as a result of the fulfillment.\\n */\\n function _aggregateAvailable(\\n AdvancedOrder[] memory advancedOrders,\\n Side side,\\n FulfillmentComponent[] memory fulfillmentComponents,\\n bytes32 fulfillerConduitKey,\\n address recipient\\n ) internal view returns (Execution memory execution) {\\n // Skip overflow / underflow checks; conditions checked or unreachable.\\n unchecked {\\n // Retrieve fulfillment components array length and place on stack.\\n // Ensure at least one fulfillment component has been supplied.\\n if (fulfillmentComponents.length == 0) {\\n _revertMissingFulfillmentComponentOnAggregation(side);\\n }\\n\\n // Retrieve the received item on the execution being returned.\\n ReceivedItem memory item = execution.item;\\n\\n // If the fulfillment components are offer components...\\n if (side == Side.OFFER) {\\n // Set the supplied recipient on the execution item.\\n item.recipient = payable(recipient);\\n\\n // Return execution for aggregated items provided by offerer.\\n _aggregateValidFulfillmentOfferItems(\\n advancedOrders,\\n fulfillmentComponents,\\n execution\\n );\\n } else {\\n // Otherwise, fulfillment components are consideration\\n // components. Return execution for aggregated items provided by\\n // the fulfiller.\\n _aggregateValidFulfillmentConsiderationItems(\\n advancedOrders,\\n fulfillmentComponents,\\n execution\\n );\\n\\n // Set the caller as the offerer on the execution.\\n execution.offerer = msg.sender;\\n\\n // Set fulfiller conduit key as the conduit key on execution.\\n execution.conduitKey = fulfillerConduitKey;\\n }\\n\\n // Set the offerer and recipient to null address and the item type\\n // to a non-native item type if the execution amount is zero. This\\n // will cause the execution item to be skipped.\\n if (item.amount == 0) {\\n execution.offerer = address(0);\\n item.recipient = payable(0);\\n item.itemType = ItemType.ERC20;\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to aggregate a group of offer items using\\n * supplied directives on which component items are candidates for\\n * aggregation, skipping items on orders that are not available.\\n *\\n * @param advancedOrders The orders to aggregate offer items from.\\n * @param offerComponents An array of FulfillmentComponent structs\\n * indicating the order index and item index of each\\n * candidate offer item for aggregation.\\n * @param execution The execution to apply the aggregation to.\\n */\\n function _aggregateValidFulfillmentOfferItems(\\n AdvancedOrder[] memory advancedOrders,\\n FulfillmentComponent[] memory offerComponents,\\n Execution memory execution\\n ) internal pure {\\n assembly {\\n // Declare a variable for the final aggregated item amount.\\n let amount\\n\\n // Declare a variable to track errors encountered with amount.\\n let errorBuffer\\n\\n // Declare a variable for the hash of itemType, token, & identifier.\\n let dataHash\\n\\n // Iterate over each offer component.\\n for {\\n // Create variable to track position in offerComponents head.\\n let fulfillmentHeadPtr := offerComponents\\n\\n // Get position one word past last element in head of array.\\n let endPtr := add(\\n offerComponents,\\n shl(OneWordShift, mload(offerComponents))\\n )\\n } lt(fulfillmentHeadPtr, endPtr) {\\n\\n } {\\n // Increment position in considerationComponents head.\\n fulfillmentHeadPtr := add(fulfillmentHeadPtr, OneWord)\\n\\n // Retrieve the order index using the fulfillment pointer.\\n let orderIndex := mload(mload(fulfillmentHeadPtr))\\n\\n // Ensure that the order index is not out of range.\\n if iszero(lt(orderIndex, mload(advancedOrders))) {\\n throwInvalidFulfillmentComponentData()\\n }\\n\\n // Read advancedOrders[orderIndex] pointer from its array head.\\n let orderPtr := mload(\\n // Calculate head position of advancedOrders[orderIndex].\\n add(\\n add(advancedOrders, OneWord),\\n shl(OneWordShift, orderIndex)\\n )\\n )\\n\\n // Read the pointer to OrderParameters from the AdvancedOrder.\\n let paramsPtr := mload(orderPtr)\\n\\n // Retrieve item index using an offset of fulfillment pointer.\\n let itemIndex := mload(\\n add(mload(fulfillmentHeadPtr), Fulfillment_itemIndex_offset)\\n )\\n\\n let offerItemPtr\\n {\\n // Load the offer array pointer.\\n let offerArrPtr := mload(\\n add(paramsPtr, OrderParameters_offer_head_offset)\\n )\\n\\n // If the offer item index is out of range or the numerator\\n // is zero, skip this item.\\n if or(\\n iszero(lt(itemIndex, mload(offerArrPtr))),\\n iszero(\\n mload(add(orderPtr, AdvancedOrder_numerator_offset))\\n )\\n ) {\\n continue\\n }\\n\\n // Retrieve offer item pointer using the item index.\\n offerItemPtr := mload(\\n add(\\n // Get pointer to beginning of receivedItem.\\n add(offerArrPtr, OneWord),\\n // Calculate offset to pointer for desired order.\\n shl(OneWordShift, itemIndex)\\n )\\n )\\n }\\n\\n // Declare a separate scope for the amount update.\\n {\\n // Retrieve amount pointer using consideration item pointer.\\n let amountPtr := add(offerItemPtr, Common_amount_offset)\\n\\n // Add offer item amount to execution amount.\\n let newAmount := add(amount, mload(amountPtr))\\n\\n // Update error buffer:\\n // 1 = zero amount, 2 = overflow, 3 = both.\\n errorBuffer := or(\\n errorBuffer,\\n or(\\n shl(1, lt(newAmount, amount)),\\n iszero(mload(amountPtr))\\n )\\n )\\n\\n // Update the amount to the new, summed amount.\\n amount := newAmount\\n\\n // Zero out amount on original item to indicate it is spent.\\n mstore(amountPtr, 0)\\n }\\n\\n // Retrieve ReceivedItem pointer from Execution.\\n let receivedItem := mload(execution)\\n\\n // Check if this is the first valid fulfillment item.\\n switch iszero(dataHash)\\n case 1 {\\n // On first valid item, populate the received item in memory\\n // for later comparison.\\n\\n // Set the item type on the received item.\\n mstore(receivedItem, mload(offerItemPtr))\\n\\n // Set the token on the received item.\\n mstore(\\n add(receivedItem, Common_token_offset),\\n mload(add(offerItemPtr, Common_token_offset))\\n )\\n\\n // Set the identifier on the received item.\\n mstore(\\n add(receivedItem, Common_identifier_offset),\\n mload(add(offerItemPtr, Common_identifier_offset))\\n )\\n\\n // Set offerer on returned execution using order pointer.\\n mstore(\\n add(execution, Execution_offerer_offset),\\n mload(paramsPtr)\\n )\\n\\n // Set execution conduitKey via order pointer offset.\\n mstore(\\n add(execution, Execution_conduit_offset),\\n mload(add(paramsPtr, OrderParameters_conduit_offset))\\n )\\n\\n // Calculate the hash of (itemType, token, identifier).\\n dataHash := keccak256(\\n receivedItem,\\n ReceivedItem_CommonParams_size\\n )\\n\\n // If component index > 0, swap component pointer with\\n // pointer to first component so that any remainder after\\n // fulfillment can be added back to the first item.\\n let firstFulfillmentHeadPtr := add(offerComponents, OneWord)\\n if xor(firstFulfillmentHeadPtr, fulfillmentHeadPtr) {\\n let firstFulfillmentPtr := mload(\\n firstFulfillmentHeadPtr\\n )\\n let fulfillmentPtr := mload(fulfillmentHeadPtr)\\n mstore(firstFulfillmentHeadPtr, fulfillmentPtr)\\n }\\n }\\n default {\\n // Compare every subsequent item to the first.\\n if or(\\n or(\\n // The offerer must match on both items.\\n xor(\\n mload(paramsPtr),\\n mload(add(execution, Execution_offerer_offset))\\n ),\\n // The conduit key must match on both items.\\n xor(\\n mload(\\n add(\\n paramsPtr,\\n OrderParameters_conduit_offset\\n )\\n ),\\n mload(add(execution, Execution_conduit_offset))\\n )\\n ),\\n // The itemType, token, and identifier must match.\\n xor(\\n dataHash,\\n keccak256(\\n offerItemPtr,\\n ReceivedItem_CommonParams_size\\n )\\n )\\n ) {\\n // Throw if any of the requirements are not met.\\n throwInvalidFulfillmentComponentData()\\n }\\n }\\n }\\n\\n // Write final amount to execution.\\n mstore(add(mload(execution), Common_amount_offset), amount)\\n\\n // Determine whether the error buffer contains a nonzero error code.\\n if errorBuffer {\\n // If errorBuffer is 1, an item had an amount of zero.\\n if eq(errorBuffer, 1) {\\n // Store left-padded selector with push4 (reduces bytecode)\\n // mem[28:32] = selector\\n mstore(0, MissingItemAmount_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"MissingItemAmount()\\\"))\\n revert(\\n Error_selector_offset,\\n MissingItemAmount_error_length\\n )\\n }\\n\\n // If errorBuffer is not 1 or 0, the sum overflowed.\\n // Panic!\\n throwOverflow()\\n }\\n\\n // Declare function for reverts on invalid fulfillment data.\\n function throwInvalidFulfillmentComponentData() {\\n // Store left-padded selector (uses push4 and reduces code size)\\n mstore(0, InvalidFulfillmentComponentData_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidFulfillmentComponentData()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n InvalidFulfillmentComponentData_error_length\\n )\\n }\\n\\n // Declare function for reverts due to arithmetic overflows.\\n function throwOverflow() {\\n // Store the Panic error signature.\\n mstore(0, Panic_error_selector)\\n // Store the arithmetic (0x11) panic code.\\n mstore(Panic_error_code_ptr, Panic_arithmetic)\\n // revert(abi.encodeWithSignature(\\\"Panic(uint256)\\\", 0x11))\\n revert(Error_selector_offset, Panic_error_length)\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to aggregate a group of consideration items\\n * using supplied directives on which component items are candidates\\n * for aggregation, skipping items on orders that are not available.\\n * Note that this function depends on memory layout affected by an\\n * earlier call to _validateOrdersAndPrepareToFulfill. The memory for\\n * the consideration arrays needs to be updated before calling\\n * _aggregateValidFulfillmentConsiderationItems.\\n * _validateOrdersAndPrepareToFulfill is called in _matchAdvancedOrders\\n * and _fulfillAvailableAdvancedOrders in the current version.\\n *\\n * @param advancedOrders The orders to aggregate consideration\\n * items from.\\n * @param considerationComponents An array of FulfillmentComponent structs\\n * indicating the order index and item index\\n * of each candidate consideration item for\\n * aggregation.\\n * @param execution The execution to apply the aggregation to.\\n */\\n function _aggregateValidFulfillmentConsiderationItems(\\n AdvancedOrder[] memory advancedOrders,\\n FulfillmentComponent[] memory considerationComponents,\\n Execution memory execution\\n ) internal pure {\\n // Utilize assembly in order to efficiently aggregate the items.\\n assembly {\\n // Declare a variable for the final aggregated item amount.\\n let amount\\n\\n // Create variable to track errors encountered with amount.\\n let errorBuffer\\n\\n // Declare variable for hash(itemType, token, identifier, recipient)\\n let dataHash\\n\\n // Iterate over each consideration component.\\n for {\\n // Track position in considerationComponents head.\\n let fulfillmentHeadPtr := considerationComponents\\n\\n // Get position one word past last element in head of array.\\n let endPtr := add(\\n considerationComponents,\\n shl(OneWordShift, mload(considerationComponents))\\n )\\n } lt(fulfillmentHeadPtr, endPtr) {\\n\\n } {\\n // Increment position in considerationComponents head.\\n fulfillmentHeadPtr := add(fulfillmentHeadPtr, OneWord)\\n\\n // Retrieve the order index using the fulfillment pointer.\\n let orderIndex := mload(mload(fulfillmentHeadPtr))\\n\\n // Ensure that the order index is not out of range.\\n if iszero(lt(orderIndex, mload(advancedOrders))) {\\n throwInvalidFulfillmentComponentData()\\n }\\n\\n // Read advancedOrders[orderIndex] pointer from its array head.\\n let orderPtr := mload(\\n // Calculate head position of advancedOrders[orderIndex].\\n add(\\n add(advancedOrders, OneWord),\\n shl(OneWordShift, orderIndex)\\n )\\n )\\n\\n // Retrieve item index using an offset of fulfillment pointer.\\n let itemIndex := mload(\\n add(mload(fulfillmentHeadPtr), Fulfillment_itemIndex_offset)\\n )\\n\\n let considerationItemPtr\\n {\\n // Load consideration array pointer.\\n let considerationArrPtr := mload(\\n add(\\n // Read OrderParameters pointer from AdvancedOrder.\\n mload(orderPtr),\\n OrderParameters_consideration_head_offset\\n )\\n )\\n\\n // If the consideration item index is out of range or the\\n // numerator is zero, skip this item.\\n if or(\\n iszero(lt(itemIndex, mload(considerationArrPtr))),\\n iszero(\\n mload(add(orderPtr, AdvancedOrder_numerator_offset))\\n )\\n ) {\\n continue\\n }\\n\\n // Retrieve consideration item pointer using the item index.\\n considerationItemPtr := mload(\\n add(\\n // Get pointer to beginning of receivedItem.\\n add(considerationArrPtr, OneWord),\\n // Calculate offset to pointer for desired order.\\n shl(OneWordShift, itemIndex)\\n )\\n )\\n }\\n\\n // Declare a separate scope for the amount update.\\n {\\n // Retrieve amount pointer using consideration item pointer.\\n let amountPtr := add(\\n considerationItemPtr,\\n Common_amount_offset\\n )\\n\\n // Add consideration item amount to execution amount.\\n let newAmount := add(amount, mload(amountPtr))\\n\\n // Update error buffer:\\n // 1 = zero amount, 2 = overflow, 3 = both.\\n errorBuffer := or(\\n errorBuffer,\\n or(\\n shl(1, lt(newAmount, amount)),\\n iszero(mload(amountPtr))\\n )\\n )\\n\\n // Update the amount to the new, summed amount.\\n amount := newAmount\\n\\n // Zero out original item amount to indicate it is credited.\\n mstore(amountPtr, 0)\\n }\\n\\n // Retrieve ReceivedItem pointer from Execution.\\n let receivedItem := mload(execution)\\n\\n switch iszero(dataHash)\\n case 1 {\\n // On first valid item, populate the received item in\\n // memory for later comparison.\\n\\n // Set the item type on the received item.\\n mstore(receivedItem, mload(considerationItemPtr))\\n\\n // Set the token on the received item.\\n mstore(\\n add(receivedItem, Common_token_offset),\\n mload(add(considerationItemPtr, Common_token_offset))\\n )\\n\\n // Set the identifier on the received item.\\n mstore(\\n add(receivedItem, Common_identifier_offset),\\n mload(\\n add(considerationItemPtr, Common_identifier_offset)\\n )\\n )\\n\\n // Set the recipient on the received item. Note that this\\n // depends on the memory layout established by the\\n // _validateOrdersAndPrepareToFulfill function.\\n mstore(\\n add(receivedItem, ReceivedItem_recipient_offset),\\n mload(\\n add(\\n considerationItemPtr,\\n ReceivedItem_recipient_offset\\n )\\n )\\n )\\n\\n // Calculate the hash of (itemType, token, identifier,\\n // recipient). This is run after amount is set to zero, so\\n // there will be one blank word after identifier included in\\n // the hash buffer.\\n dataHash := keccak256(\\n considerationItemPtr,\\n ReceivedItem_size\\n )\\n\\n // If component index > 0, swap component pointer with\\n // pointer to first component so that any remainder after\\n // fulfillment can be added back to the first item.\\n let firstFulfillmentHeadPtr := add(\\n considerationComponents,\\n OneWord\\n )\\n if xor(firstFulfillmentHeadPtr, fulfillmentHeadPtr) {\\n let firstFulfillmentPtr := mload(\\n firstFulfillmentHeadPtr\\n )\\n let fulfillmentPtr := mload(fulfillmentHeadPtr)\\n mstore(firstFulfillmentHeadPtr, fulfillmentPtr)\\n }\\n }\\n default {\\n // Compare every subsequent item to the first; the item\\n // type, token, identifier and recipient must match.\\n if xor(\\n dataHash,\\n // Calculate the hash of (itemType, token, identifier,\\n // recipient). This is run after amount is set to zero,\\n // so there will be one blank word after identifier\\n // included in the hash buffer.\\n keccak256(considerationItemPtr, ReceivedItem_size)\\n ) {\\n // Throw if any of the requirements are not met.\\n throwInvalidFulfillmentComponentData()\\n }\\n }\\n }\\n\\n // Retrieve ReceivedItem pointer from Execution.\\n let receivedItem := mload(execution)\\n\\n // Write final amount to execution.\\n mstore(add(receivedItem, Common_amount_offset), amount)\\n\\n // Determine whether the error buffer contains a nonzero error code.\\n if errorBuffer {\\n // If errorBuffer is 1, an item had an amount of zero.\\n if eq(errorBuffer, 1) {\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(0, MissingItemAmount_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"MissingItemAmount()\\\"))\\n revert(\\n Error_selector_offset,\\n MissingItemAmount_error_length\\n )\\n }\\n\\n // If errorBuffer is not 1 or 0, `amount` overflowed.\\n // Panic!\\n throwOverflow()\\n }\\n\\n // Declare function for reverts on invalid fulfillment data.\\n function throwInvalidFulfillmentComponentData() {\\n // Store the InvalidFulfillmentComponentData error signature.\\n mstore(0, InvalidFulfillmentComponentData_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidFulfillmentComponentData()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n InvalidFulfillmentComponentData_error_length\\n )\\n }\\n\\n // Declare function for reverts due to arithmetic overflows.\\n function throwOverflow() {\\n // Store the Panic error signature.\\n mstore(0, Panic_error_selector)\\n // Store the arithmetic (0x11) panic code.\\n mstore(Panic_error_code_ptr, Panic_arithmetic)\\n // revert(abi.encodeWithSignature(\\\"Panic(uint256)\\\", 0x11))\\n revert(Error_selector_offset, Panic_error_length)\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/OrderFulfiller.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { ItemType, OrderType } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n AdvancedOrder,\\n ConsiderationItem,\\n CriteriaResolver,\\n OfferItem,\\n OrderParameters,\\n ReceivedItem,\\n SpentItem\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { BasicOrderFulfiller } from \\\"./BasicOrderFulfiller.sol\\\";\\n\\nimport { CriteriaResolution } from \\\"./CriteriaResolution.sol\\\";\\n\\nimport { AmountDeriver } from \\\"./AmountDeriver.sol\\\";\\n\\nimport {\\n _revertInsufficientNativeTokensSupplied,\\n _revertInvalidNativeOfferItem\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport {\\n AccumulatorDisarmed,\\n ConsiderationItem_recipient_offset,\\n ReceivedItem_amount_offset,\\n ReceivedItem_recipient_offset\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title OrderFulfiller\\n * @author 0age\\n * @notice OrderFulfiller contains logic related to order fulfillment where a\\n * single order is being fulfilled and where basic order fulfillment is\\n * not available as an option.\\n */\\ncontract OrderFulfiller is\\n BasicOrderFulfiller,\\n CriteriaResolution,\\n AmountDeriver\\n{\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(\\n address conduitController\\n ) BasicOrderFulfiller(conduitController) {}\\n\\n /**\\n * @dev Internal function to validate an order and update its status, adjust\\n * prices based on current time, apply criteria resolvers, determine\\n * what portion to fill, and transfer relevant tokens.\\n *\\n * @param advancedOrder The order to fulfill as well as the fraction\\n * to fill. Note that all offer and consideration\\n * components must divide with no remainder for\\n * the partial fill to be valid.\\n * @param criteriaResolvers An array where each element contains a\\n * reference to a specific offer or\\n * consideration, a token identifier, and a proof\\n * that the supplied token identifier is\\n * contained in the order's merkle root. Note\\n * that a criteria of zero indicates that any\\n * (transferable) token identifier is valid and\\n * that no proof needs to be supplied.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit, if\\n * any, to source the fulfiller's token approvals\\n * from. The zero hash signifies that no conduit\\n * should be used, with direct approvals set on\\n * Consideration.\\n * @param recipient The intended recipient for all received items.\\n *\\n * @return A boolean indicating whether the order has been fulfilled.\\n */\\n function _validateAndFulfillAdvancedOrder(\\n AdvancedOrder memory advancedOrder,\\n CriteriaResolver[] memory criteriaResolvers,\\n bytes32 fulfillerConduitKey,\\n address recipient\\n ) internal returns (bool) {\\n // Ensure this function cannot be triggered during a reentrant call.\\n _setReentrancyGuard(\\n // Native tokens accepted during execution for contract order types.\\n advancedOrder.parameters.orderType == OrderType.CONTRACT\\n );\\n\\n // Validate order, update status, and determine fraction to fill.\\n (\\n bytes32 orderHash,\\n uint256 fillNumerator,\\n uint256 fillDenominator\\n ) = _validateOrderAndUpdateStatus(advancedOrder, true);\\n\\n // Create an array with length 1 containing the order.\\n AdvancedOrder[] memory advancedOrders = new AdvancedOrder[](1);\\n\\n // Populate the order as the first and only element of the new array.\\n advancedOrders[0] = advancedOrder;\\n\\n // Apply criteria resolvers using generated orders and details arrays.\\n _applyCriteriaResolvers(advancedOrders, criteriaResolvers);\\n\\n // Retrieve the order parameters after applying criteria resolvers.\\n OrderParameters memory orderParameters = advancedOrders[0].parameters;\\n\\n // Perform each item transfer with the appropriate fractional amount.\\n _applyFractionsAndTransferEach(\\n orderParameters,\\n fillNumerator,\\n fillDenominator,\\n fulfillerConduitKey,\\n recipient\\n );\\n\\n // Declare empty bytes32 array and populate with the order hash.\\n bytes32[] memory orderHashes = new bytes32[](1);\\n orderHashes[0] = orderHash;\\n\\n // Ensure restricted orders have a valid submitter or pass a zone check.\\n _assertRestrictedAdvancedOrderValidity(\\n advancedOrders[0],\\n orderHashes,\\n orderHash\\n );\\n\\n // Emit an event signifying that the order has been fulfilled.\\n _emitOrderFulfilledEvent(\\n orderHash,\\n orderParameters.offerer,\\n orderParameters.zone,\\n recipient,\\n orderParameters.offer,\\n orderParameters.consideration\\n );\\n\\n // Clear the reentrancy guard.\\n _clearReentrancyGuard();\\n\\n return true;\\n }\\n\\n /**\\n * @dev Internal function to transfer each item contained in a given single\\n * order fulfillment after applying a respective fraction to the amount\\n * being transferred.\\n *\\n * @param orderParameters The parameters for the fulfilled order.\\n * @param numerator A value indicating the portion of the order\\n * that should be filled.\\n * @param denominator A value indicating the total order size.\\n * @param fulfillerConduitKey A bytes32 value indicating what conduit, if\\n * any, to source the fulfiller's token approvals\\n * from. The zero hash signifies that no conduit\\n * should be used, with direct approvals set on\\n * Consideration.\\n * @param recipient The intended recipient for all received items.\\n */\\n function _applyFractionsAndTransferEach(\\n OrderParameters memory orderParameters,\\n uint256 numerator,\\n uint256 denominator,\\n bytes32 fulfillerConduitKey,\\n address recipient\\n ) internal {\\n // Read start time & end time from order parameters and place on stack.\\n uint256 startTime = orderParameters.startTime;\\n uint256 endTime = orderParameters.endTime;\\n\\n // Initialize an accumulator array. From this point forward, no new\\n // memory regions can be safely allocated until the accumulator is no\\n // longer being utilized, as the accumulator operates in an open-ended\\n // fashion from this memory pointer; existing memory may still be\\n // accessed and modified, however.\\n bytes memory accumulator = new bytes(AccumulatorDisarmed);\\n\\n // As of solidity 0.6.0, inline assembly cannot directly access function\\n // definitions, but can still access locally scoped function variables.\\n // This means that a local variable to reference the internal function\\n // definition (using the same type), along with a local variable with\\n // the desired type, must first be created. Then, the original function\\n // pointer can be recast to the desired type.\\n\\n /**\\n * Repurpose existing OfferItem memory regions on the offer array for\\n * the order by overriding the _transfer function pointer to accept a\\n * modified OfferItem argument in place of the usual ReceivedItem:\\n *\\n * ========= OfferItem ========== ====== ReceivedItem ======\\n * ItemType itemType; ------------> ItemType itemType;\\n * address token; ----------------> address token;\\n * uint256 identifierOrCriteria; -> uint256 identifier;\\n * uint256 startAmount; ----------> uint256 amount;\\n * uint256 endAmount; ------------> address recipient;\\n */\\n\\n // Declare a nested scope to minimize stack depth.\\n unchecked {\\n // Read offer array length from memory and place on stack.\\n uint256 totalOfferItems = orderParameters.offer.length;\\n\\n // Create a variable to indicate whether the order has any\\n // native offer items\\n uint256 anyNativeItems;\\n\\n // Iterate over each offer on the order.\\n // Skip overflow check as for loop is indexed starting at zero.\\n for (uint256 i = 0; i < totalOfferItems; ++i) {\\n // Retrieve the offer item.\\n OfferItem memory offerItem = orderParameters.offer[i];\\n\\n // Offer items for the native token can not be received outside\\n // of a match order function except as part of a contract order.\\n {\\n ItemType itemType = offerItem.itemType;\\n assembly {\\n anyNativeItems := or(anyNativeItems, iszero(itemType))\\n }\\n }\\n\\n // Declare an additional nested scope to minimize stack depth.\\n {\\n // Apply fill fraction to get offer item amount to transfer.\\n uint256 amount = _applyFraction(\\n offerItem.startAmount,\\n offerItem.endAmount,\\n numerator,\\n denominator,\\n startTime,\\n endTime,\\n false\\n );\\n\\n // Utilize assembly to set overloaded offerItem arguments.\\n assembly {\\n // Write new fractional amount to startAmount as amount.\\n mstore(\\n add(offerItem, ReceivedItem_amount_offset),\\n amount\\n )\\n\\n // Write recipient to endAmount.\\n mstore(\\n add(offerItem, ReceivedItem_recipient_offset),\\n recipient\\n )\\n }\\n }\\n\\n // Transfer the item from the offerer to the recipient.\\n _toOfferItemInput(_transfer)(\\n offerItem,\\n orderParameters.offerer,\\n orderParameters.conduitKey,\\n accumulator\\n );\\n }\\n\\n // If a non-contract order has native offer items, throw with an\\n // `InvalidNativeOfferItem` custom error.\\n {\\n OrderType orderType = orderParameters.orderType;\\n uint256 invalidNativeOfferItem;\\n assembly {\\n invalidNativeOfferItem := and(\\n // Note that this check requires that there are no order\\n // types beyond the current set (0-4). It will need to\\n // be modified if more order types are added.\\n lt(orderType, 4),\\n anyNativeItems\\n )\\n }\\n if (invalidNativeOfferItem != 0) {\\n _revertInvalidNativeOfferItem();\\n }\\n }\\n }\\n\\n // Declare a variable for the available native token balance.\\n uint256 nativeTokenBalance;\\n\\n /**\\n * Repurpose existing ConsiderationItem memory regions on the\\n * consideration array for the order by overriding the _transfer\\n * function pointer to accept a modified ConsiderationItem argument in\\n * place of the usual ReceivedItem:\\n *\\n * ====== ConsiderationItem ===== ====== ReceivedItem ======\\n * ItemType itemType; ------------> ItemType itemType;\\n * address token; ----------------> address token;\\n * uint256 identifierOrCriteria;--> uint256 identifier;\\n * uint256 startAmount; ----------> uint256 amount;\\n * uint256 endAmount; /----> address recipient;\\n * address recipient; ------/\\n */\\n\\n // Declare a nested scope to minimize stack depth.\\n unchecked {\\n // Read consideration array length from memory and place on stack.\\n uint256 totalConsiderationItems = orderParameters\\n .consideration\\n .length;\\n\\n // Iterate over each consideration item on the order.\\n // Skip overflow check as for loop is indexed starting at zero.\\n for (uint256 i = 0; i < totalConsiderationItems; ++i) {\\n // Retrieve the consideration item.\\n ConsiderationItem memory considerationItem = (\\n orderParameters.consideration[i]\\n );\\n\\n // Apply fraction & derive considerationItem amount to transfer.\\n uint256 amount = _applyFraction(\\n considerationItem.startAmount,\\n considerationItem.endAmount,\\n numerator,\\n denominator,\\n startTime,\\n endTime,\\n true\\n );\\n\\n // Use assembly to set overloaded considerationItem arguments.\\n assembly {\\n // Write derived fractional amount to startAmount as amount.\\n mstore(\\n add(considerationItem, ReceivedItem_amount_offset),\\n amount\\n )\\n\\n // Write original recipient to endAmount as recipient.\\n mstore(\\n add(considerationItem, ReceivedItem_recipient_offset),\\n mload(\\n add(\\n considerationItem,\\n ConsiderationItem_recipient_offset\\n )\\n )\\n )\\n }\\n\\n if (considerationItem.itemType == ItemType.NATIVE) {\\n // Get the current available balance of native tokens.\\n assembly {\\n nativeTokenBalance := selfbalance()\\n }\\n\\n // Ensure that sufficient native tokens are still available.\\n if (amount > nativeTokenBalance) {\\n _revertInsufficientNativeTokensSupplied();\\n }\\n }\\n\\n // Transfer item from caller to recipient specified by the item.\\n _toConsiderationItemInput(_transfer)(\\n considerationItem,\\n msg.sender,\\n fulfillerConduitKey,\\n accumulator\\n );\\n }\\n }\\n\\n // Trigger any remaining accumulated transfers via call to the conduit.\\n _triggerIfArmed(accumulator);\\n\\n // Determine whether any native token balance remains.\\n assembly {\\n nativeTokenBalance := selfbalance()\\n }\\n\\n // Return any remaining native token balance to the caller.\\n if (nativeTokenBalance != 0) {\\n _transferNativeTokens(payable(msg.sender), nativeTokenBalance);\\n }\\n }\\n\\n /**\\n * @dev Internal function to emit an OrderFulfilled event. OfferItems are\\n * translated into SpentItems and ConsiderationItems are translated\\n * into ReceivedItems.\\n *\\n * @param orderHash The order hash.\\n * @param offerer The offerer for the order.\\n * @param zone The zone for the order.\\n * @param recipient The recipient of the order, or the null address if\\n * the order was fulfilled via order matching.\\n * @param offer The offer items for the order.\\n * @param consideration The consideration items for the order.\\n */\\n function _emitOrderFulfilledEvent(\\n bytes32 orderHash,\\n address offerer,\\n address zone,\\n address recipient,\\n OfferItem[] memory offer,\\n ConsiderationItem[] memory consideration\\n ) internal {\\n // Cast already-modified offer memory region as spent items.\\n SpentItem[] memory spentItems;\\n assembly {\\n spentItems := offer\\n }\\n\\n // Cast already-modified consideration memory region as received items.\\n ReceivedItem[] memory receivedItems;\\n assembly {\\n receivedItems := consideration\\n }\\n\\n // Emit an event signifying that the order has been fulfilled.\\n emit OrderFulfilled(\\n orderHash,\\n offerer,\\n zone,\\n recipient,\\n spentItems,\\n receivedItems\\n );\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationErrorConstants.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nuint256 constant Error_selector_offset = 0x1c;\\n\\n/*\\n * error MissingFulfillmentComponentOnAggregation(uint8 side)\\n * - Defined in FulfillmentApplicationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: side\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant MissingFulfillmentComponentOnAggregation_error_selector = (\\n 0x375c24c1\\n);\\nuint256 constant MissingFulfillmentComponentOnAggregation_error_side_ptr = 0x20;\\nuint256 constant MissingFulfillmentComponentOnAggregation_error_length = 0x24;\\n\\n/*\\n * error OfferAndConsiderationRequiredOnFulfillment()\\n * - Defined in FulfillmentApplicationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant OfferAndConsiderationRequiredOnFulfillment_error_selector = (\\n 0x98e9db6e\\n);\\nuint256 constant OfferAndConsiderationRequiredOnFulfillment_error_length = 0x04;\\n\\n/*\\n * error MismatchedFulfillmentOfferAndConsiderationComponents(\\n * uint256 fulfillmentIndex\\n * )\\n * - Defined in FulfillmentApplicationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: fulfillmentIndex\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant MismatchedOfferAndConsiderationComponents_error_selector = (\\n 0xbced929d\\n);\\nuint256 constant MismatchedOfferAndConsiderationComponents_error_idx_ptr = 0x20;\\nuint256 constant MismatchedOfferAndConsiderationComponents_error_length = 0x24;\\n\\n/*\\n * error InvalidFulfillmentComponentData()\\n * - Defined in FulfillmentApplicationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InvalidFulfillmentComponentData_error_selector = 0x7fda7279;\\nuint256 constant InvalidFulfillmentComponentData_error_length = 0x04;\\n\\n/*\\n * error InexactFraction()\\n * - Defined in AmountDerivationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InexactFraction_error_selector = 0xc63cf089;\\nuint256 constant InexactFraction_error_length = 0x04;\\n\\n/*\\n * error OrderCriteriaResolverOutOfRange(uint8 side)\\n * - Defined in CriteriaResolutionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: side\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant OrderCriteriaResolverOutOfRange_error_selector = 0x133c37c6;\\nuint256 constant OrderCriteriaResolverOutOfRange_error_side_ptr = 0x20;\\nuint256 constant OrderCriteriaResolverOutOfRange_error_length = 0x24;\\n\\n/*\\n * error UnresolvedOfferCriteria(uint256 orderIndex, uint256 offerIndex)\\n * - Defined in CriteriaResolutionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderIndex\\n * - 0x40: offerIndex\\n * Revert buffer is memory[0x1c:0x60]\\n */\\nuint256 constant UnresolvedOfferCriteria_error_selector = 0xd6929332;\\nuint256 constant UnresolvedOfferCriteria_error_orderIndex_ptr = 0x20;\\nuint256 constant UnresolvedOfferCriteria_error_offerIndex_ptr = 0x40;\\nuint256 constant UnresolvedOfferCriteria_error_length = 0x44;\\n\\n/*\\n * error UnresolvedConsiderationCriteria(\\n * uint256 orderIndex,\\n * uint256 considerationIndex\\n * )\\n * - Defined in CriteriaResolutionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderIndex\\n * - 0x40: considerationIndex\\n * Revert buffer is memory[0x1c:0x60]\\n */\\nuint256 constant UnresolvedConsiderationCriteria_error_selector = 0xa8930e9a;\\nuint256 constant UnresolvedConsiderationCriteria_error_orderIndex_ptr = 0x20;\\nuint256 constant UnresolvedConsiderationCriteria_error_considerationIdx_ptr = (\\n 0x40\\n);\\nuint256 constant UnresolvedConsiderationCriteria_error_length = 0x44;\\n\\n/*\\n * error OfferCriteriaResolverOutOfRange()\\n * - Defined in CriteriaResolutionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant OfferCriteriaResolverOutOfRange_error_selector = 0xbfb3f8ce;\\n// uint256 constant OfferCriteriaResolverOutOfRange_error_length = 0x04;\\n\\n/*\\n * error ConsiderationCriteriaResolverOutOfRange()\\n * - Defined in CriteriaResolutionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant ConsiderationCriteriaResolverOutOfRange_error_selector = (\\n 0x6088d7de\\n);\\nuint256 constant ConsiderationCriteriaResolverOutOfRange_err_selector = (\\n 0x6088d7de\\n);\\n// uint256 constant ConsiderationCriteriaResolverOutOfRange_error_length = 0x04;\\n\\n/*\\n * error CriteriaNotEnabledForItem()\\n * - Defined in CriteriaResolutionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant CriteriaNotEnabledForItem_error_selector = 0x94eb6af6;\\nuint256 constant CriteriaNotEnabledForItem_error_length = 0x04;\\n\\n/*\\n * error InvalidProof()\\n * - Defined in CriteriaResolutionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InvalidProof_error_selector = 0x09bde339;\\nuint256 constant InvalidProof_error_length = 0x04;\\n\\n/*\\n * error InvalidRestrictedOrder(bytes32 orderHash)\\n * - Defined in ZoneInteractionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderHash\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant InvalidRestrictedOrder_error_selector = 0xfb5014fc;\\nuint256 constant InvalidRestrictedOrder_error_orderHash_ptr = 0x20;\\nuint256 constant InvalidRestrictedOrder_error_length = 0x24;\\n\\n/*\\n * error InvalidContractOrder(bytes32 orderHash)\\n * - Defined in ZoneInteractionErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderHash\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant InvalidContractOrder_error_selector = 0x93979285;\\nuint256 constant InvalidContractOrder_error_orderHash_ptr = 0x20;\\nuint256 constant InvalidContractOrder_error_length = 0x24;\\n\\n/*\\n * error BadSignatureV(uint8 v)\\n * - Defined in SignatureVerificationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: v\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant BadSignatureV_error_selector = 0x1f003d0a;\\nuint256 constant BadSignatureV_error_v_ptr = 0x20;\\nuint256 constant BadSignatureV_error_length = 0x24;\\n\\n/*\\n * error InvalidSigner()\\n * - Defined in SignatureVerificationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InvalidSigner_error_selector = 0x815e1d64;\\nuint256 constant InvalidSigner_error_length = 0x04;\\n\\n/*\\n * error InvalidSignature()\\n * - Defined in SignatureVerificationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InvalidSignature_error_selector = 0x8baa579f;\\nuint256 constant InvalidSignature_error_length = 0x04;\\n\\n/*\\n * error BadContractSignature()\\n * - Defined in SignatureVerificationErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant BadContractSignature_error_selector = 0x4f7fb80d;\\nuint256 constant BadContractSignature_error_length = 0x04;\\n\\n/*\\n * error InvalidERC721TransferAmount(uint256 amount)\\n * - Defined in TokenTransferrerErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: amount\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant InvalidERC721TransferAmount_error_selector = 0x69f95827;\\nuint256 constant InvalidERC721TransferAmount_error_amount_ptr = 0x20;\\nuint256 constant InvalidERC721TransferAmount_error_length = 0x24;\\n\\n/*\\n * error MissingItemAmount()\\n * - Defined in TokenTransferrerErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant MissingItemAmount_error_selector = 0x91b3e514;\\nuint256 constant MissingItemAmount_error_length = 0x04;\\n\\n/*\\n * error UnusedItemParameters()\\n * - Defined in TokenTransferrerErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant UnusedItemParameters_error_selector = 0x6ab37ce7;\\nuint256 constant UnusedItemParameters_error_length = 0x04;\\n\\n/*\\n * error NoReentrantCalls()\\n * - Defined in ReentrancyErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant NoReentrantCalls_error_selector = 0x7fa8a987;\\nuint256 constant NoReentrantCalls_error_length = 0x04;\\n\\n/*\\n * error OrderAlreadyFilled(bytes32 orderHash)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderHash\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant OrderAlreadyFilled_error_selector = 0x10fda3e1;\\nuint256 constant OrderAlreadyFilled_error_orderHash_ptr = 0x20;\\nuint256 constant OrderAlreadyFilled_error_length = 0x24;\\n\\n/*\\n * error InvalidTime(uint256 startTime, uint256 endTime)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: startTime\\n * - 0x40: endTime\\n * Revert buffer is memory[0x1c:0x60]\\n */\\nuint256 constant InvalidTime_error_selector = 0x21ccfeb7;\\nuint256 constant InvalidTime_error_startTime_ptr = 0x20;\\nuint256 constant InvalidTime_error_endTime_ptr = 0x40;\\nuint256 constant InvalidTime_error_length = 0x44;\\n\\n/*\\n * error InvalidConduit(bytes32 conduitKey, address conduit)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: conduitKey\\n * - 0x40: conduit\\n * Revert buffer is memory[0x1c:0x60]\\n */\\nuint256 constant InvalidConduit_error_selector = 0x1cf99b26;\\nuint256 constant InvalidConduit_error_conduitKey_ptr = 0x20;\\nuint256 constant InvalidConduit_error_conduit_ptr = 0x40;\\nuint256 constant InvalidConduit_error_length = 0x44;\\n\\n/*\\n * error MissingOriginalConsiderationItems()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant MissingOriginalConsiderationItems_error_selector = 0x466aa616;\\nuint256 constant MissingOriginalConsiderationItems_error_length = 0x04;\\n\\n/*\\n * error InvalidCallToConduit(address conduit)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: conduit\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant InvalidCallToConduit_error_selector = 0xd13d53d4;\\nuint256 constant InvalidCallToConduit_error_conduit_ptr = 0x20;\\nuint256 constant InvalidCallToConduit_error_length = 0x24;\\n\\n/*\\n * error ConsiderationNotMet(\\n * uint256 orderIndex,\\n * uint256 considerationIndex,\\n * uint256 shortfallAmount\\n * )\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderIndex\\n * - 0x40: considerationIndex\\n * - 0x60: shortfallAmount\\n * Revert buffer is memory[0x1c:0x80]\\n */\\nuint256 constant ConsiderationNotMet_error_selector = 0xa5f54208;\\nuint256 constant ConsiderationNotMet_error_orderIndex_ptr = 0x20;\\nuint256 constant ConsiderationNotMet_error_considerationIndex_ptr = 0x40;\\nuint256 constant ConsiderationNotMet_error_shortfallAmount_ptr = 0x60;\\nuint256 constant ConsiderationNotMet_error_length = 0x64;\\n\\n/*\\n * error InsufficientNativeTokensSupplied()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InsufficientNativeTokensSupplied_error_selector = 0x8ffff980;\\nuint256 constant InsufficientNativeTokensSupplied_error_length = 0x04;\\n\\n/*\\n * error NativeTokenTransferGenericFailure(address account, uint256 amount)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: account\\n * - 0x40: amount\\n * Revert buffer is memory[0x1c:0x60]\\n */\\nuint256 constant NativeTokenTransferGenericFailure_error_selector = 0xbc806b96;\\nuint256 constant NativeTokenTransferGenericFailure_error_account_ptr = 0x20;\\nuint256 constant NativeTokenTransferGenericFailure_error_amount_ptr = 0x40;\\nuint256 constant NativeTokenTransferGenericFailure_error_length = 0x44;\\n\\n/*\\n * error PartialFillsNotEnabledForOrder()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant PartialFillsNotEnabledForOrder_error_selector = 0xa11b63ff;\\nuint256 constant PartialFillsNotEnabledForOrder_error_length = 0x04;\\n\\n/*\\n * error OrderIsCancelled(bytes32 orderHash)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderHash\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant OrderIsCancelled_error_selector = 0x1a515574;\\nuint256 constant OrderIsCancelled_error_orderHash_ptr = 0x20;\\nuint256 constant OrderIsCancelled_error_length = 0x24;\\n\\n/*\\n * error OrderPartiallyFilled(bytes32 orderHash)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: orderHash\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant OrderPartiallyFilled_error_selector = 0xee9e0e63;\\nuint256 constant OrderPartiallyFilled_error_orderHash_ptr = 0x20;\\nuint256 constant OrderPartiallyFilled_error_length = 0x24;\\n\\n/*\\n * error CannotCancelOrder()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant CannotCancelOrder_error_selector = 0xfed398fc;\\nuint256 constant CannotCancelOrder_error_length = 0x04;\\n\\n/*\\n * error BadFraction()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant BadFraction_error_selector = 0x5a052b32;\\nuint256 constant BadFraction_error_length = 0x04;\\n\\n/*\\n * error InvalidMsgValue(uint256 value)\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: value\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant InvalidMsgValue_error_selector = 0xa61be9f0;\\nuint256 constant InvalidMsgValue_error_value_ptr = 0x20;\\nuint256 constant InvalidMsgValue_error_length = 0x24;\\n\\n/*\\n * error InvalidBasicOrderParameterEncoding()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InvalidBasicOrderParameterEncoding_error_selector = 0x39f3e3fd;\\nuint256 constant InvalidBasicOrderParameterEncoding_error_length = 0x04;\\n\\n/*\\n * error NoSpecifiedOrdersAvailable()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant NoSpecifiedOrdersAvailable_error_selector = 0xd5da9a1b;\\nuint256 constant NoSpecifiedOrdersAvailable_error_length = 0x04;\\n\\n/*\\n * error InvalidNativeOfferItem()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant InvalidNativeOfferItem_error_selector = 0x12d3f5a3;\\nuint256 constant InvalidNativeOfferItem_error_length = 0x04;\\n\\n/*\\n * error ConsiderationLengthNotEqualToTotalOriginal()\\n * - Defined in ConsiderationEventsAndErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * Revert buffer is memory[0x1c:0x20]\\n */\\nuint256 constant ConsiderationLengthNotEqualToTotalOriginal_error_selector = (\\n 0x2165628a\\n);\\nuint256 constant ConsiderationLengthNotEqualToTotalOriginal_error_length = 0x04;\\n\\n/*\\n * error Panic(uint256 code)\\n * - Built-in Solidity error\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: code\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant Panic_error_selector = 0x4e487b71;\\nuint256 constant Panic_error_code_ptr = 0x20;\\nuint256 constant Panic_error_length = 0x24;\\n\\nuint256 constant Panic_arithmetic = 0x11;\\n// uint256 constant Panic_resource = 0x41;\\n\"\r\n },\r\n \"contracts/interfaces/FulfillmentApplicationErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport { Side } from \\\"../lib/ConsiderationEnums.sol\\\";\\n\\n/**\\n * @title FulfillmentApplicationErrors\\n * @author 0age\\n * @notice FulfillmentApplicationErrors contains errors related to fulfillment\\n * application and aggregation.\\n */\\ninterface FulfillmentApplicationErrors {\\n /**\\n * @dev Revert with an error when a fulfillment is provided that does not\\n * declare at least one component as part of a call to fulfill\\n * available orders.\\n */\\n error MissingFulfillmentComponentOnAggregation(Side side);\\n\\n /**\\n * @dev Revert with an error when a fulfillment is provided that does not\\n * declare at least one offer component and at least one consideration\\n * component.\\n */\\n error OfferAndConsiderationRequiredOnFulfillment();\\n\\n /**\\n * @dev Revert with an error when the initial offer item named by a\\n * fulfillment component does not match the type, token, identifier,\\n * or conduit preference of the initial consideration item.\\n *\\n * @param fulfillmentIndex The index of the fulfillment component that\\n * does not match the initial offer item.\\n */\\n error MismatchedFulfillmentOfferAndConsiderationComponents(\\n uint256 fulfillmentIndex\\n );\\n\\n /**\\n * @dev Revert with an error when an order or item index are out of range\\n * or a fulfillment component does not match the type, token,\\n * identifier, or conduit preference of the initial consideration item.\\n */\\n error InvalidFulfillmentComponentData();\\n}\\n\"\r\n },\r\n \"contracts/lib/CriteriaResolution.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { ItemType, Side } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n AdvancedOrder,\\n CriteriaResolver,\\n MemoryPointer,\\n OfferItem,\\n OrderParameters\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport {\\n _revertCriteriaNotEnabledForItem,\\n _revertInvalidProof,\\n _revertOrderCriteriaResolverOutOfRange,\\n _revertUnresolvedConsiderationCriteria,\\n _revertUnresolvedOfferCriteria\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport {\\n CriteriaResolutionErrors\\n} from \\\"../interfaces/CriteriaResolutionErrors.sol\\\";\\n\\nimport {\\n OneWord,\\n OneWordShift,\\n OrderParameters_consideration_head_offset,\\n Selector_length,\\n TwoWords\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n ConsiderationCriteriaResolverOutOfRange_err_selector,\\n Error_selector_offset,\\n OfferCriteriaResolverOutOfRange_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @title CriteriaResolution\\n * @author 0age\\n * @notice CriteriaResolution contains a collection of pure functions related to\\n * resolving criteria-based items.\\n */\\ncontract CriteriaResolution is CriteriaResolutionErrors {\\n /**\\n * @dev Internal pure function to apply criteria resolvers containing\\n * specific token identifiers and associated proofs to order items.\\n *\\n * @param advancedOrders The orders to apply criteria resolvers to.\\n * @param criteriaResolvers An array where each element contains a\\n * reference to a specific order as well as that\\n * order's offer or consideration, a token\\n * identifier, and a proof that the supplied token\\n * identifier is contained in the order's merkle\\n * root. Note that a root of zero indicates that\\n * any transferable token identifier is valid and\\n * that no proof needs to be supplied.\\n */\\n function _applyCriteriaResolvers(\\n AdvancedOrder[] memory advancedOrders,\\n CriteriaResolver[] memory criteriaResolvers\\n ) internal pure {\\n // Skip overflow checks as all for loops are indexed starting at zero.\\n unchecked {\\n // Retrieve length of criteria resolvers array and place on stack.\\n uint256 totalCriteriaResolvers = criteriaResolvers.length;\\n\\n // Retrieve length of orders array and place on stack.\\n uint256 totalAdvancedOrders = advancedOrders.length;\\n\\n // Iterate over each criteria resolver.\\n for (uint256 i = 0; i < totalCriteriaResolvers; ++i) {\\n // Retrieve the criteria resolver.\\n CriteriaResolver memory criteriaResolver = (\\n criteriaResolvers[i]\\n );\\n\\n // Read the order index from memory and place it on the stack.\\n uint256 orderIndex = criteriaResolver.orderIndex;\\n\\n // Ensure that the order index is in range.\\n if (orderIndex >= totalAdvancedOrders) {\\n _revertOrderCriteriaResolverOutOfRange(\\n criteriaResolver.side\\n );\\n }\\n\\n // Retrieve the referenced advanced order.\\n AdvancedOrder memory advancedOrder = advancedOrders[orderIndex];\\n\\n // Skip criteria resolution for order if not fulfilled.\\n if (advancedOrder.numerator == 0) {\\n continue;\\n }\\n\\n // Retrieve the parameters for the order.\\n OrderParameters memory orderParameters = (\\n advancedOrder.parameters\\n );\\n\\n {\\n // Get a pointer to the list of items to give to\\n // _updateCriteriaItem. If the resolver refers to a\\n // consideration item, this array pointer will be replaced\\n // with the consideration array.\\n OfferItem[] memory items = orderParameters.offer;\\n\\n // Read component index from memory and place it on stack.\\n uint256 componentIndex = criteriaResolver.index;\\n\\n // Get error selector for `OfferCriteriaResolverOutOfRange`.\\n uint256 errorSelector = (\\n OfferCriteriaResolverOutOfRange_error_selector\\n );\\n\\n // If the resolver refers to a consideration item...\\n if (criteriaResolver.side != Side.OFFER) {\\n // Get the pointer to `orderParameters.consideration`\\n // Using the array directly has a significant impact on\\n // the optimized compiler output.\\n MemoryPointer considerationPtr = orderParameters\\n .toMemoryPointer()\\n .pptr(OrderParameters_consideration_head_offset);\\n\\n // Replace the items pointer with a pointer to the\\n // consideration array.\\n assembly {\\n items := considerationPtr\\n }\\n\\n // Replace the error selector with the selector for\\n // `ConsiderationCriteriaResolverOutOfRange`.\\n errorSelector = (\\n ConsiderationCriteriaResolverOutOfRange_err_selector\\n );\\n }\\n\\n // Ensure that the component index is in range.\\n if (componentIndex >= items.length) {\\n assembly {\\n // Revert with either\\n // `OfferCriteriaResolverOutOfRange()` or\\n // `ConsiderationCriteriaResolverOutOfRange()`,\\n // depending on whether the resolver refers to a\\n // consideration item.\\n mstore(0, errorSelector)\\n // revert(abi.encodeWithSignature(\\n // \\\"OfferCriteriaResolverOutOfRange()\\\"\\n // ))\\n // or\\n // revert(abi.encodeWithSignature(\\n // \\\"ConsiderationCriteriaResolverOutOfRange()\\\"\\n // ))\\n revert(Error_selector_offset, Selector_length)\\n }\\n }\\n\\n // Apply the criteria resolver to the item in question.\\n _updateCriteriaItem(\\n items,\\n componentIndex,\\n criteriaResolver\\n );\\n }\\n }\\n\\n // Iterate over each advanced order.\\n for (uint256 i = 0; i < totalAdvancedOrders; ++i) {\\n // Retrieve the advanced order.\\n AdvancedOrder memory advancedOrder = advancedOrders[i];\\n\\n // Skip criteria resolution for order if not fulfilled.\\n if (advancedOrder.numerator == 0) {\\n continue;\\n }\\n\\n // Retrieve the parameters for the order.\\n OrderParameters memory orderParameters = (\\n advancedOrder.parameters\\n );\\n\\n // Read consideration length from memory and place on stack.\\n uint256 totalItems = orderParameters.consideration.length;\\n\\n // Iterate over each consideration item on the order.\\n for (uint256 j = 0; j < totalItems; ++j) {\\n // Ensure item type no longer indicates criteria usage.\\n if (\\n _isItemWithCriteria(\\n orderParameters.consideration[j].itemType\\n )\\n ) {\\n _revertUnresolvedConsiderationCriteria(i, j);\\n }\\n }\\n\\n // Read offer length from memory and place on stack.\\n totalItems = orderParameters.offer.length;\\n\\n // Iterate over each offer item on the order.\\n for (uint256 j = 0; j < totalItems; ++j) {\\n // Ensure item type no longer indicates criteria usage.\\n if (\\n _isItemWithCriteria(orderParameters.offer[j].itemType)\\n ) {\\n _revertUnresolvedOfferCriteria(i, j);\\n }\\n }\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to update a criteria item.\\n *\\n * @param offer The offer containing the item to update.\\n * @param componentIndex The index of the item to update.\\n * @param criteriaResolver The criteria resolver to use to update the item.\\n */\\n function _updateCriteriaItem(\\n OfferItem[] memory offer,\\n uint256 componentIndex,\\n CriteriaResolver memory criteriaResolver\\n ) internal pure {\\n // Retrieve relevant item using the component index.\\n OfferItem memory offerItem = offer[componentIndex];\\n\\n // Read item type and criteria from memory & place on stack.\\n ItemType itemType = offerItem.itemType;\\n\\n // Ensure the specified item type indicates criteria usage.\\n if (!_isItemWithCriteria(itemType)) {\\n _revertCriteriaNotEnabledForItem();\\n }\\n\\n uint256 identifierOrCriteria = offerItem.identifierOrCriteria;\\n\\n // If criteria is not 0 (i.e. a collection-wide criteria-based item)...\\n if (identifierOrCriteria != uint256(0)) {\\n // Verify identifier inclusion in criteria root using proof.\\n _verifyProof(\\n criteriaResolver.identifier,\\n identifierOrCriteria,\\n criteriaResolver.criteriaProof\\n );\\n } else if (criteriaResolver.criteriaProof.length != 0) {\\n // Revert if non-empty proof is supplied for a collection-wide item.\\n _revertInvalidProof();\\n }\\n\\n // Update item type to remove criteria usage.\\n // Use assembly to operate on ItemType enum as a number.\\n ItemType newItemType;\\n assembly {\\n // Item type 4 becomes 2 and item type 5 becomes 3.\\n newItemType := sub(3, eq(itemType, 4))\\n }\\n offerItem.itemType = newItemType;\\n\\n // Update identifier w/ supplied identifier.\\n offerItem.identifierOrCriteria = criteriaResolver.identifier;\\n }\\n\\n /**\\n * @dev Internal pure function to check whether a given item type represents\\n * a criteria-based ERC721 or ERC1155 item (e.g. an item that can be\\n * resolved to one of a number of different identifiers at the time of\\n * order fulfillment).\\n *\\n * @param itemType The item type in question.\\n *\\n * @return withCriteria A boolean indicating that the item type in question\\n * represents a criteria-based item.\\n */\\n function _isItemWithCriteria(\\n ItemType itemType\\n ) internal pure returns (bool withCriteria) {\\n // ERC721WithCriteria is ItemType 4. ERC1155WithCriteria is ItemType 5.\\n assembly {\\n withCriteria := gt(itemType, 3)\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to ensure that a given element is contained\\n * in a merkle root via a supplied proof.\\n *\\n * @param leaf The element for which to prove inclusion.\\n * @param root The merkle root that inclusion will be proved against.\\n * @param proof The merkle proof.\\n */\\n function _verifyProof(\\n uint256 leaf,\\n uint256 root,\\n bytes32[] memory proof\\n ) internal pure {\\n // Declare a variable that will be used to determine proof validity.\\n bool isValid;\\n\\n // Utilize assembly to efficiently verify the proof against the root.\\n assembly {\\n // Store the leaf at the beginning of scratch space.\\n mstore(0, leaf)\\n\\n // Derive the hash of the leaf to use as the initial proof element.\\n let computedHash := keccak256(0, OneWord)\\n\\n // Get memory start location of the first element in proof array.\\n let data := add(proof, OneWord)\\n\\n // Iterate over each proof element to compute the root hash.\\n for {\\n // Left shift by 5 is equivalent to multiplying by 0x20.\\n let end := add(data, shl(OneWordShift, mload(proof)))\\n } lt(data, end) {\\n // Increment by one word at a time.\\n data := add(data, OneWord)\\n } {\\n // Get the proof element.\\n let loadedData := mload(data)\\n\\n // Sort proof elements and place them in scratch space.\\n // Slot of `computedHash` in scratch space.\\n // If the condition is true: 0x20, otherwise: 0x00.\\n let scratch := shl(OneWordShift, gt(computedHash, loadedData))\\n\\n // Store elements to hash contiguously in scratch space. Scratch\\n // space is 64 bytes (0x00 - 0x3f) & both elements are 32 bytes.\\n mstore(scratch, computedHash)\\n mstore(xor(scratch, OneWord), loadedData)\\n\\n // Derive the updated hash.\\n computedHash := keccak256(0, TwoWords)\\n }\\n\\n // Compare the final hash to the supplied root.\\n isValid := eq(computedHash, root)\\n }\\n\\n // Revert if computed hash does not equal supplied root.\\n if (!isValid) {\\n _revertInvalidProof();\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/AmountDeriver.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n AmountDerivationErrors\\n} from \\\"../interfaces/AmountDerivationErrors.sol\\\";\\n\\nimport {\\n Error_selector_offset,\\n InexactFraction_error_length,\\n InexactFraction_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @title AmountDeriver\\n * @author 0age\\n * @notice AmountDeriver contains view and pure functions related to deriving\\n * item amounts based on partial fill quantity and on linear\\n * interpolation based on current time when the start amount and end\\n * amount differ.\\n */\\ncontract AmountDeriver is AmountDerivationErrors {\\n /**\\n * @dev Internal view function to derive the current amount of a given item\\n * based on the current price, the starting price, and the ending\\n * price. If the start and end prices differ, the current price will be\\n * interpolated on a linear basis. Note that this function expects that\\n * the startTime parameter of orderParameters is not greater than the\\n * current block timestamp and that the endTime parameter is greater\\n * than the current block timestamp. If this condition is not upheld,\\n * duration / elapsed / remaining variables will underflow.\\n *\\n * @param startAmount The starting amount of the item.\\n * @param endAmount The ending amount of the item.\\n * @param startTime The starting time of the order.\\n * @param endTime The end time of the order.\\n * @param roundUp A boolean indicating whether the resultant amount\\n * should be rounded up or down.\\n *\\n * @return amount The current amount.\\n */\\n function _locateCurrentAmount(\\n uint256 startAmount,\\n uint256 endAmount,\\n uint256 startTime,\\n uint256 endTime,\\n bool roundUp\\n ) internal view returns (uint256 amount) {\\n // Only modify end amount if it doesn't already equal start amount.\\n if (startAmount != endAmount) {\\n // Declare variables to derive in the subsequent unchecked scope.\\n uint256 duration;\\n uint256 elapsed;\\n uint256 remaining;\\n\\n // Skip underflow checks as startTime <= block.timestamp < endTime.\\n unchecked {\\n // Derive the duration for the order and place it on the stack.\\n duration = endTime - startTime;\\n\\n // Derive time elapsed since the order started & place on stack.\\n elapsed = block.timestamp - startTime;\\n\\n // Derive time remaining until order expires and place on stack.\\n remaining = duration - elapsed;\\n }\\n\\n // Aggregate new amounts weighted by time with rounding factor.\\n uint256 totalBeforeDivision = ((startAmount * remaining) +\\n (endAmount * elapsed));\\n\\n // Use assembly to combine operations and skip divide-by-zero check.\\n assembly {\\n // Multiply by iszero(iszero(totalBeforeDivision)) to ensure\\n // amount is set to zero if totalBeforeDivision is zero,\\n // as intermediate overflow can occur if it is zero.\\n amount := mul(\\n iszero(iszero(totalBeforeDivision)),\\n // Subtract 1 from the numerator and add 1 to the result if\\n // roundUp is true to get the proper rounding direction.\\n // Division is performed with no zero check as duration\\n // cannot be zero as long as startTime < endTime.\\n add(\\n div(sub(totalBeforeDivision, roundUp), duration),\\n roundUp\\n )\\n )\\n }\\n\\n // Return the current amount.\\n return amount;\\n }\\n\\n // Return the original amount as startAmount == endAmount.\\n return endAmount;\\n }\\n\\n /**\\n * @dev Internal pure function to return a fraction of a given value and to\\n * ensure the resultant value does not have any fractional component.\\n * Note that this function assumes that zero will never be supplied as\\n * the denominator parameter; invalid / undefined behavior will result\\n * should a denominator of zero be provided.\\n *\\n * @param numerator A value indicating the portion of the order that\\n * should be filled.\\n * @param denominator A value indicating the total size of the order. Note\\n * that this value cannot be equal to zero.\\n * @param value The value for which to compute the fraction.\\n *\\n * @return newValue The value after applying the fraction.\\n */\\n function _getFraction(\\n uint256 numerator,\\n uint256 denominator,\\n uint256 value\\n ) internal pure returns (uint256 newValue) {\\n // Return value early in cases where the fraction resolves to 1.\\n if (numerator == denominator) {\\n return value;\\n }\\n\\n // Ensure fraction can be applied to the value with no remainder. Note\\n // that the denominator cannot be zero.\\n assembly {\\n // Ensure new value contains no remainder via mulmod operator.\\n // Credit to @hrkrshnn + @axic for proposing this optimal solution.\\n if mulmod(value, numerator, denominator) {\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, InexactFraction_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"InexactFraction()\\\"))\\n revert(Error_selector_offset, InexactFraction_error_length)\\n }\\n }\\n\\n // Multiply the numerator by the value and ensure no overflow occurs.\\n uint256 valueTimesNumerator = value * numerator;\\n\\n // Divide and check for remainder. Note that denominator cannot be zero.\\n assembly {\\n // Perform division without zero check.\\n newValue := div(valueTimesNumerator, denominator)\\n }\\n }\\n\\n /**\\n * @dev Internal view function to apply a fraction to a consideration\\n * or offer item.\\n *\\n * @param startAmount The starting amount of the item.\\n * @param endAmount The ending amount of the item.\\n * @param numerator A value indicating the portion of the order that\\n * should be filled.\\n * @param denominator A value indicating the total size of the order.\\n * @param startTime The starting time of the order.\\n * @param endTime The end time of the order.\\n * @param roundUp A boolean indicating whether the resultant\\n * amount should be rounded up or down.\\n *\\n * @return amount The received item to transfer with the final amount.\\n */\\n function _applyFraction(\\n uint256 startAmount,\\n uint256 endAmount,\\n uint256 numerator,\\n uint256 denominator,\\n uint256 startTime,\\n uint256 endTime,\\n bool roundUp\\n ) internal view returns (uint256 amount) {\\n // If start amount equals end amount, apply fraction to end amount.\\n if (startAmount == endAmount) {\\n // Apply fraction to end amount.\\n amount = _getFraction(numerator, denominator, endAmount);\\n } else {\\n // Otherwise, apply fraction to both and interpolated final amount.\\n amount = _locateCurrentAmount(\\n _getFraction(numerator, denominator, startAmount),\\n _getFraction(numerator, denominator, endAmount),\\n startTime,\\n endTime,\\n roundUp\\n );\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/BasicOrderFulfiller.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n BasicOrderRouteType,\\n ItemType,\\n OrderType\\n} from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport { BasicOrderParameters } from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { OrderValidator } from \\\"./OrderValidator.sol\\\";\\n\\nimport {\\n _revertInsufficientNativeTokensSupplied,\\n _revertInvalidMsgValue,\\n _revertInvalidERC721TransferAmount,\\n _revertUnusedItemParameters\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport {\\n AccumulatorDisarmed,\\n AdditionalRecipient_size_shift,\\n AdditionalRecipient_size,\\n BasicOrder_additionalRecipients_data_cdPtr,\\n BasicOrder_additionalRecipients_length_cdPtr,\\n BasicOrder_basicOrderType_cdPtr,\\n BasicOrder_common_params_size,\\n BasicOrder_considerationAmount_cdPtr,\\n BasicOrder_considerationHashesArray_ptr,\\n BasicOrder_considerationIdentifier_cdPtr,\\n BasicOrder_considerationItem_endAmount_ptr,\\n BasicOrder_considerationItem_identifier_ptr,\\n BasicOrder_considerationItem_itemType_ptr,\\n BasicOrder_considerationItem_startAmount_ptr,\\n BasicOrder_considerationItem_token_ptr,\\n BasicOrder_considerationItem_typeHash_ptr,\\n BasicOrder_considerationToken_cdPtr,\\n BasicOrder_endTime_cdPtr,\\n BasicOrder_fulfillerConduit_cdPtr,\\n BasicOrder_offerAmount_cdPtr,\\n BasicOrder_offeredItemByteMap,\\n BasicOrder_offerer_cdPtr,\\n BasicOrder_offererConduit_cdPtr,\\n BasicOrder_offerIdentifier_cdPtr,\\n BasicOrder_offerItem_endAmount_ptr,\\n BasicOrder_offerItem_itemType_ptr,\\n BasicOrder_offerItem_token_ptr,\\n BasicOrder_offerItem_typeHash_ptr,\\n BasicOrder_offerToken_cdPtr,\\n BasicOrder_order_considerationHashes_ptr,\\n BasicOrder_order_counter_ptr,\\n BasicOrder_order_offerer_ptr,\\n BasicOrder_order_offerHashes_ptr,\\n BasicOrder_order_orderType_ptr,\\n BasicOrder_order_startTime_ptr,\\n BasicOrder_order_typeHash_ptr,\\n BasicOrder_receivedItemByteMap,\\n BasicOrder_startTime_cdPtr,\\n BasicOrder_totalOriginalAdditionalRecipients_cdPtr,\\n BasicOrder_zone_cdPtr,\\n Common_token_offset,\\n Conduit_execute_ConduitTransfer_length_ptr,\\n Conduit_execute_ConduitTransfer_length,\\n Conduit_execute_ConduitTransfer_offset_ptr,\\n Conduit_execute_ConduitTransfer_ptr,\\n Conduit_execute_signature,\\n Conduit_execute_transferAmount_ptr,\\n Conduit_execute_transferIdentifier_ptr,\\n Conduit_execute_transferFrom_ptr,\\n Conduit_execute_transferItemType_ptr,\\n Conduit_execute_transferTo_ptr,\\n Conduit_execute_transferToken_ptr,\\n EIP712_ConsiderationItem_size,\\n EIP712_OfferItem_size,\\n EIP712_Order_size,\\n FiveWords,\\n FourWords,\\n FreeMemoryPointerSlot,\\n MaskOverLastTwentyBytes,\\n OneConduitExecute_size,\\n OneWord,\\n OneWordShift,\\n OrderFulfilled_baseOffset,\\n OrderFulfilled_baseSize,\\n OrderFulfilled_consideration_body_offset,\\n OrderFulfilled_consideration_head_offset,\\n OrderFulfilled_consideration_length_baseOffset,\\n OrderFulfilled_fulfiller_offset,\\n OrderFulfilled_offer_body_offset,\\n OrderFulfilled_offer_head_offset,\\n OrderFulfilled_offer_length_baseOffset,\\n OrderFulfilled_selector,\\n ReceivedItem_amount_offset,\\n ReceivedItem_size,\\n receivedItemsHash_ptr,\\n ThreeWords,\\n TwoWords,\\n ZeroSlot\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n Error_selector_offset,\\n InvalidBasicOrderParameterEncoding_error_length,\\n InvalidBasicOrderParameterEncoding_error_selector,\\n InvalidTime_error_endTime_ptr,\\n InvalidTime_error_length,\\n InvalidTime_error_selector,\\n InvalidTime_error_startTime_ptr,\\n MissingOriginalConsiderationItems_error_length,\\n MissingOriginalConsiderationItems_error_selector,\\n UnusedItemParameters_error_length,\\n UnusedItemParameters_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @title BasicOrderFulfiller\\n * @author 0age\\n * @notice BasicOrderFulfiller contains functionality for fulfilling \\\"basic\\\"\\n * orders with minimal overhead. See documentation for details on what\\n * qualifies as a basic order.\\n */\\ncontract BasicOrderFulfiller is OrderValidator {\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) OrderValidator(conduitController) {}\\n\\n /**\\n * @dev Internal function to fulfill an order offering an ERC20, ERC721, or\\n * ERC1155 item by supplying Ether (or other native tokens), ERC20\\n * tokens, an ERC721 item, or an ERC1155 item as consideration. Six\\n * permutations are supported: Native token to ERC721, Native token to\\n * ERC1155, ERC20 to ERC721, ERC20 to ERC1155, ERC721 to ERC20, and\\n * ERC1155 to ERC20 (with native tokens supplied as msg.value). For an\\n * order to be eligible for fulfillment via this method, it must\\n * contain a single offer item (though that item may have a greater\\n * amount if the item is not an ERC721). An arbitrary number of\\n * \\\"additional recipients\\\" may also be supplied which will each receive\\n * native tokens or ERC20 items from the fulfiller as consideration.\\n * Refer to the documentation for a more comprehensive summary of how\\n * to utilize this method and what orders are compatible with it.\\n *\\n * @param parameters Additional information on the fulfilled order. Note\\n * that the offerer and the fulfiller must first approve\\n * this contract (or their chosen conduit if indicated)\\n * before any tokens can be transferred. Also note that\\n * contract recipients of ERC1155 consideration items must\\n * implement `onERC1155Received` in order to receive those\\n * items.\\n *\\n * @return A boolean indicating whether the order has been fulfilled.\\n */\\n function _validateAndFulfillBasicOrder(\\n BasicOrderParameters calldata parameters\\n ) internal returns (bool) {\\n // Declare enums for order type & route to extract from basicOrderType.\\n BasicOrderRouteType route;\\n OrderType orderType;\\n\\n // Declare additional recipient item type to derive from the route type.\\n ItemType additionalRecipientsItemType;\\n\\n bytes32 orderHash;\\n\\n // Utilize assembly to extract the order type and the basic order route.\\n assembly {\\n // Read basicOrderType from calldata.\\n let basicOrderType := calldataload(BasicOrder_basicOrderType_cdPtr)\\n\\n // Mask all but 2 least-significant bits to derive the order type.\\n orderType := and(basicOrderType, 3)\\n\\n // Divide basicOrderType by four to derive the route.\\n route := shr(2, basicOrderType)\\n\\n // If route > 1 additionalRecipient items are ERC20 (1) else native\\n // token (0).\\n additionalRecipientsItemType := gt(route, 1)\\n }\\n\\n {\\n // Declare temporary variable for enforcing payable status.\\n bool correctPayableStatus;\\n\\n // Utilize assembly to compare the route to the callvalue.\\n assembly {\\n // route 0 and 1 are payable, otherwise route is not payable.\\n correctPayableStatus := eq(\\n additionalRecipientsItemType,\\n iszero(callvalue())\\n )\\n }\\n\\n // Revert if msg.value has not been supplied as part of payable\\n // routes or has been supplied as part of non-payable routes.\\n if (!correctPayableStatus) {\\n _revertInvalidMsgValue(msg.value);\\n }\\n }\\n\\n // Declare more arguments that will be derived from route and calldata.\\n address additionalRecipientsToken;\\n ItemType offeredItemType;\\n bool offerTypeIsAdditionalRecipientsType;\\n\\n // Declare scope for received item type to manage stack pressure.\\n {\\n ItemType receivedItemType;\\n\\n // Utilize assembly to retrieve function arguments and cast types.\\n assembly {\\n // Check if offered item type == additional recipient item type.\\n offerTypeIsAdditionalRecipientsType := gt(route, 3)\\n\\n // If route > 3 additionalRecipientsToken is at 0xc4 else 0x24.\\n additionalRecipientsToken := calldataload(\\n add(\\n BasicOrder_considerationToken_cdPtr,\\n mul(\\n offerTypeIsAdditionalRecipientsType,\\n BasicOrder_common_params_size\\n )\\n )\\n )\\n\\n // If route > 2, receivedItemType is route - 2. If route is 2,\\n // the receivedItemType is ERC20 (1). Otherwise, it is native\\n // token (0).\\n receivedItemType := byte(route, BasicOrder_receivedItemByteMap)\\n\\n // If route > 3, offeredItemType is ERC20 (1). Route is 2 or 3,\\n // offeredItemType = route. Route is 0 or 1, it is route + 2.\\n offeredItemType := byte(route, BasicOrder_offeredItemByteMap)\\n }\\n\\n // Derive & validate order using parameters and update order status.\\n orderHash = _prepareBasicFulfillmentFromCalldata(\\n parameters,\\n orderType,\\n receivedItemType,\\n additionalRecipientsItemType,\\n additionalRecipientsToken,\\n offeredItemType\\n );\\n }\\n\\n // Declare conduitKey argument used by transfer functions.\\n bytes32 conduitKey;\\n\\n // Utilize assembly to derive conduit (if relevant) based on route.\\n assembly {\\n // use offerer conduit for routes 0-3, fulfiller conduit otherwise.\\n conduitKey := calldataload(\\n add(\\n BasicOrder_offererConduit_cdPtr,\\n shl(OneWordShift, offerTypeIsAdditionalRecipientsType)\\n )\\n )\\n }\\n\\n // Transfer tokens based on the route.\\n if (additionalRecipientsItemType == ItemType.NATIVE) {\\n // Ensure neither consideration token nor identifier are set. Note\\n // that dirty upper bits in the consideration token will still cause\\n // this error to be thrown.\\n assembly {\\n if or(\\n calldataload(BasicOrder_considerationToken_cdPtr),\\n calldataload(BasicOrder_considerationIdentifier_cdPtr)\\n ) {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, UnusedItemParameters_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"UnusedItemParameters()\\\"))\\n revert(\\n Error_selector_offset,\\n UnusedItemParameters_error_length\\n )\\n }\\n }\\n\\n // Transfer the ERC721 or ERC1155 item, bypassing the accumulator.\\n _transferIndividual721Or1155Item(offeredItemType, conduitKey);\\n\\n // Transfer native to recipients, return excess to caller & wrap up.\\n _transferNativeTokensAndFinalize();\\n } else {\\n // Initialize an accumulator array. From this point forward, no new\\n // memory regions can be safely allocated until the accumulator is\\n // no longer being utilized, as the accumulator operates in an\\n // open-ended fashion from this memory pointer; existing memory may\\n // still be accessed and modified, however.\\n bytes memory accumulator = new bytes(AccumulatorDisarmed);\\n\\n // Choose transfer method for ERC721 or ERC1155 item based on route.\\n if (route == BasicOrderRouteType.ERC20_TO_ERC721) {\\n // Transfer ERC721 to caller using offerer's conduit preference.\\n _transferERC721(\\n parameters.offerToken,\\n parameters.offerer,\\n msg.sender,\\n parameters.offerIdentifier,\\n parameters.offerAmount,\\n conduitKey,\\n accumulator\\n );\\n } else if (route == BasicOrderRouteType.ERC20_TO_ERC1155) {\\n // Transfer ERC1155 to caller with offerer's conduit preference.\\n _transferERC1155(\\n parameters.offerToken,\\n parameters.offerer,\\n msg.sender,\\n parameters.offerIdentifier,\\n parameters.offerAmount,\\n conduitKey,\\n accumulator\\n );\\n } else if (route == BasicOrderRouteType.ERC721_TO_ERC20) {\\n // Transfer ERC721 to offerer using caller's conduit preference.\\n _transferERC721(\\n parameters.considerationToken,\\n msg.sender,\\n parameters.offerer,\\n parameters.considerationIdentifier,\\n parameters.considerationAmount,\\n conduitKey,\\n accumulator\\n );\\n } else {\\n // route == BasicOrderRouteType.ERC1155_TO_ERC20\\n\\n // Transfer ERC1155 to offerer with caller's conduit preference.\\n _transferERC1155(\\n parameters.considerationToken,\\n msg.sender,\\n parameters.offerer,\\n parameters.considerationIdentifier,\\n parameters.considerationAmount,\\n conduitKey,\\n accumulator\\n );\\n }\\n\\n // Transfer ERC20 tokens to all recipients and wrap up.\\n _transferERC20AndFinalize(\\n offerTypeIsAdditionalRecipientsType,\\n accumulator\\n );\\n\\n // Trigger any remaining accumulated transfers via call to conduit.\\n _triggerIfArmed(accumulator);\\n }\\n\\n // Determine whether order is restricted and, if so, that it is valid.\\n _assertRestrictedBasicOrderValidity(orderHash, orderType, parameters);\\n\\n // Clear the reentrancy guard.\\n _clearReentrancyGuard();\\n\\n return true;\\n }\\n\\n /**\\n * @dev Internal function to prepare fulfillment of a basic order with\\n * manual calldata and memory access. This calculates the order hash,\\n * emits an OrderFulfilled event, and asserts basic order validity.\\n * Note that calldata offsets must be validated as this function\\n * accesses constant calldata pointers for dynamic types that match\\n * default ABI encoding, but valid ABI encoding can use arbitrary\\n * offsets. Checking that the offsets were produced by default encoding\\n * will ensure that other functions using Solidity's calldata accessors\\n * (which calculate pointers from the stored offsets) are reading the\\n * same data as the order hash is derived from. Also note that this\\n * function accesses memory directly.\\n *\\n * @param parameters The parameters of the basic order.\\n * @param orderType The order type.\\n * @param receivedItemType The item type of the initial\\n * consideration item on the order.\\n * @param additionalRecipientsItemType The item type of any additional\\n * consideration item on the order.\\n * @param additionalRecipientsToken The ERC20 token contract address (if\\n * applicable) for any additional\\n * consideration item on the order.\\n * @param offeredItemType The item type of the offered item on\\n * the order.\\n * @return orderHash The calculated order hash.\\n */\\n function _prepareBasicFulfillmentFromCalldata(\\n BasicOrderParameters calldata parameters,\\n OrderType orderType,\\n ItemType receivedItemType,\\n ItemType additionalRecipientsItemType,\\n address additionalRecipientsToken,\\n ItemType offeredItemType\\n ) internal returns (bytes32 orderHash) {\\n // Ensure this function cannot be triggered during a reentrant call.\\n _setReentrancyGuard(false); // Native tokens rejected during execution.\\n\\n // Verify that calldata offsets for all dynamic types were produced by\\n // default encoding. This ensures that the constants used for calldata\\n // pointers to dynamic types are the same as those calculated by\\n // Solidity using their offsets. Also verify that the basic order type\\n // is within range.\\n _assertValidBasicOrderParameters();\\n\\n // Check for invalid time and missing original consideration items.\\n // Utilize assembly so that constant calldata pointers can be applied.\\n assembly {\\n // Ensure current timestamp is between order start time & end time.\\n if or(\\n gt(calldataload(BasicOrder_startTime_cdPtr), timestamp()),\\n iszero(gt(calldataload(BasicOrder_endTime_cdPtr), timestamp()))\\n ) {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidTime_error_selector)\\n\\n // Store arguments.\\n mstore(\\n InvalidTime_error_startTime_ptr,\\n calldataload(BasicOrder_startTime_cdPtr)\\n )\\n mstore(\\n InvalidTime_error_endTime_ptr,\\n calldataload(BasicOrder_endTime_cdPtr)\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidTime(uint256,uint256)\\\",\\n // startTime,\\n // endTime\\n // ))\\n revert(Error_selector_offset, InvalidTime_error_length)\\n }\\n\\n // Ensure consideration array length isn't less than total original.\\n if lt(\\n calldataload(BasicOrder_additionalRecipients_length_cdPtr),\\n calldataload(BasicOrder_totalOriginalAdditionalRecipients_cdPtr)\\n ) {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, MissingOriginalConsiderationItems_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"MissingOriginalConsiderationItems()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n MissingOriginalConsiderationItems_error_length\\n )\\n }\\n }\\n\\n {\\n /**\\n * First, handle consideration items. Memory Layout:\\n * 0x60: final hash of the array of consideration item hashes\\n * 0x80-0x160: reused space for EIP712 hashing of each item\\n * - 0x80: ConsiderationItem EIP-712 typehash (constant)\\n * - 0xa0: itemType\\n * - 0xc0: token\\n * - 0xe0: identifier\\n * - 0x100: startAmount\\n * - 0x120: endAmount\\n * - 0x140: recipient\\n * 0x160-END_ARR: array of consideration item hashes\\n * - 0x160: primary consideration item EIP712 hash\\n * - 0x180-END_ARR: additional recipient item EIP712 hashes\\n * END_ARR: beginning of data for OrderFulfilled event\\n * - END_ARR + 0x120: length of ReceivedItem array\\n * - END_ARR + 0x140: beginning of data for first ReceivedItem\\n * (Note: END_ARR = 0x180 + RECIPIENTS_LENGTH * 0x20)\\n */\\n\\n // Load consideration item typehash from runtime and place on stack.\\n bytes32 typeHash = _CONSIDERATION_ITEM_TYPEHASH;\\n\\n // Utilize assembly to enable reuse of memory regions and use\\n // constant pointers when possible.\\n assembly {\\n /*\\n * 1. Calculate the EIP712 ConsiderationItem hash for the\\n * primary consideration item of the basic order.\\n */\\n\\n // Write ConsiderationItem type hash and item type to memory.\\n mstore(BasicOrder_considerationItem_typeHash_ptr, typeHash)\\n mstore(\\n BasicOrder_considerationItem_itemType_ptr,\\n receivedItemType\\n )\\n\\n // Copy calldata region with (token, identifier, amount) from\\n // BasicOrderParameters to ConsiderationItem. The\\n // considerationAmount is written to startAmount and endAmount\\n // as basic orders do not have dynamic amounts.\\n calldatacopy(\\n BasicOrder_considerationItem_token_ptr,\\n BasicOrder_considerationToken_cdPtr,\\n ThreeWords\\n )\\n\\n // Copy calldata region with considerationAmount and offerer\\n // from BasicOrderParameters to endAmount and recipient in\\n // ConsiderationItem.\\n calldatacopy(\\n BasicOrder_considerationItem_endAmount_ptr,\\n BasicOrder_considerationAmount_cdPtr,\\n TwoWords\\n )\\n\\n // Calculate EIP712 ConsiderationItem hash and store it in the\\n // array of EIP712 consideration hashes.\\n mstore(\\n BasicOrder_considerationHashesArray_ptr,\\n keccak256(\\n BasicOrder_considerationItem_typeHash_ptr,\\n EIP712_ConsiderationItem_size\\n )\\n )\\n\\n /*\\n * 2. Write a ReceivedItem struct for the primary consideration\\n * item to the consideration array in OrderFulfilled.\\n */\\n\\n // Get the length of the additional recipients array.\\n let totalAdditionalRecipients := calldataload(\\n BasicOrder_additionalRecipients_length_cdPtr\\n )\\n\\n // Calculate pointer to length of OrderFulfilled consideration\\n // array.\\n let eventConsiderationArrPtr := add(\\n OrderFulfilled_consideration_length_baseOffset,\\n shl(OneWordShift, totalAdditionalRecipients)\\n )\\n\\n // Set the length of the consideration array to the number of\\n // additional recipients, plus one for the primary consideration\\n // item.\\n mstore(\\n eventConsiderationArrPtr,\\n add(totalAdditionalRecipients, 1)\\n )\\n\\n // Overwrite the consideration array pointer so it points to the\\n // body of the first element\\n eventConsiderationArrPtr := add(\\n eventConsiderationArrPtr,\\n OneWord\\n )\\n\\n // Set itemType at start of the ReceivedItem memory region.\\n mstore(eventConsiderationArrPtr, receivedItemType)\\n\\n // Copy calldata region (token, identifier, amount & recipient)\\n // from BasicOrderParameters to ReceivedItem memory.\\n calldatacopy(\\n add(eventConsiderationArrPtr, Common_token_offset),\\n BasicOrder_considerationToken_cdPtr,\\n FourWords\\n )\\n\\n /*\\n * 3. Calculate EIP712 ConsiderationItem hashes for original\\n * additional recipients and add a ReceivedItem for each to the\\n * consideration array in the OrderFulfilled event. The original\\n * additional recipients are all the consideration items signed\\n * by the offerer aside from the primary consideration items of\\n * the order. Uses memory region from 0x80-0x160 as a buffer for\\n * calculating EIP712 ConsiderationItem hashes.\\n */\\n\\n // Put pointer to consideration hashes array on the stack.\\n // This will be updated as each additional recipient is hashed\\n let\\n considerationHashesPtr\\n := BasicOrder_considerationHashesArray_ptr\\n\\n // Write item type, token, & identifier for additional recipient\\n // to memory region for hashing EIP712 ConsiderationItem; these\\n // values will be reused for each recipient.\\n mstore(\\n BasicOrder_considerationItem_itemType_ptr,\\n additionalRecipientsItemType\\n )\\n mstore(\\n BasicOrder_considerationItem_token_ptr,\\n additionalRecipientsToken\\n )\\n mstore(BasicOrder_considerationItem_identifier_ptr, 0)\\n\\n // Declare a stack variable where all additional recipients will\\n // be combined to guard against providing dirty upper bits.\\n let combinedAdditionalRecipients\\n\\n // Read length of the additionalRecipients array from calldata\\n // and iterate.\\n totalAdditionalRecipients := calldataload(\\n BasicOrder_totalOriginalAdditionalRecipients_cdPtr\\n )\\n let i := 0\\n for {} lt(i, totalAdditionalRecipients) {\\n i := add(i, 1)\\n } {\\n /*\\n * Calculate EIP712 ConsiderationItem hash for recipient.\\n */\\n\\n // Retrieve calldata pointer for additional recipient.\\n let additionalRecipientCdPtr := add(\\n BasicOrder_additionalRecipients_data_cdPtr,\\n mul(AdditionalRecipient_size, i)\\n )\\n\\n // Copy startAmount from calldata to the ConsiderationItem\\n // struct.\\n calldatacopy(\\n BasicOrder_considerationItem_startAmount_ptr,\\n additionalRecipientCdPtr,\\n OneWord\\n )\\n\\n // Copy endAmount and recipient from calldata to the\\n // ConsiderationItem struct.\\n calldatacopy(\\n BasicOrder_considerationItem_endAmount_ptr,\\n additionalRecipientCdPtr,\\n AdditionalRecipient_size\\n )\\n\\n // Include the recipient as part of combined recipients.\\n combinedAdditionalRecipients := or(\\n combinedAdditionalRecipients,\\n calldataload(add(additionalRecipientCdPtr, OneWord))\\n )\\n\\n // Add 1 word to the pointer as part of each loop to reduce\\n // operations needed to get local offset into the array.\\n considerationHashesPtr := add(\\n considerationHashesPtr,\\n OneWord\\n )\\n\\n // Calculate EIP712 ConsiderationItem hash and store it in\\n // the array of consideration hashes.\\n mstore(\\n considerationHashesPtr,\\n keccak256(\\n BasicOrder_considerationItem_typeHash_ptr,\\n EIP712_ConsiderationItem_size\\n )\\n )\\n\\n /*\\n * Write ReceivedItem to OrderFulfilled data.\\n */\\n\\n // At this point, eventConsiderationArrPtr points to the\\n // beginning of the ReceivedItem struct of the previous\\n // element in the array. Increase it by the size of the\\n // struct to arrive at the pointer for the current element.\\n eventConsiderationArrPtr := add(\\n eventConsiderationArrPtr,\\n ReceivedItem_size\\n )\\n\\n // Write itemType to the ReceivedItem struct.\\n mstore(\\n eventConsiderationArrPtr,\\n additionalRecipientsItemType\\n )\\n\\n // Write token to the next word of the ReceivedItem struct.\\n mstore(\\n add(eventConsiderationArrPtr, OneWord),\\n additionalRecipientsToken\\n )\\n\\n // Copy endAmount & recipient words to ReceivedItem struct.\\n calldatacopy(\\n add(\\n eventConsiderationArrPtr,\\n ReceivedItem_amount_offset\\n ),\\n additionalRecipientCdPtr,\\n TwoWords\\n )\\n }\\n\\n /*\\n * 4. Hash packed array of ConsiderationItem EIP712 hashes:\\n * `keccak256(abi.encodePacked(receivedItemHashes))`\\n * Note that it is set at 0x60 — all other memory begins at\\n * 0x80. 0x60 is the \\\"zero slot\\\" and will be restored at the end\\n * of the assembly section and before required by the compiler.\\n */\\n mstore(\\n receivedItemsHash_ptr,\\n keccak256(\\n BasicOrder_considerationHashesArray_ptr,\\n shl(OneWordShift, add(totalAdditionalRecipients, 1))\\n )\\n )\\n\\n /*\\n * 5. Add a ReceivedItem for each tip to the consideration array\\n * in the OrderFulfilled event. The tips are all the\\n * consideration items that were not signed by the offerer and\\n * were provided by the fulfiller.\\n */\\n\\n // Overwrite length to length of the additionalRecipients array.\\n totalAdditionalRecipients := calldataload(\\n BasicOrder_additionalRecipients_length_cdPtr\\n )\\n\\n for {} lt(i, totalAdditionalRecipients) {\\n i := add(i, 1)\\n } {\\n // Retrieve calldata pointer for additional recipient.\\n let additionalRecipientCdPtr := add(\\n BasicOrder_additionalRecipients_data_cdPtr,\\n mul(AdditionalRecipient_size, i)\\n )\\n\\n // At this point, eventConsiderationArrPtr points to the\\n // beginning of the ReceivedItem struct of the previous\\n // element in the array. Increase it by the size of the\\n // struct to arrive at the pointer for the current element.\\n eventConsiderationArrPtr := add(\\n eventConsiderationArrPtr,\\n ReceivedItem_size\\n )\\n\\n // Write itemType to the ReceivedItem struct.\\n mstore(\\n eventConsiderationArrPtr,\\n additionalRecipientsItemType\\n )\\n\\n // Write token to the next word of the ReceivedItem struct.\\n mstore(\\n add(eventConsiderationArrPtr, OneWord),\\n additionalRecipientsToken\\n )\\n\\n // Copy endAmount & recipient words to ReceivedItem struct.\\n calldatacopy(\\n add(\\n eventConsiderationArrPtr,\\n ReceivedItem_amount_offset\\n ),\\n additionalRecipientCdPtr,\\n TwoWords\\n )\\n\\n // Include the recipient as part of combined recipients.\\n combinedAdditionalRecipients := or(\\n combinedAdditionalRecipients,\\n calldataload(add(additionalRecipientCdPtr, OneWord))\\n )\\n }\\n\\n // Ensure no dirty upper bits on combined additional recipients.\\n if gt(combinedAdditionalRecipients, MaskOverLastTwentyBytes) {\\n // Store left-padded selector with push4 (reduces bytecode),\\n // mem[28:32] = selector\\n mstore(0, InvalidBasicOrderParameterEncoding_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidBasicOrderParameterEncoding()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n InvalidBasicOrderParameterEncoding_error_length\\n )\\n }\\n }\\n }\\n\\n {\\n /**\\n * Next, handle offered items. Memory Layout:\\n * EIP712 data for OfferItem\\n * - 0x80: OfferItem EIP-712 typehash (constant)\\n * - 0xa0: itemType\\n * - 0xc0: token\\n * - 0xe0: identifier (reused for offeredItemsHash)\\n * - 0x100: startAmount\\n * - 0x120: endAmount\\n */\\n\\n // Place offer item typehash on the stack.\\n bytes32 typeHash = _OFFER_ITEM_TYPEHASH;\\n\\n // Utilize assembly to enable reuse of memory regions when possible.\\n assembly {\\n /*\\n * 1. Calculate OfferItem EIP712 hash\\n */\\n\\n // Write the OfferItem typeHash to memory.\\n mstore(BasicOrder_offerItem_typeHash_ptr, typeHash)\\n\\n // Write the OfferItem item type to memory.\\n mstore(BasicOrder_offerItem_itemType_ptr, offeredItemType)\\n\\n // Copy calldata region with (offerToken, offerIdentifier,\\n // offerAmount) from OrderParameters to (token, identifier,\\n // startAmount) in OfferItem struct. The offerAmount is written\\n // to startAmount and endAmount as basic orders do not have\\n // dynamic amounts.\\n calldatacopy(\\n BasicOrder_offerItem_token_ptr,\\n BasicOrder_offerToken_cdPtr,\\n ThreeWords\\n )\\n\\n // Copy offerAmount from calldata to endAmount in OfferItem\\n // struct.\\n calldatacopy(\\n BasicOrder_offerItem_endAmount_ptr,\\n BasicOrder_offerAmount_cdPtr,\\n OneWord\\n )\\n\\n // Compute EIP712 OfferItem hash, write result to scratch space:\\n // `keccak256(abi.encode(offeredItem))`\\n mstore(\\n 0,\\n keccak256(\\n BasicOrder_offerItem_typeHash_ptr,\\n EIP712_OfferItem_size\\n )\\n )\\n\\n /*\\n * 2. Calculate hash of array of EIP712 hashes and write the\\n * result to the corresponding OfferItem struct:\\n * `keccak256(abi.encodePacked(offerItemHashes))`\\n */\\n mstore(BasicOrder_order_offerHashes_ptr, keccak256(0, OneWord))\\n\\n /*\\n * 3. Write SpentItem to offer array in OrderFulfilled event.\\n */\\n let eventConsiderationArrPtr := add(\\n OrderFulfilled_offer_length_baseOffset,\\n shl(\\n OneWordShift,\\n calldataload(\\n BasicOrder_additionalRecipients_length_cdPtr\\n )\\n )\\n )\\n\\n // Set a length of 1 for the offer array.\\n mstore(eventConsiderationArrPtr, 1)\\n\\n // Write itemType to the SpentItem struct.\\n mstore(add(eventConsiderationArrPtr, OneWord), offeredItemType)\\n\\n // Copy calldata region with (offerToken, offerIdentifier,\\n // offerAmount) from OrderParameters to (token, identifier,\\n // amount) in SpentItem struct.\\n calldatacopy(\\n add(eventConsiderationArrPtr, AdditionalRecipient_size),\\n BasicOrder_offerToken_cdPtr,\\n ThreeWords\\n )\\n }\\n }\\n\\n {\\n /**\\n * Once consideration items and offer items have been handled,\\n * derive the final order hash. Memory Layout:\\n * 0x80-0x1c0: EIP712 data for order\\n * - 0x80: Order EIP-712 typehash (constant)\\n * - 0xa0: orderParameters.offerer\\n * - 0xc0: orderParameters.zone\\n * - 0xe0: keccak256(abi.encodePacked(offerHashes))\\n * - 0x100: keccak256(abi.encodePacked(considerationHashes))\\n * - 0x120: orderParameters.basicOrderType (% 4 = orderType)\\n * - 0x140: orderParameters.startTime\\n * - 0x160: orderParameters.endTime\\n * - 0x180: orderParameters.zoneHash\\n * - 0x1a0: orderParameters.salt\\n * - 0x1c0: orderParameters.conduitKey\\n * - 0x1e0: _counters[orderParameters.offerer] (from storage)\\n */\\n\\n // Read the offerer from calldata and place on the stack.\\n address offerer;\\n assembly {\\n offerer := calldataload(BasicOrder_offerer_cdPtr)\\n }\\n\\n // Read offerer's current counter from storage and place on stack.\\n uint256 counter = _getCounter(offerer);\\n\\n // Load order typehash from runtime code and place on stack.\\n bytes32 typeHash = _ORDER_TYPEHASH;\\n\\n assembly {\\n // Set the OrderItem typeHash in memory.\\n mstore(BasicOrder_order_typeHash_ptr, typeHash)\\n\\n // Copy offerer and zone from OrderParameters in calldata to the\\n // Order struct.\\n calldatacopy(\\n BasicOrder_order_offerer_ptr,\\n BasicOrder_offerer_cdPtr,\\n TwoWords\\n )\\n\\n // Copy receivedItemsHash from zero slot to the Order struct.\\n mstore(\\n BasicOrder_order_considerationHashes_ptr,\\n mload(receivedItemsHash_ptr)\\n )\\n\\n // Write the supplied orderType to the Order struct.\\n mstore(BasicOrder_order_orderType_ptr, orderType)\\n\\n // Copy startTime, endTime, zoneHash, salt & conduit from\\n // calldata to the Order struct.\\n calldatacopy(\\n BasicOrder_order_startTime_ptr,\\n BasicOrder_startTime_cdPtr,\\n FiveWords\\n )\\n\\n // Write offerer's counter, retrieved from storage, to struct.\\n mstore(BasicOrder_order_counter_ptr, counter)\\n\\n // Compute the EIP712 Order hash.\\n orderHash := keccak256(\\n BasicOrder_order_typeHash_ptr,\\n EIP712_Order_size\\n )\\n }\\n }\\n\\n assembly {\\n /**\\n * After the order hash has been derived, emit OrderFulfilled event:\\n * event OrderFulfilled(\\n * bytes32 orderHash,\\n * address indexed offerer,\\n * address indexed zone,\\n * address fulfiller,\\n * SpentItem[] offer,\\n * > (itemType, token, id, amount)\\n * ReceivedItem[] consideration\\n * > (itemType, token, id, amount, recipient)\\n * )\\n * topic0 - OrderFulfilled event signature\\n * topic1 - offerer\\n * topic2 - zone\\n * data:\\n * - 0x00: orderHash\\n * - 0x20: fulfiller\\n * - 0x40: offer arr ptr (0x80)\\n * - 0x60: consideration arr ptr (0x120)\\n * - 0x80: offer arr len (1)\\n * - 0xa0: offer.itemType\\n * - 0xc0: offer.token\\n * - 0xe0: offer.identifier\\n * - 0x100: offer.amount\\n * - 0x120: 1 + recipients.length\\n * - 0x140: recipient 0\\n */\\n\\n // Derive pointer to start of OrderFulfilled event data.\\n let eventDataPtr := add(\\n OrderFulfilled_baseOffset,\\n shl(\\n OneWordShift,\\n calldataload(BasicOrder_additionalRecipients_length_cdPtr)\\n )\\n )\\n\\n // Write the order hash to the head of the event's data region.\\n mstore(eventDataPtr, orderHash)\\n\\n // Write the fulfiller (i.e. the caller) next for receiver argument.\\n mstore(add(eventDataPtr, OrderFulfilled_fulfiller_offset), caller())\\n\\n // Write the SpentItem and ReceivedItem array offsets (constants).\\n mstore(\\n // SpentItem array offset\\n add(eventDataPtr, OrderFulfilled_offer_head_offset),\\n OrderFulfilled_offer_body_offset\\n )\\n mstore(\\n // ReceivedItem array offset\\n add(eventDataPtr, OrderFulfilled_consideration_head_offset),\\n OrderFulfilled_consideration_body_offset\\n )\\n\\n // Derive total data size including SpentItem and ReceivedItem data.\\n // SpentItem portion is already included in the baseSize constant,\\n // as there can only be one element in the array.\\n let dataSize := add(\\n OrderFulfilled_baseSize,\\n mul(\\n calldataload(BasicOrder_additionalRecipients_length_cdPtr),\\n ReceivedItem_size\\n )\\n )\\n\\n // Emit OrderFulfilled log with three topics (the event signature\\n // as well as the two indexed arguments, the offerer and the zone).\\n log3(\\n // Supply the pointer for event data in memory.\\n eventDataPtr,\\n // Supply the size of event data in memory.\\n dataSize,\\n // Supply the OrderFulfilled event signature.\\n OrderFulfilled_selector,\\n // Supply the first topic (the offerer).\\n calldataload(BasicOrder_offerer_cdPtr),\\n // Supply the second topic (the zone).\\n calldataload(BasicOrder_zone_cdPtr)\\n )\\n\\n // Restore the zero slot.\\n mstore(ZeroSlot, 0)\\n\\n // Update the free memory pointer so that event data is persisted.\\n mstore(FreeMemoryPointerSlot, add(eventDataPtr, dataSize))\\n }\\n\\n // Verify and update the status of the derived order.\\n _validateBasicOrderAndUpdateStatus(orderHash, parameters.signature);\\n\\n // Return the derived order hash.\\n return orderHash;\\n }\\n\\n /**\\n * @dev Internal function to transfer an individual ERC721 or ERC1155 item\\n * from a given originator to a given recipient. The accumulator will\\n * be bypassed, meaning that this function should be utilized in cases\\n * where multiple item transfers can be accumulated into a single\\n * conduit call. Sufficient approvals must be set, either on the\\n * respective conduit or on this contract. Note that this function may\\n * only be safely called as part of basic orders, as it assumes a\\n * specific calldata encoding structure that must first be validated.\\n *\\n * @param itemType The type of item to transfer, either ERC721 or ERC1155.\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n */\\n function _transferIndividual721Or1155Item(\\n ItemType itemType,\\n bytes32 conduitKey\\n ) internal {\\n // Retrieve token, from, identifier, and amount from calldata using\\n // fixed calldata offsets based on strict basic parameter encoding.\\n address token;\\n address from;\\n uint256 identifier;\\n uint256 amount;\\n assembly {\\n token := calldataload(BasicOrder_offerToken_cdPtr)\\n from := calldataload(BasicOrder_offerer_cdPtr)\\n identifier := calldataload(BasicOrder_offerIdentifier_cdPtr)\\n amount := calldataload(BasicOrder_offerAmount_cdPtr)\\n }\\n\\n // Determine if the transfer is to be performed via a conduit.\\n if (conduitKey != bytes32(0)) {\\n // Use free memory pointer as calldata offset for the conduit call.\\n uint256 callDataOffset;\\n\\n // Utilize assembly to place each argument in free memory.\\n assembly {\\n // Retrieve the free memory pointer and use it as the offset.\\n callDataOffset := mload(FreeMemoryPointerSlot)\\n\\n // Write ConduitInterface.execute.selector to memory.\\n mstore(callDataOffset, Conduit_execute_signature)\\n\\n // Write the offset to the ConduitTransfer array in memory.\\n mstore(\\n add(\\n callDataOffset,\\n Conduit_execute_ConduitTransfer_offset_ptr\\n ),\\n Conduit_execute_ConduitTransfer_ptr\\n )\\n\\n // Write the length of the ConduitTransfer array to memory.\\n mstore(\\n add(\\n callDataOffset,\\n Conduit_execute_ConduitTransfer_length_ptr\\n ),\\n Conduit_execute_ConduitTransfer_length\\n )\\n\\n // Write the item type to memory.\\n mstore(\\n add(callDataOffset, Conduit_execute_transferItemType_ptr),\\n itemType\\n )\\n\\n // Write the token to memory.\\n mstore(\\n add(callDataOffset, Conduit_execute_transferToken_ptr),\\n token\\n )\\n\\n // Write the transfer source to memory.\\n mstore(\\n add(callDataOffset, Conduit_execute_transferFrom_ptr),\\n from\\n )\\n\\n // Write the transfer recipient (the caller) to memory.\\n mstore(\\n add(callDataOffset, Conduit_execute_transferTo_ptr),\\n caller()\\n )\\n\\n // Write the token identifier to memory.\\n mstore(\\n add(callDataOffset, Conduit_execute_transferIdentifier_ptr),\\n identifier\\n )\\n\\n // Write the transfer amount to memory.\\n mstore(\\n add(callDataOffset, Conduit_execute_transferAmount_ptr),\\n amount\\n )\\n }\\n\\n // Perform the call to the conduit.\\n _callConduitUsingOffsets(\\n conduitKey,\\n callDataOffset,\\n OneConduitExecute_size\\n );\\n } else {\\n // Otherwise, determine whether it is an ERC721 or ERC1155 item.\\n if (itemType == ItemType.ERC721) {\\n // Ensure that exactly one 721 item is being transferred.\\n if (amount != 1) {\\n _revertInvalidERC721TransferAmount(amount);\\n }\\n\\n // Perform transfer to caller via the token contract directly.\\n _performERC721Transfer(token, from, msg.sender, identifier);\\n } else {\\n // Perform transfer to caller via the token contract directly.\\n _performERC1155Transfer(\\n token,\\n from,\\n msg.sender,\\n identifier,\\n amount\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer Ether (or other native tokens) to a\\n * given recipient as part of basic order fulfillment. Note that\\n * conduits are not utilized for native tokens as the transferred\\n * amount must be provided as msg.value. Also note that this function\\n * may only be safely called as part of basic orders, as it assumes a\\n * specific calldata encoding structure that must first be validated.\\n */\\n function _transferNativeTokensAndFinalize() internal {\\n // Put native token value supplied by the caller on the stack.\\n uint256 nativeTokensRemaining = msg.value;\\n\\n // Retrieve consideration amount, offerer, and total size of additional\\n // recipients data from calldata using fixed offsets and place on stack.\\n uint256 amount;\\n address payable to;\\n uint256 totalAdditionalRecipientsDataSize;\\n assembly {\\n amount := calldataload(BasicOrder_considerationAmount_cdPtr)\\n to := calldataload(BasicOrder_offerer_cdPtr)\\n totalAdditionalRecipientsDataSize := shl(\\n AdditionalRecipient_size_shift,\\n calldataload(BasicOrder_additionalRecipients_length_cdPtr)\\n )\\n }\\n\\n uint256 additionalRecipientAmount;\\n address payable recipient;\\n\\n // Skip overflow check as for loop is indexed starting at zero.\\n unchecked {\\n // Iterate over additional recipient data by two-word element.\\n for (\\n uint256 i = 0;\\n i < totalAdditionalRecipientsDataSize;\\n i += AdditionalRecipient_size\\n ) {\\n assembly {\\n // Retrieve calldata pointer for additional recipient.\\n let additionalRecipientCdPtr := add(\\n BasicOrder_additionalRecipients_data_cdPtr,\\n i\\n )\\n\\n additionalRecipientAmount := calldataload(\\n additionalRecipientCdPtr\\n )\\n recipient := calldataload(\\n add(OneWord, additionalRecipientCdPtr)\\n )\\n }\\n\\n // Ensure that sufficient native tokens are available.\\n if (additionalRecipientAmount > nativeTokensRemaining) {\\n _revertInsufficientNativeTokensSupplied();\\n }\\n\\n // Reduce native token value available. Skip underflow check as\\n // subtracted value is confirmed above as less than remaining.\\n nativeTokensRemaining -= additionalRecipientAmount;\\n\\n // Transfer native tokens to the additional recipient.\\n _transferNativeTokens(recipient, additionalRecipientAmount);\\n }\\n }\\n\\n // Ensure that sufficient native tokens are still available.\\n if (amount > nativeTokensRemaining) {\\n _revertInsufficientNativeTokensSupplied();\\n }\\n\\n // Transfer native tokens to the offerer.\\n _transferNativeTokens(to, amount);\\n\\n // If any native tokens remain after transfers, return to the caller.\\n if (nativeTokensRemaining > amount) {\\n // Skip underflow check as nativeTokensRemaining > amount.\\n unchecked {\\n // Transfer remaining native tokens to the caller.\\n _transferNativeTokens(\\n payable(msg.sender),\\n nativeTokensRemaining - amount\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer ERC20 tokens to a given recipient as\\n * part of basic order fulfillment. Note that this function may only be\\n * safely called as part of basic orders, as it assumes a specific\\n * calldata encoding structure that must first be validated. Also note\\n * that basic order parameters are retrieved using fixed offsets, this\\n * requires that strict basic order encoding has already been verified.\\n *\\n * @param fromOfferer A boolean indicating whether to decrement amount from\\n * the offered amount.\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n */\\n function _transferERC20AndFinalize(\\n bool fromOfferer,\\n bytes memory accumulator\\n ) internal {\\n // Declare from and to variables determined by fromOfferer value.\\n address from;\\n address to;\\n\\n // Declare token and amount variables determined by fromOfferer value.\\n address token;\\n uint256 amount;\\n\\n // Declare and check identifier variable within an isolated scope.\\n {\\n // Declare identifier variable determined by fromOfferer value.\\n uint256 identifier;\\n\\n // Set ERC20 token transfer variables based on fromOfferer boolean.\\n if (fromOfferer) {\\n // Use offerer as from value, msg.sender as to value, and offer\\n // token, identifier, & amount values if token is from offerer.\\n assembly {\\n from := calldataload(BasicOrder_offerer_cdPtr)\\n to := caller()\\n token := calldataload(BasicOrder_offerToken_cdPtr)\\n identifier := calldataload(BasicOrder_offerIdentifier_cdPtr)\\n amount := calldataload(BasicOrder_offerAmount_cdPtr)\\n }\\n } else {\\n // Otherwise, use msg.sender as from value, offerer as to value,\\n // and consideration token, identifier, and amount values.\\n assembly {\\n from := caller()\\n to := calldataload(BasicOrder_offerer_cdPtr)\\n token := calldataload(BasicOrder_considerationToken_cdPtr)\\n identifier := calldataload(\\n BasicOrder_considerationIdentifier_cdPtr\\n )\\n amount := calldataload(BasicOrder_considerationAmount_cdPtr)\\n }\\n }\\n\\n // Ensure that no identifier is supplied.\\n if (identifier != 0) {\\n _revertUnusedItemParameters();\\n }\\n }\\n\\n // Determine the appropriate conduit to utilize.\\n bytes32 conduitKey;\\n\\n // Utilize assembly to derive conduit (if relevant) based on route.\\n assembly {\\n // Use offerer conduit if fromOfferer, fulfiller conduit otherwise.\\n conduitKey := calldataload(\\n sub(\\n BasicOrder_fulfillerConduit_cdPtr,\\n shl(OneWordShift, fromOfferer)\\n )\\n )\\n }\\n\\n // Retrieve total size of additional recipients data and place on stack.\\n uint256 totalAdditionalRecipientsDataSize;\\n assembly {\\n totalAdditionalRecipientsDataSize := shl(\\n AdditionalRecipient_size_shift,\\n calldataload(BasicOrder_additionalRecipients_length_cdPtr)\\n )\\n }\\n\\n uint256 additionalRecipientAmount;\\n address recipient;\\n\\n // Iterate over each additional recipient.\\n for (uint256 i = 0; i < totalAdditionalRecipientsDataSize; ) {\\n assembly {\\n // Retrieve calldata pointer for additional recipient.\\n let additionalRecipientCdPtr := add(\\n BasicOrder_additionalRecipients_data_cdPtr,\\n i\\n )\\n\\n additionalRecipientAmount := calldataload(\\n additionalRecipientCdPtr\\n )\\n recipient := calldataload(\\n add(OneWord, additionalRecipientCdPtr)\\n )\\n }\\n\\n // Decrement the amount to transfer to fulfiller if indicated.\\n if (fromOfferer) {\\n amount -= additionalRecipientAmount;\\n }\\n\\n // Transfer ERC20 tokens to additional recipient given approval.\\n _transferERC20(\\n token,\\n from,\\n recipient,\\n additionalRecipientAmount,\\n conduitKey,\\n accumulator\\n );\\n\\n // Skip overflow check as for loop is indexed starting at zero.\\n unchecked {\\n i += AdditionalRecipient_size;\\n }\\n }\\n\\n // Transfer ERC20 token amount (from account must have proper approval).\\n _transferERC20(token, from, to, amount, conduitKey, accumulator);\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/CriteriaResolutionErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport { Side } from \\\"../lib/ConsiderationEnums.sol\\\";\\n\\n/**\\n * @title CriteriaResolutionErrors\\n * @author 0age\\n * @notice CriteriaResolutionErrors contains all errors related to criteria\\n * resolution.\\n */\\ninterface CriteriaResolutionErrors {\\n /**\\n * @dev Revert with an error when providing a criteria resolver that refers\\n * to an order that has not been supplied.\\n *\\n * @param side The side of the order that was not supplied.\\n */\\n error OrderCriteriaResolverOutOfRange(Side side);\\n\\n /**\\n * @dev Revert with an error if an offer item still has unresolved criteria\\n * after applying all criteria resolvers.\\n *\\n * @param orderIndex The index of the order that contains the offer item.\\n * @param offerIndex The index of the offer item that still has unresolved\\n * criteria.\\n */\\n error UnresolvedOfferCriteria(uint256 orderIndex, uint256 offerIndex);\\n\\n /**\\n * @dev Revert with an error if a consideration item still has unresolved\\n * criteria after applying all criteria resolvers.\\n *\\n * @param orderIndex The index of the order that contains the\\n * consideration item.\\n * @param considerationIndex The index of the consideration item that still\\n * has unresolved criteria.\\n */\\n error UnresolvedConsiderationCriteria(\\n uint256 orderIndex,\\n uint256 considerationIndex\\n );\\n\\n /**\\n * @dev Revert with an error when providing a criteria resolver that refers\\n * to an order with an offer item that has not been supplied.\\n */\\n error OfferCriteriaResolverOutOfRange();\\n\\n /**\\n * @dev Revert with an error when providing a criteria resolver that refers\\n * to an order with a consideration item that has not been supplied.\\n */\\n error ConsiderationCriteriaResolverOutOfRange();\\n\\n /**\\n * @dev Revert with an error when providing a criteria resolver that refers\\n * to an order with an item that does not expect a criteria to be\\n * resolved.\\n */\\n error CriteriaNotEnabledForItem();\\n\\n /**\\n * @dev Revert with an error when providing a criteria resolver that\\n * contains an invalid proof with respect to the given item and\\n * chosen identifier.\\n */\\n error InvalidProof();\\n}\\n\"\r\n },\r\n \"contracts/interfaces/AmountDerivationErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/**\\n * @title AmountDerivationErrors\\n * @author 0age\\n * @notice AmountDerivationErrors contains errors related to amount derivation.\\n */\\ninterface AmountDerivationErrors {\\n /**\\n * @dev Revert with an error when attempting to apply a fraction as part of\\n * a partial fill that does not divide the target amount cleanly.\\n */\\n error InexactFraction();\\n}\\n\"\r\n },\r\n \"contracts/lib/OrderValidator.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { OrderType } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n AdvancedOrder,\\n ConsiderationItem,\\n OfferItem,\\n Order,\\n OrderComponents,\\n OrderParameters,\\n OrderStatus\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport {\\n _revertBadFraction,\\n _revertCannotCancelOrder,\\n _revertConsiderationLengthNotEqualToTotalOriginal,\\n _revertInvalidContractOrder,\\n _revertPartialFillsNotEnabledForOrder\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport { Executor } from \\\"./Executor.sol\\\";\\n\\nimport { ZoneInteraction } from \\\"./ZoneInteraction.sol\\\";\\n\\nimport { MemoryPointer } from \\\"../helpers/PointerLibraries.sol\\\";\\n\\nimport {\\n AdvancedOrder_denominator_offset,\\n AdvancedOrder_numerator_offset,\\n BasicOrder_offerer_cdPtr,\\n Common_amount_offset,\\n Common_endAmount_offset,\\n Common_identifier_offset,\\n Common_token_offset,\\n ConsiderItem_recipient_offset,\\n ContractOrder_orderHash_offerer_shift,\\n MaxUint120,\\n OrderStatus_filledDenominator_offset,\\n OrderStatus_filledNumerator_offset,\\n OrderStatus_ValidatedAndNotCancelled\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n Error_selector_offset,\\n Panic_arithmetic,\\n Panic_error_code_ptr,\\n Panic_error_length,\\n Panic_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @title OrderValidator\\n * @author 0age\\n * @notice OrderValidator contains functionality related to validating orders\\n * and updating their status.\\n */\\ncontract OrderValidator is Executor, ZoneInteraction {\\n // Track status of each order (validated, cancelled, and fraction filled).\\n mapping(bytes32 => OrderStatus) private _orderStatus;\\n\\n // Track nonces for contract offerers.\\n mapping(address => uint256) internal _contractNonces;\\n\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) Executor(conduitController) {}\\n\\n /**\\n * @dev Internal function to verify and update the status of a basic order.\\n * Note that this function may only be safely called as part of basic\\n * orders, as it assumes a specific calldata encoding structure that\\n * must first be validated.\\n *\\n * @param orderHash The hash of the order.\\n * @param signature A signature from the offerer indicating that the order\\n * has been approved.\\n */\\n function _validateBasicOrderAndUpdateStatus(\\n bytes32 orderHash,\\n bytes calldata signature\\n ) internal {\\n // Retrieve offerer directly using fixed calldata offset based on strict\\n // basic parameter encoding.\\n address offerer;\\n assembly {\\n offerer := calldataload(BasicOrder_offerer_cdPtr)\\n }\\n\\n // Retrieve the order status for the given order hash.\\n OrderStatus storage orderStatus = _orderStatus[orderHash];\\n\\n // Ensure order is fillable and is not cancelled.\\n _verifyOrderStatus(\\n orderHash,\\n orderStatus,\\n true, // Only allow unused orders when fulfilling basic orders.\\n true // Signifies to revert if the order is invalid.\\n );\\n\\n // If the order is not already validated, verify the supplied signature.\\n if (!orderStatus.isValidated) {\\n _verifySignature(offerer, orderHash, signature);\\n }\\n\\n // Update order status as fully filled, packing struct values.\\n orderStatus.isValidated = true;\\n orderStatus.isCancelled = false;\\n orderStatus.numerator = 1;\\n orderStatus.denominator = 1;\\n }\\n\\n /**\\n * @dev Internal function to validate an order, determine what portion to\\n * fill, and update its status. The desired fill amount is supplied as\\n * a fraction, as is the returned amount to fill.\\n *\\n * @param advancedOrder The order to fulfill as well as the fraction to\\n * fill. Note that all offer and consideration\\n * amounts must divide with no remainder in order\\n * for a partial fill to be valid.\\n * @param revertOnInvalid A boolean indicating whether to revert if the\\n * order is invalid due to the time or status.\\n *\\n * @return orderHash The order hash.\\n * @return numerator A value indicating the portion of the order that\\n * will be filled.\\n * @return denominator A value indicating the total size of the order.\\n */\\n function _validateOrderAndUpdateStatus(\\n AdvancedOrder memory advancedOrder,\\n bool revertOnInvalid\\n )\\n internal\\n returns (bytes32 orderHash, uint256 numerator, uint256 denominator)\\n {\\n // Retrieve the parameters for the order.\\n OrderParameters memory orderParameters = advancedOrder.parameters;\\n\\n // Ensure current timestamp falls between order start time and end time.\\n if (\\n !_verifyTime(\\n orderParameters.startTime,\\n orderParameters.endTime,\\n revertOnInvalid\\n )\\n ) {\\n // Assuming an invalid time and no revert, return zeroed out values.\\n return (bytes32(0), 0, 0);\\n }\\n\\n // Read numerator and denominator from memory and place on the stack.\\n // Note that overflowed values are masked.\\n assembly {\\n numerator := and(\\n mload(add(advancedOrder, AdvancedOrder_numerator_offset)),\\n MaxUint120\\n )\\n\\n denominator := and(\\n mload(add(advancedOrder, AdvancedOrder_denominator_offset)),\\n MaxUint120\\n )\\n }\\n\\n // Declare variable for tracking the validity of the supplied fraction.\\n bool invalidFraction;\\n\\n // If the order is a contract order, return the generated order.\\n if (orderParameters.orderType == OrderType.CONTRACT) {\\n // Ensure that the numerator and denominator are both equal to 1.\\n assembly {\\n // (1 ^ nd =/= 0) => (nd =/= 1) => (n =/= 1) || (d =/= 1)\\n // It's important that the values are 120-bit masked before\\n // multiplication is applied. Otherwise, the last implication\\n // above is not correct (mod 2^256).\\n invalidFraction := xor(mul(numerator, denominator), 1)\\n }\\n\\n // Revert if the supplied numerator and denominator are not valid.\\n if (invalidFraction) {\\n _revertBadFraction();\\n }\\n\\n // Return the generated order based on the order params and the\\n // provided extra data. If revertOnInvalid is true, the function\\n // will revert if the input is invalid.\\n return\\n _getGeneratedOrder(\\n orderParameters,\\n advancedOrder.extraData,\\n revertOnInvalid\\n );\\n }\\n\\n // Ensure numerator does not exceed denominator and is not zero.\\n assembly {\\n invalidFraction := or(gt(numerator, denominator), iszero(numerator))\\n }\\n\\n // Revert if the supplied numerator and denominator are not valid.\\n if (invalidFraction) {\\n _revertBadFraction();\\n }\\n\\n // If attempting partial fill (n < d) check order type & ensure support.\\n if (\\n _doesNotSupportPartialFills(\\n orderParameters.orderType,\\n numerator,\\n denominator\\n )\\n ) {\\n // Revert if partial fill was attempted on an unsupported order.\\n _revertPartialFillsNotEnabledForOrder();\\n }\\n\\n // Retrieve current counter & use it w/ parameters to derive order hash.\\n orderHash = _assertConsiderationLengthAndGetOrderHash(orderParameters);\\n\\n // Retrieve the order status using the derived order hash.\\n OrderStatus storage orderStatus = _orderStatus[orderHash];\\n\\n // Ensure order is fillable and is not cancelled.\\n if (\\n !_verifyOrderStatus(\\n orderHash,\\n orderStatus,\\n false, // Allow partially used orders to be filled.\\n revertOnInvalid\\n )\\n ) {\\n // Assuming an invalid order status and no revert, return zero fill.\\n return (orderHash, 0, 0);\\n }\\n\\n // If the order is not already validated, verify the supplied signature.\\n if (!orderStatus.isValidated) {\\n _verifySignature(\\n orderParameters.offerer,\\n orderHash,\\n advancedOrder.signature\\n );\\n }\\n\\n // Utilize assembly to determine the fraction to fill and update status.\\n assembly {\\n let orderStatusSlot := orderStatus.slot\\n // Read filled amount as numerator and denominator and put on stack.\\n let filledNumerator := sload(orderStatusSlot)\\n let filledDenominator := shr(\\n OrderStatus_filledDenominator_offset,\\n filledNumerator\\n )\\n\\n // \\\"Loop\\\" until the appropriate fill fraction has been determined.\\n for { } 1 { } {\\n // If no portion of the order has been filled yet...\\n if iszero(filledDenominator) {\\n // fill the full supplied fraction.\\n filledNumerator := numerator\\n\\n // Exit the \\\"loop\\\" early.\\n break\\n }\\n\\n // Shift and mask to calculate the current filled numerator.\\n filledNumerator := and(\\n shr(OrderStatus_filledNumerator_offset, filledNumerator),\\n MaxUint120\\n )\\n\\n // If denominator of 1 supplied, fill entire remaining amount.\\n if eq(denominator, 1) {\\n // Set the amount to fill to the remaining amount.\\n numerator := sub(filledDenominator, filledNumerator)\\n\\n // Set the fill size to the current size.\\n denominator := filledDenominator\\n\\n // Set the filled amount to the current size.\\n filledNumerator := filledDenominator\\n\\n // Exit the \\\"loop\\\" early.\\n break\\n }\\n\\n // If supplied denominator is equal to the current one:\\n if eq(denominator, filledDenominator) {\\n // Increment the filled numerator by the new numerator.\\n filledNumerator := add(numerator, filledNumerator)\\n\\n // Once adjusted, if current + supplied numerator exceeds\\n // the denominator:\\n let carry := mul(\\n sub(filledNumerator, denominator),\\n gt(filledNumerator, denominator)\\n )\\n\\n // reduce the amount to fill by the excess.\\n numerator := sub(numerator, carry)\\n\\n // Reduce the filled amount by the excess as well.\\n filledNumerator := sub(filledNumerator, carry)\\n\\n // Exit the \\\"loop\\\" early.\\n break\\n }\\n\\n // Otherwise, if supplied denominator differs from current one:\\n // Scale the filled amount up by the supplied size.\\n filledNumerator := mul(filledNumerator, denominator)\\n\\n // Scale the supplied amount and size up by the current size.\\n numerator := mul(numerator, filledDenominator)\\n denominator := mul(denominator, filledDenominator)\\n\\n // Increment the filled numerator by the new numerator.\\n filledNumerator := add(numerator, filledNumerator)\\n\\n // Once adjusted, if current + supplied numerator exceeds\\n // denominator:\\n let carry := mul(\\n sub(filledNumerator, denominator),\\n gt(filledNumerator, denominator)\\n )\\n\\n // reduce the amount to fill by the excess.\\n numerator := sub(numerator, carry)\\n\\n // Reduce the filled amount by the excess as well.\\n filledNumerator := sub(filledNumerator, carry)\\n\\n // Check filledNumerator and denominator for uint120 overflow.\\n if or(\\n gt(filledNumerator, MaxUint120),\\n gt(denominator, MaxUint120)\\n ) {\\n // Derive greatest common divisor using euclidean algorithm.\\n function gcd(_a, _b) -> out {\\n // \\\"Loop\\\" until only one non-zero value remains.\\n for { } _b { } {\\n // Assign the second value to a temporary variable.\\n let _c := _b\\n\\n // Derive the modulus of the two values.\\n _b := mod(_a, _c)\\n\\n // Set the first value to the temporary value.\\n _a := _c\\n }\\n\\n // Return the remaining non-zero value.\\n out := _a\\n }\\n\\n // Determine the amount to scale down the fill fractions.\\n let scaleDown := gcd(\\n numerator,\\n gcd(filledNumerator, denominator)\\n )\\n\\n // Ensure that the divisor is at least one.\\n let safeScaleDown := add(scaleDown, iszero(scaleDown))\\n\\n // Scale all fractional values down by gcd.\\n numerator := div(numerator, safeScaleDown)\\n filledNumerator := div(filledNumerator, safeScaleDown)\\n denominator := div(denominator, safeScaleDown)\\n\\n // Perform the overflow check a second time.\\n if or(\\n gt(filledNumerator, MaxUint120),\\n gt(denominator, MaxUint120)\\n ) {\\n // Store the Panic error signature.\\n mstore(0, Panic_error_selector)\\n // Store the arithmetic (0x11) panic code.\\n mstore(Panic_error_code_ptr, Panic_arithmetic)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"Panic(uint256)\\\", 0x11\\n // ))\\n revert(Error_selector_offset, Panic_error_length)\\n }\\n }\\n\\n // Exit the \\\"loop\\\" now that all evaluation is complete.\\n break\\n }\\n\\n // Update order status and fill amount, packing struct values.\\n // [denominator: 15 bytes] [numerator: 15 bytes]\\n // [isCancelled: 1 byte] [isValidated: 1 byte]\\n sstore(\\n orderStatusSlot,\\n or(\\n OrderStatus_ValidatedAndNotCancelled,\\n or(\\n shl(\\n OrderStatus_filledNumerator_offset,\\n filledNumerator\\n ),\\n shl(OrderStatus_filledDenominator_offset, denominator)\\n )\\n )\\n )\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to check the compatibility of two offer\\n * or consideration items for contract orders. Note that the itemType\\n * and identifier are reset in cases where criteria = 0 (collection-\\n * wide offers), which means that a contract offerer has full latitude\\n * to choose any identifier it wants mid-flight, in contrast to the\\n * normal behavior, where the fulfiller can pick which identifier to\\n * receive by providing a CriteriaResolver.\\n *\\n * @param originalItem The original offer or consideration item.\\n * @param newItem The new offer or consideration item.\\n *\\n * @return isInvalid Error buffer indicating if items are incompatible.\\n */\\n function _compareItems(\\n MemoryPointer originalItem,\\n MemoryPointer newItem\\n ) internal pure returns (uint256 isInvalid) {\\n assembly {\\n let itemType := mload(originalItem)\\n let identifier := mload(add(originalItem, Common_identifier_offset))\\n\\n // Set returned identifier for criteria-based items w/ criteria = 0.\\n if and(gt(itemType, 3), iszero(identifier)) {\\n // replace item type\\n itemType := sub(3, eq(itemType, 4))\\n identifier := mload(add(newItem, Common_identifier_offset))\\n }\\n\\n let originalAmount := mload(add(originalItem, Common_amount_offset))\\n let newAmount := mload(add(newItem, Common_amount_offset))\\n\\n isInvalid := iszero(\\n and(\\n // originalItem.token == newItem.token &&\\n // originalItem.itemType == newItem.itemType\\n and(\\n eq(\\n mload(add(originalItem, Common_token_offset)),\\n mload(add(newItem, Common_token_offset))\\n ),\\n eq(itemType, mload(newItem))\\n ),\\n // originalItem.identifier == newItem.identifier &&\\n // originalItem.startAmount == originalItem.endAmount\\n and(\\n eq(\\n identifier,\\n mload(add(newItem, Common_identifier_offset))\\n ),\\n eq(\\n originalAmount,\\n mload(add(originalItem, Common_endAmount_offset))\\n )\\n )\\n )\\n )\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to check the compatibility of two recipients\\n * on consideration items for contract orders. This check is skipped if\\n * no recipient is originally supplied.\\n *\\n * @param originalRecipient The original consideration item recipient.\\n * @param newRecipient The new consideration item recipient.\\n *\\n * @return isInvalid Error buffer indicating if recipients are incompatible.\\n */\\n function _checkRecipients(\\n address originalRecipient,\\n address newRecipient\\n ) internal pure returns (uint256 isInvalid) {\\n assembly {\\n isInvalid := iszero(\\n or(\\n iszero(originalRecipient),\\n eq(newRecipient, originalRecipient)\\n )\\n )\\n }\\n }\\n\\n /**\\n * @dev Internal function to generate a contract order. When a\\n * collection-wide criteria-based item (criteria = 0) is provided as an\\n * input to a contract order, the contract offerer has full latitude to\\n * choose any identifier it wants mid-flight, which differs from the\\n * usual behavior. For regular criteria-based orders with\\n * identifierOrCriteria = 0, the fulfiller can pick which identifier to\\n * receive by providing a CriteriaResolver. For contract offers with\\n * identifierOrCriteria = 0, Seaport does not expect a corresponding\\n * CriteriaResolver, and will revert if one is provided.\\n *\\n * @param orderParameters The parameters for the order.\\n * @param context The context for generating the order.\\n * @param revertOnInvalid Whether to revert on invalid input.\\n *\\n * @return orderHash The order hash.\\n * @return numerator The numerator.\\n * @return denominator The denominator.\\n */\\n function _getGeneratedOrder(\\n OrderParameters memory orderParameters,\\n bytes memory context,\\n bool revertOnInvalid\\n )\\n internal\\n returns (bytes32 orderHash, uint256 numerator, uint256 denominator)\\n {\\n // Ensure that consideration array length is equal to the total original\\n // consideration items value.\\n if (\\n orderParameters.consideration.length !=\\n orderParameters.totalOriginalConsiderationItems\\n ) {\\n _revertConsiderationLengthNotEqualToTotalOriginal();\\n }\\n\\n {\\n address offerer = orderParameters.offerer;\\n bool success;\\n (MemoryPointer cdPtr, uint256 size) = _encodeGenerateOrder(\\n orderParameters,\\n context\\n );\\n assembly {\\n success := call(gas(), offerer, 0, cdPtr, size, 0, 0)\\n }\\n\\n {\\n // Note: overflow impossible; nonce can't increment that high.\\n uint256 contractNonce;\\n unchecked {\\n // Note: nonce will be incremented even for skipped orders,\\n // and even if generateOrder's return data does not satisfy\\n // all the constraints. This is the case when errorBuffer\\n // != 0 and revertOnInvalid == false.\\n contractNonce = _contractNonces[offerer]++;\\n }\\n\\n assembly {\\n // Shift offerer address up 96 bytes and combine with nonce.\\n orderHash := xor(\\n contractNonce,\\n shl(ContractOrder_orderHash_offerer_shift, offerer)\\n )\\n }\\n }\\n\\n // Revert or skip if the call to generate the contract order failed.\\n if (!success) {\\n return _revertOrReturnEmpty(revertOnInvalid, orderHash);\\n }\\n }\\n\\n // From this point onward, do not allow for skipping orders as the\\n // contract offerer may have modified state in expectation of any named\\n // consideration items being sent to their designated recipients.\\n\\n // Decode the returned contract order and/or update the error buffer.\\n (\\n uint256 errorBuffer,\\n OfferItem[] memory offer,\\n ConsiderationItem[] memory consideration\\n ) = _convertGetGeneratedOrderResult(_decodeGenerateOrderReturndata)();\\n\\n // Revert if the returndata could not be decoded correctly.\\n if (errorBuffer != 0) {\\n _revertInvalidContractOrder(orderHash);\\n }\\n\\n {\\n // Designate lengths.\\n uint256 originalOfferLength = orderParameters.offer.length;\\n uint256 newOfferLength = offer.length;\\n\\n // Explicitly specified offer items cannot be removed.\\n if (originalOfferLength > newOfferLength) {\\n _revertInvalidContractOrder(orderHash);\\n }\\n\\n // Iterate over each specified offer (e.g. minimumReceived) item.\\n for (uint256 i = 0; i < originalOfferLength; ) {\\n // Retrieve the pointer to the originally supplied item.\\n MemoryPointer mPtrOriginal = orderParameters\\n .offer[i]\\n .toMemoryPointer();\\n\\n // Retrieve the pointer to the newly returned item.\\n MemoryPointer mPtrNew = offer[i].toMemoryPointer();\\n\\n // Compare the items and update the error buffer accordingly.\\n errorBuffer |=\\n _cast(\\n mPtrOriginal\\n .offset(Common_amount_offset)\\n .readUint256() >\\n mPtrNew.offset(Common_amount_offset).readUint256()\\n ) |\\n _compareItems(mPtrOriginal, mPtrNew);\\n\\n // Increment the array (cannot overflow as index starts at 0).\\n unchecked {\\n ++i;\\n }\\n }\\n\\n // Assign the returned offer item in place of the original item.\\n orderParameters.offer = offer;\\n }\\n\\n {\\n // Designate lengths & memory locations.\\n ConsiderationItem[] memory originalConsiderationArray = (\\n orderParameters.consideration\\n );\\n uint256 newConsiderationLength = consideration.length;\\n\\n // New consideration items cannot be created.\\n if (newConsiderationLength > originalConsiderationArray.length) {\\n _revertInvalidContractOrder(orderHash);\\n }\\n\\n // Iterate over returned consideration & do not exceed maximumSpent.\\n for (uint256 i = 0; i < newConsiderationLength; ) {\\n // Retrieve the pointer to the originally supplied item.\\n MemoryPointer mPtrOriginal = originalConsiderationArray[i]\\n .toMemoryPointer();\\n\\n // Retrieve the pointer to the newly returned item.\\n MemoryPointer mPtrNew = consideration[i].toMemoryPointer();\\n\\n // Compare the items and update the error buffer accordingly\\n // and ensure that the recipients are equal when provided.\\n errorBuffer |=\\n _cast(\\n mPtrNew.offset(Common_amount_offset).readUint256() >\\n mPtrOriginal\\n .offset(Common_amount_offset)\\n .readUint256()\\n ) |\\n _compareItems(mPtrOriginal, mPtrNew) |\\n _checkRecipients(\\n mPtrOriginal\\n .offset(ConsiderItem_recipient_offset)\\n .readAddress(),\\n mPtrNew\\n .offset(ConsiderItem_recipient_offset)\\n .readAddress()\\n );\\n\\n // Increment the array (cannot overflow as index starts at 0).\\n unchecked {\\n ++i;\\n }\\n }\\n\\n // Assign returned consideration item in place of the original item.\\n orderParameters.consideration = consideration;\\n }\\n\\n // Revert if any item comparison failed.\\n if (errorBuffer != 0) {\\n _revertInvalidContractOrder(orderHash);\\n }\\n\\n // Return order hash and full fill amount (numerator & denominator = 1).\\n return (orderHash, 1, 1);\\n }\\n\\n /**\\n * @dev Internal function to cancel an arbitrary number of orders. Note that\\n * only the offerer or the zone of a given order may cancel it. Callers\\n * should ensure that the intended order was cancelled by calling\\n * `getOrderStatus` and confirming that `isCancelled` returns `true`.\\n * Also note that contract orders are not cancellable.\\n *\\n * @param orders The orders to cancel.\\n *\\n * @return cancelled A boolean indicating whether the supplied orders were\\n * successfully cancelled.\\n */\\n function _cancel(\\n OrderComponents[] calldata orders\\n ) internal returns (bool cancelled) {\\n // Ensure that the reentrancy guard is not currently set.\\n _assertNonReentrant();\\n\\n // Declare variables outside of the loop.\\n OrderStatus storage orderStatus;\\n\\n // Declare a variable for tracking invariants in the loop.\\n bool anyInvalidCallerOrContractOrder;\\n\\n // Skip overflow check as for loop is indexed starting at zero.\\n unchecked {\\n // Read length of the orders array from memory and place on stack.\\n uint256 totalOrders = orders.length;\\n\\n // Iterate over each order.\\n for (uint256 i = 0; i < totalOrders; ) {\\n // Retrieve the order.\\n OrderComponents calldata order = orders[i];\\n\\n address offerer = order.offerer;\\n address zone = order.zone;\\n OrderType orderType = order.orderType;\\n\\n assembly {\\n // If caller is neither the offerer nor zone, or a contract\\n // order is present, flag anyInvalidCallerOrContractOrder.\\n anyInvalidCallerOrContractOrder := or(\\n anyInvalidCallerOrContractOrder,\\n // orderType == CONTRACT ||\\n // !(caller == offerer || caller == zone)\\n or(\\n eq(orderType, 4),\\n iszero(\\n or(eq(caller(), offerer), eq(caller(), zone))\\n )\\n )\\n )\\n }\\n\\n bytes32 orderHash = _deriveOrderHash(\\n _toOrderParametersReturnType(\\n _decodeOrderComponentsAsOrderParameters\\n )(order.toCalldataPointer()),\\n order.counter\\n );\\n\\n // Retrieve the order status using the derived order hash.\\n orderStatus = _orderStatus[orderHash];\\n\\n // Update the order status as not valid and cancelled.\\n orderStatus.isValidated = false;\\n orderStatus.isCancelled = true;\\n\\n // Emit an event signifying that the order has been cancelled.\\n emit OrderCancelled(orderHash, offerer, zone);\\n\\n // Increment counter inside body of loop for gas efficiency.\\n ++i;\\n }\\n }\\n\\n if (anyInvalidCallerOrContractOrder) {\\n _revertCannotCancelOrder();\\n }\\n\\n // Return a boolean indicating that orders were successfully cancelled.\\n cancelled = true;\\n }\\n\\n /**\\n * @dev Internal function to validate an arbitrary number of orders, thereby\\n * registering their signatures as valid and allowing the fulfiller to\\n * skip signature verification on fulfillment. Note that validated\\n * orders may still be unfulfillable due to invalid item amounts or\\n * other factors; callers should determine whether validated orders are\\n * fulfillable by simulating the fulfillment call prior to execution.\\n * Also note that anyone can validate a signed order, but only the\\n * offerer can validate an order without supplying a signature.\\n *\\n * @param orders The orders to validate.\\n *\\n * @return validated A boolean indicating whether the supplied orders were\\n * successfully validated.\\n */\\n function _validate(\\n Order[] memory orders\\n ) internal returns (bool validated) {\\n // Ensure that the reentrancy guard is not currently set.\\n _assertNonReentrant();\\n\\n // Declare variables outside of the loop.\\n OrderStatus storage orderStatus;\\n bytes32 orderHash;\\n address offerer;\\n\\n // Skip overflow check as for loop is indexed starting at zero.\\n unchecked {\\n // Read length of the orders array from memory and place on stack.\\n uint256 totalOrders = orders.length;\\n\\n // Iterate over each order.\\n for (uint256 i = 0; i < totalOrders; ++i) {\\n // Retrieve the order.\\n Order memory order = orders[i];\\n\\n // Retrieve the order parameters.\\n OrderParameters memory orderParameters = order.parameters;\\n\\n // Skip contract orders.\\n if (orderParameters.orderType == OrderType.CONTRACT) {\\n continue;\\n }\\n\\n // Move offerer from memory to the stack.\\n offerer = orderParameters.offerer;\\n\\n // Get current counter & use it w/ params to derive order hash.\\n orderHash = _assertConsiderationLengthAndGetOrderHash(\\n orderParameters\\n );\\n\\n // Retrieve the order status using the derived order hash.\\n orderStatus = _orderStatus[orderHash];\\n\\n // Ensure order is fillable and retrieve the filled amount.\\n _verifyOrderStatus(\\n orderHash,\\n orderStatus,\\n false, // Signifies that partially filled orders are valid.\\n true // Signifies to revert if the order is invalid.\\n );\\n\\n // If the order has not already been validated...\\n if (!orderStatus.isValidated) {\\n // Ensure that consideration array length is equal to the\\n // total original consideration items value.\\n if (\\n orderParameters.consideration.length !=\\n orderParameters.totalOriginalConsiderationItems\\n ) {\\n _revertConsiderationLengthNotEqualToTotalOriginal();\\n }\\n\\n // Verify the supplied signature.\\n _verifySignature(offerer, orderHash, order.signature);\\n\\n // Update order status to mark the order as valid.\\n orderStatus.isValidated = true;\\n\\n // Emit an event signifying the order has been validated.\\n emit OrderValidated(orderHash, orderParameters);\\n }\\n }\\n }\\n\\n // Return a boolean indicating that orders were successfully validated.\\n validated = true;\\n }\\n\\n /**\\n * @dev Internal view function to retrieve the status of a given order by\\n * hash, including whether the order has been cancelled or validated\\n * and the fraction of the order that has been filled.\\n *\\n * @param orderHash The order hash in question.\\n *\\n * @return isValidated A boolean indicating whether the order in question\\n * has been validated (i.e. previously approved or\\n * partially filled).\\n * @return isCancelled A boolean indicating whether the order in question\\n * has been cancelled.\\n * @return totalFilled The total portion of the order that has been filled\\n * (i.e. the \\\"numerator\\\").\\n * @return totalSize The total size of the order that is either filled or\\n * unfilled (i.e. the \\\"denominator\\\").\\n */\\n function _getOrderStatus(\\n bytes32 orderHash\\n )\\n internal\\n view\\n returns (\\n bool isValidated,\\n bool isCancelled,\\n uint256 totalFilled,\\n uint256 totalSize\\n )\\n {\\n // Retrieve the order status using the order hash.\\n OrderStatus storage orderStatus = _orderStatus[orderHash];\\n\\n // Return the fields on the order status.\\n return (\\n orderStatus.isValidated,\\n orderStatus.isCancelled,\\n orderStatus.numerator,\\n orderStatus.denominator\\n );\\n }\\n\\n /**\\n * @dev Internal pure function to either revert or return an empty tuple\\n * depending on the value of `revertOnInvalid`.\\n *\\n * @param revertOnInvalid Whether to revert on invalid input.\\n * @param contractOrderHash The contract order hash.\\n *\\n * @return orderHash The order hash.\\n * @return numerator The numerator.\\n * @return denominator The denominator.\\n */\\n function _revertOrReturnEmpty(\\n bool revertOnInvalid,\\n bytes32 contractOrderHash\\n )\\n internal\\n pure\\n returns (bytes32 orderHash, uint256 numerator, uint256 denominator)\\n {\\n if (revertOnInvalid) {\\n _revertInvalidContractOrder(contractOrderHash);\\n }\\n\\n return (contractOrderHash, 0, 0);\\n }\\n\\n /**\\n * @dev Internal pure function to check whether a given order type indicates\\n * that partial fills are not supported (e.g. only \\\"full fills\\\" are\\n * allowed for the order in question).\\n *\\n * @param orderType The order type in question.\\n * @param numerator The numerator in question.\\n * @param denominator The denominator in question.\\n *\\n * @return isFullOrder A boolean indicating whether the order type only\\n * supports full fills.\\n */\\n function _doesNotSupportPartialFills(\\n OrderType orderType,\\n uint256 numerator,\\n uint256 denominator\\n ) internal pure returns (bool isFullOrder) {\\n // The \\\"full\\\" order types are even, while \\\"partial\\\" order types are odd.\\n // Bitwise and by 1 is equivalent to modulo by 2, but 2 gas cheaper. The\\n // check is only necessary if numerator is less than denominator.\\n assembly {\\n // Equivalent to `uint256(orderType) & 1 == 0`.\\n isFullOrder := and(\\n lt(numerator, denominator),\\n iszero(and(orderType, 1))\\n )\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/Executor.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { ConduitInterface } from \\\"../interfaces/ConduitInterface.sol\\\";\\n\\nimport { ConduitItemType } from \\\"../conduit/lib/ConduitEnums.sol\\\";\\n\\nimport { ItemType } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport { ReceivedItem } from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { Verifiers } from \\\"./Verifiers.sol\\\";\\n\\nimport { TokenTransferrer } from \\\"./TokenTransferrer.sol\\\";\\n\\nimport {\\n Accumulator_array_length_ptr,\\n Accumulator_array_offset_ptr,\\n Accumulator_array_offset,\\n Accumulator_conduitKey_ptr,\\n Accumulator_itemSizeOffsetDifference,\\n Accumulator_selector_ptr,\\n AccumulatorArmed,\\n AccumulatorDisarmed,\\n Conduit_transferItem_amount_ptr,\\n Conduit_transferItem_from_ptr,\\n Conduit_transferItem_identifier_ptr,\\n Conduit_transferItem_size,\\n Conduit_transferItem_to_ptr,\\n Conduit_transferItem_token_ptr,\\n FreeMemoryPointerSlot,\\n OneWord,\\n TwoWords\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n Error_selector_offset,\\n NativeTokenTransferGenericFailure_error_account_ptr,\\n NativeTokenTransferGenericFailure_error_amount_ptr,\\n NativeTokenTransferGenericFailure_error_length,\\n NativeTokenTransferGenericFailure_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\nimport {\\n _revertInvalidCallToConduit,\\n _revertInvalidConduit,\\n _revertInvalidERC721TransferAmount,\\n _revertUnusedItemParameters\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\n/**\\n * @title Executor\\n * @author 0age\\n * @notice Executor contains functions related to processing executions (i.e.\\n * transferring items, either directly or via conduits).\\n */\\ncontract Executor is Verifiers, TokenTransferrer {\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) Verifiers(conduitController) {}\\n\\n /**\\n * @dev Internal function to transfer a given item, either directly or via\\n * a corresponding conduit.\\n *\\n * @param item The item to transfer, including an amount and a\\n * recipient.\\n * @param from The account supplying the item.\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n */\\n function _transfer(\\n ReceivedItem memory item,\\n address from,\\n bytes32 conduitKey,\\n bytes memory accumulator\\n ) internal {\\n // If the item type indicates Ether or a native token...\\n if (item.itemType == ItemType.NATIVE) {\\n // Ensure neither the token nor the identifier parameters are set.\\n if ((uint160(item.token) | item.identifier) != 0) {\\n _revertUnusedItemParameters();\\n }\\n\\n // transfer the native tokens to the recipient.\\n _transferNativeTokens(item.recipient, item.amount);\\n } else if (item.itemType == ItemType.ERC20) {\\n // Ensure that no identifier is supplied.\\n if (item.identifier != 0) {\\n _revertUnusedItemParameters();\\n }\\n\\n // Transfer ERC20 tokens from the source to the recipient.\\n _transferERC20(\\n item.token,\\n from,\\n item.recipient,\\n item.amount,\\n conduitKey,\\n accumulator\\n );\\n } else if (item.itemType == ItemType.ERC721) {\\n // Transfer ERC721 token from the source to the recipient.\\n _transferERC721(\\n item.token,\\n from,\\n item.recipient,\\n item.identifier,\\n item.amount,\\n conduitKey,\\n accumulator\\n );\\n } else {\\n // Transfer ERC1155 token from the source to the recipient.\\n _transferERC1155(\\n item.token,\\n from,\\n item.recipient,\\n item.identifier,\\n item.amount,\\n conduitKey,\\n accumulator\\n );\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer Ether or other native tokens to a\\n * given recipient.\\n *\\n * @param to The recipient of the transfer.\\n * @param amount The amount to transfer.\\n */\\n function _transferNativeTokens(\\n address payable to,\\n uint256 amount\\n ) internal {\\n // Ensure that the supplied amount is non-zero.\\n _assertNonZeroAmount(amount);\\n\\n // Declare a variable indicating whether the call was successful or not.\\n bool success;\\n\\n assembly {\\n // Transfer the native token and store if it succeeded or not.\\n success := call(gas(), to, amount, 0, 0, 0, 0)\\n }\\n\\n // If the call fails...\\n if (!success) {\\n // Revert and pass the revert reason along if one was returned.\\n _revertWithReasonIfOneIsReturned();\\n\\n // Otherwise, revert with a generic error message.\\n assembly {\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, NativeTokenTransferGenericFailure_error_selector)\\n\\n // Write `to` and `amount` arguments.\\n mstore(NativeTokenTransferGenericFailure_error_account_ptr, to)\\n mstore(\\n NativeTokenTransferGenericFailure_error_amount_ptr,\\n amount\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"NativeTokenTransferGenericFailure(address,uint256)\\\",\\n // to,\\n // amount\\n // ))\\n revert(\\n Error_selector_offset,\\n NativeTokenTransferGenericFailure_error_length\\n )\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer ERC20 tokens from a given originator\\n * to a given recipient using a given conduit if applicable. Sufficient\\n * approvals must be set on this contract or on a respective conduit.\\n *\\n * @param token The ERC20 token to transfer.\\n * @param from The originator of the transfer.\\n * @param to The recipient of the transfer.\\n * @param amount The amount to transfer.\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n */\\n function _transferERC20(\\n address token,\\n address from,\\n address to,\\n uint256 amount,\\n bytes32 conduitKey,\\n bytes memory accumulator\\n ) internal {\\n // Ensure that the supplied amount is non-zero.\\n _assertNonZeroAmount(amount);\\n\\n // Trigger accumulated transfers if the conduits differ.\\n _triggerIfArmedAndNotAccumulatable(accumulator, conduitKey);\\n\\n // If no conduit has been specified...\\n if (conduitKey == bytes32(0)) {\\n // Perform the token transfer directly.\\n _performERC20Transfer(token, from, to, amount);\\n } else {\\n // Insert the call to the conduit into the accumulator.\\n _insert(\\n conduitKey,\\n accumulator,\\n ConduitItemType.ERC20,\\n token,\\n from,\\n to,\\n uint256(0),\\n amount\\n );\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer a single ERC721 token from a given\\n * originator to a given recipient. Sufficient approvals must be set,\\n * either on the respective conduit or on this contract itself.\\n *\\n * @param token The ERC721 token to transfer.\\n * @param from The originator of the transfer.\\n * @param to The recipient of the transfer.\\n * @param identifier The tokenId to transfer.\\n * @param amount The amount to transfer (must be 1 for ERC721).\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n */\\n function _transferERC721(\\n address token,\\n address from,\\n address to,\\n uint256 identifier,\\n uint256 amount,\\n bytes32 conduitKey,\\n bytes memory accumulator\\n ) internal {\\n // Trigger accumulated transfers if the conduits differ.\\n _triggerIfArmedAndNotAccumulatable(accumulator, conduitKey);\\n\\n // If no conduit has been specified...\\n if (conduitKey == bytes32(0)) {\\n // Ensure that exactly one 721 item is being transferred.\\n if (amount != 1) {\\n _revertInvalidERC721TransferAmount(amount);\\n }\\n\\n // Perform transfer via the token contract directly.\\n _performERC721Transfer(token, from, to, identifier);\\n } else {\\n // Insert the call to the conduit into the accumulator.\\n _insert(\\n conduitKey,\\n accumulator,\\n ConduitItemType.ERC721,\\n token,\\n from,\\n to,\\n identifier,\\n amount\\n );\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer ERC1155 tokens from a given originator\\n * to a given recipient. Sufficient approvals must be set, either on\\n * the respective conduit or on this contract itself.\\n *\\n * @param token The ERC1155 token to transfer.\\n * @param from The originator of the transfer.\\n * @param to The recipient of the transfer.\\n * @param identifier The id to transfer.\\n * @param amount The amount to transfer.\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n */\\n function _transferERC1155(\\n address token,\\n address from,\\n address to,\\n uint256 identifier,\\n uint256 amount,\\n bytes32 conduitKey,\\n bytes memory accumulator\\n ) internal {\\n // Ensure that the supplied amount is non-zero.\\n _assertNonZeroAmount(amount);\\n\\n // Trigger accumulated transfers if the conduits differ.\\n _triggerIfArmedAndNotAccumulatable(accumulator, conduitKey);\\n\\n // If no conduit has been specified...\\n if (conduitKey == bytes32(0)) {\\n // Perform transfer via the token contract directly.\\n _performERC1155Transfer(token, from, to, identifier, amount);\\n } else {\\n // Insert the call to the conduit into the accumulator.\\n _insert(\\n conduitKey,\\n accumulator,\\n ConduitItemType.ERC1155,\\n token,\\n from,\\n to,\\n identifier,\\n amount\\n );\\n }\\n }\\n\\n /**\\n * @dev Internal function to trigger a call to the conduit currently held by\\n * the accumulator if the accumulator contains item transfers (i.e. it\\n * is \\\"armed\\\") and the supplied conduit key does not match the key held\\n * by the accumulator.\\n *\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n */\\n function _triggerIfArmedAndNotAccumulatable(\\n bytes memory accumulator,\\n bytes32 conduitKey\\n ) internal {\\n // Retrieve the current conduit key from the accumulator.\\n bytes32 accumulatorConduitKey = _getAccumulatorConduitKey(accumulator);\\n\\n // Perform conduit call if the set key does not match the supplied key.\\n if (accumulatorConduitKey != conduitKey) {\\n _triggerIfArmed(accumulator);\\n }\\n }\\n\\n /**\\n * @dev Internal function to trigger a call to the conduit currently held by\\n * the accumulator if the accumulator contains item transfers (i.e. it\\n * is \\\"armed\\\").\\n *\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n */\\n function _triggerIfArmed(bytes memory accumulator) internal {\\n // Exit if the accumulator is not \\\"armed\\\".\\n if (accumulator.length != AccumulatorArmed) {\\n return;\\n }\\n\\n // Retrieve the current conduit key from the accumulator.\\n bytes32 accumulatorConduitKey = _getAccumulatorConduitKey(accumulator);\\n\\n // Perform conduit call.\\n _trigger(accumulatorConduitKey, accumulator);\\n }\\n\\n /**\\n * @dev Internal function to trigger a call to the conduit corresponding to\\n * a given conduit key, supplying all accumulated item transfers. The\\n * accumulator will be \\\"disarmed\\\" and reset in the process.\\n *\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n */\\n function _trigger(bytes32 conduitKey, bytes memory accumulator) internal {\\n // Declare variables for offset in memory & size of calldata to conduit.\\n uint256 callDataOffset;\\n uint256 callDataSize;\\n\\n // Call the conduit with all the accumulated transfers.\\n assembly {\\n // Call begins at third word; the first is length or \\\"armed\\\" status,\\n // and the second is the current conduit key.\\n callDataOffset := add(accumulator, TwoWords)\\n\\n // 68 + items * 192\\n callDataSize := add(\\n Accumulator_array_offset_ptr,\\n mul(\\n mload(add(accumulator, Accumulator_array_length_ptr)),\\n Conduit_transferItem_size\\n )\\n )\\n }\\n\\n // Call conduit derived from conduit key & supply accumulated transfers.\\n _callConduitUsingOffsets(conduitKey, callDataOffset, callDataSize);\\n\\n // Reset accumulator length to signal that it is now \\\"disarmed\\\".\\n assembly {\\n mstore(accumulator, AccumulatorDisarmed)\\n }\\n }\\n\\n /**\\n * @dev Internal function to perform a call to the conduit corresponding to\\n * a given conduit key based on the offset and size of the calldata in\\n * question in memory.\\n *\\n * @param conduitKey A bytes32 value indicating what corresponding\\n * conduit, if any, to source token approvals from.\\n * The zero hash signifies that no conduit should be\\n * used, with direct approvals set on this contract.\\n * @param callDataOffset The memory pointer where calldata is contained.\\n * @param callDataSize The size of calldata in memory.\\n */\\n function _callConduitUsingOffsets(\\n bytes32 conduitKey,\\n uint256 callDataOffset,\\n uint256 callDataSize\\n ) internal {\\n // Derive the address of the conduit using the conduit key.\\n address conduit = _deriveConduit(conduitKey);\\n\\n bool success;\\n bytes4 result;\\n\\n // call the conduit.\\n assembly {\\n // Ensure first word of scratch space is empty.\\n mstore(0, 0)\\n\\n // Perform call, placing first word of return data in scratch space.\\n success := call(\\n gas(),\\n conduit,\\n 0,\\n callDataOffset,\\n callDataSize,\\n 0,\\n OneWord\\n )\\n\\n // Take value from scratch space and place it on the stack.\\n result := mload(0)\\n }\\n\\n // If the call failed...\\n if (!success) {\\n // Pass along whatever revert reason was given by the conduit.\\n _revertWithReasonIfOneIsReturned();\\n\\n // Otherwise, revert with a generic error.\\n _revertInvalidCallToConduit(conduit);\\n }\\n\\n // Ensure result was extracted and matches EIP-1271 magic value.\\n if (result != ConduitInterface.execute.selector) {\\n _revertInvalidConduit(conduitKey, conduit);\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to retrieve the current conduit key set for\\n * the accumulator.\\n *\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n *\\n * @return accumulatorConduitKey The conduit key currently set for the\\n * accumulator.\\n */\\n function _getAccumulatorConduitKey(\\n bytes memory accumulator\\n ) internal pure returns (bytes32 accumulatorConduitKey) {\\n // Retrieve the current conduit key from the accumulator.\\n assembly {\\n accumulatorConduitKey := mload(\\n add(accumulator, Accumulator_conduitKey_ptr)\\n )\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to place an item transfer into an accumulator\\n * that collects a series of transfers to execute against a given\\n * conduit in a single call.\\n *\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. The zero hash\\n * signifies that no conduit should be used, with direct\\n * approvals set on this contract.\\n * @param accumulator An open-ended array that collects transfers to execute\\n * against a given conduit in a single call.\\n * @param itemType The type of the item to transfer.\\n * @param token The token to transfer.\\n * @param from The originator of the transfer.\\n * @param to The recipient of the transfer.\\n * @param identifier The tokenId to transfer.\\n * @param amount The amount to transfer.\\n */\\n function _insert(\\n bytes32 conduitKey,\\n bytes memory accumulator,\\n ConduitItemType itemType,\\n address token,\\n address from,\\n address to,\\n uint256 identifier,\\n uint256 amount\\n ) internal pure {\\n uint256 elements;\\n // \\\"Arm\\\" and prime accumulator if it's not already armed. The sentinel\\n // value is held in the length of the accumulator array.\\n if (accumulator.length == AccumulatorDisarmed) {\\n elements = 1;\\n bytes4 selector = ConduitInterface.execute.selector;\\n assembly {\\n mstore(accumulator, AccumulatorArmed) // \\\"arm\\\" the accumulator.\\n mstore(add(accumulator, Accumulator_conduitKey_ptr), conduitKey)\\n mstore(add(accumulator, Accumulator_selector_ptr), selector)\\n mstore(\\n add(accumulator, Accumulator_array_offset_ptr),\\n Accumulator_array_offset\\n )\\n mstore(add(accumulator, Accumulator_array_length_ptr), elements)\\n }\\n } else {\\n // Otherwise, increase the number of elements by one.\\n assembly {\\n elements := add(\\n mload(add(accumulator, Accumulator_array_length_ptr)),\\n 1\\n )\\n mstore(add(accumulator, Accumulator_array_length_ptr), elements)\\n }\\n }\\n\\n // Insert the item.\\n assembly {\\n let itemPointer := sub(\\n add(accumulator, mul(elements, Conduit_transferItem_size)),\\n Accumulator_itemSizeOffsetDifference\\n )\\n mstore(itemPointer, itemType)\\n mstore(add(itemPointer, Conduit_transferItem_token_ptr), token)\\n mstore(add(itemPointer, Conduit_transferItem_from_ptr), from)\\n mstore(add(itemPointer, Conduit_transferItem_to_ptr), to)\\n mstore(\\n add(itemPointer, Conduit_transferItem_identifier_ptr),\\n identifier\\n )\\n mstore(add(itemPointer, Conduit_transferItem_amount_ptr), amount)\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ZoneInteraction.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { OrderType } from \\\"./ConsiderationEnums.sol\\\";\\n\\nimport {\\n AdvancedOrder,\\n BasicOrderParameters,\\n OrderParameters\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { ZoneInteractionErrors } from \\\"../interfaces/ZoneInteractionErrors.sol\\\";\\n\\nimport { LowLevelHelpers } from \\\"./LowLevelHelpers.sol\\\";\\n\\nimport { ConsiderationEncoder } from \\\"./ConsiderationEncoder.sol\\\";\\n\\nimport { MemoryPointer } from \\\"../helpers/PointerLibraries.sol\\\";\\n\\nimport {\\n ContractOrder_orderHash_offerer_shift,\\n MaskOverFirstFourBytes,\\n OneWord,\\n OrderParameters_zone_offset\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n Error_selector_offset,\\n InvalidContractOrder_error_selector,\\n InvalidRestrictedOrder_error_length,\\n InvalidRestrictedOrder_error_orderHash_ptr,\\n InvalidRestrictedOrder_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @title ZoneInteraction\\n * @author 0age\\n * @notice ZoneInteraction contains logic related to interacting with zones.\\n */\\ncontract ZoneInteraction is\\n ConsiderationEncoder,\\n ZoneInteractionErrors,\\n LowLevelHelpers\\n{\\n /**\\n * @dev Internal function to determine if an order has a restricted order\\n * type and, if so, to ensure that either the zone is the caller or\\n * that a call to `validateOrder` on the zone returns a magic value\\n * indicating that the order is currently valid. Note that contract\\n * orders are not accessible via the basic fulfillment method.\\n *\\n * @param orderHash The hash of the order.\\n * @param orderType The order type.\\n * @param parameters The parameters of the basic order.\\n */\\n function _assertRestrictedBasicOrderValidity(\\n bytes32 orderHash,\\n OrderType orderType,\\n BasicOrderParameters calldata parameters\\n ) internal {\\n // Order type 2-3 require zone be caller or zone to approve.\\n // Note that in cases where fulfiller == zone, the restricted order\\n // validation will be skipped.\\n if (_isRestrictedAndCallerNotZone(orderType, parameters.zone)) {\\n // Encode the `validateOrder` call in memory.\\n (MemoryPointer callData, uint256 size) = _encodeValidateBasicOrder(\\n orderHash,\\n parameters\\n );\\n\\n // Perform `validateOrder` call and ensure magic value was returned.\\n _callAndCheckStatus(\\n parameters.zone,\\n orderHash,\\n callData,\\n size,\\n InvalidRestrictedOrder_error_selector\\n );\\n }\\n }\\n\\n /**\\n * @dev Internal function to determine the post-execution validity of\\n * restricted and contract orders. Restricted orders where the caller\\n * is not the zone must successfully call `validateOrder` with the\\n * correct magic value returned. Contract orders must successfully call\\n * `ratifyOrder` with the correct magic value returned.\\n *\\n * @param advancedOrder The advanced order in question.\\n * @param orderHashes The order hashes of each order included as part of\\n * the current fulfillment.\\n * @param orderHash The hash of the order.\\n */\\n function _assertRestrictedAdvancedOrderValidity(\\n AdvancedOrder memory advancedOrder,\\n bytes32[] memory orderHashes,\\n bytes32 orderHash\\n ) internal {\\n // Declare variables that will be assigned based on the order type.\\n address target;\\n uint256 errorSelector;\\n MemoryPointer callData;\\n uint256 size;\\n\\n // Retrieve the parameters of the order in question.\\n OrderParameters memory parameters = advancedOrder.parameters;\\n\\n // OrderType 2-3 require zone to be caller or approve via validateOrder.\\n if (\\n _isRestrictedAndCallerNotZone(parameters.orderType, parameters.zone)\\n ) {\\n // Encode the `validateOrder` call in memory.\\n (callData, size) = _encodeValidateOrder(\\n orderHash,\\n parameters,\\n advancedOrder.extraData,\\n orderHashes\\n );\\n\\n // Set the target to the zone.\\n target = (\\n parameters\\n .toMemoryPointer()\\n .offset(OrderParameters_zone_offset)\\n .readAddress()\\n );\\n\\n // Set the restricted-order-specific error selector.\\n errorSelector = InvalidRestrictedOrder_error_selector;\\n } else if (parameters.orderType == OrderType.CONTRACT) {\\n // Set the target to the offerer (note the offerer has no offset).\\n target = parameters.toMemoryPointer().readAddress();\\n\\n // Shift the target 96 bits to the left.\\n uint256 shiftedOfferer;\\n assembly {\\n shiftedOfferer := shl(\\n ContractOrder_orderHash_offerer_shift,\\n target\\n )\\n }\\n\\n // Encode the `ratifyOrder` call in memory.\\n (callData, size) = _encodeRatifyOrder(\\n orderHash,\\n parameters,\\n advancedOrder.extraData,\\n orderHashes,\\n shiftedOfferer\\n );\\n\\n // Set the contract-order-specific error selector.\\n errorSelector = InvalidContractOrder_error_selector;\\n } else {\\n return;\\n }\\n\\n // Perform call and ensure a corresponding magic value was returned.\\n _callAndCheckStatus(target, orderHash, callData, size, errorSelector);\\n }\\n\\n /**\\n * @dev Determines whether the specified order type is restricted and the\\n * caller is not the specified zone.\\n *\\n * @param orderType The type of the order to check.\\n * @param zone The address of the zone to check against.\\n *\\n * @return mustValidate True if the order type is restricted and the caller\\n * is not the specified zone, false otherwise.\\n */\\n function _isRestrictedAndCallerNotZone(\\n OrderType orderType,\\n address zone\\n ) internal view returns (bool mustValidate) {\\n assembly {\\n mustValidate := and(\\n // Note that this check requires that there are no order types\\n // beyond the current set (0-4). It will need to be modified if\\n // more order types are added.\\n and(lt(orderType, 4), gt(orderType, 1)),\\n iszero(eq(caller(), zone))\\n )\\n }\\n }\\n\\n /**\\n * @dev Calls the specified target with the given data and checks the status\\n * of the call. Revert reasons will be \\\"bubbled up\\\" if one is returned,\\n * otherwise reverting calls will throw a generic error based on the\\n * supplied error handler.\\n *\\n * @param target The address of the contract to call.\\n * @param orderHash The hash of the order associated with the call.\\n * @param callData The data to pass to the contract call.\\n * @param size The size of calldata.\\n * @param errorSelector The error handling function to call if the call\\n * fails or the magic value does not match.\\n */\\n function _callAndCheckStatus(\\n address target,\\n bytes32 orderHash,\\n MemoryPointer callData,\\n uint256 size,\\n uint256 errorSelector\\n ) internal {\\n bool success;\\n bool magicMatch;\\n assembly {\\n // Get magic value from the selector at start of provided calldata.\\n let magic := and(mload(callData), MaskOverFirstFourBytes)\\n\\n // Clear the start of scratch space.\\n mstore(0, 0)\\n\\n // Perform call, placing result in the first word of scratch space.\\n success := call(gas(), target, 0, callData, size, 0, OneWord)\\n\\n // Determine if returned magic value matches the calldata selector.\\n magicMatch := eq(magic, mload(0))\\n }\\n\\n // Revert if the call was not successful.\\n if (!success) {\\n // Revert and pass reason along if one was returned.\\n _revertWithReasonIfOneIsReturned();\\n\\n // If no reason was returned, revert with supplied error selector.\\n assembly {\\n mstore(0, errorSelector)\\n mstore(InvalidRestrictedOrder_error_orderHash_ptr, orderHash)\\n // revert(abi.encodeWithSelector(\\n // \\\"InvalidRestrictedOrder(bytes32)\\\",\\n // orderHash\\n // ))\\n revert(\\n Error_selector_offset,\\n InvalidRestrictedOrder_error_length\\n )\\n }\\n }\\n\\n // Revert if the correct magic value was not returned.\\n if (!magicMatch) {\\n // Revert with a generic error message.\\n assembly {\\n mstore(0, errorSelector)\\n mstore(InvalidRestrictedOrder_error_orderHash_ptr, orderHash)\\n\\n // revert(abi.encodeWithSelector(\\n // \\\"InvalidRestrictedOrder(bytes32)\\\",\\n // orderHash\\n // ))\\n revert(\\n Error_selector_offset,\\n InvalidRestrictedOrder_error_length\\n )\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/ConduitInterface.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport {\\n ConduitBatch1155Transfer,\\n ConduitTransfer\\n} from \\\"../conduit/lib/ConduitStructs.sol\\\";\\n\\n/**\\n * @title ConduitInterface\\n * @author 0age\\n * @notice ConduitInterface contains all external function interfaces, events,\\n * and errors for conduit contracts.\\n */\\ninterface ConduitInterface {\\n /**\\n * @dev Revert with an error when attempting to execute transfers using a\\n * caller that does not have an open channel.\\n */\\n error ChannelClosed(address channel);\\n\\n /**\\n * @dev Revert with an error when attempting to update a channel to the\\n * current status of that channel.\\n */\\n error ChannelStatusAlreadySet(address channel, bool isOpen);\\n\\n /**\\n * @dev Revert with an error when attempting to execute a transfer for an\\n * item that does not have an ERC20/721/1155 item type.\\n */\\n error InvalidItemType();\\n\\n /**\\n * @dev Revert with an error when attempting to update the status of a\\n * channel from a caller that is not the conduit controller.\\n */\\n error InvalidController();\\n\\n /**\\n * @dev Emit an event whenever a channel is opened or closed.\\n *\\n * @param channel The channel that has been updated.\\n * @param open A boolean indicating whether the conduit is open or not.\\n */\\n event ChannelUpdated(address indexed channel, bool open);\\n\\n /**\\n * @notice Execute a sequence of ERC20/721/1155 transfers. Only a caller\\n * with an open channel can call this function.\\n *\\n * @param transfers The ERC20/721/1155 transfers to perform.\\n *\\n * @return magicValue A magic value indicating that the transfers were\\n * performed successfully.\\n */\\n function execute(\\n ConduitTransfer[] calldata transfers\\n ) external returns (bytes4 magicValue);\\n\\n /**\\n * @notice Execute a sequence of batch 1155 transfers. Only a caller with an\\n * open channel can call this function.\\n *\\n * @param batch1155Transfers The 1155 batch transfers to perform.\\n *\\n * @return magicValue A magic value indicating that the transfers were\\n * performed successfully.\\n */\\n function executeBatch1155(\\n ConduitBatch1155Transfer[] calldata batch1155Transfers\\n ) external returns (bytes4 magicValue);\\n\\n /**\\n * @notice Execute a sequence of transfers, both single and batch 1155. Only\\n * a caller with an open channel can call this function.\\n *\\n * @param standardTransfers The ERC20/721/1155 transfers to perform.\\n * @param batch1155Transfers The 1155 batch transfers to perform.\\n *\\n * @return magicValue A magic value indicating that the transfers were\\n * performed successfully.\\n */\\n function executeWithBatch1155(\\n ConduitTransfer[] calldata standardTransfers,\\n ConduitBatch1155Transfer[] calldata batch1155Transfers\\n ) external returns (bytes4 magicValue);\\n\\n /**\\n * @notice Open or close a given channel. Only callable by the controller.\\n *\\n * @param channel The channel to open or close.\\n * @param isOpen The status of the channel (either open or closed).\\n */\\n function updateChannel(address channel, bool isOpen) external;\\n}\\n\"\r\n },\r\n \"contracts/lib/Verifiers.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { OrderStatus } from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { Assertions } from \\\"./Assertions.sol\\\";\\n\\nimport { SignatureVerification } from \\\"./SignatureVerification.sol\\\";\\n\\nimport {\\n _revertInvalidTime,\\n _revertOrderAlreadyFilled,\\n _revertOrderIsCancelled,\\n _revertOrderPartiallyFilled\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport {\\n BulkOrderProof_keyShift,\\n BulkOrderProof_keySize,\\n BulkOrderProof_lengthAdjustmentBeforeMask,\\n BulkOrderProof_lengthRangeAfterMask,\\n BulkOrderProof_minSize,\\n BulkOrderProof_rangeSize,\\n ECDSA_MaxLength,\\n OneWord,\\n OneWordShift,\\n ThirtyOneBytes,\\n TwoWords\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title Verifiers\\n * @author 0age\\n * @notice Verifiers contains functions for performing verifications.\\n */\\ncontract Verifiers is Assertions, SignatureVerification {\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) Assertions(conduitController) {}\\n\\n /**\\n * @dev Internal view function to ensure that the current time falls within\\n * an order's valid timespan.\\n *\\n * @param startTime The time at which the order becomes active.\\n * @param endTime The time at which the order becomes inactive.\\n * @param revertOnInvalid A boolean indicating whether to revert if the\\n * order is not active.\\n *\\n * @return valid A boolean indicating whether the order is active.\\n */\\n function _verifyTime(\\n uint256 startTime,\\n uint256 endTime,\\n bool revertOnInvalid\\n ) internal view returns (bool valid) {\\n // Mark as valid if order has started and has not already ended.\\n assembly {\\n valid := and(\\n iszero(gt(startTime, timestamp())),\\n gt(endTime, timestamp())\\n )\\n }\\n\\n // Only revert on invalid if revertOnInvalid has been supplied as true.\\n if (revertOnInvalid && !valid) {\\n _revertInvalidTime(startTime, endTime);\\n }\\n }\\n\\n /**\\n * @dev Internal view function to verify the signature of an order. An\\n * ERC-1271 fallback will be attempted if either the signature length\\n * is not 64 or 65 bytes or if the recovered signer does not match the\\n * supplied offerer. Note that in cases where a 64 or 65 byte signature\\n * is supplied, only standard ECDSA signatures that recover to a\\n * non-zero address are supported.\\n *\\n * @param offerer The offerer for the order.\\n * @param orderHash The order hash.\\n * @param signature A signature from the offerer indicating that the order\\n * has been approved.\\n */\\n function _verifySignature(\\n address offerer,\\n bytes32 orderHash,\\n bytes memory signature\\n ) internal view {\\n // Determine whether the offerer is the caller.\\n bool offererIsCaller;\\n assembly {\\n offererIsCaller := eq(offerer, caller())\\n }\\n\\n // Skip signature verification if the offerer is the caller.\\n if (offererIsCaller) {\\n return;\\n }\\n\\n // Derive the EIP-712 domain separator.\\n bytes32 domainSeparator = _domainSeparator();\\n\\n // Derive original EIP-712 digest using domain separator and order hash.\\n bytes32 originalDigest = _deriveEIP712Digest(\\n domainSeparator,\\n orderHash\\n );\\n\\n // Read the length of the signature from memory and place on the stack.\\n uint256 originalSignatureLength = signature.length;\\n\\n // Determine effective digest if signature has a valid bulk order size.\\n bytes32 digest;\\n if (_isValidBulkOrderSize(originalSignatureLength)) {\\n // Rederive order hash and digest using bulk order proof.\\n (orderHash) = _computeBulkOrderProof(signature, orderHash);\\n digest = _deriveEIP712Digest(domainSeparator, orderHash);\\n } else {\\n // Supply the original digest as the effective digest.\\n digest = originalDigest;\\n }\\n\\n // Ensure that the signature for the digest is valid for the offerer.\\n _assertValidSignature(\\n offerer,\\n digest,\\n originalDigest,\\n originalSignatureLength,\\n signature\\n );\\n }\\n\\n /**\\n * @dev Determines whether the specified bulk order size is valid.\\n *\\n * @param signatureLength The signature length of the bulk order to check.\\n *\\n * @return validLength True if bulk order size is valid, false otherwise.\\n */\\n function _isValidBulkOrderSize(\\n uint256 signatureLength\\n ) internal pure returns (bool validLength) {\\n // Utilize assembly to validate the length; the equivalent logic is\\n // (64 + x) + 3 + 32y where (0 <= x <= 1) and (1 <= y <= 24).\\n assembly {\\n validLength := and(\\n lt(\\n sub(signatureLength, BulkOrderProof_minSize),\\n BulkOrderProof_rangeSize\\n ),\\n lt(\\n and(\\n add(\\n signatureLength,\\n BulkOrderProof_lengthAdjustmentBeforeMask\\n ),\\n ThirtyOneBytes\\n ),\\n BulkOrderProof_lengthRangeAfterMask\\n )\\n )\\n }\\n }\\n\\n /**\\n * @dev Computes the bulk order hash for the specified proof and leaf. Note\\n * that if an index that exceeds the number of orders in the bulk order\\n * payload will instead \\\"wrap around\\\" and refer to an earlier index.\\n *\\n * @param proofAndSignature The proof and signature of the bulk order.\\n * @param leaf The leaf of the bulk order tree.\\n *\\n * @return bulkOrderHash The bulk order hash.\\n */\\n function _computeBulkOrderProof(\\n bytes memory proofAndSignature,\\n bytes32 leaf\\n ) internal pure returns (bytes32 bulkOrderHash) {\\n // Declare arguments for the root hash and the height of the proof.\\n bytes32 root;\\n uint256 height;\\n\\n // Utilize assembly to efficiently derive the root hash using the proof.\\n assembly {\\n // Retrieve the length of the proof, key, and signature combined.\\n let fullLength := mload(proofAndSignature)\\n\\n // If proofAndSignature has odd length, it is a compact signature\\n // with 64 bytes.\\n let signatureLength := sub(ECDSA_MaxLength, and(fullLength, 1))\\n\\n // Derive height (or depth of tree) with signature and proof length.\\n height := shr(OneWordShift, sub(fullLength, signatureLength))\\n\\n // Update the length in memory to only include the signature.\\n mstore(proofAndSignature, signatureLength)\\n\\n // Derive the pointer for the key using the signature length.\\n let keyPtr := add(proofAndSignature, add(OneWord, signatureLength))\\n\\n // Retrieve the three-byte key using the derived pointer.\\n let key := shr(BulkOrderProof_keyShift, mload(keyPtr))\\n\\n /// Retrieve pointer to first proof element by applying a constant\\n // for the key size to the derived key pointer.\\n let proof := add(keyPtr, BulkOrderProof_keySize)\\n\\n // Compute level 1.\\n let scratchPtr1 := shl(OneWordShift, and(key, 1))\\n mstore(scratchPtr1, leaf)\\n mstore(xor(scratchPtr1, OneWord), mload(proof))\\n\\n // Compute remaining proofs.\\n for {\\n let i := 1\\n } lt(i, height) {\\n i := add(i, 1)\\n } {\\n proof := add(proof, OneWord)\\n let scratchPtr := shl(OneWordShift, and(shr(i, key), 1))\\n mstore(scratchPtr, keccak256(0, TwoWords))\\n mstore(xor(scratchPtr, OneWord), mload(proof))\\n }\\n\\n // Compute root hash.\\n root := keccak256(0, TwoWords)\\n }\\n\\n // Retrieve appropriate typehash constant based on height.\\n bytes32 rootTypeHash = _lookupBulkOrderTypehash(height);\\n\\n // Use the typehash and the root hash to derive final bulk order hash.\\n assembly {\\n mstore(0, rootTypeHash)\\n mstore(OneWord, root)\\n bulkOrderHash := keccak256(0, TwoWords)\\n }\\n }\\n\\n /**\\n * @dev Internal view function to validate that a given order is fillable\\n * and not cancelled based on the order status.\\n *\\n * @param orderHash The order hash.\\n * @param orderStatus The status of the order, including whether it has\\n * been cancelled and the fraction filled.\\n * @param onlyAllowUnused A boolean flag indicating whether partial fills\\n * are supported by the calling function.\\n * @param revertOnInvalid A boolean indicating whether to revert if the\\n * order has been cancelled or filled beyond the\\n * allowable amount.\\n *\\n * @return valid A boolean indicating whether the order is valid.\\n */\\n function _verifyOrderStatus(\\n bytes32 orderHash,\\n OrderStatus storage orderStatus,\\n bool onlyAllowUnused,\\n bool revertOnInvalid\\n ) internal view returns (bool valid) {\\n // Ensure that the order has not been cancelled.\\n if (orderStatus.isCancelled) {\\n // Only revert if revertOnInvalid has been supplied as true.\\n if (revertOnInvalid) {\\n _revertOrderIsCancelled(orderHash);\\n }\\n\\n // Return false as the order status is invalid.\\n return false;\\n }\\n\\n // Read order status numerator from storage and place on stack.\\n uint256 orderStatusNumerator = orderStatus.numerator;\\n\\n // If the order is not entirely unused...\\n if (orderStatusNumerator != 0) {\\n // ensure the order has not been partially filled when not allowed.\\n if (onlyAllowUnused) {\\n // Always revert on partial fills when onlyAllowUnused is true.\\n _revertOrderPartiallyFilled(orderHash);\\n }\\n // Otherwise, ensure that order has not been entirely filled.\\n else if (orderStatusNumerator >= orderStatus.denominator) {\\n // Only revert if revertOnInvalid has been supplied as true.\\n if (revertOnInvalid) {\\n _revertOrderAlreadyFilled(orderHash);\\n }\\n\\n // Return false as the order status is invalid.\\n return false;\\n }\\n }\\n\\n // Return true as the order status is valid.\\n valid = true;\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/TokenTransferrer.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport {\\n BadReturnValueFromERC20OnTransfer_error_amount_ptr,\\n BadReturnValueFromERC20OnTransfer_error_from_ptr,\\n BadReturnValueFromERC20OnTransfer_error_length,\\n BadReturnValueFromERC20OnTransfer_error_selector,\\n BadReturnValueFromERC20OnTransfer_error_to_ptr,\\n BadReturnValueFromERC20OnTransfer_error_token_ptr,\\n BatchTransfer1155Params_amounts_head_ptr,\\n BatchTransfer1155Params_calldata_baseSize,\\n BatchTransfer1155Params_data_head_ptr,\\n BatchTransfer1155Params_data_length_basePtr,\\n BatchTransfer1155Params_ids_head_ptr,\\n BatchTransfer1155Params_ids_length_offset,\\n BatchTransfer1155Params_ids_length_ptr,\\n BatchTransfer1155Params_ptr,\\n ConduitBatch1155Transfer_amounts_length_baseOffset,\\n ConduitBatch1155Transfer_from_offset,\\n ConduitBatch1155Transfer_ids_head_offset,\\n ConduitBatch1155Transfer_ids_length_offset,\\n ConduitBatch1155Transfer_usable_head_size,\\n ConduitBatchTransfer_amounts_head_offset,\\n CostPerWord,\\n DefaultFreeMemoryPointer,\\n ERC1155_safeBatchTransferFrom_signature,\\n ERC1155_safeTransferFrom_amount_ptr,\\n ERC1155_safeTransferFrom_data_length_offset,\\n ERC1155_safeTransferFrom_data_length_ptr,\\n ERC1155_safeTransferFrom_data_offset_ptr,\\n ERC1155_safeTransferFrom_from_ptr,\\n ERC1155_safeTransferFrom_id_ptr,\\n ERC1155_safeTransferFrom_length,\\n ERC1155_safeTransferFrom_sig_ptr,\\n ERC1155_safeTransferFrom_signature,\\n ERC1155_safeTransferFrom_to_ptr,\\n ERC1155BatchTransferGenericFailure_error_signature,\\n ERC1155BatchTransferGenericFailure_ids_offset,\\n ERC1155BatchTransferGenericFailure_token_ptr,\\n ERC20_transferFrom_amount_ptr,\\n ERC20_transferFrom_from_ptr,\\n ERC20_transferFrom_length,\\n ERC20_transferFrom_sig_ptr,\\n ERC20_transferFrom_signature,\\n ERC20_transferFrom_to_ptr,\\n ERC721_transferFrom_from_ptr,\\n ERC721_transferFrom_id_ptr,\\n ERC721_transferFrom_length,\\n ERC721_transferFrom_sig_ptr,\\n ERC721_transferFrom_signature,\\n ERC721_transferFrom_to_ptr,\\n ExtraGasBuffer,\\n FreeMemoryPointerSlot,\\n Generic_error_selector_offset,\\n Invalid1155BatchTransferEncoding_length,\\n Invalid1155BatchTransferEncoding_ptr,\\n Invalid1155BatchTransferEncoding_selector,\\n MemoryExpansionCoefficientShift,\\n NoContract_error_account_ptr,\\n NoContract_error_length,\\n NoContract_error_selector,\\n OneWord,\\n OneWordShift,\\n Slot0x80,\\n Slot0xA0,\\n Slot0xC0,\\n ThirtyOneBytes,\\n TokenTransferGenericFailure_err_identifier_ptr,\\n TokenTransferGenericFailure_error_amount_ptr,\\n TokenTransferGenericFailure_error_from_ptr,\\n TokenTransferGenericFailure_error_identifier_ptr,\\n TokenTransferGenericFailure_error_length,\\n TokenTransferGenericFailure_error_selector,\\n TokenTransferGenericFailure_error_to_ptr,\\n TokenTransferGenericFailure_error_token_ptr,\\n TwoWords,\\n TwoWordsShift,\\n ZeroSlot\\n} from \\\"./TokenTransferrerConstants.sol\\\";\\n\\nimport {\\n TokenTransferrerErrors\\n} from \\\"../interfaces/TokenTransferrerErrors.sol\\\";\\n\\nimport { ConduitBatch1155Transfer } from \\\"../conduit/lib/ConduitStructs.sol\\\";\\n\\n/**\\n * @title TokenTransferrer\\n * @author 0age\\n * @custom:coauthor d1ll0n\\n * @custom:coauthor transmissions11\\n * @notice TokenTransferrer is a library for performing optimized ERC20, ERC721,\\n * ERC1155, and batch ERC1155 transfers, used by both Seaport as well as\\n * by conduits deployed by the ConduitController. Use great caution when\\n * considering these functions for use in other codebases, as there are\\n * significant side effects and edge cases that need to be thoroughly\\n * understood and carefully addressed.\\n */\\ncontract TokenTransferrer is TokenTransferrerErrors {\\n /**\\n * @dev Internal function to transfer ERC20 tokens from a given originator\\n * to a given recipient. Sufficient approvals must be set on the\\n * contract performing the transfer.\\n *\\n * @param token The ERC20 token to transfer.\\n * @param from The originator of the transfer.\\n * @param to The recipient of the transfer.\\n * @param amount The amount to transfer.\\n */\\n function _performERC20Transfer(\\n address token,\\n address from,\\n address to,\\n uint256 amount\\n ) internal {\\n // Utilize assembly to perform an optimized ERC20 token transfer.\\n assembly {\\n // The free memory pointer memory slot will be used when populating\\n // call data for the transfer; read the value and restore it later.\\n let memPointer := mload(FreeMemoryPointerSlot)\\n\\n // Write call data into memory, starting with function selector.\\n mstore(ERC20_transferFrom_sig_ptr, ERC20_transferFrom_signature)\\n mstore(ERC20_transferFrom_from_ptr, from)\\n mstore(ERC20_transferFrom_to_ptr, to)\\n mstore(ERC20_transferFrom_amount_ptr, amount)\\n\\n // Make call & copy up to 32 bytes of return data to scratch space.\\n // Scratch space does not need to be cleared ahead of time, as the\\n // subsequent check will ensure that either at least a full word of\\n // return data is received (in which case it will be overwritten) or\\n // that no data is received (in which case scratch space will be\\n // ignored) on a successful call to the given token.\\n let callStatus := call(\\n gas(),\\n token,\\n 0,\\n ERC20_transferFrom_sig_ptr,\\n ERC20_transferFrom_length,\\n 0,\\n OneWord\\n )\\n\\n // Determine whether transfer was successful using status & result.\\n let success := and(\\n // Set success to whether the call reverted, if not check it\\n // either returned exactly 1 (can't just be non-zero data), or\\n // had no return data.\\n or(\\n and(eq(mload(0), 1), gt(returndatasize(), 31)),\\n iszero(returndatasize())\\n ),\\n callStatus\\n )\\n\\n // Handle cases where either the transfer failed or no data was\\n // returned. Group these, as most transfers will succeed with data.\\n // Equivalent to `or(iszero(success), iszero(returndatasize()))`\\n // but after it's inverted for JUMPI this expression is cheaper.\\n if iszero(and(success, iszero(iszero(returndatasize())))) {\\n // If the token has no code or the transfer failed: Equivalent\\n // to `or(iszero(success), iszero(extcodesize(token)))` but\\n // after it's inverted for JUMPI this expression is cheaper.\\n if iszero(and(iszero(iszero(extcodesize(token))), success)) {\\n // If the transfer failed:\\n if iszero(success) {\\n // If it was due to a revert:\\n if iszero(callStatus) {\\n // If it returned a message, bubble it up as long as\\n // sufficient gas remains to do so:\\n if returndatasize() {\\n // Ensure that sufficient gas is available to\\n // copy returndata while expanding memory where\\n // necessary. Start by computing the word size\\n // of returndata and allocated memory. Round up\\n // to the nearest full word.\\n let returnDataWords := shr(\\n OneWordShift,\\n add(returndatasize(), ThirtyOneBytes)\\n )\\n\\n // Note: use the free memory pointer in place of\\n // msize() to work around a Yul warning that\\n // prevents accessing msize directly when the IR\\n // pipeline is activated.\\n let msizeWords := shr(OneWordShift, memPointer)\\n\\n // Next, compute the cost of the returndatacopy.\\n let cost := mul(CostPerWord, returnDataWords)\\n\\n // Then, compute cost of new memory allocation.\\n if gt(returnDataWords, msizeWords) {\\n cost := add(\\n cost,\\n add(\\n mul(\\n sub(\\n returnDataWords,\\n msizeWords\\n ),\\n CostPerWord\\n ),\\n shr(\\n MemoryExpansionCoefficientShift,\\n sub(\\n mul(\\n returnDataWords,\\n returnDataWords\\n ),\\n mul(msizeWords, msizeWords)\\n )\\n )\\n )\\n )\\n }\\n\\n // Finally, add a small constant and compare to\\n // gas remaining; bubble up the revert data if\\n // enough gas is still available.\\n if lt(add(cost, ExtraGasBuffer), gas()) {\\n // Copy returndata to memory; overwrite\\n // existing memory.\\n returndatacopy(0, 0, returndatasize())\\n\\n // Revert, specifying memory region with\\n // copied returndata.\\n revert(0, returndatasize())\\n }\\n }\\n\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(\\n 0,\\n TokenTransferGenericFailure_error_selector\\n )\\n mstore(\\n TokenTransferGenericFailure_error_token_ptr,\\n token\\n )\\n mstore(\\n TokenTransferGenericFailure_error_from_ptr,\\n from\\n )\\n mstore(TokenTransferGenericFailure_error_to_ptr, to)\\n mstore(\\n TokenTransferGenericFailure_err_identifier_ptr,\\n 0\\n )\\n mstore(\\n TokenTransferGenericFailure_error_amount_ptr,\\n amount\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"TokenTransferGenericFailure(\\n // address,address,address,uint256,uint256\\n // )\\\", token, from, to, identifier, amount\\n // ))\\n revert(\\n Generic_error_selector_offset,\\n TokenTransferGenericFailure_error_length\\n )\\n }\\n\\n // Otherwise revert with a message about the token\\n // returning false or non-compliant return values.\\n\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(\\n 0,\\n BadReturnValueFromERC20OnTransfer_error_selector\\n )\\n mstore(\\n BadReturnValueFromERC20OnTransfer_error_token_ptr,\\n token\\n )\\n mstore(\\n BadReturnValueFromERC20OnTransfer_error_from_ptr,\\n from\\n )\\n mstore(\\n BadReturnValueFromERC20OnTransfer_error_to_ptr,\\n to\\n )\\n mstore(\\n BadReturnValueFromERC20OnTransfer_error_amount_ptr,\\n amount\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"BadReturnValueFromERC20OnTransfer(\\n // address,address,address,uint256\\n // )\\\", token, from, to, amount\\n // ))\\n revert(\\n Generic_error_selector_offset,\\n BadReturnValueFromERC20OnTransfer_error_length\\n )\\n }\\n\\n // Otherwise, revert with error about token not having code:\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(0, NoContract_error_selector)\\n mstore(NoContract_error_account_ptr, token)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"NoContract(address)\\\", account\\n // ))\\n revert(\\n Generic_error_selector_offset,\\n NoContract_error_length\\n )\\n }\\n\\n // Otherwise, the token just returned no data despite the call\\n // having succeeded; no need to optimize for this as it's not\\n // technically ERC20 compliant.\\n }\\n\\n // Restore the original free memory pointer.\\n mstore(FreeMemoryPointerSlot, memPointer)\\n\\n // Restore the zero slot to zero.\\n mstore(ZeroSlot, 0)\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer an ERC721 token from a given\\n * originator to a given recipient. Sufficient approvals must be set on\\n * the contract performing the transfer. Note that this function does\\n * not check whether the receiver can accept the ERC721 token (i.e. it\\n * does not use `safeTransferFrom`).\\n *\\n * @param token The ERC721 token to transfer.\\n * @param from The originator of the transfer.\\n * @param to The recipient of the transfer.\\n * @param identifier The tokenId to transfer.\\n */\\n function _performERC721Transfer(\\n address token,\\n address from,\\n address to,\\n uint256 identifier\\n ) internal {\\n // Utilize assembly to perform an optimized ERC721 token transfer.\\n assembly {\\n // If the token has no code, revert.\\n if iszero(extcodesize(token)) {\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, NoContract_error_selector)\\n mstore(NoContract_error_account_ptr, token)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"NoContract(address)\\\", account\\n // ))\\n revert(Generic_error_selector_offset, NoContract_error_length)\\n }\\n\\n // The free memory pointer memory slot will be used when populating\\n // call data for the transfer; read the value and restore it later.\\n let memPointer := mload(FreeMemoryPointerSlot)\\n\\n // Write call data to memory starting with function selector.\\n mstore(ERC721_transferFrom_sig_ptr, ERC721_transferFrom_signature)\\n mstore(ERC721_transferFrom_from_ptr, from)\\n mstore(ERC721_transferFrom_to_ptr, to)\\n mstore(ERC721_transferFrom_id_ptr, identifier)\\n\\n // Perform the call, ignoring return data.\\n let success := call(\\n gas(),\\n token,\\n 0,\\n ERC721_transferFrom_sig_ptr,\\n ERC721_transferFrom_length,\\n 0,\\n 0\\n )\\n\\n // If the transfer reverted:\\n if iszero(success) {\\n // If it returned a message, bubble it up as long as sufficient\\n // gas remains to do so:\\n if returndatasize() {\\n // Ensure that sufficient gas is available to copy\\n // returndata while expanding memory where necessary. Start\\n // by computing word size of returndata & allocated memory.\\n // Round up to the nearest full word.\\n let returnDataWords := shr(\\n OneWordShift,\\n add(returndatasize(), ThirtyOneBytes)\\n )\\n\\n // Note: use the free memory pointer in place of msize() to\\n // work around a Yul warning that prevents accessing msize\\n // directly when the IR pipeline is activated.\\n let msizeWords := shr(OneWordShift, memPointer)\\n\\n // Next, compute the cost of the returndatacopy.\\n let cost := mul(CostPerWord, returnDataWords)\\n\\n // Then, compute cost of new memory allocation.\\n if gt(returnDataWords, msizeWords) {\\n cost := add(\\n cost,\\n add(\\n mul(\\n sub(returnDataWords, msizeWords),\\n CostPerWord\\n ),\\n shr(\\n MemoryExpansionCoefficientShift,\\n sub(\\n mul(returnDataWords, returnDataWords),\\n mul(msizeWords, msizeWords)\\n )\\n )\\n )\\n )\\n }\\n\\n // Finally, add a small constant and compare to gas\\n // remaining; bubble up the revert data if enough gas is\\n // still available.\\n if lt(add(cost, ExtraGasBuffer), gas()) {\\n // Copy returndata to memory; overwrite existing memory.\\n returndatacopy(0, 0, returndatasize())\\n\\n // Revert, giving memory region with copied returndata.\\n revert(0, returndatasize())\\n }\\n }\\n\\n // Otherwise revert with a generic error message.\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, TokenTransferGenericFailure_error_selector)\\n mstore(TokenTransferGenericFailure_error_token_ptr, token)\\n mstore(TokenTransferGenericFailure_error_from_ptr, from)\\n mstore(TokenTransferGenericFailure_error_to_ptr, to)\\n mstore(\\n TokenTransferGenericFailure_error_identifier_ptr,\\n identifier\\n )\\n mstore(TokenTransferGenericFailure_error_amount_ptr, 1)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"TokenTransferGenericFailure(\\n // address,address,address,uint256,uint256\\n // )\\\", token, from, to, identifier, amount\\n // ))\\n revert(\\n Generic_error_selector_offset,\\n TokenTransferGenericFailure_error_length\\n )\\n }\\n\\n // Restore the original free memory pointer.\\n mstore(FreeMemoryPointerSlot, memPointer)\\n\\n // Restore the zero slot to zero.\\n mstore(ZeroSlot, 0)\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer ERC1155 tokens from a given\\n * originator to a given recipient. Sufficient approvals must be set on\\n * the contract performing the transfer and contract recipients must\\n * implement the ERC1155TokenReceiver interface to indicate that they\\n * are willing to accept the transfer.\\n *\\n * @param token The ERC1155 token to transfer.\\n * @param from The originator of the transfer.\\n * @param to The recipient of the transfer.\\n * @param identifier The id to transfer.\\n * @param amount The amount to transfer.\\n */\\n function _performERC1155Transfer(\\n address token,\\n address from,\\n address to,\\n uint256 identifier,\\n uint256 amount\\n ) internal {\\n // Utilize assembly to perform an optimized ERC1155 token transfer.\\n assembly {\\n // If the token has no code, revert.\\n if iszero(extcodesize(token)) {\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, NoContract_error_selector)\\n mstore(NoContract_error_account_ptr, token)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"NoContract(address)\\\", account\\n // ))\\n revert(Generic_error_selector_offset, NoContract_error_length)\\n }\\n\\n // The following memory slots will be used when populating call data\\n // for the transfer; read the values and restore them later.\\n let memPointer := mload(FreeMemoryPointerSlot)\\n let slot0x80 := mload(Slot0x80)\\n let slot0xA0 := mload(Slot0xA0)\\n let slot0xC0 := mload(Slot0xC0)\\n\\n // Write call data into memory, beginning with function selector.\\n mstore(\\n ERC1155_safeTransferFrom_sig_ptr,\\n ERC1155_safeTransferFrom_signature\\n )\\n mstore(ERC1155_safeTransferFrom_from_ptr, from)\\n mstore(ERC1155_safeTransferFrom_to_ptr, to)\\n mstore(ERC1155_safeTransferFrom_id_ptr, identifier)\\n mstore(ERC1155_safeTransferFrom_amount_ptr, amount)\\n mstore(\\n ERC1155_safeTransferFrom_data_offset_ptr,\\n ERC1155_safeTransferFrom_data_length_offset\\n )\\n mstore(ERC1155_safeTransferFrom_data_length_ptr, 0)\\n\\n // Perform the call, ignoring return data.\\n let success := call(\\n gas(),\\n token,\\n 0,\\n ERC1155_safeTransferFrom_sig_ptr,\\n ERC1155_safeTransferFrom_length,\\n 0,\\n 0\\n )\\n\\n // If the transfer reverted:\\n if iszero(success) {\\n // If it returned a message, bubble it up as long as sufficient\\n // gas remains to do so:\\n if returndatasize() {\\n // Ensure that sufficient gas is available to copy\\n // returndata while expanding memory where necessary. Start\\n // by computing word size of returndata & allocated memory.\\n // Round up to the nearest full word.\\n let returnDataWords := shr(\\n OneWordShift,\\n add(returndatasize(), ThirtyOneBytes)\\n )\\n\\n // Note: use the free memory pointer in place of msize() to\\n // work around a Yul warning that prevents accessing msize\\n // directly when the IR pipeline is activated.\\n let msizeWords := shr(OneWordShift, memPointer)\\n\\n // Next, compute the cost of the returndatacopy.\\n let cost := mul(CostPerWord, returnDataWords)\\n\\n // Then, compute cost of new memory allocation.\\n if gt(returnDataWords, msizeWords) {\\n cost := add(\\n cost,\\n add(\\n mul(\\n sub(returnDataWords, msizeWords),\\n CostPerWord\\n ),\\n shr(\\n MemoryExpansionCoefficientShift,\\n sub(\\n mul(returnDataWords, returnDataWords),\\n mul(msizeWords, msizeWords)\\n )\\n )\\n )\\n )\\n }\\n\\n // Finally, add a small constant and compare to gas\\n // remaining; bubble up the revert data if enough gas is\\n // still available.\\n if lt(add(cost, ExtraGasBuffer), gas()) {\\n // Copy returndata to memory; overwrite existing memory.\\n returndatacopy(0, 0, returndatasize())\\n\\n // Revert, giving memory region with copied returndata.\\n revert(0, returndatasize())\\n }\\n }\\n\\n // Otherwise revert with a generic error message.\\n\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, TokenTransferGenericFailure_error_selector)\\n mstore(TokenTransferGenericFailure_error_token_ptr, token)\\n mstore(TokenTransferGenericFailure_error_from_ptr, from)\\n mstore(TokenTransferGenericFailure_error_to_ptr, to)\\n mstore(\\n TokenTransferGenericFailure_error_identifier_ptr,\\n identifier\\n )\\n mstore(TokenTransferGenericFailure_error_amount_ptr, amount)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"TokenTransferGenericFailure(\\n // address,address,address,uint256,uint256\\n // )\\\", token, from, to, identifier, amount\\n // ))\\n revert(\\n Generic_error_selector_offset,\\n TokenTransferGenericFailure_error_length\\n )\\n }\\n\\n mstore(Slot0x80, slot0x80) // Restore slot 0x80.\\n mstore(Slot0xA0, slot0xA0) // Restore slot 0xA0.\\n mstore(Slot0xC0, slot0xC0) // Restore slot 0xC0.\\n\\n // Restore the original free memory pointer.\\n mstore(FreeMemoryPointerSlot, memPointer)\\n\\n // Restore the zero slot to zero.\\n mstore(ZeroSlot, 0)\\n }\\n }\\n\\n /**\\n * @dev Internal function to transfer ERC1155 tokens from a given\\n * originator to a given recipient. Sufficient approvals must be set on\\n * the contract performing the transfer and contract recipients must\\n * implement the ERC1155TokenReceiver interface to indicate that they\\n * are willing to accept the transfer. NOTE: this function is not\\n * memory-safe; it will overwrite existing memory, restore the free\\n * memory pointer to the default value, and overwrite the zero slot.\\n * This function should only be called once memory is no longer\\n * required and when uninitialized arrays are not utilized, and memory\\n * should be considered fully corrupted (aside from the existence of a\\n * default-value free memory pointer) after calling this function.\\n *\\n * @param batchTransfers The group of 1155 batch transfers to perform.\\n */\\n function _performERC1155BatchTransfers(\\n ConduitBatch1155Transfer[] calldata batchTransfers\\n ) internal {\\n // Utilize assembly to perform optimized batch 1155 transfers.\\n assembly {\\n let len := batchTransfers.length\\n // Pointer to first head in the array, which is offset to the struct\\n // at each index. This gets incremented after each loop to avoid\\n // multiplying by 32 to get the offset for each element.\\n let nextElementHeadPtr := batchTransfers.offset\\n\\n // Pointer to beginning of the head of the array. This is the\\n // reference position each offset references. It's held static to\\n // let each loop calculate the data position for an element.\\n let arrayHeadPtr := nextElementHeadPtr\\n\\n // Write the function selector, which will be reused for each call:\\n // safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)\\n mstore(\\n ConduitBatch1155Transfer_from_offset,\\n ERC1155_safeBatchTransferFrom_signature\\n )\\n\\n // Iterate over each batch transfer.\\n for {\\n let i := 0\\n } lt(i, len) {\\n i := add(i, 1)\\n } {\\n // Read the offset to the beginning of the element and add\\n // it to pointer to the beginning of the array head to get\\n // the absolute position of the element in calldata.\\n let elementPtr := add(\\n arrayHeadPtr,\\n calldataload(nextElementHeadPtr)\\n )\\n\\n // Retrieve the token from calldata.\\n let token := calldataload(elementPtr)\\n\\n // If the token has no code, revert.\\n if iszero(extcodesize(token)) {\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(0, NoContract_error_selector)\\n mstore(NoContract_error_account_ptr, token)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"NoContract(address)\\\", account\\n // ))\\n revert(\\n Generic_error_selector_offset,\\n NoContract_error_length\\n )\\n }\\n\\n // Get the total number of supplied ids.\\n let idsLength := calldataload(\\n add(elementPtr, ConduitBatch1155Transfer_ids_length_offset)\\n )\\n\\n // Determine the expected offset for the amounts array.\\n let expectedAmountsOffset := add(\\n ConduitBatch1155Transfer_amounts_length_baseOffset,\\n shl(OneWordShift, idsLength)\\n )\\n\\n // Validate struct encoding.\\n let invalidEncoding := iszero(\\n and(\\n // ids.length == amounts.length\\n eq(\\n idsLength,\\n calldataload(add(elementPtr, expectedAmountsOffset))\\n ),\\n and(\\n // ids_offset == 0xa0\\n eq(\\n calldataload(\\n add(\\n elementPtr,\\n ConduitBatch1155Transfer_ids_head_offset\\n )\\n ),\\n ConduitBatch1155Transfer_ids_length_offset\\n ),\\n // amounts_offset == 0xc0 + ids.length*32\\n eq(\\n calldataload(\\n add(\\n elementPtr,\\n ConduitBatchTransfer_amounts_head_offset\\n )\\n ),\\n expectedAmountsOffset\\n )\\n )\\n )\\n )\\n\\n // Revert with an error if the encoding is not valid.\\n if invalidEncoding {\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(\\n Invalid1155BatchTransferEncoding_ptr,\\n Invalid1155BatchTransferEncoding_selector\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"Invalid1155BatchTransferEncoding()\\\"\\n // ))\\n revert(\\n Invalid1155BatchTransferEncoding_ptr,\\n Invalid1155BatchTransferEncoding_length\\n )\\n }\\n\\n // Update the offset position for the next loop\\n nextElementHeadPtr := add(nextElementHeadPtr, OneWord)\\n\\n // Copy the first section of calldata (before dynamic values).\\n calldatacopy(\\n BatchTransfer1155Params_ptr,\\n add(elementPtr, ConduitBatch1155Transfer_from_offset),\\n ConduitBatch1155Transfer_usable_head_size\\n )\\n\\n // Determine size of calldata required for ids and amounts. Note\\n // that the size includes both lengths as well as the data.\\n let idsAndAmountsSize := add(\\n TwoWords,\\n shl(TwoWordsShift, idsLength)\\n )\\n\\n // Update the offset for the data array in memory.\\n mstore(\\n BatchTransfer1155Params_data_head_ptr,\\n add(\\n BatchTransfer1155Params_ids_length_offset,\\n idsAndAmountsSize\\n )\\n )\\n\\n // Set the length of the data array in memory to zero.\\n mstore(\\n add(\\n BatchTransfer1155Params_data_length_basePtr,\\n idsAndAmountsSize\\n ),\\n 0\\n )\\n\\n // Determine the total calldata size for the call to transfer.\\n let transferDataSize := add(\\n BatchTransfer1155Params_calldata_baseSize,\\n idsAndAmountsSize\\n )\\n\\n // Copy second section of calldata (including dynamic values).\\n calldatacopy(\\n BatchTransfer1155Params_ids_length_ptr,\\n add(elementPtr, ConduitBatch1155Transfer_ids_length_offset),\\n idsAndAmountsSize\\n )\\n\\n // Perform the call to transfer 1155 tokens.\\n let success := call(\\n gas(),\\n token,\\n 0,\\n ConduitBatch1155Transfer_from_offset, // Data portion start.\\n transferDataSize, // Location of the length of callData.\\n 0,\\n 0\\n )\\n\\n // If the transfer reverted:\\n if iszero(success) {\\n // If it returned a message, bubble it up as long as\\n // sufficient gas remains to do so:\\n if returndatasize() {\\n // Ensure that sufficient gas is available to copy\\n // returndata while expanding memory where necessary.\\n // Start by computing word size of returndata and\\n // allocated memory. Round up to the nearest full word.\\n let returnDataWords := shr(\\n OneWordShift,\\n add(returndatasize(), ThirtyOneBytes)\\n )\\n\\n // Note: use transferDataSize in place of msize() to\\n // work around a Yul warning that prevents accessing\\n // msize directly when the IR pipeline is activated.\\n // The free memory pointer is not used here because\\n // this function does almost all memory management\\n // manually and does not update it, and transferDataSize\\n // should be the largest memory value used (unless a\\n // previous batch was larger).\\n let msizeWords := shr(OneWordShift, transferDataSize)\\n\\n // Next, compute the cost of the returndatacopy.\\n let cost := mul(CostPerWord, returnDataWords)\\n\\n // Then, compute cost of new memory allocation.\\n if gt(returnDataWords, msizeWords) {\\n cost := add(\\n cost,\\n add(\\n mul(\\n sub(returnDataWords, msizeWords),\\n CostPerWord\\n ),\\n shr(\\n MemoryExpansionCoefficientShift,\\n sub(\\n mul(\\n returnDataWords,\\n returnDataWords\\n ),\\n mul(msizeWords, msizeWords)\\n )\\n )\\n )\\n )\\n }\\n\\n // Finally, add a small constant and compare to gas\\n // remaining; bubble up the revert data if enough gas is\\n // still available.\\n if lt(add(cost, ExtraGasBuffer), gas()) {\\n // Copy returndata to memory; overwrite existing.\\n returndatacopy(0, 0, returndatasize())\\n\\n // Revert with memory region containing returndata.\\n revert(0, returndatasize())\\n }\\n }\\n\\n // Set the error signature.\\n mstore(\\n 0,\\n ERC1155BatchTransferGenericFailure_error_signature\\n )\\n\\n // Write the token.\\n mstore(ERC1155BatchTransferGenericFailure_token_ptr, token)\\n\\n // Increase the offset to ids by 32.\\n mstore(\\n BatchTransfer1155Params_ids_head_ptr,\\n ERC1155BatchTransferGenericFailure_ids_offset\\n )\\n\\n // Increase the offset to amounts by 32.\\n mstore(\\n BatchTransfer1155Params_amounts_head_ptr,\\n add(\\n OneWord,\\n mload(BatchTransfer1155Params_amounts_head_ptr)\\n )\\n )\\n\\n // Return modified region. The total size stays the same as\\n // `token` uses the same number of bytes as `data.length`.\\n revert(0, transferDataSize)\\n }\\n }\\n\\n // Reset the free memory pointer to the default value; memory must\\n // be assumed to be dirtied and not reused from this point forward.\\n // Also note that the zero slot is not reset to zero, meaning empty\\n // arrays cannot be safely created or utilized until it is restored.\\n mstore(FreeMemoryPointerSlot, DefaultFreeMemoryPointer)\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/conduit/lib/ConduitEnums.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nenum ConduitItemType {\\n NATIVE, // unused\\n ERC20,\\n ERC721,\\n ERC1155\\n}\\n\"\r\n },\r\n \"contracts/conduit/lib/ConduitStructs.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport { ConduitItemType } from \\\"./ConduitEnums.sol\\\";\\n\\n/**\\n * @dev A ConduitTransfer is a struct that contains the information needed for a\\n * conduit to transfer an item from one address to another.\\n */\\nstruct ConduitTransfer {\\n ConduitItemType itemType;\\n address token;\\n address from;\\n address to;\\n uint256 identifier;\\n uint256 amount;\\n}\\n\\n/**\\n * @dev A ConduitBatch1155Transfer is a struct that contains the information\\n * needed for a conduit to transfer a batch of ERC-1155 tokens from one\\n * address to another.\\n */\\nstruct ConduitBatch1155Transfer {\\n address token;\\n address from;\\n address to;\\n uint256[] ids;\\n uint256[] amounts;\\n}\\n\"\r\n },\r\n \"contracts/lib/Assertions.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { OrderParameters } from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { GettersAndDerivers } from \\\"./GettersAndDerivers.sol\\\";\\n\\nimport {\\n TokenTransferrerErrors\\n} from \\\"../interfaces/TokenTransferrerErrors.sol\\\";\\n\\nimport { CounterManager } from \\\"./CounterManager.sol\\\";\\n\\nimport {\\n AdditionalRecipient_size_shift,\\n AddressDirtyUpperBitThreshold,\\n BasicOrder_additionalRecipients_head_cdPtr,\\n BasicOrder_additionalRecipients_head_ptr,\\n BasicOrder_additionalRecipients_length_cdPtr,\\n BasicOrder_basicOrderType_cdPtr,\\n BasicOrder_basicOrderType_range,\\n BasicOrder_considerationToken_cdPtr,\\n BasicOrder_offerer_cdPtr,\\n BasicOrder_offerToken_cdPtr,\\n BasicOrder_parameters_cdPtr,\\n BasicOrder_parameters_ptr,\\n BasicOrder_signature_cdPtr,\\n BasicOrder_signature_ptr,\\n BasicOrder_zone_cdPtr\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n Error_selector_offset,\\n MissingItemAmount_error_length,\\n MissingItemAmount_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\nimport {\\n _revertInvalidBasicOrderParameterEncoding,\\n _revertMissingOriginalConsiderationItems\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\n/**\\n * @title Assertions\\n * @author 0age\\n * @notice Assertions contains logic for making various assertions that do not\\n * fit neatly within a dedicated semantic scope.\\n */\\ncontract Assertions is\\n GettersAndDerivers,\\n CounterManager,\\n TokenTransferrerErrors\\n{\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(\\n address conduitController\\n ) GettersAndDerivers(conduitController) {}\\n\\n /**\\n * @dev Internal view function to ensure that the supplied consideration\\n * array length on a given set of order parameters is not less than the\\n * original consideration array length for that order and to retrieve\\n * the current counter for a given order's offerer and zone and use it\\n * to derive the order hash.\\n *\\n * @param orderParameters The parameters of the order to hash.\\n *\\n * @return The hash.\\n */\\n function _assertConsiderationLengthAndGetOrderHash(\\n OrderParameters memory orderParameters\\n ) internal view returns (bytes32) {\\n // Ensure supplied consideration array length is not less than original.\\n _assertConsiderationLengthIsNotLessThanOriginalConsiderationLength(\\n orderParameters.consideration.length,\\n orderParameters.totalOriginalConsiderationItems\\n );\\n\\n // Derive and return order hash using current counter for the offerer.\\n return\\n _deriveOrderHash(\\n orderParameters,\\n _getCounter(orderParameters.offerer)\\n );\\n }\\n\\n /**\\n * @dev Internal pure function to ensure that the supplied consideration\\n * array length for an order to be fulfilled is not less than the\\n * original consideration array length for that order.\\n *\\n * @param suppliedConsiderationItemTotal The number of consideration items\\n * supplied when fulfilling the order.\\n * @param originalConsiderationItemTotal The number of consideration items\\n * supplied on initial order creation.\\n */\\n function _assertConsiderationLengthIsNotLessThanOriginalConsiderationLength(\\n uint256 suppliedConsiderationItemTotal,\\n uint256 originalConsiderationItemTotal\\n ) internal pure {\\n // Ensure supplied consideration array length is not less than original.\\n if (suppliedConsiderationItemTotal < originalConsiderationItemTotal) {\\n _revertMissingOriginalConsiderationItems();\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to ensure that a given item amount is not\\n * zero.\\n *\\n * @param amount The amount to check.\\n */\\n function _assertNonZeroAmount(uint256 amount) internal pure {\\n assembly {\\n if iszero(amount) {\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, MissingItemAmount_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"MissingItemAmount()\\\"))\\n revert(Error_selector_offset, MissingItemAmount_error_length)\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to validate calldata offsets for dynamic\\n * types in BasicOrderParameters and other parameters. This ensures\\n * that functions using the calldata object normally will be using the\\n * same data as the assembly functions and that values that are bound\\n * to a given range are within that range. Note that no parameters are\\n * supplied as all basic order functions use the same calldata\\n * encoding.\\n */\\n function _assertValidBasicOrderParameters() internal pure {\\n // Declare a boolean designating basic order parameter offset validity.\\n bool validOffsets;\\n\\n // Utilize assembly in order to read offset data directly from calldata.\\n assembly {\\n /*\\n * Checks:\\n * 1. Order parameters struct offset == 0x20\\n * 2. Additional recipients arr offset == 0x240\\n * 3. Signature offset == 0x260 + (recipients.length * 0x40)\\n * 4. BasicOrderType between 0 and 23 (i.e. < 24)\\n * 5. Offerer, zone, offer token, and consideration token have no\\n * upper dirty bits — each argument is type(uint160).max or less\\n */\\n validOffsets := and(\\n and(\\n and(\\n // Order parameters at cd 0x04 must have offset of 0x20.\\n eq(\\n calldataload(BasicOrder_parameters_cdPtr),\\n BasicOrder_parameters_ptr\\n ),\\n // Additional recipients (cd 0x224) arr offset == 0x240.\\n eq(\\n calldataload(\\n BasicOrder_additionalRecipients_head_cdPtr\\n ),\\n BasicOrder_additionalRecipients_head_ptr\\n )\\n ),\\n // Signature offset == 0x260 + (recipients.length * 0x40).\\n eq(\\n // Load signature offset from calldata 0x244.\\n calldataload(BasicOrder_signature_cdPtr),\\n // Expected offset is start of recipients + len * 64.\\n add(\\n BasicOrder_signature_ptr,\\n shl(\\n // Each additional recipient has length of 0x40.\\n AdditionalRecipient_size_shift,\\n // Additional recipients length at cd 0x264.\\n calldataload(\\n BasicOrder_additionalRecipients_length_cdPtr\\n )\\n )\\n )\\n )\\n ),\\n and(\\n // Ensure BasicOrderType parameter is less than 0x18.\\n lt(\\n // BasicOrderType parameter at calldata offset 0x124.\\n calldataload(BasicOrder_basicOrderType_cdPtr),\\n // Value should be less than 24.\\n BasicOrder_basicOrderType_range\\n ),\\n // Ensure no dirty upper bits are present on offerer, zone,\\n // offer token, or consideration token.\\n lt(\\n or(\\n or(\\n // Offerer parameter at calldata offset 0x84.\\n calldataload(BasicOrder_offerer_cdPtr),\\n // Zone parameter at calldata offset 0xa4.\\n calldataload(BasicOrder_zone_cdPtr)\\n ),\\n or(\\n // Offer token parameter at cd offset 0xc4.\\n calldataload(BasicOrder_offerToken_cdPtr),\\n // Consideration token parameter at offset 0x24.\\n calldataload(\\n BasicOrder_considerationToken_cdPtr\\n )\\n )\\n ),\\n AddressDirtyUpperBitThreshold\\n )\\n )\\n )\\n }\\n\\n // Revert with an error if basic order parameter offsets are invalid.\\n if (!validOffsets) {\\n _revertInvalidBasicOrderParameterEncoding();\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/SignatureVerification.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n SignatureVerificationErrors\\n} from \\\"../interfaces/SignatureVerificationErrors.sol\\\";\\n\\nimport { LowLevelHelpers } from \\\"./LowLevelHelpers.sol\\\";\\n\\nimport {\\n ECDSA_MaxLength,\\n ECDSA_signature_s_offset,\\n ECDSA_signature_v_offset,\\n ECDSA_twentySeventhAndTwentyEighthBytesSet,\\n Ecrecover_args_size,\\n Ecrecover_precompile,\\n EIP1271_isValidSignature_calldata_baseLength,\\n EIP1271_isValidSignature_digest_negativeOffset,\\n EIP1271_isValidSignature_selector_negativeOffset,\\n EIP1271_isValidSignature_selector,\\n EIP1271_isValidSignature_signature_head_offset,\\n EIP2098_allButHighestBitMask,\\n MaxUint8,\\n OneWord,\\n Signature_lower_v\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n BadContractSignature_error_length,\\n BadContractSignature_error_selector,\\n BadSignatureV_error_length,\\n BadSignatureV_error_selector,\\n BadSignatureV_error_v_ptr,\\n Error_selector_offset,\\n InvalidSignature_error_length,\\n InvalidSignature_error_selector,\\n InvalidSigner_error_length,\\n InvalidSigner_error_selector\\n} from \\\"./ConsiderationErrorConstants.sol\\\";\\n\\n/**\\n * @title SignatureVerification\\n * @author 0age\\n * @notice SignatureVerification contains logic for verifying signatures.\\n */\\ncontract SignatureVerification is SignatureVerificationErrors, LowLevelHelpers {\\n /**\\n * @dev Internal view function to verify the signature of an order. An\\n * ERC-1271 fallback will be attempted if either the signature length\\n * is not 64 or 65 bytes or if the recovered signer does not match the\\n * supplied signer.\\n *\\n * @param signer The signer for the order.\\n * @param digest The digest to verify signature against.\\n * @param originalDigest The original digest to verify signature\\n * against.\\n * @param originalSignatureLength The original signature length.\\n * @param signature A signature from the signer indicating\\n * that the order has been approved.\\n */\\n function _assertValidSignature(\\n address signer,\\n bytes32 digest,\\n bytes32 originalDigest,\\n uint256 originalSignatureLength,\\n bytes memory signature\\n ) internal view {\\n // Declare value for ecrecover equality or 1271 call success status.\\n bool success;\\n\\n // Utilize assembly to perform optimized signature verification check.\\n assembly {\\n // Ensure that first word of scratch space is empty.\\n mstore(0, 0)\\n\\n // Get the length of the signature.\\n let signatureLength := mload(signature)\\n\\n // Get the pointer to the value preceding the signature length.\\n // This will be used for temporary memory overrides - either the\\n // signature head for isValidSignature or the digest for ecrecover.\\n let wordBeforeSignaturePtr := sub(signature, OneWord)\\n\\n // Cache the current value behind the signature to restore it later.\\n let cachedWordBeforeSignature := mload(wordBeforeSignaturePtr)\\n\\n // Declare lenDiff + recoveredSigner scope to manage stack pressure.\\n {\\n // Take the difference between the max ECDSA signature length\\n // and the actual signature length. Overflow desired for any\\n // values > 65. If the diff is not 0 or 1, it is not a valid\\n // ECDSA signature - move on to EIP1271 check.\\n let lenDiff := sub(ECDSA_MaxLength, signatureLength)\\n\\n // Declare variable for recovered signer.\\n let recoveredSigner\\n\\n // If diff is 0 or 1, it may be an ECDSA signature.\\n // Try to recover signer.\\n if iszero(gt(lenDiff, 1)) {\\n // Read the signature `s` value.\\n let originalSignatureS := mload(\\n add(signature, ECDSA_signature_s_offset)\\n )\\n\\n // Read the first byte of the word after `s`. If the\\n // signature is 65 bytes, this will be the real `v` value.\\n // If not, it will need to be modified - doing it this way\\n // saves an extra condition.\\n let v := byte(\\n 0,\\n mload(add(signature, ECDSA_signature_v_offset))\\n )\\n\\n // If lenDiff is 1, parse 64-byte signature as ECDSA.\\n if lenDiff {\\n // Extract yParity from highest bit of vs and add 27 to\\n // get v.\\n v := add(\\n shr(MaxUint8, originalSignatureS),\\n Signature_lower_v\\n )\\n\\n // Extract canonical s from vs, all but the highest bit.\\n // Temporarily overwrite the original `s` value in the\\n // signature.\\n mstore(\\n add(signature, ECDSA_signature_s_offset),\\n and(\\n originalSignatureS,\\n EIP2098_allButHighestBitMask\\n )\\n )\\n }\\n // Temporarily overwrite the signature length with `v` to\\n // conform to the expected input for ecrecover.\\n mstore(signature, v)\\n\\n // Temporarily overwrite the word before the length with\\n // `digest` to conform to the expected input for ecrecover.\\n mstore(wordBeforeSignaturePtr, digest)\\n\\n // Attempt to recover the signer for the given signature. Do\\n // not check the call status as ecrecover will return a null\\n // address if the signature is invalid.\\n pop(\\n staticcall(\\n gas(),\\n Ecrecover_precompile, // Call ecrecover precompile.\\n wordBeforeSignaturePtr, // Use data memory location.\\n Ecrecover_args_size, // Size of digest, v, r, and s.\\n 0, // Write result to scratch space.\\n OneWord // Provide size of returned result.\\n )\\n )\\n\\n // Restore cached word before signature.\\n mstore(wordBeforeSignaturePtr, cachedWordBeforeSignature)\\n\\n // Restore cached signature length.\\n mstore(signature, signatureLength)\\n\\n // Restore cached signature `s` value.\\n mstore(\\n add(signature, ECDSA_signature_s_offset),\\n originalSignatureS\\n )\\n\\n // Read the recovered signer from the buffer given as return\\n // space for ecrecover.\\n recoveredSigner := mload(0)\\n }\\n\\n // Set success to true if the signature provided was a valid\\n // ECDSA signature and the signer is not the null address. Use\\n // gt instead of direct as success is used outside of assembly.\\n success := and(eq(signer, recoveredSigner), gt(signer, 0))\\n }\\n\\n // If the signature was not verified with ecrecover, try EIP1271.\\n if iszero(success) {\\n // Reset the original signature length.\\n mstore(signature, originalSignatureLength)\\n\\n // Temporarily overwrite the word before the signature length\\n // and use it as the head of the signature input to\\n // `isValidSignature`, which has a value of 64.\\n mstore(\\n wordBeforeSignaturePtr,\\n EIP1271_isValidSignature_signature_head_offset\\n )\\n\\n // Get pointer to use for the selector of `isValidSignature`.\\n let selectorPtr := sub(\\n signature,\\n EIP1271_isValidSignature_selector_negativeOffset\\n )\\n\\n // Cache the value currently stored at the selector pointer.\\n let cachedWordOverwrittenBySelector := mload(selectorPtr)\\n\\n // Cache the value currently stored at the digest pointer.\\n let cachedWordOverwrittenByDigest := mload(\\n sub(\\n signature,\\n EIP1271_isValidSignature_digest_negativeOffset\\n )\\n )\\n\\n // Write the selector first, since it overlaps the digest.\\n mstore(selectorPtr, EIP1271_isValidSignature_selector)\\n\\n // Next, write the original digest.\\n mstore(\\n sub(\\n signature,\\n EIP1271_isValidSignature_digest_negativeOffset\\n ),\\n originalDigest\\n )\\n\\n // Call signer with `isValidSignature` to validate signature.\\n success := staticcall(\\n gas(),\\n signer,\\n selectorPtr,\\n add(\\n originalSignatureLength,\\n EIP1271_isValidSignature_calldata_baseLength\\n ),\\n 0,\\n OneWord\\n )\\n\\n // Determine if the signature is valid on successful calls.\\n if success {\\n // If first word of scratch space does not contain EIP-1271\\n // signature selector, revert.\\n if iszero(eq(mload(0), EIP1271_isValidSignature_selector)) {\\n // Revert with bad 1271 signature if signer has code.\\n if extcodesize(signer) {\\n // Bad contract signature.\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(0, BadContractSignature_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"BadContractSignature()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n BadContractSignature_error_length\\n )\\n }\\n\\n // Check if signature length was invalid.\\n if gt(sub(ECDSA_MaxLength, signatureLength), 1) {\\n // Revert with generic invalid signature error.\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(0, InvalidSignature_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"InvalidSignature()\\\"\\n // ))\\n revert(\\n Error_selector_offset,\\n InvalidSignature_error_length\\n )\\n }\\n\\n // Check if v was invalid.\\n if and(\\n eq(signatureLength, ECDSA_MaxLength),\\n iszero(\\n byte(\\n byte(\\n 0,\\n mload(\\n add(\\n signature,\\n ECDSA_signature_v_offset\\n )\\n )\\n ),\\n ECDSA_twentySeventhAndTwentyEighthBytesSet\\n )\\n )\\n ) {\\n // Revert with invalid v value.\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(0, BadSignatureV_error_selector)\\n mstore(\\n BadSignatureV_error_v_ptr,\\n byte(\\n 0,\\n mload(\\n add(signature, ECDSA_signature_v_offset)\\n )\\n )\\n )\\n\\n // revert(abi.encodeWithSignature(\\n // \\\"BadSignatureV(uint8)\\\", v\\n // ))\\n revert(\\n Error_selector_offset,\\n BadSignatureV_error_length\\n )\\n }\\n\\n // Revert with generic invalid signer error message.\\n // Store left-padded selector with push4, mem[28:32]\\n mstore(0, InvalidSigner_error_selector)\\n\\n // revert(abi.encodeWithSignature(\\\"InvalidSigner()\\\"))\\n revert(\\n Error_selector_offset,\\n InvalidSigner_error_length\\n )\\n }\\n }\\n\\n // Restore the cached values overwritten by selector, digest and\\n // signature head.\\n mstore(wordBeforeSignaturePtr, cachedWordBeforeSignature)\\n mstore(selectorPtr, cachedWordOverwrittenBySelector)\\n mstore(\\n sub(\\n signature,\\n EIP1271_isValidSignature_digest_negativeOffset\\n ),\\n cachedWordOverwrittenByDigest\\n )\\n }\\n }\\n\\n // If the call failed...\\n if (!success) {\\n // Revert and pass reason along if one was returned.\\n _revertWithReasonIfOneIsReturned();\\n\\n // Otherwise, revert with error indicating bad contract signature.\\n assembly {\\n // Store left-padded selector with push4, mem[28:32] = selector\\n mstore(0, BadContractSignature_error_selector)\\n // revert(abi.encodeWithSignature(\\\"BadContractSignature()\\\"))\\n revert(Error_selector_offset, BadContractSignature_error_length)\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/CounterManager.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n ConsiderationEventsAndErrors\\n} from \\\"../interfaces/ConsiderationEventsAndErrors.sol\\\";\\n\\nimport { ReentrancyGuard } from \\\"./ReentrancyGuard.sol\\\";\\n\\nimport {\\n Counter_blockhash_shift,\\n OneWord,\\n TwoWords\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title CounterManager\\n * @author 0age\\n * @notice CounterManager contains a storage mapping and related functionality\\n * for retrieving and incrementing a per-offerer counter.\\n */\\ncontract CounterManager is ConsiderationEventsAndErrors, ReentrancyGuard {\\n // Only orders signed using an offerer's current counter are fulfillable.\\n mapping(address => uint256) private _counters;\\n\\n /**\\n * @dev Internal function to cancel all orders from a given offerer in bulk\\n * by incrementing a counter by a large, quasi-random interval. Note\\n * that only the offerer may increment the counter. Note that the\\n * counter is incremented by a large, quasi-random interval, which\\n * makes it infeasible to \\\"activate\\\" signed orders by incrementing the\\n * counter. This activation functionality can be achieved instead with\\n * restricted orders or contract orders.\\n *\\n * @return newCounter The new counter.\\n */\\n function _incrementCounter() internal returns (uint256 newCounter) {\\n // Ensure that the reentrancy guard is not currently set.\\n _assertNonReentrant();\\n\\n // Utilize assembly to access counters storage mapping directly. Skip\\n // overflow check as counter cannot be incremented that far.\\n assembly {\\n // Use second half of previous block hash as a quasi-random number.\\n let quasiRandomNumber := shr(\\n Counter_blockhash_shift,\\n blockhash(sub(number(), 1))\\n )\\n\\n // Write the caller to scratch space.\\n mstore(0, caller())\\n\\n // Write the storage slot for _counters to scratch space.\\n mstore(OneWord, _counters.slot)\\n\\n // Derive the storage pointer for the counter value.\\n let storagePointer := keccak256(0, TwoWords)\\n\\n // Derive new counter value using random number and original value.\\n newCounter := add(quasiRandomNumber, sload(storagePointer))\\n\\n // Store the updated counter value.\\n sstore(storagePointer, newCounter)\\n }\\n\\n // Emit an event containing the new counter.\\n emit CounterIncremented(newCounter, msg.sender);\\n }\\n\\n /**\\n * @dev Internal view function to retrieve the current counter for a given\\n * offerer.\\n *\\n * @param offerer The offerer in question.\\n *\\n * @return currentCounter The current counter.\\n */\\n function _getCounter(\\n address offerer\\n ) internal view returns (uint256 currentCounter) {\\n // Return the counter for the supplied offerer.\\n currentCounter = _counters[offerer];\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/TokenTransferrerErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/**\\n * @title TokenTransferrerErrors\\n */\\ninterface TokenTransferrerErrors {\\n /**\\n * @dev Revert with an error when an ERC721 transfer with amount other than\\n * one is attempted.\\n *\\n * @param amount The amount of the ERC721 tokens to transfer.\\n */\\n error InvalidERC721TransferAmount(uint256 amount);\\n\\n /**\\n * @dev Revert with an error when attempting to fulfill an order where an\\n * item has an amount of zero.\\n */\\n error MissingItemAmount();\\n\\n /**\\n * @dev Revert with an error when attempting to fulfill an order where an\\n * item has unused parameters. This includes both the token and the\\n * identifier parameters for native transfers as well as the identifier\\n * parameter for ERC20 transfers. Note that the conduit does not\\n * perform this check, leaving it up to the calling channel to enforce\\n * when desired.\\n */\\n error UnusedItemParameters();\\n\\n /**\\n * @dev Revert with an error when an ERC20, ERC721, or ERC1155 token\\n * transfer reverts.\\n *\\n * @param token The token for which the transfer was attempted.\\n * @param from The source of the attempted transfer.\\n * @param to The recipient of the attempted transfer.\\n * @param identifier The identifier for the attempted transfer.\\n * @param amount The amount for the attempted transfer.\\n */\\n error TokenTransferGenericFailure(\\n address token,\\n address from,\\n address to,\\n uint256 identifier,\\n uint256 amount\\n );\\n\\n /**\\n * @dev Revert with an error when a batch ERC1155 token transfer reverts.\\n *\\n * @param token The token for which the transfer was attempted.\\n * @param from The source of the attempted transfer.\\n * @param to The recipient of the attempted transfer.\\n * @param identifiers The identifiers for the attempted transfer.\\n * @param amounts The amounts for the attempted transfer.\\n */\\n error ERC1155BatchTransferGenericFailure(\\n address token,\\n address from,\\n address to,\\n uint256[] identifiers,\\n uint256[] amounts\\n );\\n\\n /**\\n * @dev Revert with an error when an ERC20 token transfer returns a falsey\\n * value.\\n *\\n * @param token The token for which the ERC20 transfer was attempted.\\n * @param from The source of the attempted ERC20 transfer.\\n * @param to The recipient of the attempted ERC20 transfer.\\n * @param amount The amount for the attempted ERC20 transfer.\\n */\\n error BadReturnValueFromERC20OnTransfer(\\n address token,\\n address from,\\n address to,\\n uint256 amount\\n );\\n\\n /**\\n * @dev Revert with an error when an account being called as an assumed\\n * contract does not have code and returns no data.\\n *\\n * @param account The account that should contain code.\\n */\\n error NoContract(address account);\\n\\n /**\\n * @dev Revert with an error when attempting to execute an 1155 batch\\n * transfer using calldata not produced by default ABI encoding or with\\n * different lengths for ids and amounts arrays.\\n */\\n error Invalid1155BatchTransferEncoding();\\n}\\n\"\r\n },\r\n \"contracts/lib/GettersAndDerivers.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { OrderParameters } from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport { ConsiderationBase } from \\\"./ConsiderationBase.sol\\\";\\n\\nimport {\\n Create2AddressDerivation_length,\\n Create2AddressDerivation_ptr,\\n EIP_712_PREFIX,\\n EIP712_ConsiderationItem_size,\\n EIP712_DigestPayload_size,\\n EIP712_DomainSeparator_offset,\\n EIP712_OfferItem_size,\\n EIP712_Order_size,\\n EIP712_OrderHash_offset,\\n FreeMemoryPointerSlot,\\n information_conduitController_offset,\\n information_domainSeparator_offset,\\n information_length,\\n information_version_cd_offset,\\n information_version_offset,\\n information_versionLengthPtr,\\n information_versionWithLength,\\n MaskOverByteTwelve,\\n MaskOverLastTwentyBytes,\\n OneWord,\\n OneWordShift,\\n OrderParameters_consideration_head_offset,\\n OrderParameters_counter_offset,\\n OrderParameters_offer_head_offset,\\n TwoWords\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title GettersAndDerivers\\n * @author 0age\\n * @notice ConsiderationInternal contains pure and internal view functions\\n * related to getting or deriving various values.\\n */\\ncontract GettersAndDerivers is ConsiderationBase {\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(\\n address conduitController\\n ) ConsiderationBase(conduitController) {}\\n\\n /**\\n * @dev Internal view function to derive the order hash for a given order.\\n * Note that only the original consideration items are included in the\\n * order hash, as additional consideration items may be supplied by the\\n * caller.\\n *\\n * @param orderParameters The parameters of the order to hash.\\n * @param counter The counter of the order to hash.\\n *\\n * @return orderHash The hash.\\n */\\n function _deriveOrderHash(\\n OrderParameters memory orderParameters,\\n uint256 counter\\n ) internal view returns (bytes32 orderHash) {\\n // Get length of original consideration array and place it on the stack.\\n uint256 originalConsiderationLength = (\\n orderParameters.totalOriginalConsiderationItems\\n );\\n\\n /*\\n * Memory layout for an array of structs (dynamic or not) is similar\\n * to ABI encoding of dynamic types, with a head segment followed by\\n * a data segment. The main difference is that the head of an element\\n * is a memory pointer rather than an offset.\\n */\\n\\n // Declare a variable for the derived hash of the offer array.\\n bytes32 offerHash;\\n\\n // Read offer item EIP-712 typehash from runtime code & place on stack.\\n bytes32 typeHash = _OFFER_ITEM_TYPEHASH;\\n\\n // Utilize assembly so that memory regions can be reused across hashes.\\n assembly {\\n // Retrieve the free memory pointer and place on the stack.\\n let hashArrPtr := mload(FreeMemoryPointerSlot)\\n\\n // Get the pointer to the offers array.\\n let offerArrPtr := mload(\\n add(orderParameters, OrderParameters_offer_head_offset)\\n )\\n\\n // Load the length.\\n let offerLength := mload(offerArrPtr)\\n\\n // Set the pointer to the first offer's head.\\n offerArrPtr := add(offerArrPtr, OneWord)\\n\\n // Iterate over the offer items.\\n for { let i := 0 } lt(i, offerLength) {\\n i := add(i, 1)\\n } {\\n // Read the pointer to the offer data and subtract one word\\n // to get typeHash pointer.\\n let ptr := sub(mload(offerArrPtr), OneWord)\\n\\n // Read the current value before the offer data.\\n let value := mload(ptr)\\n\\n // Write the type hash to the previous word.\\n mstore(ptr, typeHash)\\n\\n // Take the EIP712 hash and store it in the hash array.\\n mstore(hashArrPtr, keccak256(ptr, EIP712_OfferItem_size))\\n\\n // Restore the previous word.\\n mstore(ptr, value)\\n\\n // Increment the array pointers by one word.\\n offerArrPtr := add(offerArrPtr, OneWord)\\n hashArrPtr := add(hashArrPtr, OneWord)\\n }\\n\\n // Derive the offer hash using the hashes of each item.\\n offerHash := keccak256(\\n mload(FreeMemoryPointerSlot),\\n shl(OneWordShift, offerLength)\\n )\\n }\\n\\n // Declare a variable for the derived hash of the consideration array.\\n bytes32 considerationHash;\\n\\n // Read consideration item typehash from runtime code & place on stack.\\n typeHash = _CONSIDERATION_ITEM_TYPEHASH;\\n\\n // Utilize assembly so that memory regions can be reused across hashes.\\n assembly {\\n // Retrieve the free memory pointer and place on the stack.\\n let hashArrPtr := mload(FreeMemoryPointerSlot)\\n\\n // Get the pointer to the consideration array.\\n let considerationArrPtr := add(\\n mload(\\n add(\\n orderParameters,\\n OrderParameters_consideration_head_offset\\n )\\n ),\\n OneWord\\n )\\n\\n // Iterate over the consideration items (not including tips).\\n for { let i := 0 } lt(i, originalConsiderationLength) {\\n i := add(i, 1)\\n } {\\n // Read the pointer to the consideration data and subtract one\\n // word to get typeHash pointer.\\n let ptr := sub(mload(considerationArrPtr), OneWord)\\n\\n // Read the current value before the consideration data.\\n let value := mload(ptr)\\n\\n // Write the type hash to the previous word.\\n mstore(ptr, typeHash)\\n\\n // Take the EIP712 hash and store it in the hash array.\\n mstore(\\n hashArrPtr,\\n keccak256(ptr, EIP712_ConsiderationItem_size)\\n )\\n\\n // Restore the previous word.\\n mstore(ptr, value)\\n\\n // Increment the array pointers by one word.\\n considerationArrPtr := add(considerationArrPtr, OneWord)\\n hashArrPtr := add(hashArrPtr, OneWord)\\n }\\n\\n // Derive the consideration hash using the hashes of each item.\\n considerationHash := keccak256(\\n mload(FreeMemoryPointerSlot),\\n shl(OneWordShift, originalConsiderationLength)\\n )\\n }\\n\\n // Read order item EIP-712 typehash from runtime code & place on stack.\\n typeHash = _ORDER_TYPEHASH;\\n\\n // Utilize assembly to access derived hashes & other arguments directly.\\n assembly {\\n // Retrieve pointer to the region located just behind parameters.\\n let typeHashPtr := sub(orderParameters, OneWord)\\n\\n // Store the value at that pointer location to restore later.\\n let previousValue := mload(typeHashPtr)\\n\\n // Store the order item EIP-712 typehash at the typehash location.\\n mstore(typeHashPtr, typeHash)\\n\\n // Retrieve the pointer for the offer array head.\\n let offerHeadPtr := add(\\n orderParameters,\\n OrderParameters_offer_head_offset\\n )\\n\\n // Retrieve the data pointer referenced by the offer head.\\n let offerDataPtr := mload(offerHeadPtr)\\n\\n // Store the offer hash at the retrieved memory location.\\n mstore(offerHeadPtr, offerHash)\\n\\n // Retrieve the pointer for the consideration array head.\\n let considerationHeadPtr := add(\\n orderParameters,\\n OrderParameters_consideration_head_offset\\n )\\n\\n // Retrieve the data pointer referenced by the consideration head.\\n let considerationDataPtr := mload(considerationHeadPtr)\\n\\n // Store the consideration hash at the retrieved memory location.\\n mstore(considerationHeadPtr, considerationHash)\\n\\n // Retrieve the pointer for the counter.\\n let counterPtr := add(\\n orderParameters,\\n OrderParameters_counter_offset\\n )\\n\\n // Store the counter at the retrieved memory location.\\n mstore(counterPtr, counter)\\n\\n // Derive the order hash using the full range of order parameters.\\n orderHash := keccak256(typeHashPtr, EIP712_Order_size)\\n\\n // Restore the value previously held at typehash pointer location.\\n mstore(typeHashPtr, previousValue)\\n\\n // Restore offer data pointer at the offer head pointer location.\\n mstore(offerHeadPtr, offerDataPtr)\\n\\n // Restore consideration data pointer at the consideration head ptr.\\n mstore(considerationHeadPtr, considerationDataPtr)\\n\\n // Restore consideration item length at the counter pointer.\\n mstore(counterPtr, originalConsiderationLength)\\n }\\n }\\n\\n /**\\n * @dev Internal view function to derive the address of a given conduit\\n * using a corresponding conduit key.\\n *\\n * @param conduitKey A bytes32 value indicating what corresponding conduit,\\n * if any, to source token approvals from. This value is\\n * the \\\"salt\\\" parameter supplied by the deployer (i.e. the\\n * conduit controller) when deploying the given conduit.\\n *\\n * @return conduit The address of the conduit associated with the given\\n * conduit key.\\n */\\n function _deriveConduit(\\n bytes32 conduitKey\\n ) internal view returns (address conduit) {\\n // Read conduit controller address from runtime and place on the stack.\\n address conduitController = address(_CONDUIT_CONTROLLER);\\n\\n // Read conduit creation code hash from runtime and place on the stack.\\n bytes32 conduitCreationCodeHash = _CONDUIT_CREATION_CODE_HASH;\\n\\n // Leverage scratch space to perform an efficient hash.\\n assembly {\\n // Retrieve the free memory pointer; it will be replaced afterwards.\\n let freeMemoryPointer := mload(FreeMemoryPointerSlot)\\n\\n // Place the control character and the conduit controller in scratch\\n // space; note that eleven bytes at the beginning are left unused.\\n mstore(0, or(MaskOverByteTwelve, conduitController))\\n\\n // Place the conduit key in the next region of scratch space.\\n mstore(OneWord, conduitKey)\\n\\n // Place conduit creation code hash in free memory pointer location.\\n mstore(TwoWords, conduitCreationCodeHash)\\n\\n // Derive conduit by hashing and applying a mask over last 20 bytes.\\n conduit := and(\\n // Hash the relevant region.\\n keccak256(\\n // The region starts at memory pointer 11.\\n Create2AddressDerivation_ptr,\\n // The region is 85 bytes long (1 + 20 + 32 + 32).\\n Create2AddressDerivation_length\\n ),\\n // The address equals the last twenty bytes of the hash.\\n MaskOverLastTwentyBytes\\n )\\n\\n // Restore the free memory pointer.\\n mstore(FreeMemoryPointerSlot, freeMemoryPointer)\\n }\\n }\\n\\n /**\\n * @dev Internal view function to get the EIP-712 domain separator. If the\\n * chainId matches the chainId set on deployment, the cached domain\\n * separator will be returned; otherwise, it will be derived from\\n * scratch.\\n *\\n * @return The domain separator.\\n */\\n function _domainSeparator() internal view returns (bytes32) {\\n return block.chainid == _CHAIN_ID\\n ? _DOMAIN_SEPARATOR\\n : _deriveDomainSeparator();\\n }\\n\\n /**\\n * @dev Internal view function to retrieve configuration information for\\n * this contract.\\n *\\n * @return The contract version.\\n * @return The domain separator for this contract.\\n * @return The conduit Controller set for this contract.\\n */\\n function _information()\\n internal\\n view\\n returns (\\n string memory /* version */,\\n bytes32 /* domainSeparator */,\\n address /* conduitController */\\n )\\n {\\n // Derive the domain separator.\\n bytes32 domainSeparator = _domainSeparator();\\n\\n // Declare variable as immutables cannot be accessed within assembly.\\n address conduitController = address(_CONDUIT_CONTROLLER);\\n\\n // Return the version, domain separator, and conduit controller.\\n assembly {\\n mstore(information_version_offset, information_version_cd_offset)\\n mstore(information_domainSeparator_offset, domainSeparator)\\n mstore(information_conduitController_offset, conduitController)\\n mstore(information_versionLengthPtr, information_versionWithLength)\\n return(information_version_offset, information_length)\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to efficiently derive an digest to sign for\\n * an order in accordance with EIP-712.\\n *\\n * @param domainSeparator The domain separator.\\n * @param orderHash The order hash.\\n *\\n * @return value The hash.\\n */\\n function _deriveEIP712Digest(\\n bytes32 domainSeparator,\\n bytes32 orderHash\\n ) internal pure returns (bytes32 value) {\\n // Leverage scratch space to perform an efficient hash.\\n assembly {\\n // Place the EIP-712 prefix at the start of scratch space.\\n mstore(0, EIP_712_PREFIX)\\n\\n // Place the domain separator in the next region of scratch space.\\n mstore(EIP712_DomainSeparator_offset, domainSeparator)\\n\\n // Place the order hash in scratch space, spilling into the first\\n // two bytes of the free memory pointer — this should never be set\\n // as memory cannot be expanded to that size, and will be zeroed out\\n // after the hash is performed.\\n mstore(EIP712_OrderHash_offset, orderHash)\\n\\n // Hash the relevant region (65 bytes).\\n value := keccak256(0, EIP712_DigestPayload_size)\\n\\n // Clear out the dirtied bits in the memory pointer.\\n mstore(EIP712_OrderHash_offset, 0)\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/ConsiderationEventsAndErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\nimport {\\n OrderParameters,\\n ReceivedItem,\\n SpentItem\\n} from \\\"../lib/ConsiderationStructs.sol\\\";\\n\\n/**\\n * @title ConsiderationEventsAndErrors\\n * @author 0age\\n * @notice ConsiderationEventsAndErrors contains all events and errors.\\n */\\ninterface ConsiderationEventsAndErrors {\\n /**\\n * @dev Emit an event whenever an order is successfully fulfilled.\\n *\\n * @param orderHash The hash of the fulfilled order.\\n * @param offerer The offerer of the fulfilled order.\\n * @param zone The zone of the fulfilled order.\\n * @param recipient The recipient of each spent item on the fulfilled\\n * order, or the null address if there is no specific\\n * fulfiller (i.e. the order is part of a group of\\n * orders). Defaults to the caller unless explicitly\\n * specified otherwise by the fulfiller.\\n * @param offer The offer items spent as part of the order.\\n * @param consideration The consideration items received as part of the\\n * order along with the recipients of each item.\\n */\\n event OrderFulfilled(\\n bytes32 orderHash,\\n address indexed offerer,\\n address indexed zone,\\n address recipient,\\n SpentItem[] offer,\\n ReceivedItem[] consideration\\n );\\n\\n /**\\n * @dev Emit an event whenever an order is successfully cancelled.\\n *\\n * @param orderHash The hash of the cancelled order.\\n * @param offerer The offerer of the cancelled order.\\n * @param zone The zone of the cancelled order.\\n */\\n event OrderCancelled(\\n bytes32 orderHash,\\n address indexed offerer,\\n address indexed zone\\n );\\n\\n /**\\n * @dev Emit an event whenever an order is explicitly validated. Note that\\n * this event will not be emitted on partial fills even though they do\\n * validate the order as part of partial fulfillment.\\n *\\n * @param orderHash The hash of the validated order.\\n * @param orderParameters The parameters of the validated order.\\n */\\n event OrderValidated(bytes32 orderHash, OrderParameters orderParameters);\\n\\n /**\\n * @dev Emit an event whenever one or more orders are matched using either\\n * matchOrders or matchAdvancedOrders.\\n *\\n * @param orderHashes The order hashes of the matched orders.\\n */\\n event OrdersMatched(bytes32[] orderHashes);\\n\\n /**\\n * @dev Emit an event whenever a counter for a given offerer is incremented.\\n *\\n * @param newCounter The new counter for the offerer.\\n * @param offerer The offerer in question.\\n */\\n event CounterIncremented(uint256 newCounter, address indexed offerer);\\n\\n /**\\n * @dev Revert with an error when attempting to fill an order that has\\n * already been fully filled.\\n *\\n * @param orderHash The order hash on which a fill was attempted.\\n */\\n error OrderAlreadyFilled(bytes32 orderHash);\\n\\n /**\\n * @dev Revert with an error when attempting to fill an order outside the\\n * specified start time and end time.\\n *\\n * @param startTime The time at which the order becomes active.\\n * @param endTime The time at which the order becomes inactive.\\n */\\n error InvalidTime(uint256 startTime, uint256 endTime);\\n\\n /**\\n * @dev Revert with an error when attempting to fill an order referencing an\\n * invalid conduit (i.e. one that has not been deployed).\\n */\\n error InvalidConduit(bytes32 conduitKey, address conduit);\\n\\n /**\\n * @dev Revert with an error when an order is supplied for fulfillment with\\n * a consideration array that is shorter than the original array.\\n */\\n error MissingOriginalConsiderationItems();\\n\\n /**\\n * @dev Revert with an error when an order is validated and the length of\\n * the consideration array is not equal to the supplied total original\\n * consideration items value. This error is also thrown when contract\\n * orders supply a total original consideration items value that does\\n * not match the supplied consideration array length.\\n */\\n error ConsiderationLengthNotEqualToTotalOriginal();\\n\\n /**\\n * @dev Revert with an error when a call to a conduit fails with revert data\\n * that is too expensive to return.\\n */\\n error InvalidCallToConduit(address conduit);\\n\\n /**\\n * @dev Revert with an error if a consideration amount has not been fully\\n * zeroed out after applying all fulfillments.\\n *\\n * @param orderIndex The index of the order with the consideration\\n * item with a shortfall.\\n * @param considerationIndex The index of the consideration item on the\\n * order.\\n * @param shortfallAmount The unfulfilled consideration amount.\\n */\\n error ConsiderationNotMet(\\n uint256 orderIndex,\\n uint256 considerationIndex,\\n uint256 shortfallAmount\\n );\\n\\n /**\\n * @dev Revert with an error when insufficient native tokens are supplied as\\n * part of msg.value when fulfilling orders.\\n */\\n error InsufficientNativeTokensSupplied();\\n\\n /**\\n * @dev Revert with an error when a native token transfer reverts.\\n */\\n error NativeTokenTransferGenericFailure(address account, uint256 amount);\\n\\n /**\\n * @dev Revert with an error when a partial fill is attempted on an order\\n * that does not specify partial fill support in its order type.\\n */\\n error PartialFillsNotEnabledForOrder();\\n\\n /**\\n * @dev Revert with an error when attempting to fill an order that has been\\n * cancelled.\\n *\\n * @param orderHash The hash of the cancelled order.\\n */\\n error OrderIsCancelled(bytes32 orderHash);\\n\\n /**\\n * @dev Revert with an error when attempting to fill a basic order that has\\n * been partially filled.\\n *\\n * @param orderHash The hash of the partially used order.\\n */\\n error OrderPartiallyFilled(bytes32 orderHash);\\n\\n /**\\n * @dev Revert with an error when attempting to cancel an order as a caller\\n * other than the indicated offerer or zone or when attempting to\\n * cancel a contract order.\\n */\\n error CannotCancelOrder();\\n\\n /**\\n * @dev Revert with an error when supplying a fraction with a value of zero\\n * for the numerator or denominator, or one where the numerator exceeds\\n * the denominator.\\n */\\n error BadFraction();\\n\\n /**\\n * @dev Revert with an error when a caller attempts to supply callvalue to a\\n * non-payable basic order route or does not supply any callvalue to a\\n * payable basic order route.\\n */\\n error InvalidMsgValue(uint256 value);\\n\\n /**\\n * @dev Revert with an error when attempting to fill a basic order using\\n * calldata not produced by default ABI encoding.\\n */\\n error InvalidBasicOrderParameterEncoding();\\n\\n /**\\n * @dev Revert with an error when attempting to fulfill any number of\\n * available orders when none are fulfillable.\\n */\\n error NoSpecifiedOrdersAvailable();\\n\\n /**\\n * @dev Revert with an error when attempting to fulfill an order with an\\n * offer for a native token outside of matching orders.\\n */\\n error InvalidNativeOfferItem();\\n}\\n\"\r\n },\r\n \"contracts/lib/ReentrancyGuard.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport { ReentrancyErrors } from \\\"../interfaces/ReentrancyErrors.sol\\\";\\n\\nimport { LowLevelHelpers } from \\\"./LowLevelHelpers.sol\\\";\\n\\nimport {\\n _revertInvalidMsgValue,\\n _revertNoReentrantCalls\\n} from \\\"./ConsiderationErrors.sol\\\";\\n\\nimport {\\n _ENTERED_AND_ACCEPTING_NATIVE_TOKENS,\\n _ENTERED,\\n _NOT_ENTERED\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title ReentrancyGuard\\n * @author 0age\\n * @notice ReentrancyGuard contains a storage variable and related functionality\\n * for protecting against reentrancy.\\n */\\ncontract ReentrancyGuard is ReentrancyErrors, LowLevelHelpers {\\n // Prevent reentrant calls on protected functions.\\n uint256 private _reentrancyGuard;\\n\\n /**\\n * @dev Initialize the reentrancy guard during deployment.\\n */\\n constructor() {\\n // Initialize the reentrancy guard in a cleared state.\\n _reentrancyGuard = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Internal function to ensure that a sentinel value for the reentrancy\\n * guard is not currently set and, if not, to set a sentinel value for\\n * the reentrancy guard based on whether or not native tokens may be\\n * received during execution or not.\\n *\\n * @param acceptNativeTokens A boolean indicating whether native tokens may\\n * be received during execution or not.\\n */\\n function _setReentrancyGuard(bool acceptNativeTokens) internal {\\n // Ensure that the reentrancy guard is not already set.\\n _assertNonReentrant();\\n\\n // Set the reentrancy guard. A value of 2 indicates that native tokens\\n // may not be accepted during execution, whereas a value of 3 indicates\\n // that they will be accepted (with any remaining native tokens returned\\n // to the caller).\\n unchecked {\\n _reentrancyGuard = _ENTERED + _cast(acceptNativeTokens);\\n }\\n }\\n\\n /**\\n * @dev Internal function to unset the reentrancy guard sentinel value.\\n */\\n function _clearReentrancyGuard() internal {\\n // Clear the reentrancy guard.\\n _reentrancyGuard = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Internal view function to ensure that a sentinel value for the\\n reentrancy guard is not currently set.\\n */\\n function _assertNonReentrant() internal view {\\n // Ensure that the reentrancy guard is not currently set.\\n if (_reentrancyGuard != _NOT_ENTERED) {\\n _revertNoReentrantCalls();\\n }\\n }\\n\\n /**\\n * @dev Internal view function to ensure that the sentinel value indicating\\n * native tokens may be received during execution is currently set.\\n */\\n function _assertAcceptingNativeTokens() internal view {\\n // Ensure that the reentrancy guard is not currently set.\\n if (_reentrancyGuard != _ENTERED_AND_ACCEPTING_NATIVE_TOKENS) {\\n _revertInvalidMsgValue(msg.value);\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/LowLevelHelpers.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n CostPerWord,\\n ExtraGasBuffer,\\n FreeMemoryPointerSlot,\\n MemoryExpansionCoefficientShift,\\n OneWord,\\n OneWordShift,\\n ThirtyOneBytes\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\n/**\\n * @title LowLevelHelpers\\n * @author 0age\\n * @notice LowLevelHelpers contains logic for performing various low-level\\n * operations.\\n */\\ncontract LowLevelHelpers {\\n /**\\n * @dev Internal view function to revert and pass along the revert reason if\\n * data was returned by the last call and that the size of that data\\n * does not exceed the currently allocated memory size.\\n */\\n function _revertWithReasonIfOneIsReturned() internal view {\\n assembly {\\n // If it returned a message, bubble it up as long as sufficient gas\\n // remains to do so:\\n if returndatasize() {\\n // Ensure that sufficient gas is available to copy returndata\\n // while expanding memory where necessary. Start by computing\\n // the word size of returndata and allocated memory.\\n let returnDataWords := shr(\\n OneWordShift,\\n add(returndatasize(), ThirtyOneBytes)\\n )\\n\\n // Note: use the free memory pointer in place of msize() to work\\n // around a Yul warning that prevents accessing msize directly\\n // when the IR pipeline is activated.\\n let msizeWords := shr(\\n OneWordShift,\\n mload(FreeMemoryPointerSlot)\\n )\\n\\n // Next, compute the cost of the returndatacopy.\\n let cost := mul(CostPerWord, returnDataWords)\\n\\n // Then, compute cost of new memory allocation.\\n if gt(returnDataWords, msizeWords) {\\n cost := add(\\n cost,\\n add(\\n mul(sub(returnDataWords, msizeWords), CostPerWord),\\n shr(\\n MemoryExpansionCoefficientShift,\\n sub(\\n mul(returnDataWords, returnDataWords),\\n mul(msizeWords, msizeWords)\\n )\\n )\\n )\\n )\\n }\\n\\n // Finally, add a small constant and compare to gas remaining;\\n // bubble up the revert data if enough gas is still available.\\n if lt(add(cost, ExtraGasBuffer), gas()) {\\n // Copy returndata to memory; overwrite existing memory.\\n returndatacopy(0, 0, returndatasize())\\n\\n // Revert, specifying memory region with copied returndata.\\n revert(0, returndatasize())\\n }\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal view function to branchlessly select either the caller (if\\n * a supplied recipient is equal to zero) or the supplied recipient (if\\n * that recipient is a nonzero value).\\n *\\n * @param recipient The supplied recipient.\\n *\\n * @return updatedRecipient The updated recipient.\\n */\\n function _substituteCallerForEmptyRecipient(\\n address recipient\\n ) internal view returns (address updatedRecipient) {\\n // Utilize assembly to perform a branchless operation on the recipient.\\n assembly {\\n // Add caller to recipient if recipient equals 0; otherwise add 0.\\n updatedRecipient := add(recipient, mul(iszero(recipient), caller()))\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to cast a `bool` value to a `uint256` value.\\n *\\n * @param b The `bool` value to cast.\\n *\\n * @return u The `uint256` value.\\n */\\n function _cast(bool b) internal pure returns (uint256 u) {\\n assembly {\\n u := b\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/ReentrancyErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/**\\n * @title ReentrancyErrors\\n * @author 0age\\n * @notice ReentrancyErrors contains errors related to reentrancy.\\n */\\ninterface ReentrancyErrors {\\n /**\\n * @dev Revert with an error when a caller attempts to reenter a protected\\n * function.\\n */\\n error NoReentrantCalls();\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationBase.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n ConduitControllerInterface\\n} from \\\"../interfaces/ConduitControllerInterface.sol\\\";\\n\\nimport {\\n ConsiderationEventsAndErrors\\n} from \\\"../interfaces/ConsiderationEventsAndErrors.sol\\\";\\n\\nimport {\\n BulkOrder_Typehash_Height_One,\\n BulkOrder_Typehash_Height_Two,\\n BulkOrder_Typehash_Height_Three,\\n BulkOrder_Typehash_Height_Four,\\n BulkOrder_Typehash_Height_Five,\\n BulkOrder_Typehash_Height_Six,\\n BulkOrder_Typehash_Height_Seven,\\n BulkOrder_Typehash_Height_Eight,\\n BulkOrder_Typehash_Height_Nine,\\n BulkOrder_Typehash_Height_Ten,\\n BulkOrder_Typehash_Height_Eleven,\\n BulkOrder_Typehash_Height_Twelve,\\n BulkOrder_Typehash_Height_Thirteen,\\n BulkOrder_Typehash_Height_Fourteen,\\n BulkOrder_Typehash_Height_Fifteen,\\n BulkOrder_Typehash_Height_Sixteen,\\n BulkOrder_Typehash_Height_Seventeen,\\n BulkOrder_Typehash_Height_Eighteen,\\n BulkOrder_Typehash_Height_Nineteen,\\n BulkOrder_Typehash_Height_Twenty,\\n BulkOrder_Typehash_Height_TwentyOne,\\n BulkOrder_Typehash_Height_TwentyTwo,\\n BulkOrder_Typehash_Height_TwentyThree,\\n BulkOrder_Typehash_Height_TwentyFour,\\n EIP712_domainData_chainId_offset,\\n EIP712_domainData_nameHash_offset,\\n EIP712_domainData_size,\\n EIP712_domainData_verifyingContract_offset,\\n EIP712_domainData_versionHash_offset,\\n FreeMemoryPointerSlot,\\n NameLengthPtr,\\n NameWithLength,\\n OneWord,\\n Slot0x80,\\n ThreeWords,\\n ZeroSlot\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport { ConsiderationDecoder } from \\\"./ConsiderationDecoder.sol\\\";\\n\\nimport { ConsiderationEncoder } from \\\"./ConsiderationEncoder.sol\\\";\\n\\n/**\\n * @title ConsiderationBase\\n * @author 0age\\n * @notice ConsiderationBase contains immutable constants and constructor logic.\\n */\\ncontract ConsiderationBase is\\n ConsiderationDecoder,\\n ConsiderationEncoder,\\n ConsiderationEventsAndErrors\\n{\\n // Precompute hashes, original chainId, and domain separator on deployment.\\n bytes32 internal immutable _NAME_HASH;\\n bytes32 internal immutable _VERSION_HASH;\\n bytes32 internal immutable _EIP_712_DOMAIN_TYPEHASH;\\n bytes32 internal immutable _OFFER_ITEM_TYPEHASH;\\n bytes32 internal immutable _CONSIDERATION_ITEM_TYPEHASH;\\n bytes32 internal immutable _ORDER_TYPEHASH;\\n uint256 internal immutable _CHAIN_ID;\\n bytes32 internal immutable _DOMAIN_SEPARATOR;\\n\\n // Allow for interaction with the conduit controller.\\n ConduitControllerInterface internal immutable _CONDUIT_CONTROLLER;\\n\\n // Cache the conduit creation code hash used by the conduit controller.\\n bytes32 internal immutable _CONDUIT_CREATION_CODE_HASH;\\n\\n /**\\n * @dev Derive and set hashes, reference chainId, and associated domain\\n * separator during deployment.\\n *\\n * @param conduitController A contract that deploys conduits, or proxies\\n * that may optionally be used to transfer approved\\n * ERC20/721/1155 tokens.\\n */\\n constructor(address conduitController) {\\n // Derive name and version hashes alongside required EIP-712 typehashes.\\n (\\n _NAME_HASH,\\n _VERSION_HASH,\\n _EIP_712_DOMAIN_TYPEHASH,\\n _OFFER_ITEM_TYPEHASH,\\n _CONSIDERATION_ITEM_TYPEHASH,\\n _ORDER_TYPEHASH\\n ) = _deriveTypehashes();\\n\\n // Store the current chainId and derive the current domain separator.\\n _CHAIN_ID = block.chainid;\\n _DOMAIN_SEPARATOR = _deriveDomainSeparator();\\n\\n // Set the supplied conduit controller.\\n _CONDUIT_CONTROLLER = ConduitControllerInterface(conduitController);\\n\\n // Retrieve the conduit creation code hash from the supplied controller.\\n (_CONDUIT_CREATION_CODE_HASH, ) = (\\n _CONDUIT_CONTROLLER.getConduitCodeHashes()\\n );\\n }\\n\\n /**\\n * @dev Internal view function to derive the EIP-712 domain separator.\\n *\\n * @return domainSeparator The derived domain separator.\\n */\\n function _deriveDomainSeparator()\\n internal\\n view\\n returns (bytes32 domainSeparator)\\n {\\n bytes32 typehash = _EIP_712_DOMAIN_TYPEHASH;\\n bytes32 nameHash = _NAME_HASH;\\n bytes32 versionHash = _VERSION_HASH;\\n\\n // Leverage scratch space and other memory to perform an efficient hash.\\n assembly {\\n // Retrieve the free memory pointer; it will be replaced afterwards.\\n let freeMemoryPointer := mload(FreeMemoryPointerSlot)\\n\\n // Retrieve value at 0x80; it will also be replaced afterwards.\\n let slot0x80 := mload(Slot0x80)\\n\\n // Place typehash, name hash, and version hash at start of memory.\\n mstore(0, typehash)\\n mstore(EIP712_domainData_nameHash_offset, nameHash)\\n mstore(EIP712_domainData_versionHash_offset, versionHash)\\n\\n // Place chainId in the next memory location.\\n mstore(EIP712_domainData_chainId_offset, chainid())\\n\\n // Place the address of this contract in the next memory location.\\n mstore(EIP712_domainData_verifyingContract_offset, address())\\n\\n // Hash relevant region of memory to derive the domain separator.\\n domainSeparator := keccak256(0, EIP712_domainData_size)\\n\\n // Restore the free memory pointer.\\n mstore(FreeMemoryPointerSlot, freeMemoryPointer)\\n\\n // Restore the zero slot to zero.\\n mstore(ZeroSlot, 0)\\n\\n // Restore the value at 0x80.\\n mstore(Slot0x80, slot0x80)\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to retrieve the default name of this\\n * contract and return.\\n *\\n * @return The name of this contract.\\n */\\n function _name() internal pure virtual returns (string memory) {\\n // Return the name of the contract.\\n assembly {\\n // First element is the offset for the returned string. Offset the\\n // value in memory by one word so that the free memory pointer will\\n // be overwritten by the next write.\\n mstore(OneWord, OneWord)\\n\\n // Name is right padded, so it touches the length which is left\\n // padded. This enables writing both values at once. The free memory\\n // pointer will be overwritten in the process.\\n mstore(NameLengthPtr, NameWithLength)\\n\\n // Standard ABI encoding pads returned data to the nearest word. Use\\n // the already empty zero slot memory region for this purpose and\\n // return the final name string, offset by the original single word.\\n return(OneWord, ThreeWords)\\n }\\n }\\n\\n /**\\n * @dev Internal pure function to retrieve the default name of this contract\\n * as a string that can be used internally.\\n *\\n * @return The name of this contract.\\n */\\n function _nameString() internal pure virtual returns (string memory) {\\n // Return the name of the contract.\\n return \\\"Consideration\\\";\\n }\\n\\n /**\\n * @dev Internal pure function to derive required EIP-712 typehashes and\\n * other hashes during contract creation.\\n *\\n * @return nameHash The hash of the name of the contract.\\n * @return versionHash The hash of the version string of the\\n * contract.\\n * @return eip712DomainTypehash The primary EIP-712 domain typehash.\\n * @return offerItemTypehash The EIP-712 typehash for OfferItem\\n * types.\\n * @return considerationItemTypehash The EIP-712 typehash for\\n * ConsiderationItem types.\\n * @return orderTypehash The EIP-712 typehash for Order types.\\n */\\n function _deriveTypehashes()\\n internal\\n pure\\n returns (\\n bytes32 nameHash,\\n bytes32 versionHash,\\n bytes32 eip712DomainTypehash,\\n bytes32 offerItemTypehash,\\n bytes32 considerationItemTypehash,\\n bytes32 orderTypehash\\n )\\n {\\n // Derive hash of the name of the contract.\\n nameHash = keccak256(bytes(_nameString()));\\n\\n // Derive hash of the version string of the contract.\\n versionHash = keccak256(bytes(\\\"1.5\\\"));\\n\\n // Construct the OfferItem type string.\\n bytes memory offerItemTypeString = bytes(\\n \\\"OfferItem(\\\"\\n \\\"uint8 itemType,\\\"\\n \\\"address token,\\\"\\n \\\"uint256 identifierOrCriteria,\\\"\\n \\\"uint256 startAmount,\\\"\\n \\\"uint256 endAmount\\\"\\n \\\")\\\"\\n );\\n\\n // Construct the ConsiderationItem type string.\\n bytes memory considerationItemTypeString = bytes(\\n \\\"ConsiderationItem(\\\"\\n \\\"uint8 itemType,\\\"\\n \\\"address token,\\\"\\n \\\"uint256 identifierOrCriteria,\\\"\\n \\\"uint256 startAmount,\\\"\\n \\\"uint256 endAmount,\\\"\\n \\\"address recipient\\\"\\n \\\")\\\"\\n );\\n\\n // Construct the OrderComponents type string, not including the above.\\n bytes memory orderComponentsPartialTypeString = bytes(\\n \\\"OrderComponents(\\\"\\n \\\"address offerer,\\\"\\n \\\"address zone,\\\"\\n \\\"OfferItem[] offer,\\\"\\n \\\"ConsiderationItem[] consideration,\\\"\\n \\\"uint8 orderType,\\\"\\n \\\"uint256 startTime,\\\"\\n \\\"uint256 endTime,\\\"\\n \\\"bytes32 zoneHash,\\\"\\n \\\"uint256 salt,\\\"\\n \\\"bytes32 conduitKey,\\\"\\n \\\"uint256 counter\\\"\\n \\\")\\\"\\n );\\n\\n // Construct the primary EIP-712 domain type string.\\n eip712DomainTypehash = keccak256(\\n bytes(\\n \\\"EIP712Domain(\\\"\\n \\\"string name,\\\"\\n \\\"string version,\\\"\\n \\\"uint256 chainId,\\\"\\n \\\"address verifyingContract\\\"\\n \\\")\\\"\\n )\\n );\\n\\n // Derive the OfferItem type hash using the corresponding type string.\\n offerItemTypehash = keccak256(offerItemTypeString);\\n\\n // Derive ConsiderationItem type hash using corresponding type string.\\n considerationItemTypehash = keccak256(considerationItemTypeString);\\n\\n bytes memory orderTypeString = bytes.concat(\\n orderComponentsPartialTypeString,\\n considerationItemTypeString,\\n offerItemTypeString\\n );\\n\\n // Derive OrderItem type hash via combination of relevant type strings.\\n orderTypehash = keccak256(orderTypeString);\\n }\\n\\n /**\\n * @dev Internal pure function to look up one of twenty-four potential bulk\\n * order typehash constants based on the height of the bulk order tree.\\n * Note that values between one and twenty-four are supported, which is\\n * enforced by _isValidBulkOrderSize.\\n *\\n * @param _treeHeight The height of the bulk order tree. The value must be\\n * between one and twenty-four.\\n *\\n * @return _typeHash The EIP-712 typehash for the bulk order type with the\\n * given height.\\n */\\n function _lookupBulkOrderTypehash(\\n uint256 _treeHeight\\n ) internal pure returns (bytes32 _typeHash) {\\n // Utilize assembly to efficiently retrieve correct bulk order typehash.\\n assembly {\\n // Use a Yul function to enable use of the `leave` keyword\\n // to stop searching once the appropriate type hash is found.\\n function lookupTypeHash(treeHeight) -> typeHash {\\n // Handle tree heights one through eight.\\n if lt(treeHeight, 9) {\\n // Handle tree heights one through four.\\n if lt(treeHeight, 5) {\\n // Handle tree heights one and two.\\n if lt(treeHeight, 3) {\\n // Utilize branchless logic to determine typehash.\\n typeHash := ternary(\\n eq(treeHeight, 1),\\n BulkOrder_Typehash_Height_One,\\n BulkOrder_Typehash_Height_Two\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle height three and four via branchless logic.\\n typeHash := ternary(\\n eq(treeHeight, 3),\\n BulkOrder_Typehash_Height_Three,\\n BulkOrder_Typehash_Height_Four\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle tree height five and six.\\n if lt(treeHeight, 7) {\\n // Utilize branchless logic to determine typehash.\\n typeHash := ternary(\\n eq(treeHeight, 5),\\n BulkOrder_Typehash_Height_Five,\\n BulkOrder_Typehash_Height_Six\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle height seven and eight via branchless logic.\\n typeHash := ternary(\\n eq(treeHeight, 7),\\n BulkOrder_Typehash_Height_Seven,\\n BulkOrder_Typehash_Height_Eight\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle tree height nine through sixteen.\\n if lt(treeHeight, 17) {\\n // Handle tree height nine through twelve.\\n if lt(treeHeight, 13) {\\n // Handle tree height nine and ten.\\n if lt(treeHeight, 11) {\\n // Utilize branchless logic to determine typehash.\\n typeHash := ternary(\\n eq(treeHeight, 9),\\n BulkOrder_Typehash_Height_Nine,\\n BulkOrder_Typehash_Height_Ten\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle height eleven and twelve via branchless logic.\\n typeHash := ternary(\\n eq(treeHeight, 11),\\n BulkOrder_Typehash_Height_Eleven,\\n BulkOrder_Typehash_Height_Twelve\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle tree height thirteen and fourteen.\\n if lt(treeHeight, 15) {\\n // Utilize branchless logic to determine typehash.\\n typeHash := ternary(\\n eq(treeHeight, 13),\\n BulkOrder_Typehash_Height_Thirteen,\\n BulkOrder_Typehash_Height_Fourteen\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n // Handle height fifteen and sixteen via branchless logic.\\n typeHash := ternary(\\n eq(treeHeight, 15),\\n BulkOrder_Typehash_Height_Fifteen,\\n BulkOrder_Typehash_Height_Sixteen\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle tree height seventeen through twenty.\\n if lt(treeHeight, 21) {\\n // Handle tree height seventeen and eighteen.\\n if lt(treeHeight, 19) {\\n // Utilize branchless logic to determine typehash.\\n typeHash := ternary(\\n eq(treeHeight, 17),\\n BulkOrder_Typehash_Height_Seventeen,\\n BulkOrder_Typehash_Height_Eighteen\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle height nineteen and twenty via branchless logic.\\n typeHash := ternary(\\n eq(treeHeight, 19),\\n BulkOrder_Typehash_Height_Nineteen,\\n BulkOrder_Typehash_Height_Twenty\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle tree height twenty-one and twenty-two.\\n if lt(treeHeight, 23) {\\n // Utilize branchless logic to determine typehash.\\n typeHash := ternary(\\n eq(treeHeight, 21),\\n BulkOrder_Typehash_Height_TwentyOne,\\n BulkOrder_Typehash_Height_TwentyTwo\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Handle height twenty-three & twenty-four w/ branchless logic.\\n typeHash := ternary(\\n eq(treeHeight, 23),\\n BulkOrder_Typehash_Height_TwentyThree,\\n BulkOrder_Typehash_Height_TwentyFour\\n )\\n\\n // Exit the function once typehash has been located.\\n leave\\n }\\n\\n // Implement ternary conditional using branchless logic.\\n function ternary(cond, ifTrue, ifFalse) -> c {\\n c := xor(ifFalse, mul(cond, xor(ifFalse, ifTrue)))\\n }\\n\\n // Look up the typehash using the supplied tree height.\\n _typeHash := lookupTypeHash(_treeHeight)\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationEncoder.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n BasicOrder_additionalRecipients_length_cdPtr,\\n BasicOrder_common_params_size,\\n BasicOrder_startTime_cdPtr,\\n BasicOrder_startTimeThroughZoneHash_size,\\n Common_amount_offset,\\n Common_identifier_offset,\\n Common_token_offset,\\n generateOrder_base_tail_offset,\\n generateOrder_context_head_offset,\\n generateOrder_head_offset,\\n generateOrder_maximumSpent_head_offset,\\n generateOrder_minimumReceived_head_offset,\\n generateOrder_selector_offset,\\n generateOrder_selector,\\n OneWord,\\n OneWordShift,\\n OnlyFullWordMask,\\n OrderFulfilled_baseDataSize,\\n OrderFulfilled_offer_length_baseOffset,\\n OrderParameters_consideration_head_offset,\\n OrderParameters_endTime_offset,\\n OrderParameters_offer_head_offset,\\n OrderParameters_startTime_offset,\\n OrderParameters_zoneHash_offset,\\n ratifyOrder_base_tail_offset,\\n ratifyOrder_consideration_head_offset,\\n ratifyOrder_context_head_offset,\\n ratifyOrder_contractNonce_offset,\\n ratifyOrder_head_offset,\\n ratifyOrder_orderHashes_head_offset,\\n ratifyOrder_selector_offset,\\n ratifyOrder_selector,\\n ReceivedItem_size,\\n Selector_length,\\n SixtyThreeBytes,\\n SpentItem_size_shift,\\n SpentItem_size,\\n validateOrder_head_offset,\\n validateOrder_selector_offset,\\n validateOrder_selector,\\n validateOrder_zoneParameters_offset,\\n ZoneParameters_base_tail_offset,\\n ZoneParameters_basicOrderFixedElements_length,\\n ZoneParameters_consideration_head_offset,\\n ZoneParameters_endTime_offset,\\n ZoneParameters_extraData_head_offset,\\n ZoneParameters_fulfiller_offset,\\n ZoneParameters_offer_head_offset,\\n ZoneParameters_offerer_offset,\\n ZoneParameters_orderHashes_head_offset,\\n ZoneParameters_selectorAndPointer_length,\\n ZoneParameters_startTime_offset,\\n ZoneParameters_zoneHash_offset\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n BasicOrderParameters,\\n OrderParameters\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport {\\n CalldataPointer,\\n getFreeMemoryPointer,\\n MemoryPointer\\n} from \\\"../helpers/PointerLibraries.sol\\\";\\n\\ncontract ConsiderationEncoder {\\n /**\\n * @dev Takes a bytes array and casts it to a memory pointer.\\n *\\n * @param obj A bytes array in memory.\\n *\\n * @return ptr A memory pointer to the start of the bytes array in memory.\\n */\\n function toMemoryPointer(\\n bytes memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Takes an array of bytes32 types and casts it to a memory pointer.\\n *\\n * @param obj An array of bytes32 types in memory.\\n *\\n * @return ptr A memory pointer to the start of the array of bytes32 types\\n * in memory.\\n */\\n function toMemoryPointer(\\n bytes32[] memory obj\\n ) internal pure returns (MemoryPointer ptr) {\\n assembly {\\n ptr := obj\\n }\\n }\\n\\n /**\\n * @dev Takes a bytes array in memory and copies it to a new location in\\n * memory.\\n *\\n * @param src A memory pointer referencing the bytes array to be copied (and\\n * pointing to the length of the bytes array).\\n * @param src A memory pointer referencing the location in memory to copy\\n * the bytes array to (and pointing to the length of the copied\\n * bytes array).\\n *\\n * @return size The size of the bytes array.\\n */\\n function _encodeBytes(\\n MemoryPointer src,\\n MemoryPointer dst\\n ) internal view returns (uint256 size) {\\n unchecked {\\n // Mask the length of the bytes array to protect against overflow\\n // and round up to the nearest word.\\n // Note: `size` also includes the 1 word that stores the length.\\n size = (src.readUint256() + SixtyThreeBytes) & OnlyFullWordMask;\\n\\n // Copy the bytes array to the new memory location.\\n src.copy(dst, size);\\n }\\n }\\n\\n /**\\n * @dev Takes an OrderParameters struct and a context bytes array in memory\\n * and encodes it as `generateOrder` calldata.\\n *\\n * @param orderParameters The OrderParameters struct used to construct the\\n * encoded `generateOrder` calldata.\\n * @param context The context bytes array used to construct the\\n * encoded `generateOrder` calldata.\\n *\\n * @return dst A memory pointer referencing the encoded `generateOrder`\\n * calldata.\\n * @return size The size of the bytes array.\\n */\\n function _encodeGenerateOrder(\\n OrderParameters memory orderParameters,\\n bytes memory context\\n ) internal view returns (MemoryPointer dst, uint256 size) {\\n // Get the memory pointer for the OrderParameters struct.\\n MemoryPointer src = orderParameters.toMemoryPointer();\\n\\n // Get free memory pointer to write calldata to.\\n dst = getFreeMemoryPointer();\\n\\n // Write generateOrder selector and get pointer to start of calldata.\\n dst.write(generateOrder_selector);\\n dst = dst.offset(generateOrder_selector_offset);\\n\\n // Get pointer to the beginning of the encoded data.\\n MemoryPointer dstHead = dst.offset(generateOrder_head_offset);\\n\\n // Write `fulfiller` to calldata.\\n dstHead.write(msg.sender);\\n\\n // Initialize tail offset, used to populate the minimumReceived array.\\n uint256 tailOffset = generateOrder_base_tail_offset;\\n\\n // Write offset to minimumReceived.\\n dstHead.offset(generateOrder_minimumReceived_head_offset).write(\\n tailOffset\\n );\\n\\n // Get memory pointer to `orderParameters.offer.length`.\\n MemoryPointer srcOfferPointer = src\\n .offset(OrderParameters_offer_head_offset)\\n .readMemoryPointer();\\n\\n // Encode the offer array as a `SpentItem[]`.\\n uint256 minimumReceivedSize = _encodeSpentItems(\\n srcOfferPointer,\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate maximumSpent array.\\n tailOffset += minimumReceivedSize;\\n }\\n\\n // Write offset to maximumSpent.\\n dstHead.offset(generateOrder_maximumSpent_head_offset).write(\\n tailOffset\\n );\\n\\n // Get memory pointer to `orderParameters.consideration.length`.\\n MemoryPointer srcConsiderationPointer = src\\n .offset(OrderParameters_consideration_head_offset)\\n .readMemoryPointer();\\n\\n // Encode the consideration array as a `SpentItem[]`.\\n uint256 maximumSpentSize = _encodeSpentItems(\\n srcConsiderationPointer,\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate context array.\\n tailOffset += maximumSpentSize;\\n }\\n\\n // Write offset to context.\\n dstHead.offset(generateOrder_context_head_offset).write(tailOffset);\\n\\n // Get memory pointer to context.\\n MemoryPointer srcContext = toMemoryPointer(context);\\n\\n // Encode context as a bytes array.\\n uint256 contextSize = _encodeBytes(\\n srcContext,\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment the tail offset, now used to determine final size.\\n tailOffset += contextSize;\\n\\n // Derive the final size by including the selector.\\n size = Selector_length + tailOffset;\\n }\\n }\\n\\n /**\\n * @dev Takes an order hash (e.g. offerer shifted 96 bits to the left XOR'd\\n * with the contract nonce in the case of contract orders), an\\n * OrderParameters struct, context bytes array, and an array of order\\n * hashes for each order included as part of the current fulfillment\\n * and encodes it as `ratifyOrder` calldata.\\n *\\n * @param orderHash The order hash (e.g. shl(0x60, offerer) ^ nonce).\\n * @param orderParameters The OrderParameters struct used to construct the\\n * encoded `ratifyOrder` calldata.\\n * @param context The context bytes array used to construct the\\n * encoded `ratifyOrder` calldata.\\n * @param orderHashes An array of bytes32 values representing the order\\n * hashes of all orders included as part of the\\n * current fulfillment.\\n * @param shiftedOfferer The offerer for the order, shifted 96 bits to the\\n * left.\\n *\\n * @return dst A memory pointer referencing the encoded `ratifyOrder`\\n * calldata.\\n * @return size The size of the bytes array.\\n */\\n function _encodeRatifyOrder(\\n bytes32 orderHash, // e.g. shl(0x60, offerer) ^ contract nonce\\n OrderParameters memory orderParameters,\\n bytes memory context, // encoded based on the schemaID\\n bytes32[] memory orderHashes,\\n uint256 shiftedOfferer\\n ) internal view returns (MemoryPointer dst, uint256 size) {\\n // Get free memory pointer to write calldata to. This isn't allocated as\\n // it is only used for a single function call.\\n dst = getFreeMemoryPointer();\\n\\n // Write ratifyOrder selector and get pointer to start of calldata.\\n dst.write(ratifyOrder_selector);\\n dst = dst.offset(ratifyOrder_selector_offset);\\n\\n // Get pointer to the beginning of the encoded data.\\n MemoryPointer dstHead = dst.offset(ratifyOrder_head_offset);\\n\\n // Write contractNonce to calldata via xor(orderHash, shiftedOfferer).\\n dstHead.offset(ratifyOrder_contractNonce_offset).write(\\n uint256(orderHash) ^ shiftedOfferer\\n );\\n\\n // Initialize tail offset, used to populate the offer array.\\n uint256 tailOffset = ratifyOrder_base_tail_offset;\\n MemoryPointer src = orderParameters.toMemoryPointer();\\n\\n // Write offset to `offer`.\\n dstHead.write(tailOffset);\\n\\n // Get memory pointer to `orderParameters.offer.length`.\\n MemoryPointer srcOfferPointer = src\\n .offset(OrderParameters_offer_head_offset)\\n .readMemoryPointer();\\n\\n // Encode the offer array as a `SpentItem[]`.\\n uint256 offerSize = _encodeSpentItems(\\n srcOfferPointer,\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate consideration array.\\n tailOffset += offerSize;\\n }\\n\\n // Write offset to consideration.\\n dstHead.offset(ratifyOrder_consideration_head_offset).write(tailOffset);\\n\\n // Get pointer to `orderParameters.consideration.length`.\\n MemoryPointer srcConsiderationPointer = src\\n .offset(OrderParameters_consideration_head_offset)\\n .readMemoryPointer();\\n\\n // Encode the consideration array as a `ReceivedItem[]`.\\n uint256 considerationSize = _encodeConsiderationAsReceivedItems(\\n srcConsiderationPointer,\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate context array.\\n tailOffset += considerationSize;\\n }\\n\\n // Write offset to context.\\n dstHead.offset(ratifyOrder_context_head_offset).write(tailOffset);\\n\\n // Encode context.\\n uint256 contextSize = _encodeBytes(\\n toMemoryPointer(context),\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate orderHashes array.\\n tailOffset += contextSize;\\n }\\n\\n // Write offset to orderHashes.\\n dstHead.offset(ratifyOrder_orderHashes_head_offset).write(tailOffset);\\n\\n // Encode orderHashes.\\n uint256 orderHashesSize = _encodeOrderHashes(\\n toMemoryPointer(orderHashes),\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment the tail offset, now used to determine final size.\\n tailOffset += orderHashesSize;\\n\\n // Derive the final size by including the selector.\\n size = Selector_length + tailOffset;\\n }\\n }\\n\\n /**\\n * @dev Takes an order hash, OrderParameters struct, extraData bytes array,\\n * and array of order hashes for each order included as part of the\\n * current fulfillment and encodes it as `validateOrder` calldata.\\n * Note that future, new versions of this contract may end up writing\\n * to a memory region that might have been potentially dirtied by the\\n * accumulator. Since the book-keeping for the accumulator does not\\n * update the free memory pointer, it will be necessary to ensure that\\n * all bytes in the memory in the range [dst, dst+size) are fully\\n * updated/written to in this function.\\n *\\n * @param orderHash The order hash.\\n * @param orderParameters The OrderParameters struct used to construct the\\n * encoded `validateOrder` calldata.\\n * @param extraData The extraData bytes array used to construct the\\n * encoded `validateOrder` calldata.\\n * @param orderHashes An array of bytes32 values representing the order\\n * hashes of all orders included as part of the\\n * current fulfillment.\\n *\\n * @return dst A memory pointer referencing the encoded `validateOrder`\\n * calldata.\\n * @return size The size of the bytes array.\\n */\\n function _encodeValidateOrder(\\n bytes32 orderHash,\\n OrderParameters memory orderParameters,\\n bytes memory extraData,\\n bytes32[] memory orderHashes\\n ) internal view returns (MemoryPointer dst, uint256 size) {\\n // Get free memory pointer to write calldata to. This isn't allocated as\\n // it is only used for a single function call.\\n dst = getFreeMemoryPointer();\\n\\n // Write validateOrder selector and get pointer to start of calldata.\\n dst.write(validateOrder_selector);\\n dst = dst.offset(validateOrder_selector_offset);\\n\\n // Get pointer to the beginning of the encoded data.\\n MemoryPointer dstHead = dst.offset(validateOrder_head_offset);\\n\\n // Write offset to zoneParameters to start of calldata.\\n dstHead.write(validateOrder_zoneParameters_offset);\\n\\n // Reuse `dstHead` as pointer to zoneParameters.\\n dstHead = dstHead.offset(validateOrder_zoneParameters_offset);\\n\\n // Write orderHash and fulfiller to zoneParameters.\\n dstHead.writeBytes32(orderHash);\\n dstHead.offset(ZoneParameters_fulfiller_offset).write(msg.sender);\\n\\n // Get the memory pointer to the order parameters struct.\\n MemoryPointer src = orderParameters.toMemoryPointer();\\n\\n // Copy offerer, startTime, endTime and zoneHash to zoneParameters.\\n dstHead.offset(ZoneParameters_offerer_offset).write(src.readUint256());\\n dstHead.offset(ZoneParameters_startTime_offset).write(\\n src.offset(OrderParameters_startTime_offset).readUint256()\\n );\\n dstHead.offset(ZoneParameters_endTime_offset).write(\\n src.offset(OrderParameters_endTime_offset).readUint256()\\n );\\n dstHead.offset(ZoneParameters_zoneHash_offset).write(\\n src.offset(OrderParameters_zoneHash_offset).readUint256()\\n );\\n\\n // Initialize tail offset, used to populate the offer array.\\n uint256 tailOffset = ZoneParameters_base_tail_offset;\\n\\n // Write offset to `offer`.\\n dstHead.offset(ZoneParameters_offer_head_offset).write(tailOffset);\\n\\n // Get pointer to `orderParameters.offer.length`.\\n MemoryPointer srcOfferPointer = src\\n .offset(OrderParameters_offer_head_offset)\\n .readMemoryPointer();\\n\\n // Encode the offer array as a `SpentItem[]`.\\n uint256 offerSize = _encodeSpentItems(\\n srcOfferPointer,\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate consideration array.\\n tailOffset += offerSize;\\n }\\n\\n // Write offset to consideration.\\n dstHead.offset(ZoneParameters_consideration_head_offset).write(\\n tailOffset\\n );\\n\\n // Get pointer to `orderParameters.consideration.length`.\\n MemoryPointer srcConsiderationPointer = src\\n .offset(OrderParameters_consideration_head_offset)\\n .readMemoryPointer();\\n\\n // Encode the consideration array as a `ReceivedItem[]`.\\n uint256 considerationSize = _encodeConsiderationAsReceivedItems(\\n srcConsiderationPointer,\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate extraData array.\\n tailOffset += considerationSize;\\n }\\n\\n // Write offset to extraData.\\n dstHead.offset(ZoneParameters_extraData_head_offset).write(tailOffset);\\n // Copy extraData.\\n uint256 extraDataSize = _encodeBytes(\\n toMemoryPointer(extraData),\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment tail offset, now used to populate orderHashes array.\\n tailOffset += extraDataSize;\\n }\\n\\n // Write offset to orderHashes.\\n dstHead.offset(ZoneParameters_orderHashes_head_offset).write(\\n tailOffset\\n );\\n\\n // Encode the order hashes array.\\n uint256 orderHashesSize = _encodeOrderHashes(\\n toMemoryPointer(orderHashes),\\n dstHead.offset(tailOffset)\\n );\\n\\n unchecked {\\n // Increment the tail offset, now used to determine final size.\\n tailOffset += orderHashesSize;\\n\\n // Derive final size including selector and ZoneParameters pointer.\\n size = ZoneParameters_selectorAndPointer_length + tailOffset;\\n }\\n }\\n\\n /**\\n * @dev Takes an order hash and BasicOrderParameters struct (from calldata)\\n * and encodes it as `validateOrder` calldata.\\n *\\n * @param orderHash The order hash.\\n * @param parameters The BasicOrderParameters struct used to construct the\\n * encoded `validateOrder` calldata.\\n *\\n * @return dst A memory pointer referencing the encoded `validateOrder`\\n * calldata.\\n * @return size The size of the bytes array.\\n */\\n function _encodeValidateBasicOrder(\\n bytes32 orderHash,\\n BasicOrderParameters calldata parameters\\n ) internal view returns (MemoryPointer dst, uint256 size) {\\n // Get free memory pointer to write calldata to. This isn't allocated as\\n // it is only used for a single function call.\\n dst = getFreeMemoryPointer();\\n\\n // Write validateOrder selector and get pointer to start of calldata.\\n dst.write(validateOrder_selector);\\n dst = dst.offset(validateOrder_selector_offset);\\n\\n // Get pointer to the beginning of the encoded data.\\n MemoryPointer dstHead = dst.offset(validateOrder_head_offset);\\n\\n // Write offset to zoneParameters to start of calldata.\\n dstHead.write(validateOrder_zoneParameters_offset);\\n\\n // Reuse `dstHead` as pointer to zoneParameters.\\n dstHead = dstHead.offset(validateOrder_zoneParameters_offset);\\n\\n // Write offerer, orderHash and fulfiller to zoneParameters.\\n dstHead.writeBytes32(orderHash);\\n dstHead.offset(ZoneParameters_fulfiller_offset).write(msg.sender);\\n dstHead.offset(ZoneParameters_offerer_offset).write(parameters.offerer);\\n\\n // Copy startTime, endTime and zoneHash to zoneParameters.\\n CalldataPointer.wrap(BasicOrder_startTime_cdPtr).copy(\\n dstHead.offset(ZoneParameters_startTime_offset),\\n BasicOrder_startTimeThroughZoneHash_size\\n );\\n\\n // Initialize tail offset, used for the offer + consideration arrays.\\n uint256 tailOffset = ZoneParameters_base_tail_offset;\\n\\n // Write offset to offer from event data into target calldata.\\n dstHead.offset(ZoneParameters_offer_head_offset).write(tailOffset);\\n\\n unchecked {\\n // Write consideration offset next (located 5 words after offer).\\n dstHead.offset(ZoneParameters_consideration_head_offset).write(\\n tailOffset + BasicOrder_common_params_size\\n );\\n\\n // Retrieve the offset to the length of additional recipients.\\n uint256 additionalRecipientsLength = CalldataPointer\\n .wrap(BasicOrder_additionalRecipients_length_cdPtr)\\n .readUint256();\\n\\n // Derive offset to event data using base offset & total recipients.\\n uint256 offerDataOffset = OrderFulfilled_offer_length_baseOffset +\\n additionalRecipientsLength *\\n OneWord;\\n\\n // Derive size of offer and consideration data.\\n // 2 words (lengths) + 4 (offer data) + 5 (consideration 1) + 5 * ar\\n uint256 offerAndConsiderationSize = OrderFulfilled_baseDataSize +\\n (additionalRecipientsLength * ReceivedItem_size);\\n\\n // Copy offer and consideration data from event data to calldata.\\n MemoryPointer.wrap(offerDataOffset).copy(\\n dstHead.offset(tailOffset),\\n offerAndConsiderationSize\\n );\\n\\n // Increment tail offset, now used to populate extraData array.\\n tailOffset += offerAndConsiderationSize;\\n }\\n\\n // Write empty bytes for extraData.\\n dstHead.offset(ZoneParameters_extraData_head_offset).write(tailOffset);\\n dstHead.offset(tailOffset).write(0);\\n\\n unchecked {\\n // Increment tail offset, now used to populate orderHashes array.\\n tailOffset += OneWord;\\n }\\n\\n // Write offset to orderHashes.\\n dstHead.offset(ZoneParameters_orderHashes_head_offset).write(\\n tailOffset\\n );\\n\\n // Write length = 1 to the orderHashes array.\\n dstHead.offset(tailOffset).write(1);\\n\\n unchecked {\\n // Write the single order hash to the orderHashes array.\\n dstHead.offset(tailOffset + OneWord).writeBytes32(orderHash);\\n\\n // Final size: selector, ZoneParameters pointer, orderHashes & tail.\\n size = ZoneParameters_basicOrderFixedElements_length + tailOffset;\\n }\\n }\\n\\n /**\\n * @dev Takes a memory pointer to an array of bytes32 values representing\\n * the order hashes included as part of the fulfillment and a memory\\n * pointer to a location to copy it to, and copies the source data to\\n * the destination in memory.\\n *\\n * @param srcLength A memory pointer referencing the order hashes array to\\n * be copied (and pointing to the length of the array).\\n * @param dstLength A memory pointer referencing the location in memory to\\n * copy the orderHashes array to (and pointing to the\\n * length of the copied array).\\n *\\n * @return size The size of the order hashes array (including the length).\\n */\\n function _encodeOrderHashes(\\n MemoryPointer srcLength,\\n MemoryPointer dstLength\\n ) internal view returns (uint256 size) {\\n // Read length of the array from source and write to destination.\\n uint256 length = srcLength.readUint256();\\n dstLength.write(length);\\n\\n unchecked {\\n // Determine head & tail size as one word per element in the array.\\n uint256 headAndTailSize = length << OneWordShift;\\n\\n // Copy the tail starting from the next element of the source to the\\n // next element of the destination.\\n srcLength.next().copy(dstLength.next(), headAndTailSize);\\n\\n // Set size to the length of the tail plus one word for length.\\n size = headAndTailSize + OneWord;\\n }\\n }\\n\\n /**\\n * @dev Takes a memory pointer to an offer or consideration array and a\\n * memory pointer to a location to copy it to, and copies the source\\n * data to the destination in memory as a SpentItem array.\\n *\\n * @param srcLength A memory pointer referencing the offer or consideration\\n * array to be copied as a SpentItem array (and pointing to\\n * the length of the original array).\\n * @param dstLength A memory pointer referencing the location in memory to\\n * copy the offer array to (and pointing to the length of\\n * the copied array).\\n *\\n * @return size The size of the SpentItem array (including the length).\\n */\\n function _encodeSpentItems(\\n MemoryPointer srcLength,\\n MemoryPointer dstLength\\n ) internal pure returns (uint256 size) {\\n assembly {\\n // Read length of the array from source and write to destination.\\n let length := mload(srcLength)\\n mstore(dstLength, length)\\n\\n // Get pointer to first item's head position in the array,\\n // containing the item's pointer in memory. The head pointer will be\\n // incremented until it reaches the tail position (start of the\\n // array data).\\n let mPtrHead := add(srcLength, OneWord)\\n\\n // Position in memory to write next item for calldata. Since\\n // SpentItem has a fixed length, the array elements do not contain\\n // head elements in calldata, they are concatenated together after\\n // the array length.\\n let cdPtrData := add(dstLength, OneWord)\\n\\n // Pointer to end of array head in memory.\\n let mPtrHeadEnd := add(mPtrHead, shl(OneWordShift, length))\\n\\n for {\\n\\n } lt(mPtrHead, mPtrHeadEnd) {\\n\\n } {\\n // Read pointer to data for array element from head position.\\n let mPtrTail := mload(mPtrHead)\\n\\n // Copy itemType, token, identifier, amount to calldata.\\n mstore(cdPtrData, mload(mPtrTail))\\n mstore(\\n add(cdPtrData, Common_token_offset),\\n mload(add(mPtrTail, Common_token_offset))\\n )\\n mstore(\\n add(cdPtrData, Common_identifier_offset),\\n mload(add(mPtrTail, Common_identifier_offset))\\n )\\n mstore(\\n add(cdPtrData, Common_amount_offset),\\n mload(add(mPtrTail, Common_amount_offset))\\n )\\n\\n mPtrHead := add(mPtrHead, OneWord)\\n cdPtrData := add(cdPtrData, SpentItem_size)\\n }\\n\\n size := add(OneWord, shl(SpentItem_size_shift, length))\\n }\\n }\\n\\n /**\\n * @dev Takes a memory pointer to an consideration array and a memory\\n * pointer to a location to copy it to, and copies the source data to\\n * the destination in memory as a ReceivedItem array.\\n *\\n * @param srcLength A memory pointer referencing the consideration array to\\n * be copied as a ReceivedItem array (and pointing to the\\n * length of the original array).\\n * @param dstLength A memory pointer referencing the location in memory to\\n * copy the consideration array to as a ReceivedItem array\\n * (and pointing to the length of the new array).\\n *\\n * @return size The size of the ReceivedItem array (including the length).\\n */\\n function _encodeConsiderationAsReceivedItems(\\n MemoryPointer srcLength,\\n MemoryPointer dstLength\\n ) internal view returns (uint256 size) {\\n unchecked {\\n // Read length of the array from source and write to destination.\\n uint256 length = srcLength.readUint256();\\n dstLength.write(length);\\n\\n // Get pointer to first item's head position in the array,\\n // containing the item's pointer in memory. The head pointer will be\\n // incremented until it reaches the tail position (start of the\\n // array data).\\n MemoryPointer srcHead = srcLength.next();\\n MemoryPointer srcHeadEnd = srcHead.offset(length << OneWordShift);\\n\\n // Position in memory to write next item for calldata. Since\\n // ReceivedItem has a fixed length, the array elements do not\\n // contain offsets in calldata, they are concatenated together after\\n // the array length.\\n MemoryPointer dstHead = dstLength.next();\\n while (srcHead.lt(srcHeadEnd)) {\\n MemoryPointer srcTail = srcHead.pptr();\\n srcTail.copy(dstHead, ReceivedItem_size);\\n srcHead = srcHead.next();\\n dstHead = dstHead.offset(ReceivedItem_size);\\n }\\n\\n size = OneWord + (length * ReceivedItem_size);\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/lib/ConsiderationDecoder.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.17;\\n\\nimport {\\n AdvancedOrder,\\n ConsiderationItem,\\n CriteriaResolver,\\n Fulfillment,\\n FulfillmentComponent,\\n OfferItem,\\n Order,\\n OrderParameters,\\n ReceivedItem\\n} from \\\"./ConsiderationStructs.sol\\\";\\n\\nimport {\\n AdvancedOrder_denominator_offset,\\n AdvancedOrder_extraData_offset,\\n AdvancedOrder_fixed_segment_0,\\n AdvancedOrder_head_size,\\n AdvancedOrder_numerator_offset,\\n AdvancedOrder_signature_offset,\\n AdvancedOrderPlusOrderParameters_head_size,\\n Common_amount_offset,\\n Common_endAmount_offset,\\n ConsiderationItem_size_with_length,\\n ConsiderationItem_size,\\n CriteriaResolver_criteriaProof_offset,\\n CriteriaResolver_fixed_segment_0,\\n CriteriaResolver_head_size,\\n FourWords,\\n FreeMemoryPointerSlot,\\n Fulfillment_considerationComponents_offset,\\n Fulfillment_head_size,\\n FulfillmentComponent_mem_tail_size_shift,\\n FulfillmentComponent_mem_tail_size,\\n generateOrder_maximum_returndatasize,\\n OfferItem_size_with_length,\\n OfferItem_size,\\n OneWord,\\n OneWordShift,\\n OnlyFullWordMask,\\n Order_head_size,\\n Order_signature_offset,\\n OrderComponents_OrderParameters_common_head_size,\\n OrderParameters_consideration_head_offset,\\n OrderParameters_head_size,\\n OrderParameters_offer_head_offset,\\n OrderParameters_totalOriginalConsiderationItems_offset,\\n ReceivedItem_recipient_offset,\\n ReceivedItem_size,\\n ReceivedItem_size_excluding_recipient,\\n SpentItem_size_shift,\\n SpentItem_size,\\n ThirtyOneBytes,\\n TwoWords\\n} from \\\"./ConsiderationConstants.sol\\\";\\n\\nimport {\\n CalldataPointer,\\n malloc,\\n MemoryPointer,\\n OffsetOrLengthMask\\n} from \\\"../helpers/PointerLibraries.sol\\\";\\n\\ncontract ConsiderationDecoder {\\n /**\\n * @dev Takes a bytes array from calldata and copies it into memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the bytes array in\\n * calldata which contains the length of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the bytes array in\\n * memory which contains the length of the array.\\n */\\n function _decodeBytes(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n assembly {\\n // Get the current free memory pointer.\\n mPtrLength := mload(FreeMemoryPointerSlot)\\n\\n // Derive the size of the bytes array, rounding up to nearest word\\n // and adding a word for the length field. Note: masking\\n // `calldataload(cdPtrLength)` is redundant here.\\n let size := add(\\n and(\\n add(calldataload(cdPtrLength), ThirtyOneBytes),\\n OnlyFullWordMask\\n ),\\n OneWord\\n )\\n\\n // Copy bytes from calldata into memory based on pointers and size.\\n calldatacopy(mPtrLength, cdPtrLength, size)\\n\\n // Store the masked value in memory. Note: the value of `size` is at\\n // least 32, meaning the calldatacopy above will at least write to\\n // `[mPtrLength, mPtrLength + 32)`.\\n mstore(\\n mPtrLength,\\n and(calldataload(cdPtrLength), OffsetOrLengthMask)\\n )\\n\\n // Update free memory pointer based on the size of the bytes array.\\n mstore(FreeMemoryPointerSlot, add(mPtrLength, size))\\n }\\n }\\n\\n /**\\n * @dev Takes an offer array from calldata and copies it into memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the offer array\\n * in calldata which contains the length of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the offer array in\\n * memory which contains the length of the array.\\n */\\n function _decodeOffer(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n assembly {\\n // Retrieve length of array, masking to prevent potential overflow.\\n let arrLength := and(calldataload(cdPtrLength), OffsetOrLengthMask)\\n\\n // Get the current free memory pointer.\\n mPtrLength := mload(FreeMemoryPointerSlot)\\n\\n // Write the array length to memory.\\n mstore(mPtrLength, arrLength)\\n\\n // Derive the head by adding one word to the length pointer.\\n let mPtrHead := add(mPtrLength, OneWord)\\n\\n // Derive the tail by adding one word per element (note that structs\\n // are written to memory with an offset per struct element).\\n let mPtrTail := add(mPtrHead, shl(OneWordShift, arrLength))\\n\\n // Track the next tail, beginning with the initial tail value.\\n let mPtrTailNext := mPtrTail\\n\\n // Copy all offer array data into memory at the tail pointer.\\n calldatacopy(\\n mPtrTail,\\n add(cdPtrLength, OneWord),\\n mul(arrLength, OfferItem_size)\\n )\\n\\n // Track the next head pointer, starting with initial head value.\\n let mPtrHeadNext := mPtrHead\\n\\n // Iterate over each head pointer until it reaches the tail.\\n for {\\n\\n } lt(mPtrHeadNext, mPtrTail) {\\n\\n } {\\n // Write the next tail pointer to next head pointer in memory.\\n mstore(mPtrHeadNext, mPtrTailNext)\\n\\n // Increment the next head pointer by one word.\\n mPtrHeadNext := add(mPtrHeadNext, OneWord)\\n\\n // Increment the next tail pointer by the size of an offer item.\\n mPtrTailNext := add(mPtrTailNext, OfferItem_size)\\n }\\n\\n // Update free memory pointer to allocate memory up to end of tail.\\n mstore(FreeMemoryPointerSlot, mPtrTailNext)\\n }\\n }\\n\\n /**\\n * @dev Takes a consideration array from calldata and copies it into memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the consideration\\n * array in calldata which contains the length of the\\n * array.\\n *\\n * @return mPtrLength A memory pointer to the start of the consideration\\n * array in memory which contains the length of the\\n * array.\\n */\\n function _decodeConsideration(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n assembly {\\n // Retrieve length of array, masking to prevent potential overflow.\\n let arrLength := and(calldataload(cdPtrLength), OffsetOrLengthMask)\\n\\n // Get the current free memory pointer.\\n mPtrLength := mload(FreeMemoryPointerSlot)\\n\\n // Write the array length to memory.\\n mstore(mPtrLength, arrLength)\\n\\n // Derive the head by adding one word to the length pointer.\\n let mPtrHead := add(mPtrLength, OneWord)\\n\\n // Derive the tail by adding one word per element (note that structs\\n // are written to memory with an offset per struct element).\\n let mPtrTail := add(mPtrHead, shl(OneWordShift, arrLength))\\n\\n // Track the next tail, beginning with the initial tail value.\\n let mPtrTailNext := mPtrTail\\n\\n // Copy all consideration array data into memory at tail pointer.\\n calldatacopy(\\n mPtrTail,\\n add(cdPtrLength, OneWord),\\n mul(arrLength, ConsiderationItem_size)\\n )\\n\\n // Track the next head pointer, starting with initial head value.\\n let mPtrHeadNext := mPtrHead\\n\\n // Iterate over each head pointer until it reaches the tail.\\n for {\\n\\n } lt(mPtrHeadNext, mPtrTail) {\\n\\n } {\\n // Write the next tail pointer to next head pointer in memory.\\n mstore(mPtrHeadNext, mPtrTailNext)\\n\\n // Increment the next head pointer by one word.\\n mPtrHeadNext := add(mPtrHeadNext, OneWord)\\n\\n // Increment next tail pointer by size of a consideration item.\\n mPtrTailNext := add(mPtrTailNext, ConsiderationItem_size)\\n }\\n\\n // Update free memory pointer to allocate memory up to end of tail.\\n mstore(FreeMemoryPointerSlot, mPtrTailNext)\\n }\\n }\\n\\n /**\\n * @dev Takes a calldata pointer and memory pointer and copies a referenced\\n * OrderParameters struct and associated offer and consideration data\\n * to memory.\\n *\\n * @param cdPtr A calldata pointer for the OrderParameters struct.\\n * @param mPtr A memory pointer to the OrderParameters struct head.\\n */\\n function _decodeOrderParametersTo(\\n CalldataPointer cdPtr,\\n MemoryPointer mPtr\\n ) internal pure {\\n // Copy the full OrderParameters head from calldata to memory.\\n cdPtr.copy(mPtr, OrderParameters_head_size);\\n\\n // Resolve the offer calldata offset, use that to decode and copy offer\\n // from calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(OrderParameters_offer_head_offset).write(\\n _decodeOffer(cdPtr.pptr(OrderParameters_offer_head_offset))\\n );\\n\\n // Resolve consideration calldata offset, use that to copy consideration\\n // from calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(OrderParameters_consideration_head_offset).write(\\n _decodeConsideration(\\n cdPtr.pptr(OrderParameters_consideration_head_offset)\\n )\\n );\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to an OrderParameters struct and copies the\\n * decoded struct to memory.\\n *\\n * @param cdPtr A calldata pointer for the OrderParameters struct.\\n *\\n * @return mPtr A memory pointer to the OrderParameters struct head.\\n */\\n function _decodeOrderParameters(\\n CalldataPointer cdPtr\\n ) internal pure returns (MemoryPointer mPtr) {\\n // Allocate required memory for the OrderParameters head (offer and\\n // consideration are allocated independently).\\n mPtr = malloc(OrderParameters_head_size);\\n\\n // Decode and copy the order parameters to the newly allocated memory.\\n _decodeOrderParametersTo(cdPtr, mPtr);\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to an Order struct and copies the decoded\\n * struct to memory.\\n *\\n * @param cdPtr A calldata pointer for the Order struct.\\n *\\n * @return mPtr A memory pointer to the Order struct head.\\n */\\n function _decodeOrder(\\n CalldataPointer cdPtr\\n ) internal pure returns (MemoryPointer mPtr) {\\n // Allocate required memory for the Order head (OrderParameters and\\n // signature are allocated independently).\\n mPtr = malloc(Order_head_size);\\n\\n // Resolve OrderParameters calldata offset, use it to decode and copy\\n // from calldata, and write resultant memory offset to head in memory.\\n mPtr.write(_decodeOrderParameters(cdPtr.pptr()));\\n\\n // Resolve signature calldata offset, use that to decode and copy from\\n // calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(Order_signature_offset).write(\\n _decodeBytes(cdPtr.pptr(Order_signature_offset))\\n );\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to an AdvancedOrder struct and copies the\\n * decoded struct to memory.\\n *\\n * @param cdPtr A calldata pointer for the AdvancedOrder struct.\\n *\\n * @return mPtr A memory pointer to the AdvancedOrder struct head.\\n */\\n function _decodeAdvancedOrder(\\n CalldataPointer cdPtr\\n ) internal pure returns (MemoryPointer mPtr) {\\n // Allocate memory for AdvancedOrder head and OrderParameters head.\\n mPtr = malloc(AdvancedOrderPlusOrderParameters_head_size);\\n\\n // Use numerator + denominator calldata offset to decode and copy\\n // from calldata and write resultant memory offset to head in memory.\\n cdPtr.offset(AdvancedOrder_numerator_offset).copy(\\n mPtr.offset(AdvancedOrder_numerator_offset),\\n AdvancedOrder_fixed_segment_0\\n );\\n\\n // Get pointer to memory immediately after advanced order.\\n MemoryPointer mPtrParameters = mPtr.offset(AdvancedOrder_head_size);\\n\\n // Write pptr for advanced order parameters to memory.\\n mPtr.write(mPtrParameters);\\n\\n // Resolve OrderParameters calldata pointer & write to allocated region.\\n _decodeOrderParametersTo(cdPtr.pptr(), mPtrParameters);\\n\\n // Resolve signature calldata offset, use that to decode and copy from\\n // calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(AdvancedOrder_signature_offset).write(\\n _decodeBytes(cdPtr.pptr(AdvancedOrder_signature_offset))\\n );\\n\\n // Resolve extraData calldata offset, use that to decode and copy from\\n // calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(AdvancedOrder_extraData_offset).write(\\n _decodeBytes(cdPtr.pptr(AdvancedOrder_extraData_offset))\\n );\\n }\\n\\n /**\\n * @dev Allocates a single word of empty bytes in memory and returns the\\n * pointer to that memory region.\\n *\\n * @return mPtr The memory pointer to the new empty word in memory.\\n */\\n function _getEmptyBytesOrArray()\\n internal\\n pure\\n returns (MemoryPointer mPtr)\\n {\\n mPtr = malloc(OneWord);\\n mPtr.write(0);\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to an Order struct and copies the decoded\\n * struct to memory as an AdvancedOrder.\\n *\\n * @param cdPtr A calldata pointer for the Order struct.\\n *\\n * @return mPtr A memory pointer to the AdvancedOrder struct head.\\n */\\n function _decodeOrderAsAdvancedOrder(\\n CalldataPointer cdPtr\\n ) internal pure returns (MemoryPointer mPtr) {\\n // Allocate memory for AdvancedOrder head and OrderParameters head.\\n mPtr = malloc(AdvancedOrderPlusOrderParameters_head_size);\\n\\n // Get pointer to memory immediately after advanced order.\\n MemoryPointer mPtrParameters = mPtr.offset(AdvancedOrder_head_size);\\n\\n // Write pptr for advanced order parameters.\\n mPtr.write(mPtrParameters);\\n\\n // Resolve OrderParameters calldata pointer & write to allocated region.\\n _decodeOrderParametersTo(cdPtr.pptr(), mPtrParameters);\\n\\n // Write default Order numerator and denominator values (i.e. 1/1).\\n mPtr.offset(AdvancedOrder_numerator_offset).write(1);\\n mPtr.offset(AdvancedOrder_denominator_offset).write(1);\\n\\n // Resolve signature calldata offset, use that to decode and copy from\\n // calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(AdvancedOrder_signature_offset).write(\\n _decodeBytes(cdPtr.pptr(Order_signature_offset))\\n );\\n\\n // Resolve extraData calldata offset, use that to decode and copy from\\n // calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(AdvancedOrder_extraData_offset).write(\\n _getEmptyBytesOrArray()\\n );\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to an array of Order structs and copies the\\n * decoded array to memory as an array of AdvancedOrder structs.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the orders array in\\n * calldata which contains the length of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the array of advanced\\n * orders in memory which contains length of the array.\\n */\\n function _decodeOrdersAsAdvancedOrders(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n // Retrieve length of array, masking to prevent potential overflow.\\n uint256 arrLength = cdPtrLength.readMaskedUint256();\\n\\n unchecked {\\n // Derive offset to the tail based on one word per array element.\\n uint256 tailOffset = arrLength << OneWordShift;\\n\\n // Add one additional word for the length and allocate memory.\\n mPtrLength = malloc(tailOffset + OneWord);\\n\\n // Write the length of the array to memory.\\n mPtrLength.write(arrLength);\\n\\n // Advance to first memory & calldata pointers (e.g. after length).\\n MemoryPointer mPtrHead = mPtrLength.next();\\n CalldataPointer cdPtrHead = cdPtrLength.next();\\n\\n // Iterate over each pointer, word by word, until tail is reached.\\n for (uint256 offset = 0; offset < tailOffset; offset += OneWord) {\\n // Resolve Order calldata offset, use it to decode and copy from\\n // calldata, and write resultant AdvancedOrder offset to memory.\\n mPtrHead.offset(offset).write(\\n _decodeOrderAsAdvancedOrder(cdPtrHead.pptr(offset))\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to a criteria proof, or an array bytes32\\n * types, and copies the decoded proof to memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the criteria proof\\n * in calldata which contains the length of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the criteria proof\\n * in memory which contains length of the array.\\n */\\n function _decodeCriteriaProof(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n // Retrieve length of array, masking to prevent potential overflow.\\n uint256 arrLength = cdPtrLength.readMaskedUint256();\\n\\n unchecked {\\n // Derive array size based on one word per array element and length.\\n uint256 arrSize = (arrLength + 1) << OneWordShift;\\n\\n // Allocate memory equal to the array size.\\n mPtrLength = malloc(arrSize);\\n\\n // Copy the array from calldata into memory.\\n cdPtrLength.copy(mPtrLength, arrSize);\\n }\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to a CriteriaResolver struct and copies the\\n * decoded struct to memory.\\n *\\n * @param cdPtr A calldata pointer for the CriteriaResolver struct.\\n *\\n * @return mPtr A memory pointer to the CriteriaResolver struct head.\\n */\\n function _decodeCriteriaResolver(\\n CalldataPointer cdPtr\\n ) internal pure returns (MemoryPointer mPtr) {\\n // Allocate required memory for the CriteriaResolver head (the criteria\\n // proof bytes32 array is allocated independently).\\n mPtr = malloc(CriteriaResolver_head_size);\\n\\n // Decode and copy order index, side, index, and identifier from\\n // calldata and write resultant memory offset to head in memory.\\n cdPtr.copy(mPtr, CriteriaResolver_fixed_segment_0);\\n\\n // Resolve criteria proof calldata offset, use it to decode and copy\\n // from calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(CriteriaResolver_criteriaProof_offset).write(\\n _decodeCriteriaProof(\\n cdPtr.pptr(CriteriaResolver_criteriaProof_offset)\\n )\\n );\\n }\\n\\n /**\\n * @dev Takes an array of criteria resolvers from calldata and copies it\\n * into memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the criteria\\n * resolver array in calldata which contains the length\\n * of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the criteria resolver\\n * array in memory which contains the length of the\\n * array.\\n */\\n function _decodeCriteriaResolvers(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n // Retrieve length of array, masking to prevent potential overflow.\\n uint256 arrLength = cdPtrLength.readMaskedUint256();\\n\\n unchecked {\\n // Derive offset to the tail based on one word per array element.\\n uint256 tailOffset = arrLength << OneWordShift;\\n\\n // Add one additional word for the length and allocate memory.\\n mPtrLength = malloc(tailOffset + OneWord);\\n\\n // Write the length of the array to memory.\\n mPtrLength.write(arrLength);\\n\\n // Advance to first memory & calldata pointers (e.g. after length).\\n MemoryPointer mPtrHead = mPtrLength.next();\\n CalldataPointer cdPtrHead = cdPtrLength.next();\\n\\n // Iterate over each pointer, word by word, until tail is reached.\\n for (uint256 offset = 0; offset < tailOffset; offset += OneWord) {\\n // Resolve CriteriaResolver calldata offset, use it to decode\\n // and copy from calldata, and write resultant memory offset.\\n mPtrHead.offset(offset).write(\\n _decodeCriteriaResolver(cdPtrHead.pptr(offset))\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Takes an array of orders from calldata and copies it into memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the orders array in\\n * calldata which contains the length of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the orders array\\n * in memory which contains the length of the array.\\n */\\n function _decodeOrders(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n // Retrieve length of array, masking to prevent potential overflow.\\n uint256 arrLength = cdPtrLength.readMaskedUint256();\\n\\n unchecked {\\n // Derive offset to the tail based on one word per array element.\\n uint256 tailOffset = arrLength << OneWordShift;\\n\\n // Add one additional word for the length and allocate memory.\\n mPtrLength = malloc(tailOffset + OneWord);\\n\\n // Write the length of the array to memory.\\n mPtrLength.write(arrLength);\\n\\n // Advance to first memory & calldata pointers (e.g. after length).\\n MemoryPointer mPtrHead = mPtrLength.next();\\n CalldataPointer cdPtrHead = cdPtrLength.next();\\n\\n // Iterate over each pointer, word by word, until tail is reached.\\n for (uint256 offset = 0; offset < tailOffset; offset += OneWord) {\\n // Resolve Order calldata offset, use it to decode and copy\\n // from calldata, and write resultant memory offset.\\n mPtrHead.offset(offset).write(\\n _decodeOrder(cdPtrHead.pptr(offset))\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Takes an array of fulfillment components from calldata and copies it\\n * into memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the fulfillment\\n * components array in calldata which contains the length\\n * of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the fulfillment\\n * components array in memory which contains the length\\n * of the array.\\n */\\n function _decodeFulfillmentComponents(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n assembly {\\n let arrLength := and(calldataload(cdPtrLength), OffsetOrLengthMask)\\n\\n // Get the current free memory pointer.\\n mPtrLength := mload(FreeMemoryPointerSlot)\\n\\n mstore(mPtrLength, arrLength)\\n let mPtrHead := add(mPtrLength, OneWord)\\n let mPtrTail := add(mPtrHead, shl(OneWordShift, arrLength))\\n let mPtrTailNext := mPtrTail\\n calldatacopy(\\n mPtrTail,\\n add(cdPtrLength, OneWord),\\n shl(FulfillmentComponent_mem_tail_size_shift, arrLength)\\n )\\n let mPtrHeadNext := mPtrHead\\n for {\\n\\n } lt(mPtrHeadNext, mPtrTail) {\\n\\n } {\\n mstore(mPtrHeadNext, mPtrTailNext)\\n mPtrHeadNext := add(mPtrHeadNext, OneWord)\\n mPtrTailNext := add(\\n mPtrTailNext,\\n FulfillmentComponent_mem_tail_size\\n )\\n }\\n\\n // Update the free memory pointer.\\n mstore(FreeMemoryPointerSlot, mPtrTailNext)\\n }\\n }\\n\\n /**\\n * @dev Takes a nested array of fulfillment components from calldata and\\n * copies it into memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the nested\\n * fulfillment components array in calldata which\\n * contains the length of the array.\\n *\\n * @return mPtrLength A memory pointer to the start of the nested\\n * fulfillment components array in memory which\\n * contains the length of the array.\\n */\\n function _decodeNestedFulfillmentComponents(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n // Retrieve length of array, masking to prevent potential overflow.\\n uint256 arrLength = cdPtrLength.readMaskedUint256();\\n\\n unchecked {\\n // Derive offset to the tail based on one word per array element.\\n uint256 tailOffset = arrLength << OneWordShift;\\n\\n // Add one additional word for the length and allocate memory.\\n mPtrLength = malloc(tailOffset + OneWord);\\n\\n // Write the length of the array to memory.\\n mPtrLength.write(arrLength);\\n\\n // Advance to first memory & calldata pointers (e.g. after length).\\n MemoryPointer mPtrHead = mPtrLength.next();\\n CalldataPointer cdPtrHead = cdPtrLength.next();\\n\\n // Iterate over each pointer, word by word, until tail is reached.\\n for (uint256 offset = 0; offset < tailOffset; offset += OneWord) {\\n // Resolve FulfillmentComponents array calldata offset, use it\\n // to decode and copy from calldata, and write memory offset.\\n mPtrHead.offset(offset).write(\\n _decodeFulfillmentComponents(cdPtrHead.pptr(offset))\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Takes an array of advanced orders from calldata and copies it into\\n * memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the advanced orders\\n * array in calldata which contains the length of the\\n * array.\\n *\\n * @return mPtrLength A memory pointer to the start of the advanced orders\\n * array in memory which contains the length of the\\n * array.\\n */\\n function _decodeAdvancedOrders(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n // Retrieve length of array, masking to prevent potential overflow.\\n uint256 arrLength = cdPtrLength.readMaskedUint256();\\n\\n unchecked {\\n // Derive offset to the tail based on one word per array element.\\n uint256 tailOffset = arrLength << OneWordShift;\\n\\n // Add one additional word for the length and allocate memory.\\n mPtrLength = malloc(tailOffset + OneWord);\\n\\n // Write the length of the array to memory.\\n mPtrLength.write(arrLength);\\n\\n // Advance to first memory & calldata pointers (e.g. after length).\\n MemoryPointer mPtrHead = mPtrLength.next();\\n CalldataPointer cdPtrHead = cdPtrLength.next();\\n\\n // Iterate over each pointer, word by word, until tail is reached.\\n for (uint256 offset = 0; offset < tailOffset; offset += OneWord) {\\n // Resolve AdvancedOrder calldata offset, use it to decode and\\n // copy from calldata, and write resultant memory offset.\\n mPtrHead.offset(offset).write(\\n _decodeAdvancedOrder(cdPtrHead.pptr(offset))\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to a Fulfillment struct and copies the\\n * decoded struct to memory.\\n *\\n * @param cdPtr A calldata pointer for the Fulfillment struct.\\n *\\n * @return mPtr A memory pointer to the Fulfillment struct head.\\n */\\n function _decodeFulfillment(\\n CalldataPointer cdPtr\\n ) internal pure returns (MemoryPointer mPtr) {\\n // Allocate required memory for the Fulfillment head (the fulfillment\\n // components arrays are allocated independently).\\n mPtr = malloc(Fulfillment_head_size);\\n\\n // Resolve offerComponents calldata offset, use it to decode and copy\\n // from calldata, and write resultant memory offset to head in memory.\\n mPtr.write(_decodeFulfillmentComponents(cdPtr.pptr()));\\n\\n // Resolve considerationComponents calldata offset, use it to decode and\\n // copy from calldata, and write resultant memory offset to memory head.\\n mPtr.offset(Fulfillment_considerationComponents_offset).write(\\n _decodeFulfillmentComponents(\\n cdPtr.pptr(Fulfillment_considerationComponents_offset)\\n )\\n );\\n }\\n\\n /**\\n * @dev Takes an array of fulfillments from calldata and copies it into\\n * memory.\\n *\\n * @param cdPtrLength A calldata pointer to the start of the fulfillments\\n * array in calldata which contains the length of the\\n * array.\\n *\\n * @return mPtrLength A memory pointer to the start of the fulfillments\\n * array in memory which contains the length of the\\n * array.\\n */\\n function _decodeFulfillments(\\n CalldataPointer cdPtrLength\\n ) internal pure returns (MemoryPointer mPtrLength) {\\n // Retrieve length of array, masking to prevent potential overflow.\\n uint256 arrLength = cdPtrLength.readMaskedUint256();\\n\\n unchecked {\\n // Derive offset to the tail based on one word per array element.\\n uint256 tailOffset = arrLength << OneWordShift;\\n\\n // Add one additional word for the length and allocate memory.\\n mPtrLength = malloc(tailOffset + OneWord);\\n\\n // Write the length of the array to memory.\\n mPtrLength.write(arrLength);\\n\\n // Advance to first memory & calldata pointers (e.g. after length).\\n MemoryPointer mPtrHead = mPtrLength.next();\\n CalldataPointer cdPtrHead = cdPtrLength.next();\\n\\n // Iterate over each pointer, word by word, until tail is reached.\\n for (uint256 offset = 0; offset < tailOffset; offset += OneWord) {\\n // Resolve Fulfillment calldata offset, use it to decode and\\n // copy from calldata, and write resultant memory offset.\\n mPtrHead.offset(offset).write(\\n _decodeFulfillment(cdPtrHead.pptr(offset))\\n );\\n }\\n }\\n }\\n\\n /**\\n * @dev Takes a calldata pointer to an OrderComponents struct and copies the\\n * decoded struct to memory as an OrderParameters struct (with the\\n * totalOriginalConsiderationItems value set equal to the length of the\\n * supplied consideration array).\\n *\\n * @param cdPtr A calldata pointer for the OrderComponents struct.\\n *\\n * @return mPtr A memory pointer to the OrderParameters struct head.\\n */\\n function _decodeOrderComponentsAsOrderParameters(\\n CalldataPointer cdPtr\\n ) internal pure returns (MemoryPointer mPtr) {\\n // Allocate memory for the OrderParameters head.\\n mPtr = malloc(OrderParameters_head_size);\\n\\n // Copy the full OrderComponents head from calldata to memory.\\n cdPtr.copy(mPtr, OrderComponents_OrderParameters_common_head_size);\\n\\n // Resolve the offer calldata offset, use that to decode and copy offer\\n // from calldata, and write resultant memory offset to head in memory.\\n mPtr.offset(OrderParameters_offer_head_offset).write(\\n _decodeOffer(cdPtr.pptr(OrderParameters_offer_head_offset))\\n );\\n\\n // Resolve consideration calldata offset, use that to copy consideration\\n // from calldata, and write resultant memory offset to head in memory.\\n MemoryPointer consideration = _decodeConsideration(\\n cdPtr.pptr(OrderParameters_consideration_head_offset)\\n );\\n mPtr.offset(OrderParameters_consideration_head_offset).write(\\n consideration\\n );\\n\\n // Write masked consideration length to totalOriginalConsiderationItems.\\n mPtr\\n .offset(OrderParameters_totalOriginalConsiderationItems_offset)\\n .write(consideration.readUint256());\\n }\\n\\n /**\\n * @dev Decodes the returndata from a call to generateOrder, or returns\\n * empty arrays and a boolean signifying that the returndata does not\\n * adhere to a valid encoding scheme if it cannot be decoded.\\n *\\n * @return invalidEncoding A boolean signifying whether the returndata has\\n * an invalid encoding.\\n * @return offer The decoded offer array.\\n * @return consideration The decoded consideration array.\\n */\\n function _decodeGenerateOrderReturndata()\\n internal\\n pure\\n returns (\\n uint256 invalidEncoding,\\n MemoryPointer offer,\\n MemoryPointer consideration\\n )\\n {\\n assembly {\\n // Check that returndatasize is at least four words: offerOffset,\\n // considerationOffset, offerLength, & considerationLength\\n invalidEncoding := lt(returndatasize(), FourWords)\\n\\n let offsetOffer\\n let offsetConsideration\\n let offerLength\\n let considerationLength\\n\\n // Proceed if enough returndata is present to continue evaluation.\\n if iszero(invalidEncoding) {\\n // Copy first two words of returndata (the offsets to offer and\\n // consideration array lengths) to scratch space.\\n returndatacopy(0, 0, TwoWords)\\n offsetOffer := mload(0)\\n offsetConsideration := mload(OneWord)\\n\\n // If valid length, check that offsets are within returndata.\\n let invalidOfferOffset := gt(offsetOffer, returndatasize())\\n let invalidConsiderationOffset := gt(\\n offsetConsideration,\\n returndatasize()\\n )\\n\\n // Only proceed if length (and thus encoding) is valid so far.\\n invalidEncoding := or(\\n invalidOfferOffset,\\n invalidConsiderationOffset\\n )\\n if iszero(invalidEncoding) {\\n // Copy length of offer array to scratch space.\\n returndatacopy(0, offsetOffer, OneWord)\\n offerLength := mload(0)\\n\\n // Copy length of consideration array to scratch space.\\n returndatacopy(OneWord, offsetConsideration, OneWord)\\n considerationLength := mload(OneWord)\\n\\n {\\n // Calculate total size of offer & consideration arrays.\\n let totalOfferSize := shl(\\n SpentItem_size_shift,\\n offerLength\\n )\\n let totalConsiderationSize := mul(\\n ReceivedItem_size,\\n considerationLength\\n )\\n\\n // Add 4 words to total size to cover the offset and\\n // length fields of the two arrays.\\n let totalSize := add(\\n FourWords,\\n add(totalOfferSize, totalConsiderationSize)\\n )\\n // Don't continue if returndatasize exceeds 65535 bytes\\n // or is greater than the calculated size.\\n invalidEncoding := or(\\n gt(\\n or(offerLength, considerationLength),\\n generateOrder_maximum_returndatasize\\n ),\\n gt(totalSize, returndatasize())\\n )\\n\\n // Set first word of scratch space to 0 so length of\\n // offer/consideration are set to 0 on invalid encoding.\\n mstore(0, 0)\\n }\\n }\\n }\\n\\n if iszero(invalidEncoding) {\\n offer := copySpentItemsAsOfferItems(\\n add(offsetOffer, OneWord),\\n offerLength\\n )\\n\\n consideration := copyReceivedItemsAsConsiderationItems(\\n add(offsetConsideration, OneWord),\\n considerationLength\\n )\\n }\\n\\n function copySpentItemsAsOfferItems(rdPtrHead, length)\\n -> mPtrLength\\n {\\n // Retrieve the current free memory pointer.\\n mPtrLength := mload(FreeMemoryPointerSlot)\\n\\n // Allocate memory for the array.\\n mstore(\\n FreeMemoryPointerSlot,\\n add(\\n mPtrLength,\\n add(OneWord, mul(length, OfferItem_size_with_length))\\n )\\n )\\n\\n // Write the length of the array to the start of free memory.\\n mstore(mPtrLength, length)\\n\\n // Use offset from length to minimize stack depth.\\n let headOffsetFromLength := OneWord\\n let headSizeWithLength := shl(OneWordShift, add(1, length))\\n let mPtrTailNext := add(mPtrLength, headSizeWithLength)\\n\\n // Iterate over each element.\\n for {\\n\\n } lt(headOffsetFromLength, headSizeWithLength) {\\n\\n } {\\n // Write the memory pointer to the accompanying head offset.\\n mstore(add(mPtrLength, headOffsetFromLength), mPtrTailNext)\\n\\n // Copy itemType, token, identifier and amount.\\n returndatacopy(mPtrTailNext, rdPtrHead, SpentItem_size)\\n\\n // Copy amount to endAmount.\\n mstore(\\n add(mPtrTailNext, Common_endAmount_offset),\\n mload(add(mPtrTailNext, Common_amount_offset))\\n )\\n\\n // Update read pointer, next tail pointer, and head offset.\\n rdPtrHead := add(rdPtrHead, SpentItem_size)\\n mPtrTailNext := add(mPtrTailNext, OfferItem_size)\\n headOffsetFromLength := add(headOffsetFromLength, OneWord)\\n }\\n }\\n\\n function copyReceivedItemsAsConsiderationItems(rdPtrHead, length)\\n -> mPtrLength\\n {\\n // Retrieve the current free memory pointer.\\n mPtrLength := mload(FreeMemoryPointerSlot)\\n\\n // Allocate memory for the array.\\n mstore(\\n FreeMemoryPointerSlot,\\n add(\\n mPtrLength,\\n add(\\n OneWord,\\n mul(length, ConsiderationItem_size_with_length)\\n )\\n )\\n )\\n\\n // Write the length of the array to the start of free memory.\\n mstore(mPtrLength, length)\\n\\n // Use offset from length to minimize stack depth.\\n let headOffsetFromLength := OneWord\\n let headSizeWithLength := shl(OneWordShift, add(1, length))\\n let mPtrTailNext := add(mPtrLength, headSizeWithLength)\\n\\n // Iterate over each element.\\n for {\\n\\n } lt(headOffsetFromLength, headSizeWithLength) {\\n\\n } {\\n // Write the memory pointer to the accompanying head offset.\\n mstore(add(mPtrLength, headOffsetFromLength), mPtrTailNext)\\n\\n // Copy itemType, token, identifier and amount.\\n returndatacopy(\\n mPtrTailNext,\\n rdPtrHead,\\n ReceivedItem_size_excluding_recipient\\n )\\n\\n // Copy amount and recipient.\\n returndatacopy(\\n add(mPtrTailNext, Common_endAmount_offset),\\n add(rdPtrHead, Common_amount_offset),\\n TwoWords\\n )\\n\\n // Update read pointer, next tail pointer, and head offset.\\n rdPtrHead := add(rdPtrHead, ReceivedItem_size)\\n mPtrTailNext := add(mPtrTailNext, ConsiderationItem_size)\\n headOffsetFromLength := add(headOffsetFromLength, OneWord)\\n }\\n }\\n }\\n }\\n\\n /**\\n * @dev Converts a function returning _decodeGenerateOrderReturndata types\\n * into a function returning offer and consideration types.\\n *\\n * @param inFn The input function, taking no arguments and returning an\\n * error buffer, spent item array, and received item array.\\n *\\n * @return outFn The output function, taking no arguments and returning an\\n * error buffer, offer array, and consideration array.\\n */\\n function _convertGetGeneratedOrderResult(\\n function()\\n internal\\n pure\\n returns (uint256, MemoryPointer, MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function()\\n internal\\n pure\\n returns (\\n uint256,\\n OfferItem[] memory,\\n ConsiderationItem[] memory\\n ) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking ReceivedItem, address, bytes32, and bytes\\n * types (e.g. the _transfer function) into a function taking\\n * OfferItem, address, bytes32, and bytes types.\\n *\\n * @param inFn The input function, taking ReceivedItem, address, bytes32,\\n * and bytes types (e.g. the _transfer function).\\n *\\n * @return outFn The output function, taking OfferItem, address, bytes32,\\n * and bytes types.\\n */\\n function _toOfferItemInput(\\n function(ReceivedItem memory, address, bytes32, bytes memory)\\n internal inFn\\n )\\n internal\\n pure\\n returns (\\n function(OfferItem memory, address, bytes32, bytes memory)\\n internal outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking ReceivedItem, address, bytes32, and bytes\\n * types (e.g. the _transfer function) into a function taking\\n * ConsiderationItem, address, bytes32, and bytes types.\\n *\\n * @param inFn The input function, taking ReceivedItem, address, bytes32,\\n * and bytes types (e.g. the _transfer function).\\n *\\n * @return outFn The output function, taking ConsiderationItem, address,\\n * bytes32, and bytes types.\\n */\\n function _toConsiderationItemInput(\\n function(ReceivedItem memory, address, bytes32, bytes memory)\\n internal inFn\\n )\\n internal\\n pure\\n returns (\\n function(ConsiderationItem memory, address, bytes32, bytes memory)\\n internal outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking a calldata pointer and returning a memory\\n * pointer into a function taking that calldata pointer and returning\\n * an OrderParameters type.\\n *\\n * @param inFn The input function, taking an arbitrary calldata pointer and\\n * returning an arbitrary memory pointer.\\n *\\n * @return outFn The output function, taking an arbitrary calldata pointer\\n * and returning an OrderParameters type.\\n */\\n function _toOrderParametersReturnType(\\n function(CalldataPointer) internal pure returns (MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function(CalldataPointer)\\n internal\\n pure\\n returns (OrderParameters memory) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking a calldata pointer and returning a memory\\n * pointer into a function taking that calldata pointer and returning\\n * an AdvancedOrder type.\\n *\\n * @param inFn The input function, taking an arbitrary calldata pointer and\\n * returning an arbitrary memory pointer.\\n *\\n * @return outFn The output function, taking an arbitrary calldata pointer\\n * and returning an AdvancedOrder type.\\n */\\n function _toAdvancedOrderReturnType(\\n function(CalldataPointer) internal pure returns (MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function(CalldataPointer)\\n internal\\n pure\\n returns (AdvancedOrder memory) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking a calldata pointer and returning a memory\\n * pointer into a function taking that calldata pointer and returning\\n * a dynamic array of CriteriaResolver types.\\n *\\n * @param inFn The input function, taking an arbitrary calldata pointer and\\n * returning an arbitrary memory pointer.\\n *\\n * @return outFn The output function, taking an arbitrary calldata pointer\\n * and returning a dynamic array of CriteriaResolver types.\\n */\\n function _toCriteriaResolversReturnType(\\n function(CalldataPointer) internal pure returns (MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function(CalldataPointer)\\n internal\\n pure\\n returns (CriteriaResolver[] memory) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking a calldata pointer and returning a memory\\n * pointer into a function taking that calldata pointer and returning\\n * a dynamic array of Order types.\\n *\\n * @param inFn The input function, taking an arbitrary calldata pointer and\\n * returning an arbitrary memory pointer.\\n *\\n * @return outFn The output function, taking an arbitrary calldata pointer\\n * and returning a dynamic array of Order types.\\n */\\n function _toOrdersReturnType(\\n function(CalldataPointer) internal pure returns (MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function(CalldataPointer)\\n internal\\n pure\\n returns (Order[] memory) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking a calldata pointer and returning a memory\\n * pointer into a function taking that calldata pointer and returning\\n * a nested dynamic array of dynamic arrays of FulfillmentComponent\\n * types.\\n *\\n * @param inFn The input function, taking an arbitrary calldata pointer and\\n * returning an arbitrary memory pointer.\\n *\\n * @return outFn The output function, taking an arbitrary calldata pointer\\n * and returning a nested dynamic array of dynamic arrays of\\n * FulfillmentComponent types.\\n */\\n function _toNestedFulfillmentComponentsReturnType(\\n function(CalldataPointer) internal pure returns (MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function(CalldataPointer)\\n internal\\n pure\\n returns (FulfillmentComponent[][] memory) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking a calldata pointer and returning a memory\\n * pointer into a function taking that calldata pointer and returning\\n * a dynamic array of AdvancedOrder types.\\n *\\n * @param inFn The input function, taking an arbitrary calldata pointer and\\n * returning an arbitrary memory pointer.\\n *\\n * @return outFn The output function, taking an arbitrary calldata pointer\\n * and returning a dynamic array of AdvancedOrder types.\\n */\\n function _toAdvancedOrdersReturnType(\\n function(CalldataPointer) internal pure returns (MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function(CalldataPointer)\\n internal\\n pure\\n returns (AdvancedOrder[] memory) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Converts a function taking a calldata pointer and returning a memory\\n * pointer into a function taking that calldata pointer and returning\\n * a dynamic array of Fulfillment types.\\n *\\n * @param inFn The input function, taking an arbitrary calldata pointer and\\n * returning an arbitrary memory pointer.\\n *\\n * @return outFn The output function, taking an arbitrary calldata pointer\\n * and returning a dynamic array of Fulfillment types.\\n */\\n function _toFulfillmentsReturnType(\\n function(CalldataPointer) internal pure returns (MemoryPointer) inFn\\n )\\n internal\\n pure\\n returns (\\n function(CalldataPointer)\\n internal\\n pure\\n returns (Fulfillment[] memory) outFn\\n )\\n {\\n assembly {\\n outFn := inFn\\n }\\n }\\n\\n /**\\n * @dev Caches the endAmount in an offer item and replaces it with\\n * a given recipient so that its memory may be reused as a temporary\\n * ReceivedItem.\\n *\\n * @param offerItem The offer item.\\n * @param recipient The recipient.\\n *\\n * @return originalEndAmount The original end amount.\\n */\\n function _replaceEndAmountWithRecipient(\\n OfferItem memory offerItem,\\n address recipient\\n ) internal pure returns (uint256 originalEndAmount) {\\n assembly {\\n // Derive the pointer to the end amount on the offer item.\\n let endAmountPtr := add(offerItem, ReceivedItem_recipient_offset)\\n\\n // Retrieve the value of the end amount on the offer item.\\n originalEndAmount := mload(endAmountPtr)\\n\\n // Write recipient to received item at the offer end amount pointer.\\n mstore(endAmountPtr, recipient)\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/ConduitControllerInterface.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/**\\n * @title ConduitControllerInterface\\n * @author 0age\\n * @notice ConduitControllerInterface contains all external function interfaces,\\n * structs, events, and errors for the conduit controller.\\n */\\ninterface ConduitControllerInterface {\\n /**\\n * @dev Track the conduit key, current owner, new potential owner, and open\\n * channels for each deployed conduit.\\n */\\n struct ConduitProperties {\\n bytes32 key;\\n address owner;\\n address potentialOwner;\\n address[] channels;\\n mapping(address => uint256) channelIndexesPlusOne;\\n }\\n\\n /**\\n * @dev Emit an event whenever a new conduit is created.\\n *\\n * @param conduit The newly created conduit.\\n * @param conduitKey The conduit key used to create the new conduit.\\n */\\n event NewConduit(address conduit, bytes32 conduitKey);\\n\\n /**\\n * @dev Emit an event whenever conduit ownership is transferred.\\n *\\n * @param conduit The conduit for which ownership has been\\n * transferred.\\n * @param previousOwner The previous owner of the conduit.\\n * @param newOwner The new owner of the conduit.\\n */\\n event OwnershipTransferred(\\n address indexed conduit,\\n address indexed previousOwner,\\n address indexed newOwner\\n );\\n\\n /**\\n * @dev Emit an event whenever a conduit owner registers a new potential\\n * owner for that conduit.\\n *\\n * @param newPotentialOwner The new potential owner of the conduit.\\n */\\n event PotentialOwnerUpdated(address indexed newPotentialOwner);\\n\\n /**\\n * @dev Revert with an error when attempting to create a new conduit using a\\n * conduit key where the first twenty bytes of the key do not match the\\n * address of the caller.\\n */\\n error InvalidCreator();\\n\\n /**\\n * @dev Revert with an error when attempting to create a new conduit when no\\n * initial owner address is supplied.\\n */\\n error InvalidInitialOwner();\\n\\n /**\\n * @dev Revert with an error when attempting to set a new potential owner\\n * that is already set.\\n */\\n error NewPotentialOwnerAlreadySet(\\n address conduit,\\n address newPotentialOwner\\n );\\n\\n /**\\n * @dev Revert with an error when attempting to cancel ownership transfer\\n * when no new potential owner is currently set.\\n */\\n error NoPotentialOwnerCurrentlySet(address conduit);\\n\\n /**\\n * @dev Revert with an error when attempting to interact with a conduit that\\n * does not yet exist.\\n */\\n error NoConduit();\\n\\n /**\\n * @dev Revert with an error when attempting to create a conduit that\\n * already exists.\\n */\\n error ConduitAlreadyExists(address conduit);\\n\\n /**\\n * @dev Revert with an error when attempting to update channels or transfer\\n * ownership of a conduit when the caller is not the owner of the\\n * conduit in question.\\n */\\n error CallerIsNotOwner(address conduit);\\n\\n /**\\n * @dev Revert with an error when attempting to register a new potential\\n * owner and supplying the null address.\\n */\\n error NewPotentialOwnerIsZeroAddress(address conduit);\\n\\n /**\\n * @dev Revert with an error when attempting to claim ownership of a conduit\\n * with a caller that is not the current potential owner for the\\n * conduit in question.\\n */\\n error CallerIsNotNewPotentialOwner(address conduit);\\n\\n /**\\n * @dev Revert with an error when attempting to retrieve a channel using an\\n * index that is out of range.\\n */\\n error ChannelOutOfRange(address conduit);\\n\\n /**\\n * @notice Deploy a new conduit using a supplied conduit key and assigning\\n * an initial owner for the deployed conduit. Note that the first\\n * twenty bytes of the supplied conduit key must match the caller\\n * and that a new conduit cannot be created if one has already been\\n * deployed using the same conduit key.\\n *\\n * @param conduitKey The conduit key used to deploy the conduit. Note that\\n * the first twenty bytes of the conduit key must match\\n * the caller of this contract.\\n * @param initialOwner The initial owner to set for the new conduit.\\n *\\n * @return conduit The address of the newly deployed conduit.\\n */\\n function createConduit(\\n bytes32 conduitKey,\\n address initialOwner\\n ) external returns (address conduit);\\n\\n /**\\n * @notice Open or close a channel on a given conduit, thereby allowing the\\n * specified account to execute transfers against that conduit.\\n * Extreme care must be taken when updating channels, as malicious\\n * or vulnerable channels can transfer any ERC20, ERC721 and ERC1155\\n * tokens where the token holder has granted the conduit approval.\\n * Only the owner of the conduit in question may call this function.\\n *\\n * @param conduit The conduit for which to open or close the channel.\\n * @param channel The channel to open or close on the conduit.\\n * @param isOpen A boolean indicating whether to open or close the channel.\\n */\\n function updateChannel(\\n address conduit,\\n address channel,\\n bool isOpen\\n ) external;\\n\\n /**\\n * @notice Initiate conduit ownership transfer by assigning a new potential\\n * owner for the given conduit. Once set, the new potential owner\\n * may call `acceptOwnership` to claim ownership of the conduit.\\n * Only the owner of the conduit in question may call this function.\\n *\\n * @param conduit The conduit for which to initiate ownership transfer.\\n * @param newPotentialOwner The new potential owner of the conduit.\\n */\\n function transferOwnership(\\n address conduit,\\n address newPotentialOwner\\n ) external;\\n\\n /**\\n * @notice Clear the currently set potential owner, if any, from a conduit.\\n * Only the owner of the conduit in question may call this function.\\n *\\n * @param conduit The conduit for which to cancel ownership transfer.\\n */\\n function cancelOwnershipTransfer(address conduit) external;\\n\\n /**\\n * @notice Accept ownership of a supplied conduit. Only accounts that the\\n * current owner has set as the new potential owner may call this\\n * function.\\n *\\n * @param conduit The conduit for which to accept ownership.\\n */\\n function acceptOwnership(address conduit) external;\\n\\n /**\\n * @notice Retrieve the current owner of a deployed conduit.\\n *\\n * @param conduit The conduit for which to retrieve the associated owner.\\n *\\n * @return owner The owner of the supplied conduit.\\n */\\n function ownerOf(address conduit) external view returns (address owner);\\n\\n /**\\n * @notice Retrieve the conduit key for a deployed conduit via reverse\\n * lookup.\\n *\\n * @param conduit The conduit for which to retrieve the associated conduit\\n * key.\\n *\\n * @return conduitKey The conduit key used to deploy the supplied conduit.\\n */\\n function getKey(address conduit) external view returns (bytes32 conduitKey);\\n\\n /**\\n * @notice Derive the conduit associated with a given conduit key and\\n * determine whether that conduit exists (i.e. whether it has been\\n * deployed).\\n *\\n * @param conduitKey The conduit key used to derive the conduit.\\n *\\n * @return conduit The derived address of the conduit.\\n * @return exists A boolean indicating whether the derived conduit has been\\n * deployed or not.\\n */\\n function getConduit(\\n bytes32 conduitKey\\n ) external view returns (address conduit, bool exists);\\n\\n /**\\n * @notice Retrieve the potential owner, if any, for a given conduit. The\\n * current owner may set a new potential owner via\\n * `transferOwnership` and that owner may then accept ownership of\\n * the conduit in question via `acceptOwnership`.\\n *\\n * @param conduit The conduit for which to retrieve the potential owner.\\n *\\n * @return potentialOwner The potential owner, if any, for the conduit.\\n */\\n function getPotentialOwner(\\n address conduit\\n ) external view returns (address potentialOwner);\\n\\n /**\\n * @notice Retrieve the status (either open or closed) of a given channel on\\n * a conduit.\\n *\\n * @param conduit The conduit for which to retrieve the channel status.\\n * @param channel The channel for which to retrieve the status.\\n *\\n * @return isOpen The status of the channel on the given conduit.\\n */\\n function getChannelStatus(\\n address conduit,\\n address channel\\n ) external view returns (bool isOpen);\\n\\n /**\\n * @notice Retrieve the total number of open channels for a given conduit.\\n *\\n * @param conduit The conduit for which to retrieve the total channel count.\\n *\\n * @return totalChannels The total number of open channels for the conduit.\\n */\\n function getTotalChannels(\\n address conduit\\n ) external view returns (uint256 totalChannels);\\n\\n /**\\n * @notice Retrieve an open channel at a specific index for a given conduit.\\n * Note that the index of a channel can change as a result of other\\n * channels being closed on the conduit.\\n *\\n * @param conduit The conduit for which to retrieve the open channel.\\n * @param channelIndex The index of the channel in question.\\n *\\n * @return channel The open channel, if any, at the specified channel index.\\n */\\n function getChannel(\\n address conduit,\\n uint256 channelIndex\\n ) external view returns (address channel);\\n\\n /**\\n * @notice Retrieve all open channels for a given conduit. Note that calling\\n * this function for a conduit with many channels will revert with\\n * an out-of-gas error.\\n *\\n * @param conduit The conduit for which to retrieve open channels.\\n *\\n * @return channels An array of open channels on the given conduit.\\n */\\n function getChannels(\\n address conduit\\n ) external view returns (address[] memory channels);\\n\\n /**\\n * @dev Retrieve the conduit creation code and runtime code hashes.\\n */\\n function getConduitCodeHashes()\\n external\\n view\\n returns (bytes32 creationCodeHash, bytes32 runtimeCodeHash);\\n}\\n\"\r\n },\r\n \"contracts/interfaces/SignatureVerificationErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/**\\n * @title SignatureVerificationErrors\\n * @author 0age\\n * @notice SignatureVerificationErrors contains all errors related to signature\\n * verification.\\n */\\ninterface SignatureVerificationErrors {\\n /**\\n * @dev Revert with an error when a signature that does not contain a v\\n * value of 27 or 28 has been supplied.\\n *\\n * @param v The invalid v value.\\n */\\n error BadSignatureV(uint8 v);\\n\\n /**\\n * @dev Revert with an error when the signer recovered by the supplied\\n * signature does not match the offerer or an allowed EIP-1271 signer\\n * as specified by the offerer in the event they are a contract.\\n */\\n error InvalidSigner();\\n\\n /**\\n * @dev Revert with an error when a signer cannot be recovered from the\\n * supplied signature.\\n */\\n error InvalidSignature();\\n\\n /**\\n * @dev Revert with an error when an EIP-1271 call to an account fails.\\n */\\n error BadContractSignature();\\n}\\n\"\r\n },\r\n \"contracts/lib/TokenTransferrerConstants.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/*\\n * -------------------------- Disambiguation & Other Notes ---------------------\\n * - The term \\\"head\\\" is used as it is in the documentation for ABI encoding,\\n * but only in reference to dynamic types, i.e. it always refers to the\\n * offset or pointer to the body of a dynamic type. In calldata, the head\\n * is always an offset (relative to the parent object), while in memory,\\n * the head is always the pointer to the body. More information found here:\\n * https://docs.soliditylang.org/en/v0.8.17/abi-spec.html#argument-encoding\\n * - Note that the length of an array is separate from and precedes the\\n * head of the array.\\n *\\n * - The term \\\"body\\\" is used in place of the term \\\"head\\\" used in the ABI\\n * documentation. It refers to the start of the data for a dynamic type,\\n * e.g. the first word of a struct or the first word of the first element\\n * in an array.\\n *\\n * - The term \\\"pointer\\\" is used to describe the absolute position of a value\\n * and never an offset relative to another value.\\n * - The suffix \\\"_ptr\\\" refers to a memory pointer.\\n * - The suffix \\\"_cdPtr\\\" refers to a calldata pointer.\\n *\\n * - The term \\\"offset\\\" is used to describe the position of a value relative\\n * to some parent value. For example, OrderParameters_conduit_offset is the\\n * offset to the \\\"conduit\\\" value in the OrderParameters struct relative to\\n * the start of the body.\\n * - Note: Offsets are used to derive pointers.\\n *\\n * - Some structs have pointers defined for all of their fields in this file.\\n * Lines which are commented out are fields that are not used in the\\n * codebase but have been left in for readability.\\n */\\n\\nuint256 constant ThirtyOneBytes = 0x1f;\\nuint256 constant OneWord = 0x20;\\nuint256 constant TwoWords = 0x40;\\nuint256 constant ThreeWords = 0x60;\\n\\nuint256 constant OneWordShift = 0x5;\\nuint256 constant TwoWordsShift = 0x6;\\n\\nuint256 constant FreeMemoryPointerSlot = 0x40;\\nuint256 constant ZeroSlot = 0x60;\\nuint256 constant DefaultFreeMemoryPointer = 0x80;\\n\\nuint256 constant Slot0x80 = 0x80;\\nuint256 constant Slot0xA0 = 0xa0;\\nuint256 constant Slot0xC0 = 0xc0;\\n\\nuint256 constant Generic_error_selector_offset = 0x1c;\\n\\n// abi.encodeWithSignature(\\\"transferFrom(address,address,uint256)\\\")\\nuint256 constant ERC20_transferFrom_signature = (\\n 0x23b872dd00000000000000000000000000000000000000000000000000000000\\n);\\nuint256 constant ERC20_transferFrom_sig_ptr = 0x0;\\nuint256 constant ERC20_transferFrom_from_ptr = 0x04;\\nuint256 constant ERC20_transferFrom_to_ptr = 0x24;\\nuint256 constant ERC20_transferFrom_amount_ptr = 0x44;\\nuint256 constant ERC20_transferFrom_length = 0x64; // 4 + 32 * 3 == 100\\n\\n// abi.encodeWithSignature(\\n// \\\"safeTransferFrom(address,address,uint256,uint256,bytes)\\\"\\n// )\\nuint256 constant ERC1155_safeTransferFrom_signature = (\\n 0xf242432a00000000000000000000000000000000000000000000000000000000\\n);\\nuint256 constant ERC1155_safeTransferFrom_sig_ptr = 0x0;\\nuint256 constant ERC1155_safeTransferFrom_from_ptr = 0x04;\\nuint256 constant ERC1155_safeTransferFrom_to_ptr = 0x24;\\nuint256 constant ERC1155_safeTransferFrom_id_ptr = 0x44;\\nuint256 constant ERC1155_safeTransferFrom_amount_ptr = 0x64;\\nuint256 constant ERC1155_safeTransferFrom_data_offset_ptr = 0x84;\\nuint256 constant ERC1155_safeTransferFrom_data_length_ptr = 0xa4;\\nuint256 constant ERC1155_safeTransferFrom_length = 0xc4; // 4 + 32 * 6 == 196\\nuint256 constant ERC1155_safeTransferFrom_data_length_offset = 0xa0;\\n\\n// abi.encodeWithSignature(\\n// \\\"safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)\\\"\\n// )\\nuint256 constant ERC1155_safeBatchTransferFrom_signature = (\\n 0x2eb2c2d600000000000000000000000000000000000000000000000000000000\\n);\\n\\n// bytes4 constant ERC1155_safeBatchTransferFrom_selector = bytes4(\\n// bytes32(ERC1155_safeBatchTransferFrom_signature)\\n// );\\n\\nuint256 constant ERC721_transferFrom_signature = (\\n 0x23b872dd00000000000000000000000000000000000000000000000000000000\\n);\\nuint256 constant ERC721_transferFrom_sig_ptr = 0x0;\\nuint256 constant ERC721_transferFrom_from_ptr = 0x04;\\nuint256 constant ERC721_transferFrom_to_ptr = 0x24;\\nuint256 constant ERC721_transferFrom_id_ptr = 0x44;\\nuint256 constant ERC721_transferFrom_length = 0x64; // 4 + 32 * 3 == 100\\n\\n/*\\n * error NoContract(address account)\\n * - Defined in TokenTransferrerErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x00: account\\n * Revert buffer is memory[0x1c:0x40]\\n */\\nuint256 constant NoContract_error_selector = 0x5f15d672;\\nuint256 constant NoContract_error_account_ptr = 0x20;\\nuint256 constant NoContract_error_length = 0x24;\\n\\n/*\\n * error TokenTransferGenericFailure(\\n * address token,\\n * address from,\\n * address to,\\n * uint256 identifier,\\n * uint256 amount\\n * )\\n * - Defined in TokenTransferrerErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x20: token\\n * - 0x40: from\\n * - 0x60: to\\n * - 0x80: identifier\\n * - 0xa0: amount\\n * Revert buffer is memory[0x1c:0xc0]\\n */\\nuint256 constant TokenTransferGenericFailure_error_selector = 0xf486bc87;\\nuint256 constant TokenTransferGenericFailure_error_token_ptr = 0x20;\\nuint256 constant TokenTransferGenericFailure_error_from_ptr = 0x40;\\nuint256 constant TokenTransferGenericFailure_error_to_ptr = 0x60;\\nuint256 constant TokenTransferGenericFailure_error_identifier_ptr = 0x80;\\nuint256 constant TokenTransferGenericFailure_err_identifier_ptr = 0x80;\\nuint256 constant TokenTransferGenericFailure_error_amount_ptr = 0xa0;\\nuint256 constant TokenTransferGenericFailure_error_length = 0xa4;\\n\\nuint256 constant ExtraGasBuffer = 0x20;\\nuint256 constant CostPerWord = 0x3;\\nuint256 constant MemoryExpansionCoefficientShift = 0x9;\\n\\n// Values are offset by 32 bytes in order to write the token to the beginning\\n// in the event of a revert\\nuint256 constant BatchTransfer1155Params_ptr = 0x24;\\nuint256 constant BatchTransfer1155Params_ids_head_ptr = 0x64;\\nuint256 constant BatchTransfer1155Params_amounts_head_ptr = 0x84;\\nuint256 constant BatchTransfer1155Params_data_head_ptr = 0xa4;\\nuint256 constant BatchTransfer1155Params_data_length_basePtr = 0xc4;\\nuint256 constant BatchTransfer1155Params_calldata_baseSize = 0xc4;\\n\\nuint256 constant BatchTransfer1155Params_ids_length_ptr = 0xc4;\\n\\nuint256 constant BatchTransfer1155Params_ids_length_offset = 0xa0;\\n// uint256 constant BatchTransfer1155Params_amounts_length_baseOffset = 0xc0;\\n// uint256 constant BatchTransfer1155Params_data_length_baseOffset = 0xe0;\\n\\nuint256 constant ConduitBatch1155Transfer_usable_head_size = 0x80;\\n\\nuint256 constant ConduitBatch1155Transfer_from_offset = 0x20;\\nuint256 constant ConduitBatch1155Transfer_ids_head_offset = 0x60;\\n// uint256 constant ConduitBatch1155Transfer_amounts_head_offset = 0x80;\\nuint256 constant ConduitBatch1155Transfer_ids_length_offset = 0xa0;\\nuint256 constant ConduitBatch1155Transfer_amounts_length_baseOffset = 0xc0;\\n// uint256 constant ConduitBatch1155Transfer_calldata_baseSize = 0xc0;\\n\\n// Note: abbreviated version of above constant to adhere to line length limit.\\nuint256 constant ConduitBatchTransfer_amounts_head_offset = 0x80;\\n\\nuint256 constant Invalid1155BatchTransferEncoding_ptr = 0x00;\\nuint256 constant Invalid1155BatchTransferEncoding_length = 0x04;\\nuint256 constant Invalid1155BatchTransferEncoding_selector = (\\n 0xeba2084c00000000000000000000000000000000000000000000000000000000\\n);\\n\\nuint256 constant ERC1155BatchTransferGenericFailure_error_signature = (\\n 0xafc445e200000000000000000000000000000000000000000000000000000000\\n);\\nuint256 constant ERC1155BatchTransferGenericFailure_token_ptr = 0x04;\\nuint256 constant ERC1155BatchTransferGenericFailure_ids_offset = 0xc0;\\n\\n/*\\n * error BadReturnValueFromERC20OnTransfer(\\n * address token, address from, address to, uint256 amount\\n * )\\n * - Defined in TokenTransferrerErrors.sol\\n * Memory layout:\\n * - 0x00: Left-padded selector (data begins at 0x1c)\\n * - 0x00: token\\n * - 0x20: from\\n * - 0x40: to\\n * - 0x60: amount\\n * Revert buffer is memory[0x1c:0xa0]\\n */\\nuint256 constant BadReturnValueFromERC20OnTransfer_error_selector = 0x98891923;\\nuint256 constant BadReturnValueFromERC20OnTransfer_error_token_ptr = 0x20;\\nuint256 constant BadReturnValueFromERC20OnTransfer_error_from_ptr = 0x40;\\nuint256 constant BadReturnValueFromERC20OnTransfer_error_to_ptr = 0x60;\\nuint256 constant BadReturnValueFromERC20OnTransfer_error_amount_ptr = 0x80;\\nuint256 constant BadReturnValueFromERC20OnTransfer_error_length = 0x84;\\n\"\r\n },\r\n \"contracts/interfaces/ZoneInteractionErrors.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.13;\\n\\n/**\\n * @title ZoneInteractionErrors\\n * @author 0age\\n * @notice ZoneInteractionErrors contains errors related to zone interaction.\\n */\\ninterface ZoneInteractionErrors {\\n /**\\n * @dev Revert with an error when attempting to fill an order that specifies\\n * a restricted submitter as its order type when not submitted by\\n * either the offerer or the order's zone or approved as valid by the\\n * zone in question via a call to `isValidOrder`.\\n *\\n * @param orderHash The order hash for the invalid restricted order.\\n */\\n error InvalidRestrictedOrder(bytes32 orderHash);\\n\\n /**\\n * @dev Revert with an error when attempting to fill a contract order that\\n * fails to generate an order successfully, that does not adhere to the\\n * requirements for minimum spent or maximum received supplied by the\\n * fulfiller, or that fails the post-execution `ratifyOrder` check..\\n *\\n * @param orderHash The order hash for the invalid contract order.\\n */\\n error InvalidContractOrder(bytes32 orderHash);\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"viaIR\": true,\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 9999999\r\n },\r\n \"metadata\": {\r\n \"bytecodeHash\": \"none\"\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduitController\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BadContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BadFraction\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BadReturnValueFromERC20OnTransfer\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"}],\"name\":\"BadSignatureV\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotCancelOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ConsiderationCriteriaResolverOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ConsiderationLengthNotEqualToTotalOriginal\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"considerationIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shortfallAmount\",\"type\":\"uint256\"}],\"name\":\"ConsiderationNotMet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CriteriaNotEnabledForItem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"identifiers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"ERC1155BatchTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InexactFraction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientNativeTokensSupplied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Invalid1155BatchTransferEncoding\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBasicOrderParameterEncoding\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"InvalidCallToConduit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"InvalidConduit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"InvalidContractOrder\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InvalidERC721TransferAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidFulfillmentComponentData\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"InvalidMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNativeOfferItem\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"InvalidRestrictedOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"}],\"name\":\"InvalidTime\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"fulfillmentIndex\",\"type\":\"uint256\"}],\"name\":\"MismatchedFulfillmentOfferAndConsiderationComponents\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enum Side\",\"name\":\"side\",\"type\":\"uint8\"}],\"name\":\"MissingFulfillmentComponentOnAggregation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MissingItemAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MissingOriginalConsiderationItems\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"NativeTokenTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"NoContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoReentrantCalls\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoSpecifiedOrdersAvailable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OfferAndConsiderationRequiredOnFulfillment\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OfferCriteriaResolverOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderAlreadyFilled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enum Side\",\"name\":\"side\",\"type\":\"uint8\"}],\"name\":\"OrderCriteriaResolverOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderIsCancelled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderPartiallyFilled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PartialFillsNotEnabledForOrder\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"considerationIndex\",\"type\":\"uint256\"}],\"name\":\"UnresolvedConsiderationCriteria\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offerIndex\",\"type\":\"uint256\"}],\"name\":\"UnresolvedOfferCriteria\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnusedItemParameters\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newCounter\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"}],\"name\":\"CounterIncremented\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"}],\"name\":\"OrderCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct SpentItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"struct ReceivedItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"}],\"name\":\"OrderFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct OrderParameters\",\"name\":\"orderParameters\",\"type\":\"tuple\"}],\"name\":\"OrderValidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"orderHashes\",\"type\":\"bytes32[]\"}],\"name\":\"OrdersMatched\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderComponents[]\",\"name\":\"orders\",\"type\":\"tuple[]\"}],\"name\":\"cancel\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"cancelled\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"uint120\",\"name\":\"numerator\",\"type\":\"uint120\"},{\"internalType\":\"uint120\",\"name\":\"denominator\",\"type\":\"uint120\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"struct AdvancedOrder\",\"name\":\"\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"enum Side\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"criteriaProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"struct CriteriaResolver[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"fulfillAdvancedOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"uint120\",\"name\":\"numerator\",\"type\":\"uint120\"},{\"internalType\":\"uint120\",\"name\":\"denominator\",\"type\":\"uint120\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"struct AdvancedOrder[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"enum Side\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"criteriaProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"struct CriteriaResolver[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[][]\",\"name\":\"\",\"type\":\"tuple[][]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[][]\",\"name\":\"\",\"type\":\"tuple[][]\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maximumFulfilled\",\"type\":\"uint256\"}],\"name\":\"fulfillAvailableAdvancedOrders\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"},{\"components\":[{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"struct Execution[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct Order[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[][]\",\"name\":\"\",\"type\":\"tuple[][]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[][]\",\"name\":\"\",\"type\":\"tuple[][]\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maximumFulfilled\",\"type\":\"uint256\"}],\"name\":\"fulfillAvailableOrders\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"},{\"components\":[{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"struct Execution[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"considerationToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"considerationIdentifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"considerationAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"offerToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offerIdentifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offerAmount\",\"type\":\"uint256\"},{\"internalType\":\"enum BasicOrderType\",\"name\":\"basicOrderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"offererConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalAdditionalRecipients\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct AdditionalRecipient[]\",\"name\":\"additionalRecipients\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct BasicOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"name\":\"fulfillBasicOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"considerationToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"considerationIdentifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"considerationAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"offerToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offerIdentifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offerAmount\",\"type\":\"uint256\"},{\"internalType\":\"enum BasicOrderType\",\"name\":\"basicOrderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"offererConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalAdditionalRecipients\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct AdditionalRecipient[]\",\"name\":\"additionalRecipients\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct BasicOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"name\":\"fulfillBasicOrder_efficient_6GL6yc\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct Order\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"}],\"name\":\"fulfillOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractOfferer\",\"type\":\"address\"}],\"name\":\"getContractOffererNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"}],\"name\":\"getCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderComponents\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"getOrderHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"getOrderStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isCancelled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"totalFilled\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalSize\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"incrementCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"newCounter\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"information\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"domainSeparator\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"conduitController\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"uint120\",\"name\":\"numerator\",\"type\":\"uint120\"},{\"internalType\":\"uint120\",\"name\":\"denominator\",\"type\":\"uint120\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"struct AdvancedOrder[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"enum Side\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"criteriaProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"struct CriteriaResolver[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[]\",\"name\":\"offerComponents\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[]\",\"name\":\"considerationComponents\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Fulfillment[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"matchAdvancedOrders\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"struct Execution[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct Order[]\",\"name\":\"\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[]\",\"name\":\"offerComponents\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"struct FulfillmentComponent[]\",\"name\":\"considerationComponents\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Fulfillment[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"name\":\"matchOrders\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"struct Execution[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct OfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enum ItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"struct ConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"enum OrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"struct Order[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"name\":\"validate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"Seaport","CompilerVersion":"v0.8.17+commit.8df45f5f","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"9999999","ConstructorArguments":"00000000000000000000000000000000f9490004c11cef243f5400493c00ad63","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/a5056902b08b0375bf51896217b12a2683e79749b9db4c855cd2d6c427ae7412 b/tests/cachedrpc/a5056902b08b0375bf51896217b12a2683e79749b9db4c855cd2d6c427ae7412 new file mode 100644 index 00000000..bbac55e5 --- /dev/null +++ b/tests/cachedrpc/a5056902b08b0375bf51896217b12a2683e79749b9db4c855cd2d6c427ae7412 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x7a250d5630b4cf539739df2c5dacb4c659f2488d","contractCreator":"0x9c33eacc2f50e39940d3afaf2c7b8246b681a374","txHash":"0x4fc1580e7f66c58b7c26881cce0aab9c3509afe6e507527f30566fbf8039bcd0","blockNumber":"10207858","timestamp":"1591388241","contractFactory":"","creationBytecode":"0x60c06040523480156200001157600080fd5b506040516200573e3803806200573e833981810160405260408110156200003757600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c6155b762000187600039806101ac5280610e5d5280610e985280610fd5528061129852806116f252806118d65280611e1e5280611fa252806120725280612179528061232c52806123c15280612673528061271a52806127ef52806128f452806129dc5280612a5d52806130ec5280613422528061347852806134ac528061352d528061374752806138f7528061398c5250806110c752806111c5528061136b52806113a4528061154f52806117e452806118b45280611aa1528061225f528061240052806125a95280612a9c5280612ddf5280613071528061309a52806130ca52806132a75280613456528061382d52806139cb528061444a528061448d52806147ed52806149ce5280614f49528061502a52806150aa52506155b76000f3fe60806040526004361061018f5760003560e01c80638803dbee116100d6578063c45a01551161007f578063e8e3370011610059578063e8e3370014610c71578063f305d71914610cfe578063fb3bdb4114610d51576101d5565b8063c45a015514610b25578063d06ca61f14610b3a578063ded9382a14610bf1576101d5565b8063af2979eb116100b0578063af2979eb146109c8578063b6f9de9514610a28578063baa2abde14610abb576101d5565b80638803dbee146108af578063ad5c464814610954578063ad615dec14610992576101d5565b80634a25d94a11610138578063791ac94711610112578063791ac947146107415780637ff36ab5146107e657806385f8c25914610879576101d5565b80634a25d94a146105775780635b0d59841461061c5780635c11d7951461069c576101d5565b80631f00ca74116101695780631f00ca74146103905780632195995c1461044757806338ed1739146104d2576101d5565b806302751cec146101da578063054d50d41461025357806318cbafe51461029b576101d5565b366101d5573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146101d357fe5b005b600080fd5b3480156101e657600080fd5b5061023a600480360360c08110156101fd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a00135610de4565b6040805192835260208301919091528051918290030190f35b34801561025f57600080fd5b506102896004803603606081101561027657600080fd5b5080359060208101359060400135610f37565b60408051918252519081900360200190f35b3480156102a757600080fd5b50610340600480360360a08110156102be57600080fd5b8135916020810135918101906060810160408201356401000000008111156102e557600080fd5b8201836020820111156102f757600080fd5b8035906020019184602083028401116401000000008311171561031957600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f4c565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037c578181015183820152602001610364565b505050509050019250505060405180910390f35b34801561039c57600080fd5b50610340600480360360408110156103b357600080fd5b813591908101906040810160208201356401000000008111156103d557600080fd5b8201836020820111156103e757600080fd5b8035906020019184602083028401116401000000008311171561040957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611364945050505050565b34801561045357600080fd5b5061023a600480360361016081101561046b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff610100820135169061012081013590610140013561139a565b3480156104de57600080fd5b50610340600480360360a08110156104f557600080fd5b81359160208101359181019060608101604082013564010000000081111561051c57600080fd5b82018360208201111561052e57600080fd5b8035906020019184602083028401116401000000008311171561055057600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81351690602001356114d8565b34801561058357600080fd5b50610340600480360360a081101561059a57600080fd5b8135916020810135918101906060810160408201356401000000008111156105c157600080fd5b8201836020820111156105d357600080fd5b803590602001918460208302840111640100000000831117156105f557600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611669565b34801561062857600080fd5b50610289600480360361014081101561064057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e082013516906101008101359061012001356118ac565b3480156106a857600080fd5b506101d3600480360360a08110156106bf57600080fd5b8135916020810135918101906060810160408201356401000000008111156106e657600080fd5b8201836020820111156106f857600080fd5b8035906020019184602083028401116401000000008311171561071a57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81351690602001356119fe565b34801561074d57600080fd5b506101d3600480360360a081101561076457600080fd5b81359160208101359181019060608101604082013564010000000081111561078b57600080fd5b82018360208201111561079d57600080fd5b803590602001918460208302840111640100000000831117156107bf57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611d97565b610340600480360360808110156107fc57600080fd5b8135919081019060408101602082013564010000000081111561081e57600080fd5b82018360208201111561083057600080fd5b8035906020019184602083028401116401000000008311171561085257600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135612105565b34801561088557600080fd5b506102896004803603606081101561089c57600080fd5b5080359060208101359060400135612525565b3480156108bb57600080fd5b50610340600480360360a08110156108d257600080fd5b8135916020810135918101906060810160408201356401000000008111156108f957600080fd5b82018360208201111561090b57600080fd5b8035906020019184602083028401116401000000008311171561092d57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135612532565b34801561096057600080fd5b50610969612671565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561099e57600080fd5b50610289600480360360608110156109b557600080fd5b5080359060208101359060400135612695565b3480156109d457600080fd5b50610289600480360360c08110156109eb57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a001356126a2565b6101d360048036036080811015610a3e57600080fd5b81359190810190604081016020820135640100000000811115610a6057600080fd5b820183602082011115610a7257600080fd5b80359060200191846020830284011164010000000083111715610a9457600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135612882565b348015610ac757600080fd5b5061023a600480360360e0811015610ade57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359091169060c00135612d65565b348015610b3157600080fd5b5061096961306f565b348015610b4657600080fd5b5061034060048036036040811015610b5d57600080fd5b81359190810190604081016020820135640100000000811115610b7f57600080fd5b820183602082011115610b9157600080fd5b80359060200191846020830284011164010000000083111715610bb357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550613093945050505050565b348015610bfd57600080fd5b5061023a6004803603610140811015610c1557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e082013516906101008101359061012001356130c0565b348015610c7d57600080fd5b50610ce06004803603610100811015610c9557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135613218565b60408051938452602084019290925282820152519081900360600190f35b610ce0600480360360c0811015610d1457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135916060810135916080820135169060a001356133a7565b61034060048036036080811015610d6757600080fd5b81359190810190604081016020820135640100000000811115610d8957600080fd5b820183602082011115610d9b57600080fd5b80359060200191846020830284011164010000000083111715610dbd57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81351690602001356136d3565b6000808242811015610e5757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b610e86897f00000000000000000000000000000000000000000000000000000000000000008a8a8a308a612d65565b9093509150610e96898685613b22565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610f0957600080fd5b505af1158015610f1d573d6000803e3d6000fd5b50505050610f2b8583613cff565b50965096945050505050565b6000610f44848484613e3c565b949350505050565b60608142811015610fbe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061102357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110c257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b6111207f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613f6092505050565b9150868260018451038151811061113357fe5b60200260200101511015611192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615508602b913960400191505060405180910390fd5b611257868660008181106111a257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff163361123d7f00000000000000000000000000000000000000000000000000000000000000008a8a60008181106111f157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168b8b600181811061121b57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166140c6565b8560008151811061124a57fe5b60200260200101516141b1565b61129682878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250614381915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836001855103815181106112e257fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561132057600080fd5b505af1158015611334573d6000803e3d6000fd5b50505050611359848360018551038151811061134c57fe5b6020026020010151613cff565b509695505050505050565b60606113917f00000000000000000000000000000000000000000000000000000000000000008484614608565b90505b92915050565b60008060006113ca7f00000000000000000000000000000000000000000000000000000000000000008f8f6140c6565b90506000876113d9578c6113fb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c48101889052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b15801561149757600080fd5b505af11580156114ab573d6000803e3d6000fd5b505050506114be8f8f8f8f8f8f8f612d65565b809450819550505050509b509b9950505050505050505050565b6060814281101561154a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b6115a87f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613f6092505050565b915086826001845103815181106115bb57fe5b6020026020010151101561161a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615508602b913960400191505060405180910390fd5b61162a868660008181106111a257fe5b61135982878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250614381915050565b606081428110156116db57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810181811061174057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b61183d7f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061460892505050565b9150868260008151811061184d57fe5b60200260200101511115611192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806154986027913960400191505060405180910390fd5b6000806118fa7f00000000000000000000000000000000000000000000000000000000000000008d7f00000000000000000000000000000000000000000000000000000000000000006140c6565b9050600086611909578b61192b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c48101879052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b1580156119c757600080fd5b505af11580156119db573d6000803e3d6000fd5b505050506119ed8d8d8d8d8d8d6126a2565b9d9c50505050505050505050505050565b8042811015611a6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b611afd85856000818110611a7e57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1633611af77f000000000000000000000000000000000000000000000000000000000000000089896000818110611acd57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168a8a600181811061121b57fe5b8a6141b1565b600085857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611b2d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611bc657600080fd5b505afa158015611bda573d6000803e3d6000fd5b505050506040513d6020811015611bf057600080fd5b50516040805160208881028281018201909352888252929350611c32929091899189918291850190849080828437600092019190915250889250614796915050565b86611d368288887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611c6557fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611cfe57600080fd5b505afa158015611d12573d6000803e3d6000fd5b505050506040513d6020811015611d2857600080fd5b50519063ffffffff614b2916565b1015611d8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615508602b913960400191505060405180910390fd5b5050505050505050565b8042811015611e0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001685857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611e6c57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f0b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b611f1b85856000818110611a7e57fe5b611f59858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250614796915050565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b158015611fe957600080fd5b505afa158015611ffd573d6000803e3d6000fd5b505050506040513d602081101561201357600080fd5b5051905086811015612070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615508602b913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156120e357600080fd5b505af11580156120f7573d6000803e3d6000fd5b50505050611d8d8482613cff565b6060814281101561217757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16868660008181106121bb57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461225a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b6122b87f000000000000000000000000000000000000000000000000000000000000000034888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613f6092505050565b915086826001845103815181106122cb57fe5b6020026020010151101561232a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615508602b913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db08360008151811061237357fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156123a657600080fd5b505af11580156123ba573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61242c7f000000000000000000000000000000000000000000000000000000000000000089896000818110611acd57fe5b8460008151811061243957fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156124aa57600080fd5b505af11580156124be573d6000803e3d6000fd5b505050506040513d60208110156124d457600080fd5b50516124dc57fe5b61251b82878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250614381915050565b5095945050505050565b6000610f44848484614b9b565b606081428110156125a457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b6126027f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061460892505050565b9150868260008151811061261257fe5b6020026020010151111561161a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806154986027913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610f44848484614cbf565b6000814281101561271457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b612743887f00000000000000000000000000000000000000000000000000000000000000008989893089612d65565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290519194506127ed92508a91879173ffffffffffffffffffffffffffffffffffffffff8416916370a0823191602480820192602092909190829003018186803b1580156127bc57600080fd5b505afa1580156127d0573d6000803e3d6000fd5b505050506040513d60208110156127e657600080fd5b5051613b22565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561286057600080fd5b505af1158015612874573d6000803e3d6000fd5b505050506113598483613cff565b80428110156128f257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168585600081811061293657fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146129d557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b60003490507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015612a4257600080fd5b505af1158015612a56573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb612ac87f000000000000000000000000000000000000000000000000000000000000000089896000818110611acd57fe5b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612b3257600080fd5b505af1158015612b46573d6000803e3d6000fd5b505050506040513d6020811015612b5c57600080fd5b5051612b6457fe5b600086867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110612b9457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612c2d57600080fd5b505afa158015612c41573d6000803e3d6000fd5b505050506040513d6020811015612c5757600080fd5b50516040805160208981028281018201909352898252929350612c999290918a918a918291850190849080828437600092019190915250899250614796915050565b87611d368289897fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110612ccc57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611cfe57600080fd5b6000808242811015612dd857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b6000612e057f00000000000000000000000000000000000000000000000000000000000000008c8c6140c6565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b158015612e8657600080fd5b505af1158015612e9a573d6000803e3d6000fd5b505050506040513d6020811015612eb057600080fd5b5050604080517f89afcb4400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b158015612f2357600080fd5b505af1158015612f37573d6000803e3d6000fd5b505050506040513d6040811015612f4d57600080fd5b50805160209091015190925090506000612f678e8e614d9f565b5090508073ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff1614612fa4578183612fa7565b82825b90975095508a871015613005576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806154bf6026913960400191505060405180910390fd5b8986101561305e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806154256026913960400191505060405180910390fd5b505050505097509795505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606113917f00000000000000000000000000000000000000000000000000000000000000008484613f60565b60008060006131107f00000000000000000000000000000000000000000000000000000000000000008e7f00000000000000000000000000000000000000000000000000000000000000006140c6565b905060008761311f578c613141565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c48101889052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b1580156131dd57600080fd5b505af11580156131f1573d6000803e3d6000fd5b505050506132038e8e8e8e8e8e610de4565b909f909e509c50505050505050505050505050565b6000806000834281101561328d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b61329b8c8c8c8c8c8c614ef2565b909450925060006132cd7f00000000000000000000000000000000000000000000000000000000000000008e8e6140c6565b90506132db8d3383886141b1565b6132e78c3383876141b1565b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561336657600080fd5b505af115801561337a573d6000803e3d6000fd5b505050506040513d602081101561339057600080fd5b5051949d939c50939a509198505050505050505050565b6000806000834281101561341c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b61344a8a7f00000000000000000000000000000000000000000000000000000000000000008b348c8c614ef2565b9094509250600061349c7f00000000000000000000000000000000000000000000000000000000000000008c7f00000000000000000000000000000000000000000000000000000000000000006140c6565b90506134aa8b3383886141b1565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561351257600080fd5b505af1158015613526573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156135d257600080fd5b505af11580156135e6573d6000803e3d6000fd5b505050506040513d60208110156135fc57600080fd5b505161360457fe5b8073ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561368357600080fd5b505af1158015613697573d6000803e3d6000fd5b505050506040513d60208110156136ad57600080fd5b50519250348410156136c5576136c533853403613cff565b505096509650969350505050565b6060814281101561374557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e69737761705632526f757465723a20455850495245440000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168686600081811061378957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461382857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e69737761705632526f757465723a20494e56414c49445f50415448000000604482015290519081900360640190fd5b6138867f00000000000000000000000000000000000000000000000000000000000000008888888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061460892505050565b9150348260008151811061389657fe5b602002602001015111156138f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806154986027913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db08360008151811061393e57fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b15801561397157600080fd5b505af1158015613985573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6139f77f000000000000000000000000000000000000000000000000000000000000000089896000818110611acd57fe5b84600081518110613a0457fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015613a7557600080fd5b505af1158015613a89573d6000803e3d6000fd5b505050506040513d6020811015613a9f57600080fd5b5051613aa757fe5b613ae682878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250614381915050565b81600081518110613af357fe5b602002602001015134111561251b5761251b3383600081518110613b1357fe5b60200260200101513403613cff565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b60208310613bf857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613bbb565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613c5a576040519150601f19603f3d011682016040523d82523d6000602084013e613c5f565b606091505b5091509150818015613c8d575080511580613c8d5750808060200190516020811015613c8a57600080fd5b50515b613cf857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604482015290519081900360640190fd5b5050505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b60208310613d7657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613d39565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613dd8576040519150601f19603f3d011682016040523d82523d6000602084013e613ddd565b606091505b5050905080613e37576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806154e56023913960400191505060405180910390fd5b505050565b6000808411613e96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180615557602b913960400191505060405180910390fd5b600083118015613ea65750600082115b613efb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061544b6028913960400191505060405180910390fd5b6000613f0f856103e563ffffffff6151f316565b90506000613f23828563ffffffff6151f316565b90506000613f4983613f3d886103e863ffffffff6151f316565b9063ffffffff61527916565b9050808281613f5457fe5b04979650505050505050565b6060600282511015613fd357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff81118015613feb57600080fd5b50604051908082528060200260200182016040528015614015578160200160208202803683370190505b509050828160008151811061402657fe5b60200260200101818152505060005b60018351038110156140be576000806140788786858151811061405457fe5b602002602001015187866001018151811061406b57fe5b60200260200101516152eb565b9150915061409a84848151811061408b57fe5b60200260200101518383613e3c565b8484600101815181106140a957fe5b60209081029190910101525050600101614035565b509392505050565b60008060006140d58585614d9f565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b6020831061428f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101614252565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146142f1576040519150601f19603f3d011682016040523d82523d6000602084013e6142f6565b606091505b5091509150818015614324575080511580614324575080806020019051602081101561432157600080fd5b50515b614379576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806155336024913960400191505060405180910390fd5b505050505050565b60005b60018351038110156146025760008084838151811061439f57fe5b60200260200101518584600101815181106143b657fe5b60200260200101519150915060006143ce8383614d9f565b50905060008785600101815181106143e257fe5b602002602001015190506000808373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461442a5782600061442e565b6000835b91509150600060028a510388106144455788614486565b6144867f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061447957fe5b60200260200101516140c6565b90506144b37f000000000000000000000000000000000000000000000000000000000000000088886140c6565b73ffffffffffffffffffffffffffffffffffffffff1663022c0d9f84848460006040519080825280601f01601f1916602001820160405280156144fd576020820181803683370190505b506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614588578181015183820152602001614570565b50505050905090810190601f1680156145b55780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156145d757600080fd5b505af11580156145eb573d6000803e3d6000fd5b505060019099019850614384975050505050505050565b50505050565b606060028251101561467b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a20494e56414c49445f504154480000604482015290519081900360640190fd5b815167ffffffffffffffff8111801561469357600080fd5b506040519080825280602002602001820160405280156146bd578160200160208202803683370190505b50905082816001835103815181106146d157fe5b602090810291909101015281517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b80156140be576000806147318786600186038151811061471d57fe5b602002602001015187868151811061406b57fe5b9150915061475384848151811061474457fe5b60200260200101518383614b9b565b84600185038151811061476257fe5b602090810291909101015250507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01614701565b60005b6001835103811015613e37576000808483815181106147b457fe5b60200260200101518584600101815181106147cb57fe5b60200260200101519150915060006147e38383614d9f565b50905060006148137f000000000000000000000000000000000000000000000000000000000000000085856140c6565b90506000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561486157600080fd5b505afa158015614875573d6000803e3d6000fd5b505050506040513d606081101561488b57600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905060008073ffffffffffffffffffffffffffffffffffffffff8a8116908916146148d55782846148d8565b83835b9150915061495d828b73ffffffffffffffffffffffffffffffffffffffff166370a082318a6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611cfe57600080fd5b955061496a868383613e3c565b9450505050506000808573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16146149ae578260006149b2565b6000835b91509150600060028c51038a106149c9578a6149fd565b6149fd7f0000000000000000000000000000000000000000000000000000000000000000898e8d6002018151811061447957fe5b60408051600080825260208201928390527f022c0d9f000000000000000000000000000000000000000000000000000000008352602482018781526044830187905273ffffffffffffffffffffffffffffffffffffffff8086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015614aad578181015183820152602001614a95565b50505050905090810190601f168015614ada5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015614afc57600080fd5b505af1158015614b10573d6000803e3d6000fd5b50506001909b019a506147999950505050505050505050565b8082038281111561139457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b6000808411614bf5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806153d4602c913960400191505060405180910390fd5b600083118015614c055750600082115b614c5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061544b6028913960400191505060405180910390fd5b6000614c7e6103e8614c72868863ffffffff6151f316565b9063ffffffff6151f316565b90506000614c986103e5614c72868963ffffffff614b2916565b9050614cb56001828481614ca857fe5b049063ffffffff61527916565b9695505050505050565b6000808411614d19576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806154736025913960400191505060405180910390fd5b600083118015614d295750600082115b614d7e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061544b6028913960400191505060405180910390fd5b82614d8f858463ffffffff6151f316565b81614d9657fe5b04949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415614e27576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806154006025913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610614e61578284614e64565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff8216614eeb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b604080517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015287811660248301529151600092839283927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b158015614f9257600080fd5b505afa158015614fa6573d6000803e3d6000fd5b505050506040513d6020811015614fbc57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614156150a257604080517fc9c6539600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a81166004830152898116602483015291517f00000000000000000000000000000000000000000000000000000000000000009092169163c9c65396916044808201926020929091908290030181600087803b15801561507557600080fd5b505af1158015615089573d6000803e3d6000fd5b505050506040513d602081101561509f57600080fd5b50505b6000806150d07f00000000000000000000000000000000000000000000000000000000000000008b8b6152eb565b915091508160001480156150e2575080155b156150f2578793508692506151e6565b60006150ff898484614cbf565b905087811161516c5785811015615161576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806154256026913960400191505060405180910390fd5b8894509250826151e4565b6000615179898486614cbf565b90508981111561518557fe5b878110156151de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806154bf6026913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b600081158061520e5750508082028282828161520b57fe5b04145b61139457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b8082018281101561139457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b60008060006152fa8585614d9f565b50905060008061530b8888886140c6565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561535057600080fd5b505afa158015615364573d6000803e3d6000fd5b505050506040513d606081101561537a57600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff878116908416146153c15780826153c4565b81815b9099909850965050505050505056fe556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a204944454e544943414c5f414444524553534553556e69737761705632526f757465723a20494e53554646494349454e545f425f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e54556e69737761705632526f757465723a204558434553534956455f494e5055545f414d4f554e54556e69737761705632526f757465723a20494e53554646494349454e545f415f414d4f554e545472616e7366657248656c7065723a204554485f5452414e534645525f4641494c4544556e69737761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a26469706673582212206dd6e03c4b2c0a8e55214926227ae9e2d6f9fec2ce74a6446d615afa355c84f364736f6c634300060600330000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}]} \ No newline at end of file diff --git a/tests/cachedrpc/a67286d8cb15a03d84fdb11e61f5d91de776014410469532001e7d30f7612ea0 b/tests/cachedrpc/a67286d8cb15a03d84fdb11e61f5d91de776014410469532001e7d30f7612ea0 new file mode 100644 index 00000000..be39f19c --- /dev/null +++ b/tests/cachedrpc/a67286d8cb15a03d84fdb11e61f5d91de776014410469532001e7d30f7612ea0 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xb50721bcf8d664c30412cfbc6cf7a15145234ad1","contractCreator":"0x1c8db745abe3c8162119b9ef2c13864cd1fdd72f","txHash":"0x242b50ab4fe9896cb0439cfe6e2321d23feede7eeceb31aa2dbb46fc06ed2670","blockNumber":"16840305","timestamp":"1678968467","contractFactory":"","creationBytecode":"0x60806040526040516200103238038062001032833981016040819052620000269162000487565b828162000036828260006200004d565b50620000449050826200008a565b505050620005ba565b6200005883620000e5565b600082511180620000665750805b1562000085576200008383836200012760201b6200028c1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000b562000156565b604080516001600160a01b03928316815291841660208301520160405180910390a1620000e2816200018f565b50565b620000f08162000244565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606200014f83836040518060600160405280602781526020016200100b60279139620002f8565b9392505050565b60006200018060008051602062000feb83398151915260001b620003de60201b6200022e1760201c565b546001600160a01b0316919050565b6001600160a01b038116620001fa5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200022360008051602062000feb83398151915260001b620003de60201b6200022e1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6200025a81620003e160201b620002b81760201c565b620002be5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620001f1565b80620002237f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b620003de60201b6200022e1760201c565b60606001600160a01b0384163b620003625760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401620001f1565b600080856001600160a01b0316856040516200037f919062000567565b600060405180830381855af49150503d8060008114620003bc576040519150601f19603f3d011682016040523d82523d6000602084013e620003c1565b606091505b509092509050620003d4828286620003f0565b9695505050505050565b90565b6001600160a01b03163b151590565b60608315620004015750816200014f565b825115620004125782518084602001fd5b8160405162461bcd60e51b8152600401620001f1919062000585565b80516001600160a01b03811681146200044657600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200047e57818101518382015260200162000464565b50506000910152565b6000806000606084860312156200049d57600080fd5b620004a8846200042e565b9250620004b8602085016200042e565b60408501519092506001600160401b0380821115620004d657600080fd5b818601915086601f830112620004eb57600080fd5b8151818111156200050057620005006200044b565b604051601f8201601f19908116603f011681019083821181831017156200052b576200052b6200044b565b816040528281528960208487010111156200054557600080fd5b6200055883602083016020880162000461565b80955050505050509250925092565b600082516200057b81846020870162000461565b9190910192915050565b6020815260008251806020840152620005a681604085016020870162000461565b601f01601f19169190910160400192915050565b610a2180620005ca6000396000f3fe60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100a85780638f283970146100e6578063f851a440146101065761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61011b565b005b61006b61011b565b34801561008157600080fd5b5061006b610090366004610895565b610135565b61006b6100a33660046108b0565b61017f565b3480156100b457600080fd5b506100bd6101f3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100f257600080fd5b5061006b610101366004610895565b610231565b34801561011257600080fd5b506100bd61025e565b6101236102d4565b61013361012e6103ab565b6103b5565b565b61013d6103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481604051806020016040528060008152506000610419565b50565b61017461011b565b6101876103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101eb576101e68383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610419915050565b505050565b6101e661011b565b60006101fd6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103ab565b905090565b61022e61011b565b90565b6102396103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481610444565b60006102686103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103d9565b60606102b183836040518060600160405280602781526020016109c5602791396104a5565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6102dc6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102216105cd565b3660008037600080366000845af43d6000803e8080156103d4573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b610422836105f5565b60008251118061042f5750805b156101e65761043e838361028c565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61046d6103d9565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a161017481610642565b606073ffffffffffffffffffffffffffffffffffffffff84163b61054b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103a2565b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516105739190610957565b600060405180830381855af49150503d80600081146105ae576040519150601f19603f3d011682016040523d82523d6000602084013e6105b3565b606091505b50915091506105c382828661074e565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6103fd565b6105fe816107a1565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b73ffffffffffffffffffffffffffffffffffffffff81166106e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016103a2565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6060831561075d5750816102b1565b82511561076d5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a29190610973565b73ffffffffffffffffffffffffffffffffffffffff81163b610845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103a2565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610708565b803573ffffffffffffffffffffffffffffffffffffffff8116811461089057600080fd5b919050565b6000602082840312156108a757600080fd5b6102b18261086c565b6000806000604084860312156108c557600080fd5b6108ce8461086c565b9250602084013567ffffffffffffffff808211156108eb57600080fd5b818601915086601f8301126108ff57600080fd5b81358181111561090e57600080fd5b87602082850101111561092057600080fd5b6020830194508093505050509250925092565b60005b8381101561094e578181015183820152602001610936565b50506000910152565b60008251610969818460208701610933565b9190910192915050565b6020815260008251806020840152610992816040850160208701610933565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205f078eeb5690e33d91e7b90c18c8f4a8b449ac85285d1fee003c4e18e239c87764736f6c63430008100033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000ad0c361ef902a7d9851ca7dcc85535da2d3c6fc70000000000000000000000005613af0474eb9c528a34701a5b1662e3c8fa067800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/a88e40d6fd1fec052623b95a80e40b2308638221bb475d29a93e86fa3510cce7 b/tests/cachedrpc/a88e40d6fd1fec052623b95a80e40b2308638221bb475d29a93e86fa3510cce7 new file mode 100644 index 00000000..e9f82bcc --- /dev/null +++ b/tests/cachedrpc/a88e40d6fd1fec052623b95a80e40b2308638221bb475d29a93e86fa3510cce7 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x5d3a536e4d6dbd6114cc1ead35777bab948e3643","contractCreator":"0xa7ff0d561cd15ed525e31bbe0af3fe34ac2059f6","txHash":"0x090ce7d33359e5d288ce169f41bb3d2cb55ac17b026a10cf80b3fc4f0c85c827","blockNumber":"8983575","timestamp":"1574471013","contractFactory":"","creationBytecode":"0x60806040523480156200001157600080fd5b50604051620025803803806200258083398181016040526101408110156200003857600080fd5b81516020830151604080850151606086015160808701805193519597949692959194919392820192846401000000008211156200007457600080fd5b9083019060208201858111156200008a57600080fd5b8251640100000000811182820188101715620000a557600080fd5b82525081516020918201929091019080838360005b83811015620000d4578181015183820152602001620000ba565b50505050905090810190601f168015620001025780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012657600080fd5b9083019060208201858111156200013c57600080fd5b82516401000000008111828201881017156200015757600080fd5b82525081516020918201929091019080838360005b83811015620001865781810151838201526020016200016c565b50505050905090810190601f168015620001b45780820380516001836020036101000a031916815260200191505b50604081815260208301519083015160608401516080909401805192969195919284640100000000821115620001e957600080fd5b908301906020820185811115620001ff57600080fd5b82516401000000008111828201881017156200021a57600080fd5b82525081516020918201929091019080838360005b83811015620002495781810151838201526020016200022f565b50505050905090810190601f168015620002775780820380516001836020036101000a031916815260200191505b5060405250505033600360016101000a8154816001600160a01b0302191690836001600160a01b031602179055506200043d828b8b8b8b8b8b8b60405160240180886001600160a01b03166001600160a01b03168152602001876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200185815260200180602001806020018460ff1660ff168152602001838103835286818151815260200191508051906020019080838360005b838110156200035157818101518382015260200162000337565b50505050905090810190601f1680156200037f5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015620003b45781810151838201526020016200039a565b50505050905090810190601f168015620003e25780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b039081167f1a31d4650000000000000000000000000000000000000000000000000000000017909152909a506200048b1698505050505050505050565b5062000455826000836001600160e01b036200055216565b5050600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055506200077f95505050505050565b606060006060846001600160a01b0316846040518082805190602001908083835b60208310620004cd5780518252601f199092019160209182019101620004ac565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146200052f576040519150601f19603f3d011682016040523d82523d6000602084013e62000534565b606091505b509150915060008214156200054a573d60208201fd5b949350505050565b60035461010090046001600160a01b03163314620005bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526039815260200180620025476039913960400191505060405180910390fd5b811562000617576040805160048152602481019091526020810180516001600160e01b039081167f153ab50500000000000000000000000000000000000000000000000000000000179091526200061591906200075516565b505b601280546001600160a01b038581166001600160a01b0319831617909255604051602060248201818152855160448401528551949093169362000706938693909283926064909201919085019080838360005b83811015620006845781810151838201526020016200066a565b50505050905090810190601f168015620006b25780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b039081167f56e6772800000000000000000000000000000000000000000000000000000000179091529093506200075516915050565b50601254604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b60125460609062000779906001600160a01b0316836001600160e01b036200048b16565b92915050565b611db8806200078f6000396000f3fe6080604052600436106102c95760003560e01c806373acee9811610175578063bd6d894d116100dc578063f2b3abbd11610095578063f851a4401161006f578063f851a44014610cce578063f8f9da2814610ce3578063fca7820b14610cf8578063fe9c44ae14610d22576102c9565b8063f2b3abbd14610c43578063f3fdb15a14610c76578063f5e3c46214610c8b576102c9565b8063bd6d894d14610b31578063c37f68e214610b46578063c5ebeaec14610b9f578063db006a7514610bc9578063dd62ed3e14610bf3578063e9c714f214610c2e576102c9565b8063a6afed951161012e578063a6afed9514610a43578063a9059cbb14610a58578063aa5af0fd14610a91578063ae9d70b014610aa6578063b2a02ff114610abb578063b71d1a0c14610afe576102c9565b806373acee981461097d578063852a12e3146109925780638f840ddd146109bc57806395d89b41146109d157806395dd9193146109e6578063a0712d6814610a19576102c9565b80633af9e66911610234578063555bcc40116101ed578063601a0bf1116101c7578063601a0bf1146108f65780636c540baf146109205780636f307dc31461093557806370a082311461094a576102c9565b8063555bcc40146108025780635c60da1b146108cc5780635fe3b567146108e1576102c9565b80633af9e669146106975780633b1d21a2146106ca5780633e941010146106df5780634487152f146107095780634576b5db146107ba57806347bd3718146107ed576102c9565b806318160ddd1161028657806318160ddd14610595578063182df0f5146105aa57806323b872dd146105bf5780632608f81814610602578063267822471461063b578063313ce5671461066c576102c9565b806306fdde03146103895780630933c1ed14610413578063095ea7b3146104c45780630e75270214610511578063173b99041461054d57806317bfdfbc14610562575b34156103065760405162461bcd60e51b8152600401808060200182810382526037815260200180611d146037913960400191505060405180910390fd5b6012546040516000916001600160a01b031690829036908083838082843760405192019450600093509091505080830381855af49150503d8060008114610369576040519150601f19603f3d011682016040523d82523d6000602084013e61036e565b606091505b505090506040513d6000823e818015610385573d82f35b3d82fd5b34801561039557600080fd5b5061039e610d37565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d85781810151838201526020016103c0565b50505050905090810190601f1680156104055780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041f57600080fd5b5061039e6004803603602081101561043657600080fd5b810190602081018135600160201b81111561045057600080fd5b82018360208201111561046257600080fd5b803590602001918460018302840111600160201b8311171561048357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610dc4945050505050565b3480156104d057600080fd5b506104fd600480360360408110156104e757600080fd5b506001600160a01b038135169060200135610de3565b604080519115158252519081900360200190f35b34801561051d57600080fd5b5061053b6004803603602081101561053457600080fd5b5035610e5a565b60408051918252519081900360200190f35b34801561055957600080fd5b5061053b610ec1565b34801561056e57600080fd5b5061053b6004803603602081101561058557600080fd5b50356001600160a01b0316610ec7565b3480156105a157600080fd5b5061053b610f19565b3480156105b657600080fd5b5061053b610f1f565b3480156105cb57600080fd5b506104fd600480360360608110156105e257600080fd5b506001600160a01b03813581169160208101359091169060400135610f76565b34801561060e57600080fd5b5061053b6004803603604081101561062557600080fd5b506001600160a01b038135169060200135610ff6565b34801561064757600080fd5b5061065061104c565b604080516001600160a01b039092168252519081900360200190f35b34801561067857600080fd5b5061068161105b565b6040805160ff9092168252519081900360200190f35b3480156106a357600080fd5b5061053b600480360360208110156106ba57600080fd5b50356001600160a01b0316611064565b3480156106d657600080fd5b5061053b6110b6565b3480156106eb57600080fd5b5061053b6004803603602081101561070257600080fd5b50356110ee565b34801561071557600080fd5b5061039e6004803603602081101561072c57600080fd5b810190602081018135600160201b81111561074657600080fd5b82018360208201111561075857600080fd5b803590602001918460018302840111600160201b8311171561077957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611135945050505050565b3480156107c657600080fd5b5061053b600480360360208110156107dd57600080fd5b50356001600160a01b0316611354565b3480156107f957600080fd5b5061053b6113a6565b34801561080e57600080fd5b506108ca6004803603606081101561082557600080fd5b6001600160a01b03823516916020810135151591810190606081016040820135600160201b81111561085657600080fd5b82018360208201111561086857600080fd5b803590602001918460018302840111600160201b8311171561088957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113ac945050505050565b005b3480156108d857600080fd5b5061065061154f565b3480156108ed57600080fd5b5061065061155e565b34801561090257600080fd5b5061053b6004803603602081101561091957600080fd5b503561156d565b34801561092c57600080fd5b5061053b6115b4565b34801561094157600080fd5b506106506115ba565b34801561095657600080fd5b5061053b6004803603602081101561096d57600080fd5b50356001600160a01b03166115c9565b34801561098957600080fd5b5061053b61161b565b34801561099e57600080fd5b5061053b600480360360208110156109b557600080fd5b5035611653565b3480156109c857600080fd5b5061053b61169a565b3480156109dd57600080fd5b5061039e6116a0565b3480156109f257600080fd5b5061053b60048036036020811015610a0957600080fd5b50356001600160a01b03166116f8565b348015610a2557600080fd5b5061053b60048036036020811015610a3c57600080fd5b503561174a565b348015610a4f57600080fd5b5061053b611791565b348015610a6457600080fd5b506104fd60048036036040811015610a7b57600080fd5b506001600160a01b0381351690602001356117c9565b348015610a9d57600080fd5b5061053b61181f565b348015610ab257600080fd5b5061053b611825565b348015610ac757600080fd5b5061053b60048036036060811015610ade57600080fd5b506001600160a01b0381358116916020810135909116906040013561185d565b348015610b0a57600080fd5b5061053b60048036036020811015610b2157600080fd5b50356001600160a01b03166118bb565b348015610b3d57600080fd5b5061053b61190d565b348015610b5257600080fd5b50610b7960048036036020811015610b6957600080fd5b50356001600160a01b0316611945565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610bab57600080fd5b5061053b60048036036020811015610bc257600080fd5b50356119d7565b348015610bd557600080fd5b5061053b60048036036020811015610bec57600080fd5b5035611a1e565b348015610bff57600080fd5b5061053b60048036036040811015610c1657600080fd5b506001600160a01b0381358116916020013516611a65565b348015610c3a57600080fd5b5061053b611abf565b348015610c4f57600080fd5b5061053b60048036036020811015610c6657600080fd5b50356001600160a01b0316611af7565b348015610c8257600080fd5b50610650611b49565b348015610c9757600080fd5b5061053b60048036036060811015610cae57600080fd5b506001600160a01b03813581169160208101359160409091013516611b58565b348015610cda57600080fd5b50610650611bb9565b348015610cef57600080fd5b5061053b611bcd565b348015610d0457600080fd5b5061053b60048036036020811015610d1b57600080fd5b5035611c05565b348015610d2e57600080fd5b506104fd611c4c565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610dbc5780601f10610d9157610100808354040283529160200191610dbc565b820191906000526020600020905b815481529060010190602001808311610d9f57829003601f168201915b505050505081565b601254606090610ddd906001600160a01b031683611c51565b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052600090606090610e3990610dc4565b9050808060200190516020811015610e5057600080fd5b5051949350505050565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663073a938160e11b179052600090606090610ea190610dc4565b9050808060200190516020811015610eb857600080fd5b50519392505050565b60085481565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166305eff7ef60e21b179052600090606090610ea190610dc4565b600d5481565b6040805160048152602481019091526020810180516001600160e01b031663182df0f560e01b179052600090606090610f5790611135565b9050808060200190516020811015610f6e57600080fd5b505191505090565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052600090606090610fd490610dc4565b9050808060200190516020811015610feb57600080fd5b505195945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b03166304c11f0360e31b179052600090606090610e3990610dc4565b6004546001600160a01b031681565b60035460ff1681565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316633af9e66960e01b179052600090606090610ea190610dc4565b6040805160048152602481019091526020810180516001600160e01b0316631d8e90d160e11b179052600090606090610f5790611135565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b03166303e9410160e41b179052600090606090610ea190610dc4565b606060006060306001600160a01b0316846040516024018080602001828103825283818151815260200191508051906020019080838360005b8381101561118657818101518382015260200161116e565b50505050905090810190601f1680156111b35780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b178152905182519295509350839250908083835b6020831061120e5780518252601f1990920191602091820191016111ef565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461126e576040519150601f19603f3d011682016040523d82523d6000602084013e611273565b606091505b50915091506000821415611288573d60208201fd5b80806020019051602081101561129d57600080fd5b8101908080516040519392919084600160201b8211156112bc57600080fd5b9083019060208201858111156112d157600080fd5b8251600160201b8111828201881017156112ea57600080fd5b82525081516020918201929091019080838360005b838110156113175781810151838201526020016112ff565b50505050905090810190601f1680156113445780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316634576b5db60e01b179052600090606090610ea190610dc4565b600b5481565b60035461010090046001600160a01b031633146113fa5760405162461bcd60e51b8152600401808060200182810382526039815260200180611d4b6039913960400191505060405180910390fd5b8115611434576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b17905261143290610dc4565b505b601280546001600160a01b038581166001600160a01b03198316179092556040516020602482018181528551604484015285519490931693611500938693909283926064909201919085019080838360005b8381101561149e578181015183820152602001611486565b50505050905090810190601f1680156114cb5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b1790529250610dc4915050565b50601254604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6012546001600160a01b031681565b6005546001600160a01b031681565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663601a0bf160e01b179052600090606090610ea190610dc4565b60095481565b6011546001600160a01b031681565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166370a0823160e01b179052600090606090610ea190611135565b6040805160048152602481019091526020810180516001600160e01b0316630e759dd360e31b179052600090606090610f5790610dc4565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663852a12e360e01b179052600090606090610ea190610dc4565b600c5481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610dbc5780601f10610d9157610100808354040283529160200191610dbc565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166395dd919360e01b179052600090606090610ea190611135565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663140e25ad60e31b179052600090606090610ea190610dc4565b6040805160048152602481019091526020810180516001600160e01b031663a6afed9560e01b179052600090606090610f5790610dc4565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052600090606090610e3990610dc4565b600a5481565b6040805160048152602481019091526020810180516001600160e01b0316630ae9d70b60e41b179052600090606090610f5790611135565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b031663b2a02ff160e01b179052600090606090610fd490610dc4565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316632dc7468360e21b179052600090606090610ea190610dc4565b6040805160048152602481019091526020810180516001600160e01b031663bd6d894d60e01b179052600090606090610f5790610dc4565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166361bfb47160e11b17905260009081908190819060609061199d90611135565b90508080602001905160808110156119b457600080fd5b508051602082015160408301516060909301519199909850919650945092505050565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663317afabb60e21b179052600090606090610ea190610dc4565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663db006a7560e01b179052600090606090610ea190610dc4565b604080516001600160a01b03808516602483015283166044808301919091528251808303909101815260649091019091526020810180516001600160e01b0316636eb1769f60e11b179052600090606090610e3990611135565b6040805160048152602481019091526020810180516001600160e01b03166374e38a7960e11b179052600090606090610f5790610dc4565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b031663f2b3abbd60e01b179052600090606090610ea190610dc4565b6006546001600160a01b031681565b604080516001600160a01b0380861660248301526044820185905283166064808301919091528251808303909101815260849091019091526020810180516001600160e01b0316637af1e23160e11b179052600090606090610fd490610dc4565b60035461010090046001600160a01b031681565b6040805160048152602481019091526020810180516001600160e01b0316631f1f3b4560e31b179052600090606090610f5790611135565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663fca7820b60e01b179052600090606090610ea190610dc4565b600181565b606060006060846001600160a01b0316846040518082805190602001908083835b60208310611c915780518252601f199092019160209182019101611c72565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611cf1576040519150601f19603f3d011682016040523d82523d6000602084013e611cf6565b606091505b50915091506000821415611d0b573d60208201fd5b94935050505056fe43457263323044656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b43457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696ea265627a7a72315820cbe9fd14af4c84788f56d371977db525a55a420bdb2210e071a3686e9739091c64736f6c634300050c003243457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696e0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b0000000000000000000000005562024784cc914069d67d89a28e3201bf7b57e7000000000000000000000000000000000000000000a56fa5b99019a5c80000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000080000000000000000000000006d903f6003cca6255d85cca4d3b5e5146dc3392500000000000000000000000099ee778b9a6205657dd03b2b91415c8646d521ec00000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000c436f6d706f756e642044616900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004634441490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/aa67fab302d6ebfd2523acb67b86b4e3f1ea216dbd5d5178d2c0e80f294c78f8 b/tests/cachedrpc/aa67fab302d6ebfd2523acb67b86b4e3f1ea216dbd5d5178d2c0e80f294c78f8 new file mode 100644 index 00000000..da3b68a5 --- /dev/null +++ b/tests/cachedrpc/aa67fab302d6ebfd2523acb67b86b4e3f1ea216dbd5d5178d2c0e80f294c78f8 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity =0.5.16;\r\n\r\ninterface IUniswapV2Factory {\r\n event PairCreated(address indexed token0, address indexed token1, address pair, uint);\r\n\r\n function feeTo() external view returns (address);\r\n function feeToSetter() external view returns (address);\r\n\r\n function getPair(address tokenA, address tokenB) external view returns (address pair);\r\n function allPairs(uint) external view returns (address pair);\r\n function allPairsLength() external view returns (uint);\r\n\r\n function createPair(address tokenA, address tokenB) external returns (address pair);\r\n\r\n function setFeeTo(address) external;\r\n function setFeeToSetter(address) external;\r\n}\r\n\r\ninterface IUniswapV2Pair {\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n function name() external pure returns (string memory);\r\n function symbol() external pure returns (string memory);\r\n function decimals() external pure returns (uint8);\r\n function totalSupply() external view returns (uint);\r\n function balanceOf(address owner) external view returns (uint);\r\n function allowance(address owner, address spender) external view returns (uint);\r\n\r\n function approve(address spender, uint value) external returns (bool);\r\n function transfer(address to, uint value) external returns (bool);\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n\r\n function DOMAIN_SEPARATOR() external view returns (bytes32);\r\n function PERMIT_TYPEHASH() external pure returns (bytes32);\r\n function nonces(address owner) external view returns (uint);\r\n\r\n function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;\r\n\r\n event Mint(address indexed sender, uint amount0, uint amount1);\r\n event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);\r\n event Swap(\r\n address indexed sender,\r\n uint amount0In,\r\n uint amount1In,\r\n uint amount0Out,\r\n uint amount1Out,\r\n address indexed to\r\n );\r\n event Sync(uint112 reserve0, uint112 reserve1);\r\n\r\n function MINIMUM_LIQUIDITY() external pure returns (uint);\r\n function factory() external view returns (address);\r\n function token0() external view returns (address);\r\n function token1() external view returns (address);\r\n function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);\r\n function price0CumulativeLast() external view returns (uint);\r\n function price1CumulativeLast() external view returns (uint);\r\n function kLast() external view returns (uint);\r\n\r\n function mint(address to) external returns (uint liquidity);\r\n function burn(address to) external returns (uint amount0, uint amount1);\r\n function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;\r\n function skim(address to) external;\r\n function sync() external;\r\n\r\n function initialize(address, address) external;\r\n}\r\n\r\ninterface IUniswapV2ERC20 {\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n function name() external pure returns (string memory);\r\n function symbol() external pure returns (string memory);\r\n function decimals() external pure returns (uint8);\r\n function totalSupply() external view returns (uint);\r\n function balanceOf(address owner) external view returns (uint);\r\n function allowance(address owner, address spender) external view returns (uint);\r\n\r\n function approve(address spender, uint value) external returns (bool);\r\n function transfer(address to, uint value) external returns (bool);\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n\r\n function DOMAIN_SEPARATOR() external view returns (bytes32);\r\n function PERMIT_TYPEHASH() external pure returns (bytes32);\r\n function nonces(address owner) external view returns (uint);\r\n\r\n function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;\r\n}\r\n\r\ninterface IERC20 {\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n function name() external view returns (string memory);\r\n function symbol() external view returns (string memory);\r\n function decimals() external view returns (uint8);\r\n function totalSupply() external view returns (uint);\r\n function balanceOf(address owner) external view returns (uint);\r\n function allowance(address owner, address spender) external view returns (uint);\r\n\r\n function approve(address spender, uint value) external returns (bool);\r\n function transfer(address to, uint value) external returns (bool);\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n}\r\n\r\ninterface IUniswapV2Callee {\r\n function uniswapV2Call(address sender, uint amount0, uint amount1, bytes calldata data) external;\r\n}\r\n\r\ncontract UniswapV2ERC20 is IUniswapV2ERC20 {\r\n using SafeMath for uint;\r\n\r\n string public constant name = 'Uniswap V2';\r\n string public constant symbol = 'UNI-V2';\r\n uint8 public constant decimals = 18;\r\n uint public totalSupply;\r\n mapping(address => uint) public balanceOf;\r\n mapping(address => mapping(address => uint)) public allowance;\r\n\r\n bytes32 public DOMAIN_SEPARATOR;\r\n // keccak256(\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\");\r\n bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;\r\n mapping(address => uint) public nonces;\r\n\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n\r\n constructor() public {\r\n uint chainId;\r\n assembly {\r\n chainId := chainid\r\n }\r\n DOMAIN_SEPARATOR = keccak256(\r\n abi.encode(\r\n keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),\r\n keccak256(bytes(name)),\r\n keccak256(bytes('1')),\r\n chainId,\r\n address(this)\r\n )\r\n );\r\n }\r\n\r\n function _mint(address to, uint value) internal {\r\n totalSupply = totalSupply.add(value);\r\n balanceOf[to] = balanceOf[to].add(value);\r\n emit Transfer(address(0), to, value);\r\n }\r\n\r\n function _burn(address from, uint value) internal {\r\n balanceOf[from] = balanceOf[from].sub(value);\r\n totalSupply = totalSupply.sub(value);\r\n emit Transfer(from, address(0), value);\r\n }\r\n\r\n function _approve(address owner, address spender, uint value) private {\r\n allowance[owner][spender] = value;\r\n emit Approval(owner, spender, value);\r\n }\r\n\r\n function _transfer(address from, address to, uint value) private {\r\n balanceOf[from] = balanceOf[from].sub(value);\r\n balanceOf[to] = balanceOf[to].add(value);\r\n emit Transfer(from, to, value);\r\n }\r\n\r\n function approve(address spender, uint value) external returns (bool) {\r\n _approve(msg.sender, spender, value);\r\n return true;\r\n }\r\n\r\n function transfer(address to, uint value) external returns (bool) {\r\n _transfer(msg.sender, to, value);\r\n return true;\r\n }\r\n\r\n function transferFrom(address from, address to, uint value) external returns (bool) {\r\n if (allowance[from][msg.sender] != uint(-1)) {\r\n allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);\r\n }\r\n _transfer(from, to, value);\r\n return true;\r\n }\r\n\r\n function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {\r\n require(deadline >= block.timestamp, 'UniswapV2: EXPIRED');\r\n bytes32 digest = keccak256(\r\n abi.encodePacked(\r\n '\\x19\\x01',\r\n DOMAIN_SEPARATOR,\r\n keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))\r\n )\r\n );\r\n address recoveredAddress = ecrecover(digest, v, r, s);\r\n require(recoveredAddress != address(0) && recoveredAddress == owner, 'UniswapV2: INVALID_SIGNATURE');\r\n _approve(owner, spender, value);\r\n }\r\n}\r\n\r\ncontract UniswapV2Pair is IUniswapV2Pair, UniswapV2ERC20 {\r\n using SafeMath for uint;\r\n using UQ112x112 for uint224;\r\n\r\n uint public constant MINIMUM_LIQUIDITY = 10**3;\r\n bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));\r\n\r\n address public factory;\r\n address public token0;\r\n address public token1;\r\n\r\n uint112 private reserve0; // uses single storage slot, accessible via getReserves\r\n uint112 private reserve1; // uses single storage slot, accessible via getReserves\r\n uint32 private blockTimestampLast; // uses single storage slot, accessible via getReserves\r\n\r\n uint public price0CumulativeLast;\r\n uint public price1CumulativeLast;\r\n uint public kLast; // reserve0 * reserve1, as of immediately after the most recent liquidity event\r\n\r\n uint private unlocked = 1;\r\n modifier lock() {\r\n require(unlocked == 1, 'UniswapV2: LOCKED');\r\n unlocked = 0;\r\n _;\r\n unlocked = 1;\r\n }\r\n\r\n function getReserves() public view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) {\r\n _reserve0 = reserve0;\r\n _reserve1 = reserve1;\r\n _blockTimestampLast = blockTimestampLast;\r\n }\r\n\r\n function _safeTransfer(address token, address to, uint value) private {\r\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value));\r\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'UniswapV2: TRANSFER_FAILED');\r\n }\r\n\r\n event Mint(address indexed sender, uint amount0, uint amount1);\r\n event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);\r\n event Swap(\r\n address indexed sender,\r\n uint amount0In,\r\n uint amount1In,\r\n uint amount0Out,\r\n uint amount1Out,\r\n address indexed to\r\n );\r\n event Sync(uint112 reserve0, uint112 reserve1);\r\n\r\n constructor() public {\r\n factory = msg.sender;\r\n }\r\n\r\n // called once by the factory at time of deployment\r\n function initialize(address _token0, address _token1) external {\r\n require(msg.sender == factory, 'UniswapV2: FORBIDDEN'); // sufficient check\r\n token0 = _token0;\r\n token1 = _token1;\r\n }\r\n\r\n // update reserves and, on the first call per block, price accumulators\r\n function _update(uint balance0, uint balance1, uint112 _reserve0, uint112 _reserve1) private {\r\n require(balance0 <= uint112(-1) && balance1 <= uint112(-1), 'UniswapV2: OVERFLOW');\r\n uint32 blockTimestamp = uint32(block.timestamp % 2**32);\r\n uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired\r\n if (timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0) {\r\n // * never overflows, and + overflow is desired\r\n price0CumulativeLast += uint(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed;\r\n price1CumulativeLast += uint(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed;\r\n }\r\n reserve0 = uint112(balance0);\r\n reserve1 = uint112(balance1);\r\n blockTimestampLast = blockTimestamp;\r\n emit Sync(reserve0, reserve1);\r\n }\r\n\r\n // if fee is on, mint liquidity equivalent to 1/6th of the growth in sqrt(k)\r\n function _mintFee(uint112 _reserve0, uint112 _reserve1) private returns (bool feeOn) {\r\n address feeTo = IUniswapV2Factory(factory).feeTo();\r\n feeOn = feeTo != address(0);\r\n uint _kLast = kLast; // gas savings\r\n if (feeOn) {\r\n if (_kLast != 0) {\r\n uint rootK = Math.sqrt(uint(_reserve0).mul(_reserve1));\r\n uint rootKLast = Math.sqrt(_kLast);\r\n if (rootK > rootKLast) {\r\n uint numerator = totalSupply.mul(rootK.sub(rootKLast));\r\n uint denominator = rootK.mul(5).add(rootKLast);\r\n uint liquidity = numerator / denominator;\r\n if (liquidity > 0) _mint(feeTo, liquidity);\r\n }\r\n }\r\n } else if (_kLast != 0) {\r\n kLast = 0;\r\n }\r\n }\r\n\r\n // this low-level function should be called from a contract which performs important safety checks\r\n function mint(address to) external lock returns (uint liquidity) {\r\n (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings\r\n uint balance0 = IERC20(token0).balanceOf(address(this));\r\n uint balance1 = IERC20(token1).balanceOf(address(this));\r\n uint amount0 = balance0.sub(_reserve0);\r\n uint amount1 = balance1.sub(_reserve1);\r\n\r\n bool feeOn = _mintFee(_reserve0, _reserve1);\r\n uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee\r\n if (_totalSupply == 0) {\r\n liquidity = Math.sqrt(amount0.mul(amount1)).sub(MINIMUM_LIQUIDITY);\r\n _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens\r\n } else {\r\n liquidity = Math.min(amount0.mul(_totalSupply) / _reserve0, amount1.mul(_totalSupply) / _reserve1);\r\n }\r\n require(liquidity > 0, 'UniswapV2: INSUFFICIENT_LIQUIDITY_MINTED');\r\n _mint(to, liquidity);\r\n\r\n _update(balance0, balance1, _reserve0, _reserve1);\r\n if (feeOn) kLast = uint(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date\r\n emit Mint(msg.sender, amount0, amount1);\r\n }\r\n\r\n // this low-level function should be called from a contract which performs important safety checks\r\n function burn(address to) external lock returns (uint amount0, uint amount1) {\r\n (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings\r\n address _token0 = token0; // gas savings\r\n address _token1 = token1; // gas savings\r\n uint balance0 = IERC20(_token0).balanceOf(address(this));\r\n uint balance1 = IERC20(_token1).balanceOf(address(this));\r\n uint liquidity = balanceOf[address(this)];\r\n\r\n bool feeOn = _mintFee(_reserve0, _reserve1);\r\n uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee\r\n amount0 = liquidity.mul(balance0) / _totalSupply; // using balances ensures pro-rata distribution\r\n amount1 = liquidity.mul(balance1) / _totalSupply; // using balances ensures pro-rata distribution\r\n require(amount0 > 0 && amount1 > 0, 'UniswapV2: INSUFFICIENT_LIQUIDITY_BURNED');\r\n _burn(address(this), liquidity);\r\n _safeTransfer(_token0, to, amount0);\r\n _safeTransfer(_token1, to, amount1);\r\n balance0 = IERC20(_token0).balanceOf(address(this));\r\n balance1 = IERC20(_token1).balanceOf(address(this));\r\n\r\n _update(balance0, balance1, _reserve0, _reserve1);\r\n if (feeOn) kLast = uint(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date\r\n emit Burn(msg.sender, amount0, amount1, to);\r\n }\r\n\r\n // this low-level function should be called from a contract which performs important safety checks\r\n function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external lock {\r\n require(amount0Out > 0 || amount1Out > 0, 'UniswapV2: INSUFFICIENT_OUTPUT_AMOUNT');\r\n (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings\r\n require(amount0Out < _reserve0 && amount1Out < _reserve1, 'UniswapV2: INSUFFICIENT_LIQUIDITY');\r\n\r\n uint balance0;\r\n uint balance1;\r\n { // scope for _token{0,1}, avoids stack too deep errors\r\n address _token0 = token0;\r\n address _token1 = token1;\r\n require(to != _token0 && to != _token1, 'UniswapV2: INVALID_TO');\r\n if (amount0Out > 0) _safeTransfer(_token0, to, amount0Out); // optimistically transfer tokens\r\n if (amount1Out > 0) _safeTransfer(_token1, to, amount1Out); // optimistically transfer tokens\r\n if (data.length > 0) IUniswapV2Callee(to).uniswapV2Call(msg.sender, amount0Out, amount1Out, data);\r\n balance0 = IERC20(_token0).balanceOf(address(this));\r\n balance1 = IERC20(_token1).balanceOf(address(this));\r\n }\r\n uint amount0In = balance0 > _reserve0 - amount0Out ? balance0 - (_reserve0 - amount0Out) : 0;\r\n uint amount1In = balance1 > _reserve1 - amount1Out ? balance1 - (_reserve1 - amount1Out) : 0;\r\n require(amount0In > 0 || amount1In > 0, 'UniswapV2: INSUFFICIENT_INPUT_AMOUNT');\r\n { // scope for reserve{0,1}Adjusted, avoids stack too deep errors\r\n uint balance0Adjusted = balance0.mul(1000).sub(amount0In.mul(3));\r\n uint balance1Adjusted = balance1.mul(1000).sub(amount1In.mul(3));\r\n require(balance0Adjusted.mul(balance1Adjusted) >= uint(_reserve0).mul(_reserve1).mul(1000**2), 'UniswapV2: K');\r\n }\r\n\r\n _update(balance0, balance1, _reserve0, _reserve1);\r\n emit Swap(msg.sender, amount0In, amount1In, amount0Out, amount1Out, to);\r\n }\r\n\r\n // force balances to match reserves\r\n function skim(address to) external lock {\r\n address _token0 = token0; // gas savings\r\n address _token1 = token1; // gas savings\r\n _safeTransfer(_token0, to, IERC20(_token0).balanceOf(address(this)).sub(reserve0));\r\n _safeTransfer(_token1, to, IERC20(_token1).balanceOf(address(this)).sub(reserve1));\r\n }\r\n\r\n // force reserves to match balances\r\n function sync() external lock {\r\n _update(IERC20(token0).balanceOf(address(this)), IERC20(token1).balanceOf(address(this)), reserve0, reserve1);\r\n }\r\n}\r\n\r\ncontract UniswapV2Factory is IUniswapV2Factory {\r\n address public feeTo;\r\n address public feeToSetter;\r\n\r\n mapping(address => mapping(address => address)) public getPair;\r\n address[] public allPairs;\r\n\r\n event PairCreated(address indexed token0, address indexed token1, address pair, uint);\r\n\r\n constructor(address _feeToSetter) public {\r\n feeToSetter = _feeToSetter;\r\n }\r\n\r\n function allPairsLength() external view returns (uint) {\r\n return allPairs.length;\r\n }\r\n\r\n function createPair(address tokenA, address tokenB) external returns (address pair) {\r\n require(tokenA != tokenB, 'UniswapV2: IDENTICAL_ADDRESSES');\r\n (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);\r\n require(token0 != address(0), 'UniswapV2: ZERO_ADDRESS');\r\n require(getPair[token0][token1] == address(0), 'UniswapV2: PAIR_EXISTS'); // single check is sufficient\r\n bytes memory bytecode = type(UniswapV2Pair).creationCode;\r\n bytes32 salt = keccak256(abi.encodePacked(token0, token1));\r\n assembly {\r\n pair := create2(0, add(bytecode, 32), mload(bytecode), salt)\r\n }\r\n IUniswapV2Pair(pair).initialize(token0, token1);\r\n getPair[token0][token1] = pair;\r\n getPair[token1][token0] = pair; // populate mapping in the reverse direction\r\n allPairs.push(pair);\r\n emit PairCreated(token0, token1, pair, allPairs.length);\r\n }\r\n\r\n function setFeeTo(address _feeTo) external {\r\n require(msg.sender == feeToSetter, 'UniswapV2: FORBIDDEN');\r\n feeTo = _feeTo;\r\n }\r\n\r\n function setFeeToSetter(address _feeToSetter) external {\r\n require(msg.sender == feeToSetter, 'UniswapV2: FORBIDDEN');\r\n feeToSetter = _feeToSetter;\r\n }\r\n}\r\n\r\n// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)\r\n\r\nlibrary SafeMath {\r\n function add(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x + y) >= x, 'ds-math-add-overflow');\r\n }\r\n\r\n function sub(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x - y) <= x, 'ds-math-sub-underflow');\r\n }\r\n\r\n function mul(uint x, uint y) internal pure returns (uint z) {\r\n require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');\r\n }\r\n}\r\n\r\n// a library for performing various math operations\r\n\r\nlibrary Math {\r\n function min(uint x, uint y) internal pure returns (uint z) {\r\n z = x < y ? x : y;\r\n }\r\n\r\n // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)\r\n function sqrt(uint y) internal pure returns (uint z) {\r\n if (y > 3) {\r\n z = y;\r\n uint x = y / 2 + 1;\r\n while (x < z) {\r\n z = x;\r\n x = (y / x + x) / 2;\r\n }\r\n } else if (y != 0) {\r\n z = 1;\r\n }\r\n }\r\n}\r\n\r\n// a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format))\r\n\r\n// range: [0, 2**112 - 1]\r\n// resolution: 1 / 2**112\r\n\r\nlibrary UQ112x112 {\r\n uint224 constant Q112 = 2**112;\r\n\r\n // encode a uint112 as a UQ112x112\r\n function encode(uint112 y) internal pure returns (uint224 z) {\r\n z = uint224(y) * Q112; // never overflows\r\n }\r\n\r\n // divide a UQ112x112 by a uint112, returning a UQ112x112\r\n function uqdiv(uint224 x, uint112 y) internal pure returns (uint224 z) {\r\n z = x / uint224(y);\r\n }\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"allPairsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeToSetter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeTo\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"name\":\"setFeeToSetter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"UniswapV2Factory","CompilerVersion":"v0.5.16+commit.9c3226ce","CompilerType":"solc","OptimizationUsed":"1","Runs":"999999","ConstructorArguments":"000000000000000000000000c0a4272bb5df52134178df25d77561cfb17ce407","EVMVersion":"istanbul","Library":"","LicenseType":"GNU GPLv3","Proxy":"0","Implementation":"","SwarmSource":"bzzr://2760f92d7fa1db6f5aa16307bad65df4ebcc8550c4b1f03755ab8dfd830c178f","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/ab164f62dfd619361cbcd8abf3d67ed9890420618e9dfc6f95ff43865262e8a6 b/tests/cachedrpc/ab164f62dfd619361cbcd8abf3d67ed9890420618e9dfc6f95ff43865262e8a6 new file mode 100644 index 00000000..a90e7969 --- /dev/null +++ b/tests/cachedrpc/ab164f62dfd619361cbcd8abf3d67ed9890420618e9dfc6f95ff43865262e8a6 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// MKR Token\r\n\r\n// hevm: flattened sources of src/mkr-499.sol\r\npragma solidity ^0.4.15;\r\n\r\n////// lib/ds-roles/lib/ds-auth/src/auth.sol\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.13; */\r\n\r\ncontract DSAuthority {\r\n function canCall(\r\n address src, address dst, bytes4 sig\r\n ) public view returns (bool);\r\n}\r\n\r\ncontract DSAuthEvents {\r\n event LogSetAuthority (address indexed authority);\r\n event LogSetOwner (address indexed owner);\r\n}\r\n\r\ncontract DSAuth is DSAuthEvents {\r\n DSAuthority public authority;\r\n address public owner;\r\n\r\n function DSAuth() public {\r\n owner = msg.sender;\r\n LogSetOwner(msg.sender);\r\n }\r\n\r\n function setOwner(address owner_)\r\n public\r\n auth\r\n {\r\n owner = owner_;\r\n LogSetOwner(owner);\r\n }\r\n\r\n function setAuthority(DSAuthority authority_)\r\n public\r\n auth\r\n {\r\n authority = authority_;\r\n LogSetAuthority(authority);\r\n }\r\n\r\n modifier auth {\r\n require(isAuthorized(msg.sender, msg.sig));\r\n _;\r\n }\r\n\r\n function isAuthorized(address src, bytes4 sig) internal view returns (bool) {\r\n if (src == address(this)) {\r\n return true;\r\n } else if (src == owner) {\r\n return true;\r\n } else if (authority == DSAuthority(0)) {\r\n return false;\r\n } else {\r\n return authority.canCall(src, this, sig);\r\n }\r\n }\r\n}\r\n\r\n////// lib/ds-thing/lib/ds-math/src/math.sol\r\n/// math.sol -- mixin for inline numerical wizardry\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.13; */\r\n\r\ncontract DSMath {\r\n function add(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x + y) >= x);\r\n }\r\n function sub(uint x, uint y) internal pure returns (uint z) {\r\n require((z = x - y) <= x);\r\n }\r\n function mul(uint x, uint y) internal pure returns (uint z) {\r\n require(y == 0 || (z = x * y) / y == x);\r\n }\r\n\r\n function min(uint x, uint y) internal pure returns (uint z) {\r\n return x <= y ? x : y;\r\n }\r\n function max(uint x, uint y) internal pure returns (uint z) {\r\n return x >= y ? x : y;\r\n }\r\n function imin(int x, int y) internal pure returns (int z) {\r\n return x <= y ? x : y;\r\n }\r\n function imax(int x, int y) internal pure returns (int z) {\r\n return x >= y ? x : y;\r\n }\r\n\r\n uint constant WAD = 10 ** 18;\r\n uint constant RAY = 10 ** 27;\r\n\r\n function wmul(uint x, uint y) internal pure returns (uint z) {\r\n z = add(mul(x, y), WAD / 2) / WAD;\r\n }\r\n function rmul(uint x, uint y) internal pure returns (uint z) {\r\n z = add(mul(x, y), RAY / 2) / RAY;\r\n }\r\n function wdiv(uint x, uint y) internal pure returns (uint z) {\r\n z = add(mul(x, WAD), y / 2) / y;\r\n }\r\n function rdiv(uint x, uint y) internal pure returns (uint z) {\r\n z = add(mul(x, RAY), y / 2) / y;\r\n }\r\n\r\n // This famous algorithm is called \"exponentiation by squaring\"\r\n // and calculates x^n with x as fixed-point and n as regular unsigned.\r\n //\r\n // It's O(log n), instead of O(n) for naive repeated multiplication.\r\n //\r\n // These facts are why it works:\r\n //\r\n // If n is even, then x^n = (x^2)^(n/2).\r\n // If n is odd, then x^n = x * x^(n-1),\r\n // and applying the equation for even x gives\r\n // x^n = x * (x^2)^((n-1) / 2).\r\n //\r\n // Also, EVM division is flooring and\r\n // floor[(n-1) / 2] = floor[n / 2].\r\n //\r\n function rpow(uint x, uint n) internal pure returns (uint z) {\r\n z = n % 2 != 0 ? x : RAY;\r\n\r\n for (n /= 2; n != 0; n /= 2) {\r\n x = rmul(x, x);\r\n\r\n if (n % 2 != 0) {\r\n z = rmul(z, x);\r\n }\r\n }\r\n }\r\n}\r\n\r\n////// lib/ds-thing/lib/ds-note/src/note.sol\r\n/// note.sol -- the `note' modifier, for logging calls as events\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.13; */\r\n\r\ncontract DSNote {\r\n event LogNote(\r\n bytes4 indexed sig,\r\n address indexed guy,\r\n bytes32 indexed foo,\r\n bytes32 indexed bar,\r\n uint wad,\r\n bytes fax\r\n ) anonymous;\r\n\r\n modifier note {\r\n bytes32 foo;\r\n bytes32 bar;\r\n\r\n assembly {\r\n foo := calldataload(4)\r\n bar := calldataload(36)\r\n }\r\n\r\n LogNote(msg.sig, msg.sender, foo, bar, msg.value, msg.data);\r\n\r\n _;\r\n }\r\n}\r\n\r\n////// lib/ds-thing/src/thing.sol\r\n// thing.sol - `auth` with handy mixins. your things should be DSThings\r\n\r\n// Copyright (C) 2017 DappHub, LLC\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.13; */\r\n\r\n/* import 'ds-auth/auth.sol'; */\r\n/* import 'ds-note/note.sol'; */\r\n/* import 'ds-math/math.sol'; */\r\n\r\ncontract DSThing is DSAuth, DSNote, DSMath {\r\n}\r\n\r\n////// lib/ds-token/lib/ds-stop/src/stop.sol\r\n/// stop.sol -- mixin for enable/disable functionality\r\n\r\n// Copyright (C) 2017 DappHub, LLC\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.13; */\r\n\r\n/* import \"ds-auth/auth.sol\"; */\r\n/* import \"ds-note/note.sol\"; */\r\n\r\ncontract DSStop is DSNote, DSAuth {\r\n\r\n bool public stopped;\r\n\r\n modifier stoppable {\r\n require(!stopped);\r\n _;\r\n }\r\n function stop() public auth note {\r\n stopped = true;\r\n }\r\n function start() public auth note {\r\n stopped = false;\r\n }\r\n\r\n}\r\n\r\n////// lib/ds-token/lib/erc20/src/erc20.sol\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.8; */\r\n\r\n// Token standard API\r\n// https://github.com/ethereum/EIPs/issues/20\r\n\r\ncontract ERC20 {\r\n function totalSupply() public view returns (uint supply);\r\n function balanceOf( address who ) public view returns (uint value);\r\n function allowance( address owner, address spender ) public view returns (uint _allowance);\r\n\r\n function transfer( address to, uint value) public returns (bool ok);\r\n function transferFrom( address from, address to, uint value) public returns (bool ok);\r\n function approve( address spender, uint value ) public returns (bool ok);\r\n\r\n event Transfer( address indexed from, address indexed to, uint value);\r\n event Approval( address indexed owner, address indexed spender, uint value);\r\n}\r\n\r\n////// lib/ds-token/src/base.sol\r\n/// base.sol -- basic ERC20 implementation\r\n\r\n// Copyright (C) 2015, 2016, 2017 DappHub, LLC\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.13; */\r\n\r\n/* import \"erc20/erc20.sol\"; */\r\n/* import \"ds-math/math.sol\"; */\r\n\r\ncontract DSTokenBase is ERC20, DSMath {\r\n uint256 _supply;\r\n mapping (address => uint256) _balances;\r\n mapping (address => mapping (address => uint256)) _approvals;\r\n\r\n function DSTokenBase(uint supply) public {\r\n _balances[msg.sender] = supply;\r\n _supply = supply;\r\n }\r\n\r\n function totalSupply() public view returns (uint) {\r\n return _supply;\r\n }\r\n function balanceOf(address src) public view returns (uint) {\r\n return _balances[src];\r\n }\r\n function allowance(address src, address guy) public view returns (uint) {\r\n return _approvals[src][guy];\r\n }\r\n\r\n function transfer(address dst, uint wad) public returns (bool) {\r\n return transferFrom(msg.sender, dst, wad);\r\n }\r\n\r\n function transferFrom(address src, address dst, uint wad)\r\n public\r\n returns (bool)\r\n {\r\n if (src != msg.sender) {\r\n _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);\r\n }\r\n\r\n _balances[src] = sub(_balances[src], wad);\r\n _balances[dst] = add(_balances[dst], wad);\r\n\r\n Transfer(src, dst, wad);\r\n\r\n return true;\r\n }\r\n\r\n function approve(address guy, uint wad) public returns (bool) {\r\n _approvals[msg.sender][guy] = wad;\r\n\r\n Approval(msg.sender, guy, wad);\r\n\r\n return true;\r\n }\r\n}\r\n\r\n////// lib/ds-token/src/token.sol\r\n/// token.sol -- ERC20 implementation with minting and burning\r\n\r\n// Copyright (C) 2015, 2016, 2017 DappHub, LLC\r\n\r\n// This program is free software: you can redistribute it and/or modify\r\n// it under the terms of the GNU General Public License as published by\r\n// the Free Software Foundation, either version 3 of the License, or\r\n// (at your option) any later version.\r\n\r\n// This program is distributed in the hope that it will be useful,\r\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n// GNU General Public License for more details.\r\n\r\n// You should have received a copy of the GNU General Public License\r\n// along with this program. If not, see .\r\n\r\n/* pragma solidity ^0.4.13; */\r\n\r\n/* import \"ds-stop/stop.sol\"; */\r\n\r\n/* import \"./base.sol\"; */\r\n\r\ncontract DSToken is DSTokenBase(0), DSStop {\r\n\r\n bytes32 public symbol;\r\n uint256 public decimals = 18; // standard token precision. override to customize\r\n\r\n function DSToken(bytes32 symbol_) public {\r\n symbol = symbol_;\r\n }\r\n\r\n event Mint(address indexed guy, uint wad);\r\n event Burn(address indexed guy, uint wad);\r\n\r\n function approve(address guy) public stoppable returns (bool) {\r\n return super.approve(guy, uint(-1));\r\n }\r\n\r\n function approve(address guy, uint wad) public stoppable returns (bool) {\r\n return super.approve(guy, wad);\r\n }\r\n\r\n function transferFrom(address src, address dst, uint wad)\r\n public\r\n stoppable\r\n returns (bool)\r\n {\r\n if (src != msg.sender && _approvals[src][msg.sender] != uint(-1)) {\r\n _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);\r\n }\r\n\r\n _balances[src] = sub(_balances[src], wad);\r\n _balances[dst] = add(_balances[dst], wad);\r\n\r\n Transfer(src, dst, wad);\r\n\r\n return true;\r\n }\r\n\r\n function push(address dst, uint wad) public {\r\n transferFrom(msg.sender, dst, wad);\r\n }\r\n function pull(address src, uint wad) public {\r\n transferFrom(src, msg.sender, wad);\r\n }\r\n function move(address src, address dst, uint wad) public {\r\n transferFrom(src, dst, wad);\r\n }\r\n\r\n function mint(uint wad) public {\r\n mint(msg.sender, wad);\r\n }\r\n function burn(uint wad) public {\r\n burn(msg.sender, wad);\r\n }\r\n function mint(address guy, uint wad) public auth stoppable {\r\n _balances[guy] = add(_balances[guy], wad);\r\n _supply = add(_supply, wad);\r\n Mint(guy, wad);\r\n }\r\n function burn(address guy, uint wad) public auth stoppable {\r\n if (guy != msg.sender && _approvals[guy][msg.sender] != uint(-1)) {\r\n _approvals[guy][msg.sender] = sub(_approvals[guy][msg.sender], wad);\r\n }\r\n\r\n _balances[guy] = sub(_balances[guy], wad);\r\n _supply = sub(_supply, wad);\r\n Burn(guy, wad);\r\n }\r\n\r\n // Optional token name\r\n bytes32 public name = \"\";\r\n\r\n function setName(bytes32 name_) public auth {\r\n name = name_;\r\n }\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"stop\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"guy\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"guy\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"name_\",\"type\":\"bytes32\"}],\"name\":\"setName\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"stopped\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"authority_\",\"type\":\"address\"}],\"name\":\"setAuthority\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"guy\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"push\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"dst\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"move\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"start\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"authority\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"guy\",\"type\":\"address\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"guy\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"src\",\"type\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"pull\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"symbol_\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"authority\",\"type\":\"address\"}],\"name\":\"LogSetAuthority\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"LogSetOwner\",\"type\":\"event\"},{\"anonymous\":true,\"inputs\":[{\"indexed\":true,\"name\":\"sig\",\"type\":\"bytes4\"},{\"indexed\":true,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"foo\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"bar\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"fax\",\"type\":\"bytes\"}],\"name\":\"LogNote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]","ContractName":"DSToken","CompilerVersion":"v0.4.18+commit.9cf6e910","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"4d4b520000000000000000000000000000000000000000000000000000000000","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://c3b70a68c1ccfc4b88f478523cfc01b3108a40e2c6d0132d5b736b0c30349728","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/afc6db32930288e13db3ee568fd136642c1b7dd2c58108c712e3f46190dc8f1c b/tests/cachedrpc/afc6db32930288e13db3ee568fd136642c1b7dd2c58108c712e3f46190dc8f1c new file mode 100644 index 00000000..a03d22de --- /dev/null +++ b/tests/cachedrpc/afc6db32930288e13db3ee568fd136642c1b7dd2c58108c712e3f46190dc8f1c @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","contractCreator":"0x36928500bc1dcd7af6a2b4008875cc336b927d57","txHash":"0x2f1c5c2b44f771e942a8506148e256f94f1a464babc938ae0690c6e34cd79190","blockNumber":"4634748","timestamp":"1511829681","contractFactory":"","creationBytecode":"0x606060405260008060146101000a81548160ff0219169083151502179055506000600355600060045534156200003457600080fd5b60405162002d7c38038062002d7c83398101604052808051906020019091908051820191906020018051820191906020018051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550836001819055508260079080519060200190620000cf9291906200017a565b508160089080519060200190620000e89291906200017a565b508060098190555083600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600a60146101000a81548160ff0219169083151502179055505050505062000229565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001bd57805160ff1916838001178555620001ee565b82800160010185558215620001ee579182015b82811115620001ed578251825591602001919060010190620001d0565b5b509050620001fd919062000201565b5090565b6200022691905b808211156200022257600081600090555060010162000208565b5090565b90565b612b4380620002396000396000f300606060405260043610610196576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461019b5780630753c30c14610229578063095ea7b3146102625780630e136b19146102a45780630ecb93c0146102d157806318160ddd1461030a57806323b872dd1461033357806326976e3f1461039457806327e235e3146103e9578063313ce56714610436578063353907141461045f5780633eaaf86b146104885780633f4ba83a146104b157806359bf1abe146104c65780635c658165146105175780635c975abb1461058357806370a08231146105b05780638456cb59146105fd578063893d20e8146106125780638da5cb5b1461066757806395d89b41146106bc578063a9059cbb1461074a578063c0324c771461078c578063cc872b66146107b8578063db006a75146107db578063dd62ed3e146107fe578063dd644f721461086a578063e47d606014610893578063e4997dc5146108e4578063e5b5019a1461091d578063f2fde38b14610946578063f3bdc2281461097f575b600080fd5b34156101a657600080fd5b6101ae6109b8565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101ee5780820151818401526020810190506101d3565b50505050905090810190601f16801561021b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023457600080fd5b610260600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a56565b005b341561026d57600080fd5b6102a2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610b73565b005b34156102af57600080fd5b6102b7610cc1565b604051808215151515815260200191505060405180910390f35b34156102dc57600080fd5b610308600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610cd4565b005b341561031557600080fd5b61031d610ded565b6040518082815260200191505060405180910390f35b341561033e57600080fd5b610392600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610ebd565b005b341561039f57600080fd5b6103a761109d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103f457600080fd5b610420600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506110c3565b6040518082815260200191505060405180910390f35b341561044157600080fd5b6104496110db565b6040518082815260200191505060405180910390f35b341561046a57600080fd5b6104726110e1565b6040518082815260200191505060405180910390f35b341561049357600080fd5b61049b6110e7565b6040518082815260200191505060405180910390f35b34156104bc57600080fd5b6104c46110ed565b005b34156104d157600080fd5b6104fd600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506111ab565b604051808215151515815260200191505060405180910390f35b341561052257600080fd5b61056d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611201565b6040518082815260200191505060405180910390f35b341561058e57600080fd5b610596611226565b604051808215151515815260200191505060405180910390f35b34156105bb57600080fd5b6105e7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611239565b6040518082815260200191505060405180910390f35b341561060857600080fd5b610610611348565b005b341561061d57600080fd5b610625611408565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561067257600080fd5b61067a611431565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156106c757600080fd5b6106cf611456565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561070f5780820151818401526020810190506106f4565b50505050905090810190601f16801561073c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561075557600080fd5b61078a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506114f4565b005b341561079757600080fd5b6107b6600480803590602001909190803590602001909190505061169e565b005b34156107c357600080fd5b6107d96004808035906020019091905050611783565b005b34156107e657600080fd5b6107fc600480803590602001909190505061197a565b005b341561080957600080fd5b610854600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611b0d565b6040518082815260200191505060405180910390f35b341561087557600080fd5b61087d611c52565b6040518082815260200191505060405180910390f35b341561089e57600080fd5b6108ca600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611c58565b604051808215151515815260200191505060405180910390f35b34156108ef57600080fd5b61091b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611c78565b005b341561092857600080fd5b610930611d91565b6040518082815260200191505060405180910390f35b341561095157600080fd5b61097d600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611db5565b005b341561098a57600080fd5b6109b6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611e8a565b005b60078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a4e5780601f10610a2357610100808354040283529160200191610a4e565b820191906000526020600020905b815481529060010190602001808311610a3157829003601f168201915b505050505081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ab157600080fd5b6001600a60146101000a81548160ff02191690831515021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b604060048101600036905010151515610b8b57600080fd5b600a60149054906101000a900460ff1615610cb157600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aee92d333385856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1515610c9857600080fd5b6102c65a03f11515610ca957600080fd5b505050610cbc565b610cbb838361200e565b5b505050565b600a60149054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d2f57600080fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b6000600a60149054906101000a900460ff1615610eb457600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610e9257600080fd5b6102c65a03f11515610ea357600080fd5b505050604051805190509050610eba565b60015490505b90565b600060149054906101000a900460ff16151515610ed957600080fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515610f3257600080fd5b600a60149054906101000a900460ff161561108c57600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638b477adb338585856040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001945050505050600060405180830381600087803b151561107357600080fd5b6102c65a03f1151561108457600080fd5b505050611098565b6110978383836121ab565b5b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b60095481565b60045481565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561114857600080fd5b600060149054906101000a900460ff16151561116357600080fd5b60008060146101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6005602052816000526040600020602052806000526040600020600091509150505481565b600060149054906101000a900460ff1681565b6000600a60149054906101000a900460ff161561133757600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561131557600080fd5b6102c65a03f1151561132657600080fd5b505050604051805190509050611343565b61134082612652565b90505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113a357600080fd5b600060149054906101000a900460ff161515156113bf57600080fd5b6001600060146101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114ec5780601f106114c1576101008083540402835291602001916114ec565b820191906000526020600020905b8154815290600101906020018083116114cf57829003601f168201915b505050505081565b600060149054906101000a900460ff1615151561151057600080fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151561156957600080fd5b600a60149054906101000a900460ff161561168f57600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636e18980a3384846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b151561167657600080fd5b6102c65a03f1151561168757600080fd5b50505061169a565b611699828261269b565b5b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116f957600080fd5b60148210151561170857600080fd5b60328110151561171757600080fd5b81600381905550611736600954600a0a82612a0390919063ffffffff16565b6004819055507fb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e600354600454604051808381526020018281526020019250505060405180910390a15050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156117de57600080fd5b60015481600154011115156117f257600080fd5b600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054011115156118c257600080fd5b80600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550806001600082825401925050819055507fcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a816040518082815260200191505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119d557600080fd5b80600154101515156119e657600080fd5b80600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515611a5557600080fd5b8060016000828254039250508190555080600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055507f702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a44816040518082815260200191505060405180910390a150565b6000600a60149054906101000a900460ff1615611c3f57600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e84846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b1515611c1d57600080fd5b6102c65a03f11515611c2e57600080fd5b505050604051805190509050611c4c565b611c498383612a3e565b90505b92915050565b60035481565b60066020528060005260406000206000915054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611cd357600080fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e1057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515611e8757806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ee757600080fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515611f3f57600080fd5b611f4882611239565b90506000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806001600082825403925050819055507f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c68282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b60406004810160003690501015151561202657600080fd5b600082141580156120b457506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414155b1515156120c057600080fd5b81600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a3505050565b60008060006060600481016000369050101515156121c857600080fd5b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054935061227061271061226260035488612a0390919063ffffffff16565b612ac590919063ffffffff16565b92506004548311156122825760045492505b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84101561233e576122bd8585612ae090919063ffffffff16565b600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6123518386612ae090919063ffffffff16565b91506123a585600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612ae090919063ffffffff16565b600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061243a82600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612af990919063ffffffff16565b600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008311156125e4576124f983600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612af990919063ffffffff16565b600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a35b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a350505050505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806040600481016000369050101515156126b657600080fd5b6126df6127106126d160035487612a0390919063ffffffff16565b612ac590919063ffffffff16565b92506004548311156126f15760045492505b6127048385612ae090919063ffffffff16565b915061275884600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612ae090919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506127ed82600260008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612af990919063ffffffff16565b600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000831115612997576128ac83600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612af990919063ffffffff16565b600260008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a35b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050505050565b6000806000841415612a185760009150612a37565b8284029050828482811515612a2957fe5b04141515612a3357fe5b8091505b5092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000808284811515612ad357fe5b0490508091505092915050565b6000828211151515612aee57fe5b818303905092915050565b6000808284019050838110151515612b0d57fe5b80915050929150505600a165627a7a72305820645ee12d73db47fd78ba77fa1f824c3c8f9184061b3b10386beb4dc9236abb280029000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a546574686572205553440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553445400000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/b7fb2c985c46b3f3f16c9c38014431a74b49bf441c89e250ea0736433ef5ba20 b/tests/cachedrpc/b7fb2c985c46b3f3f16c9c38014431a74b49bf441c89e250ea0736433ef5ba20 new file mode 100644 index 00000000..706d38df --- /dev/null +++ b/tests/cachedrpc/b7fb2c985c46b3f3f16c9c38014431a74b49bf441c89e250ea0736433ef5ba20 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x3db52ce065f728011ac6732222270b3f2360d919","contractCreator":"0xc301f8b2a2c08958e6e7a286ab49a986c1f7ef6a","txHash":"0xed8d68776e9a5356fbf4b0611da93680dc7d24b12f606fd05194a0de979b763a","blockNumber":"16892552","timestamp":"1679602559","contractFactory":"0xce0042b868300000d44a59004da54a005ffdcf9f","creationBytecode":"0x60a060405234801561001057600080fd5b50604051610b55380380610b5583398101604081905261002f91610103565b61003833610070565b61004184610070565b6001600160a01b03928316608052600491909155600380546001600160a01b0319169190921617905550610150565b600180546001600160a01b031916905561009481610097602090811b6105e217901c565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100fe57600080fd5b919050565b6000806000806080858703121561011957600080fd5b610122856100e7565b9350610130602086016100e7565b925060408501519150610145606086016100e7565b905092959194509250565b6080516109e3610172600039600081816101b5015261063401526109e36000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638da5cb5b11610097578063e30c397811610066578063e30c3978146101ea578063e4917d9f146101fb578063f0f2a7f61461020e578063f2fde38b1461022e57600080fd5b80638da5cb5b1461018c578063a9a2d18a1461019d578063cc7086fb146101b0578063ce9dcf16146101d757600080fd5b8063715018a6116100d3578063715018a6146101525780637739cbe71461015a57806379ba50971461016d5780638b2579891461017557600080fd5b80630c4dd810146100fa5780631327d3d81461010f5780633a5381b514610122575b600080fd5b61010d610108366004610705565b610241565b005b61010d61011d36600461078e565b6102ef565b600354610135906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61010d610358565b61010d61016836600461080a565b61036c565b61010d6103a4565b61017e60045481565b604051908152602001610149565b6000546001600160a01b0316610135565b61010d6101ab36600461088d565b61041e565b6101357f000000000000000000000000000000000000000000000000000000000000000081565b61010d6101e53660046108a6565b610450565b6001546001600160a01b0316610135565b61010d61020936600461088d565b61052e565b61017e61021c36600461088d565b60026020526000908152604090205481565b61010d61023c36600461078e565b610571565b6003546001600160a01b031633146102745760405162461bcd60e51b815260040161026b906108e8565b60405180910390fd5b60005b818110156102e157426002600085858581811061029657610296610904565b90506020028101906102a8919061091a565b6102b690602081019061093b565b67ffffffffffffffff1681526020810191909152604001600020556102da8161097b565b9050610277565b506102ea610632565b505050565b6102f7610679565b600380546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f5dc8fe6c03695c172a921c8f8fa2fddfb0aa130603797700d865d07baf129eef910160405180910390a15050565b610360610679565b61036a60006106d3565b565b6003546001600160a01b031633146103965760405162461bcd60e51b815260040161026b906108e8565b61039e610632565b50505050565b60015433906001600160a01b031681146104125760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b606482015260840161026b565b61041b816106d3565b50565b6003546001600160a01b031633146104485760405162461bcd60e51b815260040161026b906108e8565b61041b610632565b6003546001600160a01b0316331461047a5760405162461bcd60e51b815260040161026b906108e8565b60005b818110156105215760006002600085858581811061049d5761049d610904565b6104b492602061010090920201908101915061093b565b67ffffffffffffffff168152602001908152602001600020549050600454816104dd9190610994565b42116105105760405162461bcd60e51b8152602060048201526002602482015261356360f01b604482015260640161026b565b5061051a8161097b565b905061047d565b5061052a610632565b5050565b610536610679565b60048190556040518181527fd32d6d626bb9c7077c559fc3b4e5ce71ef14609d7d216d030ee63dcf2422c2c49060200160405180910390a150565b610579610679565b600180546001600160a01b0383166001600160a01b031990911681179091556105aa6000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b7f0000000000000000000000000000000000000000000000000000000000000000366000803760008036600080855af13d806000803e81801561067457816000f35b816000fd5b6000546001600160a01b0316331461036a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b600180546001600160a01b031916905561041b816105e2565b600061010082840312156106ff57600080fd5b50919050565b6000806000610120848603121561071b57600080fd5b61072585856106ec565b925061010084013567ffffffffffffffff8082111561074357600080fd5b818601915086601f83011261075757600080fd5b81358181111561076657600080fd5b8760208260051b850101111561077b57600080fd5b6020830194508093505050509250925092565b6000602082840312156107a057600080fd5b81356001600160a01b03811681146107b757600080fd5b9392505050565b60008083601f8401126107d057600080fd5b50813567ffffffffffffffff8111156107e857600080fd5b6020830191508360208260081b850101111561080357600080fd5b9250929050565b600080600080610140858703121561082157600080fd5b61082b86866106ec565b935061010085013567ffffffffffffffff8082111561084957600080fd5b610855888389016107be565b909550935061012087013591508082111561086f57600080fd5b5085016040818803121561088257600080fd5b939692955090935050565b60006020828403121561089f57600080fd5b5035919050565b600080602083850312156108b957600080fd5b823567ffffffffffffffff8111156108d057600080fd5b6108dc858286016107be565b90969095509350505050565b602080825260029082015261070d60f31b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000823561017e1983360301811261093157600080fd5b9190910192915050565b60006020828403121561094d57600080fd5b813567ffffffffffffffff811681146107b757600080fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161098d5761098d610965565b5060010190565b808201808211156109a7576109a7610965565b9291505056fea2646970667358221220a13658aa60bd1b0be5e76ae8fcee036861a3bf56f2f33a11041f5ce0fb84627464736f6c63430008110033000000000000000000000000c301f8b2a2c08958e6e7a286ab49a986c1f7ef6a00000000000000000000000032400084c286cf3e17e7b677ea9583e60a0003240000000000000000000000000000000000000000000000000000000000015180000000000000000000000000112200eaa6d57120c86b8b51a8b6049d56b82211"}]} \ No newline at end of file diff --git a/tests/cachedrpc/b944f2723f0607c63b0676d77844d4aa90f6ea2031732b995fa9d182f5b51e6a b/tests/cachedrpc/b944f2723f0607c63b0676d77844d4aa90f6ea2031732b995fa9d182f5b51e6a new file mode 100644 index 00000000..138e1a7d --- /dev/null +++ b/tests/cachedrpc/b944f2723f0607c63b0676d77844d4aa90f6ea2031732b995fa9d182f5b51e6a @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.8.0;\r\n\r\n\r\n// ====================================================================\r\n// | ______ _______ |\r\n// | / _____________ __ __ / ____(_____ ____ _____ ________ |\r\n// | / /_ / ___/ __ `| |/_/ / /_ / / __ \\/ __ `/ __ \\/ ___/ _ \\ |\r\n// | / __/ / / / /_/ _> < / __/ / / / / / /_/ / / / / /__/ __/ |\r\n// | /_/ /_/ \\__,_/_/|_| /_/ /_/_/ /_/\\__,_/_/ /_/\\___/\\___/ |\r\n// | |\r\n// ====================================================================\r\n// ============================== sfrxETH =============================\r\n// ====================================================================\r\n// Frax Finance: https://github.com/FraxFinance\r\n\r\n// Primary Author(s)\r\n// Jack Corddry: https://github.com/corddry\r\n// Nader Ghazvini: https://github.com/amirnader-ghazvini \r\n\r\n// Reviewer(s) / Contributor(s)\r\n// Sam Kazemian: https://github.com/samkazemian\r\n// Dennett: https://github.com/denett\r\n// Travis Moore: https://github.com/FortisFortuna\r\n// Jamie Turley: https://github.com/jyturley\r\n\r\n// Rewards logic inspired by xERC20 (https://github.com/ZeframLou/playpen/blob/main/src/xERC20.sol)\r\n\r\n/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.\r\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)\r\n/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\r\n/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.\r\nabstract contract ERC20 {\r\n /*//////////////////////////////////////////////////////////////\r\n EVENTS\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n event Transfer(address indexed from, address indexed to, uint256 amount);\r\n\r\n event Approval(address indexed owner, address indexed spender, uint256 amount);\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n METADATA STORAGE\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n string public name;\r\n\r\n string public symbol;\r\n\r\n uint8 public immutable decimals;\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n ERC20 STORAGE\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n uint256 public totalSupply;\r\n\r\n mapping(address => uint256) public balanceOf;\r\n\r\n mapping(address => mapping(address => uint256)) public allowance;\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n EIP-2612 STORAGE\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n uint256 internal immutable INITIAL_CHAIN_ID;\r\n\r\n bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;\r\n\r\n mapping(address => uint256) public nonces;\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n CONSTRUCTOR\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n constructor(\r\n string memory _name,\r\n string memory _symbol,\r\n uint8 _decimals\r\n ) {\r\n name = _name;\r\n symbol = _symbol;\r\n decimals = _decimals;\r\n\r\n INITIAL_CHAIN_ID = block.chainid;\r\n INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n ERC20 LOGIC\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function approve(address spender, uint256 amount) public virtual returns (bool) {\r\n allowance[msg.sender][spender] = amount;\r\n\r\n emit Approval(msg.sender, spender, amount);\r\n\r\n return true;\r\n }\r\n\r\n function transfer(address to, uint256 amount) public virtual returns (bool) {\r\n balanceOf[msg.sender] -= amount;\r\n\r\n // Cannot overflow because the sum of all user\r\n // balances can't exceed the max uint256 value.\r\n unchecked {\r\n balanceOf[to] += amount;\r\n }\r\n\r\n emit Transfer(msg.sender, to, amount);\r\n\r\n return true;\r\n }\r\n\r\n function transferFrom(\r\n address from,\r\n address to,\r\n uint256 amount\r\n ) public virtual returns (bool) {\r\n uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.\r\n\r\n if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;\r\n\r\n balanceOf[from] -= amount;\r\n\r\n // Cannot overflow because the sum of all user\r\n // balances can't exceed the max uint256 value.\r\n unchecked {\r\n balanceOf[to] += amount;\r\n }\r\n\r\n emit Transfer(from, to, amount);\r\n\r\n return true;\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n EIP-2612 LOGIC\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function permit(\r\n address owner,\r\n address spender,\r\n uint256 value,\r\n uint256 deadline,\r\n uint8 v,\r\n bytes32 r,\r\n bytes32 s\r\n ) public virtual {\r\n require(deadline >= block.timestamp, \"PERMIT_DEADLINE_EXPIRED\");\r\n\r\n // Unchecked because the only math done is incrementing\r\n // the owner's nonce which cannot realistically overflow.\r\n unchecked {\r\n address recoveredAddress = ecrecover(\r\n keccak256(\r\n abi.encodePacked(\r\n \"\\x19\\x01\",\r\n DOMAIN_SEPARATOR(),\r\n keccak256(\r\n abi.encode(\r\n keccak256(\r\n \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\"\r\n ),\r\n owner,\r\n spender,\r\n value,\r\n nonces[owner]++,\r\n deadline\r\n )\r\n )\r\n )\r\n ),\r\n v,\r\n r,\r\n s\r\n );\r\n\r\n require(recoveredAddress != address(0) && recoveredAddress == owner, \"INVALID_SIGNER\");\r\n\r\n allowance[recoveredAddress][spender] = value;\r\n }\r\n\r\n emit Approval(owner, spender, value);\r\n }\r\n\r\n function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {\r\n return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();\r\n }\r\n\r\n function computeDomainSeparator() internal view virtual returns (bytes32) {\r\n return\r\n keccak256(\r\n abi.encode(\r\n keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\r\n keccak256(bytes(name)),\r\n keccak256(\"1\"),\r\n block.chainid,\r\n address(this)\r\n )\r\n );\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n INTERNAL MINT/BURN LOGIC\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function _mint(address to, uint256 amount) internal virtual {\r\n totalSupply += amount;\r\n\r\n // Cannot overflow because the sum of all user\r\n // balances can't exceed the max uint256 value.\r\n unchecked {\r\n balanceOf[to] += amount;\r\n }\r\n\r\n emit Transfer(address(0), to, amount);\r\n }\r\n\r\n function _burn(address from, uint256 amount) internal virtual {\r\n balanceOf[from] -= amount;\r\n\r\n // Cannot underflow because a user's balance\r\n // will never be larger than the total supply.\r\n unchecked {\r\n totalSupply -= amount;\r\n }\r\n\r\n emit Transfer(from, address(0), amount);\r\n }\r\n}\r\n\r\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\r\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\r\n/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.\r\n/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.\r\nlibrary SafeTransferLib {\r\n /*//////////////////////////////////////////////////////////////\r\n ETH OPERATIONS\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function safeTransferETH(address to, uint256 amount) internal {\r\n bool success;\r\n\r\n assembly {\r\n // Transfer the ETH and store if it succeeded or not.\r\n success := call(gas(), to, amount, 0, 0, 0, 0)\r\n }\r\n\r\n require(success, \"ETH_TRANSFER_FAILED\");\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n ERC20 OPERATIONS\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function safeTransferFrom(\r\n ERC20 token,\r\n address from,\r\n address to,\r\n uint256 amount\r\n ) internal {\r\n bool success;\r\n\r\n assembly {\r\n // Get a pointer to some free memory.\r\n let freeMemoryPointer := mload(0x40)\r\n\r\n // Write the abi-encoded calldata into memory, beginning with the function selector.\r\n mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)\r\n mstore(add(freeMemoryPointer, 4), from) // Append the \"from\" argument.\r\n mstore(add(freeMemoryPointer, 36), to) // Append the \"to\" argument.\r\n mstore(add(freeMemoryPointer, 68), amount) // Append the \"amount\" argument.\r\n\r\n success := and(\r\n // Set success to whether the call reverted, if not we check it either\r\n // returned exactly 1 (can't just be non-zero data), or had no return data.\r\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\r\n // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.\r\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\r\n // Counterintuitively, this call must be positioned second to the or() call in the\r\n // surrounding and() call or else returndatasize() will be zero during the computation.\r\n call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)\r\n )\r\n }\r\n\r\n require(success, \"TRANSFER_FROM_FAILED\");\r\n }\r\n\r\n function safeTransfer(\r\n ERC20 token,\r\n address to,\r\n uint256 amount\r\n ) internal {\r\n bool success;\r\n\r\n assembly {\r\n // Get a pointer to some free memory.\r\n let freeMemoryPointer := mload(0x40)\r\n\r\n // Write the abi-encoded calldata into memory, beginning with the function selector.\r\n mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\r\n mstore(add(freeMemoryPointer, 4), to) // Append the \"to\" argument.\r\n mstore(add(freeMemoryPointer, 36), amount) // Append the \"amount\" argument.\r\n\r\n success := and(\r\n // Set success to whether the call reverted, if not we check it either\r\n // returned exactly 1 (can't just be non-zero data), or had no return data.\r\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\r\n // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\r\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\r\n // Counterintuitively, this call must be positioned second to the or() call in the\r\n // surrounding and() call or else returndatasize() will be zero during the computation.\r\n call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\r\n )\r\n }\r\n\r\n require(success, \"TRANSFER_FAILED\");\r\n }\r\n\r\n function safeApprove(\r\n ERC20 token,\r\n address to,\r\n uint256 amount\r\n ) internal {\r\n bool success;\r\n\r\n assembly {\r\n // Get a pointer to some free memory.\r\n let freeMemoryPointer := mload(0x40)\r\n\r\n // Write the abi-encoded calldata into memory, beginning with the function selector.\r\n mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)\r\n mstore(add(freeMemoryPointer, 4), to) // Append the \"to\" argument.\r\n mstore(add(freeMemoryPointer, 36), amount) // Append the \"amount\" argument.\r\n\r\n success := and(\r\n // Set success to whether the call reverted, if not we check it either\r\n // returned exactly 1 (can't just be non-zero data), or had no return data.\r\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\r\n // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\r\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\r\n // Counterintuitively, this call must be positioned second to the or() call in the\r\n // surrounding and() call or else returndatasize() will be zero during the computation.\r\n call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\r\n )\r\n }\r\n\r\n require(success, \"APPROVE_FAILED\");\r\n }\r\n}\r\n\r\n/// @notice Arithmetic library with operations for fixed-point numbers.\r\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/FixedPointMathLib.sol)\r\n/// @author Inspired by USM (https://github.com/usmfum/USM/blob/master/contracts/WadMath.sol)\r\nlibrary FixedPointMathLib {\r\n /*//////////////////////////////////////////////////////////////\r\n SIMPLIFIED FIXED POINT OPERATIONS\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n uint256 internal constant WAD = 1e18; // The scalar of ETH and most ERC20s.\r\n\r\n function mulWadDown(uint256 x, uint256 y) internal pure returns (uint256) {\r\n return mulDivDown(x, y, WAD); // Equivalent to (x * y) / WAD rounded down.\r\n }\r\n\r\n function mulWadUp(uint256 x, uint256 y) internal pure returns (uint256) {\r\n return mulDivUp(x, y, WAD); // Equivalent to (x * y) / WAD rounded up.\r\n }\r\n\r\n function divWadDown(uint256 x, uint256 y) internal pure returns (uint256) {\r\n return mulDivDown(x, WAD, y); // Equivalent to (x * WAD) / y rounded down.\r\n }\r\n\r\n function divWadUp(uint256 x, uint256 y) internal pure returns (uint256) {\r\n return mulDivUp(x, WAD, y); // Equivalent to (x * WAD) / y rounded up.\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n LOW LEVEL FIXED POINT OPERATIONS\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function mulDivDown(\r\n uint256 x,\r\n uint256 y,\r\n uint256 denominator\r\n ) internal pure returns (uint256 z) {\r\n assembly {\r\n // Store x * y in z for now.\r\n z := mul(x, y)\r\n\r\n // Equivalent to require(denominator != 0 && (x == 0 || (x * y) / x == y))\r\n if iszero(and(iszero(iszero(denominator)), or(iszero(x), eq(div(z, x), y)))) {\r\n revert(0, 0)\r\n }\r\n\r\n // Divide z by the denominator.\r\n z := div(z, denominator)\r\n }\r\n }\r\n\r\n function mulDivUp(\r\n uint256 x,\r\n uint256 y,\r\n uint256 denominator\r\n ) internal pure returns (uint256 z) {\r\n assembly {\r\n // Store x * y in z for now.\r\n z := mul(x, y)\r\n\r\n // Equivalent to require(denominator != 0 && (x == 0 || (x * y) / x == y))\r\n if iszero(and(iszero(iszero(denominator)), or(iszero(x), eq(div(z, x), y)))) {\r\n revert(0, 0)\r\n }\r\n\r\n // First, divide z - 1 by the denominator and add 1.\r\n // We allow z - 1 to underflow if z is 0, because we multiply the\r\n // end result by 0 if z is zero, ensuring we return 0 if z is zero.\r\n z := mul(iszero(iszero(z)), add(div(sub(z, 1), denominator), 1))\r\n }\r\n }\r\n\r\n function rpow(\r\n uint256 x,\r\n uint256 n,\r\n uint256 scalar\r\n ) internal pure returns (uint256 z) {\r\n assembly {\r\n switch x\r\n case 0 {\r\n switch n\r\n case 0 {\r\n // 0 ** 0 = 1\r\n z := scalar\r\n }\r\n default {\r\n // 0 ** n = 0\r\n z := 0\r\n }\r\n }\r\n default {\r\n switch mod(n, 2)\r\n case 0 {\r\n // If n is even, store scalar in z for now.\r\n z := scalar\r\n }\r\n default {\r\n // If n is odd, store x in z for now.\r\n z := x\r\n }\r\n\r\n // Shifting right by 1 is like dividing by 2.\r\n let half := shr(1, scalar)\r\n\r\n for {\r\n // Shift n right by 1 before looping to halve it.\r\n n := shr(1, n)\r\n } n {\r\n // Shift n right by 1 each iteration to halve it.\r\n n := shr(1, n)\r\n } {\r\n // Revert immediately if x ** 2 would overflow.\r\n // Equivalent to iszero(eq(div(xx, x), x)) here.\r\n if shr(128, x) {\r\n revert(0, 0)\r\n }\r\n\r\n // Store x squared.\r\n let xx := mul(x, x)\r\n\r\n // Round to the nearest number.\r\n let xxRound := add(xx, half)\r\n\r\n // Revert if xx + half overflowed.\r\n if lt(xxRound, xx) {\r\n revert(0, 0)\r\n }\r\n\r\n // Set x to scaled xxRound.\r\n x := div(xxRound, scalar)\r\n\r\n // If n is even:\r\n if mod(n, 2) {\r\n // Compute z * x.\r\n let zx := mul(z, x)\r\n\r\n // If z * x overflowed:\r\n if iszero(eq(div(zx, x), z)) {\r\n // Revert if x is non-zero.\r\n if iszero(iszero(x)) {\r\n revert(0, 0)\r\n }\r\n }\r\n\r\n // Round to the nearest number.\r\n let zxRound := add(zx, half)\r\n\r\n // Revert if zx + half overflowed.\r\n if lt(zxRound, zx) {\r\n revert(0, 0)\r\n }\r\n\r\n // Return properly scaled zxRound.\r\n z := div(zxRound, scalar)\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n GENERAL NUMBER UTILITIES\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function sqrt(uint256 x) internal pure returns (uint256 z) {\r\n assembly {\r\n let y := x // We start y at x, which will help us make our initial estimate.\r\n\r\n z := 181 // The \"correct\" value is 1, but this saves a multiplication later.\r\n\r\n // This segment is to get a reasonable initial estimate for the Babylonian method. With a bad\r\n // start, the correct # of bits increases ~linearly each iteration instead of ~quadratically.\r\n\r\n // We check y >= 2^(k + 8) but shift right by k bits\r\n // each branch to ensure that if x >= 256, then y >= 256.\r\n if iszero(lt(y, 0x10000000000000000000000000000000000)) {\r\n y := shr(128, y)\r\n z := shl(64, z)\r\n }\r\n if iszero(lt(y, 0x1000000000000000000)) {\r\n y := shr(64, y)\r\n z := shl(32, z)\r\n }\r\n if iszero(lt(y, 0x10000000000)) {\r\n y := shr(32, y)\r\n z := shl(16, z)\r\n }\r\n if iszero(lt(y, 0x1000000)) {\r\n y := shr(16, y)\r\n z := shl(8, z)\r\n }\r\n\r\n // Goal was to get z*z*y within a small factor of x. More iterations could\r\n // get y in a tighter range. Currently, we will have y in [256, 256*2^16).\r\n // We ensured y >= 256 so that the relative difference between y and y+1 is small.\r\n // That's not possible if x < 256 but we can just verify those cases exhaustively.\r\n\r\n // Now, z*z*y <= x < z*z*(y+1), and y <= 2^(16+8), and either y >= 256, or x < 256.\r\n // Correctness can be checked exhaustively for x < 256, so we assume y >= 256.\r\n // Then z*sqrt(y) is within sqrt(257)/sqrt(256) of sqrt(x), or about 20bps.\r\n\r\n // For s in the range [1/256, 256], the estimate f(s) = (181/1024) * (s+1) is in the range\r\n // (1/2.84 * sqrt(s), 2.84 * sqrt(s)), with largest error when s = 1 and when s = 256 or 1/256.\r\n\r\n // Since y is in [256, 256*2^16), let a = y/65536, so that a is in [1/256, 256). Then we can estimate\r\n // sqrt(y) using sqrt(65536) * 181/1024 * (a + 1) = 181/4 * (y + 65536)/65536 = 181 * (y + 65536)/2^18.\r\n\r\n // There is no overflow risk here since y < 2^136 after the first branch above.\r\n z := shr(18, mul(z, add(y, 65536))) // A mul() is saved from starting z at 181.\r\n\r\n // Given the worst case multiplicative error of 2.84 above, 7 iterations should be enough.\r\n z := shr(1, add(z, div(x, z)))\r\n z := shr(1, add(z, div(x, z)))\r\n z := shr(1, add(z, div(x, z)))\r\n z := shr(1, add(z, div(x, z)))\r\n z := shr(1, add(z, div(x, z)))\r\n z := shr(1, add(z, div(x, z)))\r\n z := shr(1, add(z, div(x, z)))\r\n\r\n // If x+1 is a perfect square, the Babylonian method cycles between\r\n // floor(sqrt(x)) and ceil(sqrt(x)). This statement ensures we return floor.\r\n // See: https://en.wikipedia.org/wiki/Integer_square_root#Using_only_integer_division\r\n // Since the ceil is rare, we save gas on the assignment and repeat division in the rare case.\r\n // If you don't care whether the floor or ceil square root is returned, you can remove this statement.\r\n z := sub(z, lt(div(x, z), z))\r\n }\r\n }\r\n\r\n function unsafeMod(uint256 x, uint256 y) internal pure returns (uint256 z) {\r\n assembly {\r\n // Mod x by y. Note this will return\r\n // 0 instead of reverting if y is zero.\r\n z := mod(x, y)\r\n }\r\n }\r\n\r\n function unsafeDiv(uint256 x, uint256 y) internal pure returns (uint256 r) {\r\n assembly {\r\n // Divide x by y. Note this will return\r\n // 0 instead of reverting if y is zero.\r\n r := div(x, y)\r\n }\r\n }\r\n\r\n function unsafeDivUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\r\n assembly {\r\n // Add 1 to x * y if x % y > 0. Note this will\r\n // return 0 instead of reverting if y is zero.\r\n z := add(gt(mod(x, y), 0), div(x, y))\r\n }\r\n }\r\n}\r\n\r\n/// @notice Minimal ERC4626 tokenized Vault implementation.\r\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/mixins/ERC4626.sol)\r\nabstract contract ERC4626 is ERC20 {\r\n using SafeTransferLib for ERC20;\r\n using FixedPointMathLib for uint256;\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n EVENTS\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares);\r\n\r\n event Withdraw(\r\n address indexed caller,\r\n address indexed receiver,\r\n address indexed owner,\r\n uint256 assets,\r\n uint256 shares\r\n );\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n IMMUTABLES\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n ERC20 public immutable asset;\r\n\r\n constructor(\r\n ERC20 _asset,\r\n string memory _name,\r\n string memory _symbol\r\n ) ERC20(_name, _symbol, _asset.decimals()) {\r\n asset = _asset;\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n DEPOSIT/WITHDRAWAL LOGIC\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function deposit(uint256 assets, address receiver) public virtual returns (uint256 shares) {\r\n // Check for rounding error since we round down in previewDeposit.\r\n require((shares = previewDeposit(assets)) != 0, \"ZERO_SHARES\");\r\n\r\n // Need to transfer before minting or ERC777s could reenter.\r\n asset.safeTransferFrom(msg.sender, address(this), assets);\r\n\r\n _mint(receiver, shares);\r\n\r\n emit Deposit(msg.sender, receiver, assets, shares);\r\n\r\n afterDeposit(assets, shares);\r\n }\r\n\r\n function mint(uint256 shares, address receiver) public virtual returns (uint256 assets) {\r\n assets = previewMint(shares); // No need to check for rounding error, previewMint rounds up.\r\n\r\n // Need to transfer before minting or ERC777s could reenter.\r\n asset.safeTransferFrom(msg.sender, address(this), assets);\r\n\r\n _mint(receiver, shares);\r\n\r\n emit Deposit(msg.sender, receiver, assets, shares);\r\n\r\n afterDeposit(assets, shares);\r\n }\r\n\r\n function withdraw(\r\n uint256 assets,\r\n address receiver,\r\n address owner\r\n ) public virtual returns (uint256 shares) {\r\n shares = previewWithdraw(assets); // No need to check for rounding error, previewWithdraw rounds up.\r\n\r\n if (msg.sender != owner) {\r\n uint256 allowed = allowance[owner][msg.sender]; // Saves gas for limited approvals.\r\n\r\n if (allowed != type(uint256).max) allowance[owner][msg.sender] = allowed - shares;\r\n }\r\n\r\n beforeWithdraw(assets, shares);\r\n\r\n _burn(owner, shares);\r\n\r\n emit Withdraw(msg.sender, receiver, owner, assets, shares);\r\n\r\n asset.safeTransfer(receiver, assets);\r\n }\r\n\r\n function redeem(\r\n uint256 shares,\r\n address receiver,\r\n address owner\r\n ) public virtual returns (uint256 assets) {\r\n if (msg.sender != owner) {\r\n uint256 allowed = allowance[owner][msg.sender]; // Saves gas for limited approvals.\r\n\r\n if (allowed != type(uint256).max) allowance[owner][msg.sender] = allowed - shares;\r\n }\r\n\r\n // Check for rounding error since we round down in previewRedeem.\r\n require((assets = previewRedeem(shares)) != 0, \"ZERO_ASSETS\");\r\n\r\n beforeWithdraw(assets, shares);\r\n\r\n _burn(owner, shares);\r\n\r\n emit Withdraw(msg.sender, receiver, owner, assets, shares);\r\n\r\n asset.safeTransfer(receiver, assets);\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n ACCOUNTING LOGIC\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function totalAssets() public view virtual returns (uint256);\r\n\r\n function convertToShares(uint256 assets) public view virtual returns (uint256) {\r\n uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.\r\n\r\n return supply == 0 ? assets : assets.mulDivDown(supply, totalAssets());\r\n }\r\n\r\n function convertToAssets(uint256 shares) public view virtual returns (uint256) {\r\n uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.\r\n\r\n return supply == 0 ? shares : shares.mulDivDown(totalAssets(), supply);\r\n }\r\n\r\n function previewDeposit(uint256 assets) public view virtual returns (uint256) {\r\n return convertToShares(assets);\r\n }\r\n\r\n function previewMint(uint256 shares) public view virtual returns (uint256) {\r\n uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.\r\n\r\n return supply == 0 ? shares : shares.mulDivUp(totalAssets(), supply);\r\n }\r\n\r\n function previewWithdraw(uint256 assets) public view virtual returns (uint256) {\r\n uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.\r\n\r\n return supply == 0 ? assets : assets.mulDivUp(supply, totalAssets());\r\n }\r\n\r\n function previewRedeem(uint256 shares) public view virtual returns (uint256) {\r\n return convertToAssets(shares);\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n DEPOSIT/WITHDRAWAL LIMIT LOGIC\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function maxDeposit(address) public view virtual returns (uint256) {\r\n return type(uint256).max;\r\n }\r\n\r\n function maxMint(address) public view virtual returns (uint256) {\r\n return type(uint256).max;\r\n }\r\n\r\n function maxWithdraw(address owner) public view virtual returns (uint256) {\r\n return convertToAssets(balanceOf[owner]);\r\n }\r\n\r\n function maxRedeem(address owner) public view virtual returns (uint256) {\r\n return balanceOf[owner];\r\n }\r\n\r\n /*//////////////////////////////////////////////////////////////\r\n INTERNAL HOOKS LOGIC\r\n //////////////////////////////////////////////////////////////*/\r\n\r\n function beforeWithdraw(uint256 assets, uint256 shares) internal virtual {}\r\n\r\n function afterDeposit(uint256 assets, uint256 shares) internal virtual {}\r\n}\r\n\r\n/// @notice Safe unsigned integer casting library that reverts on overflow.\r\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeCastLib.sol)\r\n/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeCast.sol)\r\nlibrary SafeCastLib {\r\n function safeCastTo248(uint256 x) internal pure returns (uint248 y) {\r\n require(x < 1 << 248);\r\n\r\n y = uint248(x);\r\n }\r\n\r\n function safeCastTo224(uint256 x) internal pure returns (uint224 y) {\r\n require(x < 1 << 224);\r\n\r\n y = uint224(x);\r\n }\r\n\r\n function safeCastTo192(uint256 x) internal pure returns (uint192 y) {\r\n require(x < 1 << 192);\r\n\r\n y = uint192(x);\r\n }\r\n\r\n function safeCastTo160(uint256 x) internal pure returns (uint160 y) {\r\n require(x < 1 << 160);\r\n\r\n y = uint160(x);\r\n }\r\n\r\n function safeCastTo128(uint256 x) internal pure returns (uint128 y) {\r\n require(x < 1 << 128);\r\n\r\n y = uint128(x);\r\n }\r\n\r\n function safeCastTo96(uint256 x) internal pure returns (uint96 y) {\r\n require(x < 1 << 96);\r\n\r\n y = uint96(x);\r\n }\r\n\r\n function safeCastTo64(uint256 x) internal pure returns (uint64 y) {\r\n require(x < 1 << 64);\r\n\r\n y = uint64(x);\r\n }\r\n\r\n function safeCastTo32(uint256 x) internal pure returns (uint32 y) {\r\n require(x < 1 << 32);\r\n\r\n y = uint32(x);\r\n }\r\n\r\n function safeCastTo24(uint256 x) internal pure returns (uint24 y) {\r\n require(x < 1 << 24);\r\n\r\n y = uint24(x);\r\n }\r\n\r\n function safeCastTo16(uint256 x) internal pure returns (uint16 y) {\r\n require(x < 1 << 16);\r\n\r\n y = uint16(x);\r\n }\r\n\r\n function safeCastTo8(uint256 x) internal pure returns (uint8 y) {\r\n require(x < 1 << 8);\r\n\r\n y = uint8(x);\r\n }\r\n}\r\n\r\n// Rewards logic inspired by xERC20 (https://github.com/ZeframLou/playpen/blob/main/src/xERC20.sol)\r\n\r\n/** \r\n @title An xERC4626 Single Staking Contract Interface\r\n @notice This contract allows users to autocompound rewards denominated in an underlying reward token. \r\n It is fully compatible with [ERC4626](https://eips.ethereum.org/EIPS/eip-4626) allowing for DeFi composability.\r\n It maintains balances using internal accounting to prevent instantaneous changes in the exchange rate.\r\n NOTE: an exception is at contract creation, when a reward cycle begins before the first deposit. After the first deposit, exchange rate updates smoothly.\r\n\r\n Operates on \"cycles\" which distribute the rewards surplus over the internal balance to users linearly over the remainder of the cycle window.\r\n*/\r\ninterface IxERC4626 {\r\n /*////////////////////////////////////////////////////////\r\n Custom Errors\r\n ////////////////////////////////////////////////////////*/\r\n\r\n /// @dev thrown when syncing before cycle ends.\r\n error SyncError();\r\n\r\n /*////////////////////////////////////////////////////////\r\n Events\r\n ////////////////////////////////////////////////////////*/\r\n\r\n /// @dev emit every time a new rewards cycle starts\r\n event NewRewardsCycle(uint32 indexed cycleEnd, uint256 rewardAmount);\r\n\r\n /*////////////////////////////////////////////////////////\r\n View Methods\r\n ////////////////////////////////////////////////////////*/\r\n\r\n /// @notice the maximum length of a rewards cycle\r\n function rewardsCycleLength() external view returns (uint32);\r\n\r\n /// @notice the effective start of the current cycle\r\n /// NOTE: This will likely be after `rewardsCycleEnd - rewardsCycleLength` as this is set as block.timestamp of the last `syncRewards` call.\r\n function lastSync() external view returns (uint32);\r\n\r\n /// @notice the end of the current cycle. Will always be evenly divisible by `rewardsCycleLength`.\r\n function rewardsCycleEnd() external view returns (uint32);\r\n\r\n /// @notice the amount of rewards distributed in a the most recent cycle\r\n function lastRewardAmount() external view returns (uint192);\r\n\r\n /*////////////////////////////////////////////////////////\r\n State Changing Methods\r\n ////////////////////////////////////////////////////////*/\r\n\r\n /// @notice Distributes rewards to xERC4626 holders.\r\n /// All surplus `asset` balance of the contract over the internal balance becomes queued for the next cycle.\r\n function syncRewards() external;\r\n}\r\n\r\n/** \r\n @title An xERC4626 Single Staking Contract\r\n @notice This contract allows users to autocompound rewards denominated in an underlying reward token. \r\n It is fully compatible with [ERC4626](https://eips.ethereum.org/EIPS/eip-4626) allowing for DeFi composability.\r\n It maintains balances using internal accounting to prevent instantaneous changes in the exchange rate.\r\n NOTE: an exception is at contract creation, when a reward cycle begins before the first deposit. After the first deposit, exchange rate updates smoothly.\r\n\r\n Operates on \"cycles\" which distribute the rewards surplus over the internal balance to users linearly over the remainder of the cycle window.\r\n*/\r\nabstract contract xERC4626 is IxERC4626, ERC4626 {\r\n using SafeCastLib for *;\r\n\r\n /// @notice the maximum length of a rewards cycle\r\n uint32 public immutable rewardsCycleLength;\r\n\r\n /// @notice the effective start of the current cycle\r\n uint32 public lastSync;\r\n\r\n /// @notice the end of the current cycle. Will always be evenly divisible by `rewardsCycleLength`.\r\n uint32 public rewardsCycleEnd;\r\n\r\n /// @notice the amount of rewards distributed in a the most recent cycle.\r\n uint192 public lastRewardAmount;\r\n\r\n uint256 internal storedTotalAssets;\r\n\r\n constructor(uint32 _rewardsCycleLength) {\r\n rewardsCycleLength = _rewardsCycleLength;\r\n // seed initial rewardsCycleEnd\r\n rewardsCycleEnd = (block.timestamp.safeCastTo32() / rewardsCycleLength) * rewardsCycleLength;\r\n }\r\n\r\n /// @notice Compute the amount of tokens available to share holders.\r\n /// Increases linearly during a reward distribution period from the sync call, not the cycle start.\r\n function totalAssets() public view override returns (uint256) {\r\n // cache global vars\r\n uint256 storedTotalAssets_ = storedTotalAssets;\r\n uint192 lastRewardAmount_ = lastRewardAmount;\r\n uint32 rewardsCycleEnd_ = rewardsCycleEnd;\r\n uint32 lastSync_ = lastSync;\r\n\r\n if (block.timestamp >= rewardsCycleEnd_) {\r\n // no rewards or rewards fully unlocked\r\n // entire reward amount is available\r\n return storedTotalAssets_ + lastRewardAmount_;\r\n }\r\n\r\n // rewards not fully unlocked\r\n // add unlocked rewards to stored total\r\n uint256 unlockedRewards = (lastRewardAmount_ * (block.timestamp - lastSync_)) / (rewardsCycleEnd_ - lastSync_);\r\n return storedTotalAssets_ + unlockedRewards;\r\n }\r\n\r\n // Update storedTotalAssets on withdraw/redeem\r\n function beforeWithdraw(uint256 amount, uint256 shares) internal virtual override {\r\n super.beforeWithdraw(amount, shares);\r\n storedTotalAssets -= amount;\r\n }\r\n\r\n // Update storedTotalAssets on deposit/mint\r\n function afterDeposit(uint256 amount, uint256 shares) internal virtual override {\r\n storedTotalAssets += amount;\r\n super.afterDeposit(amount, shares);\r\n }\r\n\r\n /// @notice Distributes rewards to xERC4626 holders.\r\n /// All surplus `asset` balance of the contract over the internal balance becomes queued for the next cycle.\r\n function syncRewards() public virtual {\r\n uint192 lastRewardAmount_ = lastRewardAmount;\r\n uint32 timestamp = block.timestamp.safeCastTo32();\r\n\r\n if (timestamp < rewardsCycleEnd) revert SyncError();\r\n\r\n uint256 storedTotalAssets_ = storedTotalAssets;\r\n uint256 nextRewards = asset.balanceOf(address(this)) - storedTotalAssets_ - lastRewardAmount_;\r\n\r\n storedTotalAssets = storedTotalAssets_ + lastRewardAmount_; // SSTORE\r\n\r\n uint32 end = ((timestamp + rewardsCycleLength) / rewardsCycleLength) * rewardsCycleLength;\r\n\r\n if (end - timestamp < rewardsCycleLength / 20) {\r\n end += rewardsCycleLength;\r\n }\r\n\r\n // Combined single SSTORE\r\n lastRewardAmount = nextRewards.safeCastTo192();\r\n lastSync = timestamp;\r\n rewardsCycleEnd = end;\r\n\r\n emit NewRewardsCycle(end, nextRewards);\r\n }\r\n}\r\n\r\n// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)\r\n\r\n/**\r\n * @dev Contract module that helps prevent reentrant calls to a function.\r\n *\r\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\r\n * available, which can be applied to functions to make sure there are no nested\r\n * (reentrant) calls to them.\r\n *\r\n * Note that because there is a single `nonReentrant` guard, functions marked as\r\n * `nonReentrant` may not call one another. This can be worked around by making\r\n * those functions `private`, and then adding `external` `nonReentrant` entry\r\n * points to them.\r\n *\r\n * TIP: If you would like to learn more about reentrancy and alternative ways\r\n * to protect against it, check out our blog post\r\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\r\n */\r\nabstract contract ReentrancyGuard {\r\n // Booleans are more expensive than uint256 or any type that takes up a full\r\n // word because each write operation emits an extra SLOAD to first read the\r\n // slot's contents, replace the bits taken up by the boolean, and then write\r\n // back. This is the compiler's defense against contract upgrades and\r\n // pointer aliasing, and it cannot be disabled.\r\n\r\n // The values being non-zero value makes deployment a bit more expensive,\r\n // but in exchange the refund on every call to nonReentrant will be lower in\r\n // amount. Since refunds are capped to a percentage of the total\r\n // transaction's gas, it is best to keep them low in cases like this one, to\r\n // increase the likelihood of the full refund coming into effect.\r\n uint256 private constant _NOT_ENTERED = 1;\r\n uint256 private constant _ENTERED = 2;\r\n\r\n uint256 private _status;\r\n\r\n constructor() {\r\n _status = _NOT_ENTERED;\r\n }\r\n\r\n /**\r\n * @dev Prevents a contract from calling itself, directly or indirectly.\r\n * Calling a `nonReentrant` function from another `nonReentrant`\r\n * function is not supported. It is possible to prevent this from happening\r\n * by making the `nonReentrant` function external, and making it call a\r\n * `private` function that does the actual work.\r\n */\r\n modifier nonReentrant() {\r\n _nonReentrantBefore();\r\n _;\r\n _nonReentrantAfter();\r\n }\r\n\r\n function _nonReentrantBefore() private {\r\n // On the first call to nonReentrant, _status will be _NOT_ENTERED\r\n require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\r\n\r\n // Any calls to nonReentrant after this point will fail\r\n _status = _ENTERED;\r\n }\r\n\r\n function _nonReentrantAfter() private {\r\n // By storing the original value once again, a refund is triggered (see\r\n // https://eips.ethereum.org/EIPS/eip-2200)\r\n _status = _NOT_ENTERED;\r\n }\r\n}\r\n\r\n/// @title Vault token for staked frxETH\r\n/// @notice Is a vault that takes frxETH and gives you sfrxETH erc20 tokens\r\n/** @dev Exchange rate between frxETH and sfrxETH floats, you can convert your sfrxETH for more frxETH over time.\r\n Exchange rate increases as the frax msig mints new frxETH corresponding to the staking yield and drops it into the vault (sfrxETH contract).\r\n There is a short time period, “cycles” which the exchange rate increases linearly over. This is to prevent gaming the exchange rate (MEV).\r\n The cycles are constant length, but calling syncRewards slightly into a would-be cycle keeps the same would-be endpoint (so cycle ends are every X seconds).\r\n Someone must call syncRewards, which queues any new frxETH in the contract to be added to the redeemable amount.\r\n sfrxETH adheres to ERC-4626 vault specs \r\n Mint vs Deposit\r\n mint() - deposit targeting a specific number of sfrxETH out\r\n deposit() - deposit knowing a specific number of frxETH in */\r\ncontract sfrxETH is xERC4626, ReentrancyGuard {\r\n\r\n modifier andSync {\r\n if (block.timestamp >= rewardsCycleEnd) { syncRewards(); } \r\n _;\r\n }\r\n\r\n /* ========== CONSTRUCTOR ========== */\r\n constructor(ERC20 _underlying, uint32 _rewardsCycleLength)\r\n ERC4626(_underlying, \"Staked Frax Ether\", \"sfrxETH\")\r\n xERC4626(_rewardsCycleLength)\r\n {}\r\n\r\n /// @notice inlines syncRewards with deposits when able\r\n function deposit(uint256 assets, address receiver) public override andSync returns (uint256 shares) {\r\n return super.deposit(assets, receiver);\r\n }\r\n \r\n /// @notice inlines syncRewards with mints when able\r\n function mint(uint256 shares, address receiver) public override andSync returns (uint256 assets) {\r\n return super.mint(shares, receiver);\r\n }\r\n\r\n /// @notice inlines syncRewards with withdrawals when able\r\n function withdraw(\r\n uint256 assets,\r\n address receiver,\r\n address owner\r\n ) public override andSync returns (uint256 shares) {\r\n return super.withdraw(assets, receiver, owner);\r\n }\r\n\r\n /// @notice inlines syncRewards with redemptions when able\r\n function redeem(\r\n uint256 shares,\r\n address receiver,\r\n address owner\r\n ) public override andSync returns (uint256 assets) {\r\n return super.redeem(shares, receiver, owner);\r\n }\r\n\r\n /// @notice How much frxETH is 1E18 sfrxETH worth. Price is in ETH, not USD\r\n function pricePerShare() public view returns (uint256) {\r\n return convertToAssets(1e18);\r\n }\r\n\r\n /// @notice Approve and deposit() in one transaction\r\n function depositWithSignature(\r\n uint256 assets,\r\n address receiver,\r\n uint256 deadline,\r\n bool approveMax,\r\n uint8 v,\r\n bytes32 r,\r\n bytes32 s\r\n ) external nonReentrant returns (uint256 shares) {\r\n uint256 amount = approveMax ? type(uint256).max : assets;\r\n asset.permit(msg.sender, address(this), amount, deadline, v, r, s);\r\n return (deposit(assets, receiver));\r\n }\r\n\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"contract ERC20\",\"name\":\"_underlying\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_rewardsCycleLength\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"SyncError\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"cycleEnd\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"}],\"name\":\"NewRewardsCycle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"contract ERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"depositWithSignature\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRewardAmount\",\"outputs\":[{\"internalType\":\"uint192\",\"name\":\"\",\"type\":\"uint192\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastSync\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pricePerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsCycleEnd\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsCycleLength\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"syncRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"sfrxETH","CompilerVersion":"v0.8.16+commit.07a7930e","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"0000000000000000000000005e8422345238f34275888049021821e8e08caa1f0000000000000000000000000000000000000000000000000000000000093a80","EVMVersion":"Default","Library":"","LicenseType":"GNU GPLv2","Proxy":"0","Implementation":"","SwarmSource":"ipfs://8f059a8438b52331181933efb862ac2366df392bb2272ddf39f8868975906165","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/bb9c94ce428e5682faf6473416ed370819b207fa6d893db2df97774399d1676c b/tests/cachedrpc/bb9c94ce428e5682faf6473416ed370819b207fa6d893db2df97774399d1676c new file mode 100644 index 00000000..47594226 --- /dev/null +++ b/tests/cachedrpc/bb9c94ce428e5682faf6473416ed370819b207fa6d893db2df97774399d1676c @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// SPDX-License-Identifier: LGPL-3.0-only\r\npragma solidity >=0.7.0 <0.9.0;\r\n\r\n/// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain\r\n/// @author Richard Meissner - \r\ninterface IProxy {\r\n function masterCopy() external view returns (address);\r\n}\r\n\r\n/// @title GnosisSafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.\r\n/// @author Stefan George - \r\n/// @author Richard Meissner - \r\ncontract GnosisSafeProxy {\r\n // singleton always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.\r\n // To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`\r\n address internal singleton;\r\n\r\n /// @dev Constructor function sets address of singleton contract.\r\n /// @param _singleton Singleton address.\r\n constructor(address _singleton) {\r\n require(_singleton != address(0), \"Invalid singleton address provided\");\r\n singleton = _singleton;\r\n }\r\n\r\n /// @dev Fallback function forwards all transactions and returns all received return data.\r\n fallback() external payable {\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let _singleton := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)\r\n // 0xa619486e == keccak(\"masterCopy()\"). The value is right padded to 32-bytes with 0s\r\n if eq(calldataload(0), 0xa619486e00000000000000000000000000000000000000000000000000000000) {\r\n mstore(0, _singleton)\r\n return(0, 0x20)\r\n }\r\n calldatacopy(0, 0, calldatasize())\r\n let success := delegatecall(gas(), _singleton, 0, calldatasize(), 0, 0)\r\n returndatacopy(0, 0, returndatasize())\r\n if eq(success, 0) {\r\n revert(0, returndatasize())\r\n }\r\n return(0, returndatasize())\r\n }\r\n }\r\n}\r\n\r\n/// @title Proxy Factory - Allows to create new proxy contact and execute a message call to the new proxy within one transaction.\r\n/// @author Stefan George - \r\ncontract GnosisSafeProxyFactory {\r\n event ProxyCreation(GnosisSafeProxy proxy, address singleton);\r\n\r\n /// @dev Allows to create new proxy contact and execute a message call to the new proxy within one transaction.\r\n /// @param singleton Address of singleton contract.\r\n /// @param data Payload for message call sent to new proxy contract.\r\n function createProxy(address singleton, bytes memory data) public returns (GnosisSafeProxy proxy) {\r\n proxy = new GnosisSafeProxy(singleton);\r\n if (data.length > 0)\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n if eq(call(gas(), proxy, 0, add(data, 0x20), mload(data), 0, 0), 0) {\r\n revert(0, 0)\r\n }\r\n }\r\n emit ProxyCreation(proxy, singleton);\r\n }\r\n\r\n /// @dev Allows to retrieve the runtime code of a deployed Proxy. This can be used to check that the expected Proxy was deployed.\r\n function proxyRuntimeCode() public pure returns (bytes memory) {\r\n return type(GnosisSafeProxy).runtimeCode;\r\n }\r\n\r\n /// @dev Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.\r\n function proxyCreationCode() public pure returns (bytes memory) {\r\n return type(GnosisSafeProxy).creationCode;\r\n }\r\n\r\n /// @dev Allows to create new proxy contact using CREATE2 but it doesn't run the initializer.\r\n /// This method is only meant as an utility to be called from other methods\r\n /// @param _singleton Address of singleton contract.\r\n /// @param initializer Payload for message call sent to new proxy contract.\r\n /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.\r\n function deployProxyWithNonce(\r\n address _singleton,\r\n bytes memory initializer,\r\n uint256 saltNonce\r\n ) internal returns (GnosisSafeProxy proxy) {\r\n // If the initializer changes the proxy address should change too. Hashing the initializer data is cheaper than just concatinating it\r\n bytes32 salt = keccak256(abi.encodePacked(keccak256(initializer), saltNonce));\r\n bytes memory deploymentData = abi.encodePacked(type(GnosisSafeProxy).creationCode, uint256(uint160(_singleton)));\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n proxy := create2(0x0, add(0x20, deploymentData), mload(deploymentData), salt)\r\n }\r\n require(address(proxy) != address(0), \"Create2 call failed\");\r\n }\r\n\r\n /// @dev Allows to create new proxy contact and execute a message call to the new proxy within one transaction.\r\n /// @param _singleton Address of singleton contract.\r\n /// @param initializer Payload for message call sent to new proxy contract.\r\n /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.\r\n function createProxyWithNonce(\r\n address _singleton,\r\n bytes memory initializer,\r\n uint256 saltNonce\r\n ) public returns (GnosisSafeProxy proxy) {\r\n proxy = deployProxyWithNonce(_singleton, initializer, saltNonce);\r\n if (initializer.length > 0)\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n if eq(call(gas(), proxy, 0, add(initializer, 0x20), mload(initializer), 0, 0), 0) {\r\n revert(0, 0)\r\n }\r\n }\r\n emit ProxyCreation(proxy, _singleton);\r\n }\r\n\r\n /// @dev Allows to create new proxy contact, execute a message call to the new proxy and call a specified callback within one transaction\r\n /// @param _singleton Address of singleton contract.\r\n /// @param initializer Payload for message call sent to new proxy contract.\r\n /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.\r\n /// @param callback Callback that will be invoced after the new proxy contract has been successfully deployed and initialized.\r\n function createProxyWithCallback(\r\n address _singleton,\r\n bytes memory initializer,\r\n uint256 saltNonce,\r\n IProxyCreationCallback callback\r\n ) public returns (GnosisSafeProxy proxy) {\r\n uint256 saltNonceWithCallback = uint256(keccak256(abi.encodePacked(saltNonce, callback)));\r\n proxy = createProxyWithNonce(_singleton, initializer, saltNonceWithCallback);\r\n if (address(callback) != address(0)) callback.proxyCreated(proxy, _singleton, initializer, saltNonce);\r\n }\r\n\r\n /// @dev Allows to get the address for a new proxy contact created via `createProxyWithNonce`\r\n /// This method is only meant for address calculation purpose when you use an initializer that would revert,\r\n /// therefore the response is returned with a revert. When calling this method set `from` to the address of the proxy factory.\r\n /// @param _singleton Address of singleton contract.\r\n /// @param initializer Payload for message call sent to new proxy contract.\r\n /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.\r\n function calculateCreateProxyWithNonceAddress(\r\n address _singleton,\r\n bytes calldata initializer,\r\n uint256 saltNonce\r\n ) external returns (GnosisSafeProxy proxy) {\r\n proxy = deployProxyWithNonce(_singleton, initializer, saltNonce);\r\n revert(string(abi.encodePacked(proxy)));\r\n }\r\n}\r\n\r\ninterface IProxyCreationCallback {\r\n function proxyCreated(\r\n GnosisSafeProxy proxy,\r\n address _singleton,\r\n bytes calldata initializer,\r\n uint256 saltNonce\r\n ) external;\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_singleton\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"}]","ContractName":"GnosisSafeProxy","CompilerVersion":"v0.7.6+commit.7338295f","CompilerType":"solc","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"GNU LGPLv3","Proxy":"1","Implementation":"0xd9db270c1b5e3bd161e8c8503c55ceabee709552","SwarmSource":"ipfs://d1429297349653a4918076d650332de1a1068c5f3e07c5c82360c277770b9552","SimilarMatch":"0xdab5dc22350f9a6aff03cf3d9341aad0ba42d2a6"}]} \ No newline at end of file diff --git a/tests/cachedrpc/c0329af0a6d0cf6ca9a70a1313dd42270dd023b184c75cd3d866a5fc52eacf61 b/tests/cachedrpc/c0329af0a6d0cf6ca9a70a1313dd42270dd023b184c75cd3d866a5fc52eacf61 new file mode 100644 index 00000000..82326e66 --- /dev/null +++ b/tests/cachedrpc/c0329af0a6d0cf6ca9a70a1313dd42270dd023b184c75cd3d866a5fc52eacf61 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"contracts/adapters/CommonAdapter.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\r\\n\\r\\nimport \\\"../Constants.sol\\\";\\r\\n\\r\\ncontract CommonAdapter {\\r\\n using SafeERC20 for IERC20;\\r\\n using Address for address;\\r\\n using Address for address payable;\\r\\n\\r\\n /**\\r\\n * @dev Performs a swap\\r\\n * @param recipient The original msg.sender performing the swap\\r\\n * @param aggregator Address of the aggregator's contract\\r\\n * @param spender Address to which tokens will be approved\\r\\n * @param method Selector of the function to be called in the aggregator's contract\\r\\n * @param tokenFrom Token to be swapped\\r\\n * @param tokenTo Token to be received\\r\\n * @param amountFrom Amount of tokenFrom to swap\\r\\n * @param amountTo Minimum amount of tokenTo to receive\\r\\n * @param data Data used for the call made to the aggregator's contract\\r\\n */\\r\\n function swap(\\r\\n address payable recipient,\\r\\n address aggregator,\\r\\n address spender,\\r\\n bytes4 method,\\r\\n IERC20 tokenFrom,\\r\\n IERC20 tokenTo,\\r\\n uint256 amountFrom,\\r\\n uint256 amountTo,\\r\\n bytes calldata data\\r\\n ) external payable {\\r\\n require(tokenFrom != tokenTo, \\\"TOKEN_PAIR_INVALID\\\");\\r\\n\\r\\n if (address(tokenFrom) != Constants.ETH) {\\r\\n _approveSpender(tokenFrom, spender, amountFrom);\\r\\n }\\r\\n\\r\\n // We always forward msg.value as it may be necessary to pay fees\\r\\n bytes memory encodedData = abi.encodePacked(method, data);\\r\\n aggregator.functionCallWithValue(encodedData, msg.value);\\r\\n\\r\\n // Transfer remaining balance of tokenFrom to sender\\r\\n if (address(tokenFrom) != Constants.ETH) {\\r\\n uint256 balance = tokenFrom.balanceOf(address(this));\\r\\n _transfer(tokenFrom, balance, recipient);\\r\\n }\\r\\n\\r\\n uint256 weiBalance = address(this).balance;\\r\\n\\r\\n // Transfer remaining balance of tokenTo to sender\\r\\n if (address(tokenTo) != Constants.ETH) {\\r\\n uint256 balance = tokenTo.balanceOf(address(this));\\r\\n require(balance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n _transfer(tokenTo, balance, recipient);\\r\\n } else {\\r\\n // If tokenTo == ETH, then check that the remaining ETH balance >= amountTo\\r\\n require(weiBalance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n }\\r\\n\\r\\n // If there are unused fees or if tokenTo is ETH, transfer to sender\\r\\n if (weiBalance > 0) {\\r\\n recipient.sendValue(weiBalance);\\r\\n }\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Transfers token to sender if amount > 0\\r\\n * @param token IERC20 token to transfer to sender\\r\\n * @param amount Amount of token to transfer\\r\\n * @param recipient Address that will receive the tokens\\r\\n */\\r\\n function _transfer(\\r\\n IERC20 token,\\r\\n uint256 amount,\\r\\n address recipient\\r\\n ) internal {\\r\\n if (amount > 0) {\\r\\n token.safeTransfer(recipient, amount);\\r\\n }\\r\\n }\\r\\n\\r\\n // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/SafeERC20.sol\\r\\n /**\\r\\n * @dev Approves max amount of token to the spender if the allowance is lower than amount\\r\\n * @param token The ERC20 token to approve\\r\\n * @param spender Address to which funds will be approved\\r\\n * @param amount Amount used to compare current allowance\\r\\n */\\r\\n function _approveSpender(\\r\\n IERC20 token,\\r\\n address spender,\\r\\n uint256 amount\\r\\n ) internal {\\r\\n // If allowance is not enough, approve max possible amount\\r\\n uint256 allowance = token.allowance(address(this), spender);\\r\\n if (allowance < amount) {\\r\\n bytes memory returndata = address(token).functionCall(\\r\\n abi.encodeWithSelector(\\r\\n token.approve.selector,\\r\\n spender,\\r\\n type(uint256).max\\r\\n )\\r\\n );\\r\\n\\r\\n if (returndata.length > 0) {\\r\\n // Return data is optional\\r\\n require(abi.decode(returndata, (bool)), \\\"APPROVAL_FAILED\\\");\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n // solhint-disable-next-line max-line-length\\n require((value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).add(value);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).sub(value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n if (returndata.length > 0) { // Return data is optional\\n // solhint-disable-next-line max-line-length\\n require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/math/SafeMath.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n *\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n return sub(a, b, \\\"SafeMath: subtraction overflow\\\");\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b <= a, errorMessage);\\n uint256 c = a - b;\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n *\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) {\\n return 0;\\n }\\n\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n return div(a, b, \\\"SafeMath: division by zero\\\");\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n uint256 c = a / b;\\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n return mod(a, b, \\\"SafeMath: modulo by zero\\\");\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts with custom message when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b != 0, errorMessage);\\n return a % b;\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/Address.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.2;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies in extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return _functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n return _functionCallWithValue(target, data, value, errorMessage);\\n }\\n\\n function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/Constants.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\r\\n\\r\\npragma solidity ^0.6.0;\\r\\n\\r\\nlibrary Constants {\\r\\n address internal constant ETH = 0x0000000000000000000000000000000000000000;\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/adapters/FeeCommonAdapter.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/math/SafeMath.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\r\\n\\r\\nimport \\\"../Constants.sol\\\";\\r\\n\\r\\ncontract FeeCommonAdapter {\\r\\n using SafeERC20 for IERC20;\\r\\n using Address for address;\\r\\n using Address for address payable;\\r\\n using SafeMath for uint256;\\r\\n\\r\\n // solhint-disable-next-line var-name-mixedcase\\r\\n address payable public immutable FEE_WALLET;\\r\\n\\r\\n constructor(address payable feeWallet) public {\\r\\n FEE_WALLET = feeWallet;\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Performs a swap\\r\\n * @param recipient The original msg.sender performing the swap\\r\\n * @param aggregator Address of the aggregator's contract\\r\\n * @param spender Address to which tokens will be approved\\r\\n * @param method Selector of the function to be called in the aggregator's contract\\r\\n * @param tokenFrom Token to be swapped\\r\\n * @param tokenTo Token to be received\\r\\n * @param amountFrom Amount of tokenFrom to swap\\r\\n * @param amountTo Minimum amount of tokenTo to receive\\r\\n * @param data Data used for the call made to the aggregator's contract\\r\\n * @param fee Amount of tokenFrom sent to the fee wallet\\r\\n */\\r\\n function swap(\\r\\n address payable recipient,\\r\\n address aggregator,\\r\\n address spender,\\r\\n bytes4 method,\\r\\n IERC20 tokenFrom,\\r\\n IERC20 tokenTo,\\r\\n uint256 amountFrom,\\r\\n uint256 amountTo,\\r\\n bytes calldata data,\\r\\n uint256 fee\\r\\n ) external payable {\\r\\n require(tokenFrom != tokenTo, \\\"TOKEN_PAIR_INVALID\\\");\\r\\n\\r\\n if (address(tokenFrom) == Constants.ETH) {\\r\\n FEE_WALLET.sendValue(fee);\\r\\n } else {\\r\\n _transfer(tokenFrom, fee, FEE_WALLET);\\r\\n _approveSpender(tokenFrom, spender, amountFrom);\\r\\n }\\r\\n\\r\\n // We always forward msg.value as it may be necessary to pay fees\\r\\n aggregator.functionCallWithValue(\\r\\n abi.encodePacked(method, data),\\r\\n address(this).balance\\r\\n );\\r\\n\\r\\n // Transfer remaining balance of tokenFrom to sender\\r\\n if (address(tokenFrom) != Constants.ETH) {\\r\\n _transfer(tokenFrom, tokenFrom.balanceOf(address(this)), recipient);\\r\\n }\\r\\n\\r\\n uint256 weiBalance = address(this).balance;\\r\\n\\r\\n // Transfer remaining balance of tokenTo to sender\\r\\n if (address(tokenTo) != Constants.ETH) {\\r\\n uint256 balance = tokenTo.balanceOf(address(this));\\r\\n require(balance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n _transfer(tokenTo, balance, recipient);\\r\\n } else {\\r\\n // If tokenTo == ETH, then check that the remaining ETH balance >= amountTo\\r\\n require(weiBalance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n }\\r\\n\\r\\n // If there are unused fees or if tokenTo is ETH, transfer to sender\\r\\n if (weiBalance > 0) {\\r\\n recipient.sendValue(weiBalance);\\r\\n }\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Transfers token to sender if amount > 0\\r\\n * @param token IERC20 token to transfer to sender\\r\\n * @param amount Amount of token to transfer\\r\\n * @param recipient Address that will receive the tokens\\r\\n */\\r\\n function _transfer(\\r\\n IERC20 token,\\r\\n uint256 amount,\\r\\n address recipient\\r\\n ) internal {\\r\\n if (amount > 0) {\\r\\n token.safeTransfer(recipient, amount);\\r\\n }\\r\\n }\\r\\n\\r\\n // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/SafeERC20.sol\\r\\n /**\\r\\n * @dev Approves max amount of token to the spender if the allowance is lower than amount\\r\\n * @param token The ERC20 token to approve\\r\\n * @param spender Address to which funds will be approved\\r\\n * @param amount Amount used to compare current allowance\\r\\n */\\r\\n function _approveSpender(\\r\\n IERC20 token,\\r\\n address spender,\\r\\n uint256 amount\\r\\n ) internal {\\r\\n // If allowance is not enough, approve max possible amount\\r\\n uint256 allowance = token.allowance(address(this), spender);\\r\\n if (allowance < amount) {\\r\\n bytes memory returndata = address(token).functionCall(\\r\\n abi.encodeWithSelector(\\r\\n token.approve.selector,\\r\\n spender,\\r\\n type(uint256).max\\r\\n )\\r\\n );\\r\\n\\r\\n if (returndata.length > 0) {\\r\\n // Return data is optional\\r\\n require(abi.decode(returndata, (bool)), \\\"APPROVAL_FAILED\\\");\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/adapters/FeeWethAdapter.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/math/SafeMath.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\r\\n\\r\\nimport \\\"../Constants.sol\\\";\\r\\nimport \\\"../IWETH.sol\\\";\\r\\n\\r\\ncontract FeeWethAdapter {\\r\\n using SafeERC20 for IERC20;\\r\\n using Address for address;\\r\\n using Address for address payable;\\r\\n using SafeMath for uint256;\\r\\n\\r\\n IWETH public immutable weth;\\r\\n // solhint-disable-next-line var-name-mixedcase\\r\\n address payable public immutable FEE_WALLET;\\r\\n\\r\\n constructor(IWETH _weth, address payable feeWallet) public {\\r\\n weth = _weth;\\r\\n FEE_WALLET = feeWallet;\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Performs a swap\\r\\n * @param recipient The original msg.sender performing the swap\\r\\n * @param aggregator Address of the aggregator's contract\\r\\n * @param spender Address to which tokens will be approved\\r\\n * @param method Selector of the function to be called in the aggregator's contract\\r\\n * @param tokenFrom Token to be swapped\\r\\n * @param tokenTo Token to be received\\r\\n * @param amountFrom Amount of tokenFrom to swap\\r\\n * @param amountTo Minimum amount of tokenTo to receive\\r\\n * @param data Data used for the call made to the aggregator's contract\\r\\n * @param fee Amount of tokenFrom sent to the fee wallet\\r\\n */\\r\\n function swap(\\r\\n address payable recipient,\\r\\n address aggregator,\\r\\n address spender,\\r\\n bytes4 method,\\r\\n IERC20 tokenFrom,\\r\\n IERC20 tokenTo,\\r\\n uint256 amountFrom,\\r\\n uint256 amountTo,\\r\\n bytes calldata data,\\r\\n uint256 fee\\r\\n ) external payable {\\r\\n require(tokenFrom != tokenTo, \\\"TOKEN_PAIR_INVALID\\\");\\r\\n\\r\\n if (address(tokenFrom) == Constants.ETH) {\\r\\n FEE_WALLET.sendValue(fee);\\r\\n // If tokenFrom is ETH, msg.value = fee + amountFrom (total fee could be 0)\\r\\n // Can't deal with ETH, convert to WETH, the remaining balance will be the fee\\r\\n weth.deposit{value: amountFrom}();\\r\\n _approveSpender(weth, spender, amountFrom);\\r\\n } else {\\r\\n _transfer(tokenFrom, fee, FEE_WALLET);\\r\\n // Otherwise capture tokens from sender\\r\\n _approveSpender(tokenFrom, spender, amountFrom);\\r\\n }\\r\\n\\r\\n // Perform the swap\\r\\n aggregator.functionCallWithValue(\\r\\n abi.encodePacked(method, data),\\r\\n address(this).balance\\r\\n );\\r\\n\\r\\n // Transfer remaining balance of tokenFrom to sender\\r\\n if (address(tokenFrom) != Constants.ETH) {\\r\\n _transfer(tokenFrom, tokenFrom.balanceOf(address(this)), recipient);\\r\\n } else {\\r\\n // If using ETH, just unwrap any remaining WETH\\r\\n // At the end of this function all ETH will be transferred to the sender\\r\\n _unwrapWETH();\\r\\n }\\r\\n\\r\\n uint256 weiBalance = address(this).balance;\\r\\n\\r\\n // Transfer remaining balance of tokenTo to sender\\r\\n if (address(tokenTo) != Constants.ETH) {\\r\\n uint256 balance = tokenTo.balanceOf(address(this));\\r\\n require(balance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n _transfer(tokenTo, balance, recipient);\\r\\n } else {\\r\\n // If tokenTo == ETH, unwrap received WETH and add it to the wei balance,\\r\\n // then check that the remaining ETH balance >= amountTo\\r\\n // It is safe to not use safeMath as no one can have enough Ether to overflow\\r\\n weiBalance += _unwrapWETH();\\r\\n require(weiBalance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n }\\r\\n\\r\\n // If there are unused fees or if tokenTo is ETH, transfer to sender\\r\\n if (weiBalance > 0) {\\r\\n recipient.sendValue(weiBalance);\\r\\n }\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Unwraps all available WETH into ETH\\r\\n */\\r\\n function _unwrapWETH() internal returns (uint256) {\\r\\n uint256 balance = weth.balanceOf(address(this));\\r\\n weth.withdraw(balance);\\r\\n return balance;\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Transfers token to sender if amount > 0\\r\\n * @param token IERC20 token to transfer to sender\\r\\n * @param amount Amount of token to transfer\\r\\n * @param recipient Address that will receive the tokens\\r\\n */\\r\\n function _transfer(\\r\\n IERC20 token,\\r\\n uint256 amount,\\r\\n address recipient\\r\\n ) internal {\\r\\n if (amount > 0) {\\r\\n token.safeTransfer(recipient, amount);\\r\\n }\\r\\n }\\r\\n\\r\\n // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/SafeERC20.sol\\r\\n /**\\r\\n * @dev Approves max amount of token to the spender if the allowance is lower than amount\\r\\n * @param token The ERC20 token to approve\\r\\n * @param spender Address to which funds will be approved\\r\\n * @param amount Amount used to compare current allowance\\r\\n */\\r\\n function _approveSpender(\\r\\n IERC20 token,\\r\\n address spender,\\r\\n uint256 amount\\r\\n ) internal {\\r\\n // If allowance is not enough, approve max possible amount\\r\\n uint256 allowance = token.allowance(address(this), spender);\\r\\n if (allowance < amount) {\\r\\n bytes memory returndata = address(token).functionCall(\\r\\n abi.encodeWithSelector(\\r\\n token.approve.selector,\\r\\n spender,\\r\\n type(uint256).max\\r\\n )\\r\\n );\\r\\n\\r\\n if (returndata.length > 0) {\\r\\n // Return data is optional\\r\\n require(abi.decode(returndata, (bool)), \\\"APPROVAL_FAILED\\\");\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/IWETH.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\n\\r\\ninterface IWETH is IERC20 {\\r\\n function deposit() external payable;\\r\\n\\r\\n function withdraw(uint256) external;\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/adapters/UniswapAdapter.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/math/SafeMath.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\r\\nimport \\\"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\\\";\\r\\n\\r\\nimport \\\"../Constants.sol\\\";\\r\\n\\r\\ncontract UniswapAdapter {\\r\\n using SafeERC20 for IERC20;\\r\\n using Address for address;\\r\\n using Address for address payable;\\r\\n using SafeMath for uint256;\\r\\n\\r\\n // solhint-disable-next-line var-name-mixedcase\\r\\n IUniswapV2Router02 public immutable UNISWAP;\\r\\n // solhint-disable-next-line var-name-mixedcase\\r\\n address payable public immutable FEE_WALLET;\\r\\n\\r\\n constructor(address payable feeWallet, IUniswapV2Router02 uniswap) public {\\r\\n FEE_WALLET = feeWallet;\\r\\n UNISWAP = uniswap;\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Performs a swap\\r\\n * @param recipient The original msg.sender performing the swap\\r\\n * @param tokenFrom Token to be swapped\\r\\n * @param tokenTo Token to be received\\r\\n * @param amountFrom Amount of tokenFrom to swap\\r\\n * @param amountTo Minimum amount of tokenTo to receive\\r\\n * @param path Used by Uniswap\\r\\n * @param deadline Timestamp at which the swap becomes invalid. Used by Uniswap\\r\\n * @param feeOnTransfer Use `supportingFeeOnTransfer` Uniswap methods\\r\\n * @param fee Amount of tokenFrom sent to the fee wallet\\r\\n */\\r\\n function swap(\\r\\n address payable recipient,\\r\\n IERC20 tokenFrom,\\r\\n IERC20 tokenTo,\\r\\n uint256 amountFrom,\\r\\n uint256 amountTo,\\r\\n address[] calldata path,\\r\\n uint256 deadline,\\r\\n bool feeOnTransfer,\\r\\n uint256 fee\\r\\n ) external payable {\\r\\n require(tokenFrom != tokenTo, \\\"TOKEN_PAIR_INVALID\\\");\\r\\n\\r\\n if (address(tokenFrom) == Constants.ETH) {\\r\\n FEE_WALLET.sendValue(fee);\\r\\n } else {\\r\\n _transfer(tokenFrom, fee, FEE_WALLET);\\r\\n }\\r\\n\\r\\n if (address(tokenFrom) == Constants.ETH) {\\r\\n if (feeOnTransfer) {\\r\\n UNISWAP.swapExactETHForTokensSupportingFeeOnTransferTokens{\\r\\n value: address(this).balance\\r\\n }(amountTo, path, address(this), deadline);\\r\\n } else {\\r\\n UNISWAP.swapExactETHForTokens{value: address(this).balance}(\\r\\n amountTo,\\r\\n path,\\r\\n address(this),\\r\\n deadline\\r\\n );\\r\\n }\\r\\n } else {\\r\\n _approveSpender(tokenFrom, address(UNISWAP), amountFrom);\\r\\n if (address(tokenTo) == Constants.ETH) {\\r\\n if (feeOnTransfer) {\\r\\n UNISWAP.swapExactTokensForETHSupportingFeeOnTransferTokens(\\r\\n amountFrom,\\r\\n amountTo,\\r\\n path,\\r\\n address(this),\\r\\n deadline\\r\\n );\\r\\n } else {\\r\\n UNISWAP.swapExactTokensForETH(\\r\\n amountFrom,\\r\\n amountTo,\\r\\n path,\\r\\n address(this),\\r\\n deadline\\r\\n );\\r\\n }\\r\\n } else {\\r\\n if (feeOnTransfer) {\\r\\n UNISWAP\\r\\n .swapExactTokensForTokensSupportingFeeOnTransferTokens(\\r\\n amountFrom,\\r\\n amountTo,\\r\\n path,\\r\\n address(this),\\r\\n deadline\\r\\n );\\r\\n } else {\\r\\n UNISWAP.swapExactTokensForTokens(\\r\\n amountFrom,\\r\\n amountTo,\\r\\n path,\\r\\n address(this),\\r\\n deadline\\r\\n );\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n // Transfer remaining balance of tokenFrom to sender\\r\\n if (address(tokenFrom) != Constants.ETH) {\\r\\n _transfer(tokenFrom, tokenFrom.balanceOf(address(this)), recipient);\\r\\n }\\r\\n\\r\\n uint256 weiBalance = address(this).balance;\\r\\n\\r\\n // Transfer remaining balance of tokenTo to sender\\r\\n if (address(tokenTo) != Constants.ETH) {\\r\\n uint256 balance = tokenTo.balanceOf(address(this));\\r\\n require(balance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n _transfer(tokenTo, balance, recipient);\\r\\n } else {\\r\\n // If tokenTo == ETH, then check that the remaining ETH balance >= amountTo\\r\\n require(weiBalance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n }\\r\\n\\r\\n // If there are unused fees or if tokenTo is ETH, transfer to sender\\r\\n if (weiBalance > 0) {\\r\\n recipient.sendValue(weiBalance);\\r\\n }\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Transfers token to sender if amount > 0\\r\\n * @param token IERC20 token to transfer to sender\\r\\n * @param amount Amount of token to transfer\\r\\n * @param recipient Address that will receive the tokens\\r\\n */\\r\\n function _transfer(\\r\\n IERC20 token,\\r\\n uint256 amount,\\r\\n address recipient\\r\\n ) internal {\\r\\n if (amount > 0) {\\r\\n token.safeTransfer(recipient, amount);\\r\\n }\\r\\n }\\r\\n\\r\\n // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/SafeERC20.sol\\r\\n /**\\r\\n * @dev Approves max amount of token to the spender if the allowance is lower than amount\\r\\n * @param token The ERC20 token to approve\\r\\n * @param spender Address to which funds will be approved\\r\\n * @param amount Amount used to compare current allowance\\r\\n */\\r\\n function _approveSpender(\\r\\n IERC20 token,\\r\\n address spender,\\r\\n uint256 amount\\r\\n ) internal {\\r\\n // If allowance is not enough, approve max possible amount\\r\\n uint256 allowance = token.allowance(address(this), spender);\\r\\n if (allowance < amount) {\\r\\n bytes memory returndata = address(token).functionCall(\\r\\n abi.encodeWithSelector(\\r\\n token.approve.selector,\\r\\n spender,\\r\\n type(uint256).max\\r\\n )\\r\\n );\\r\\n\\r\\n if (returndata.length > 0) {\\r\\n // Return data is optional\\r\\n require(abi.decode(returndata, (bool)), \\\"APPROVAL_FAILED\\\");\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\": {\r\n \"content\": \"pragma solidity >=0.6.2;\\n\\nimport './IUniswapV2Router01.sol';\\n\\ninterface IUniswapV2Router02 is IUniswapV2Router01 {\\n function removeLiquidityETHSupportingFeeOnTransferTokens(\\n address token,\\n uint liquidity,\\n uint amountTokenMin,\\n uint amountETHMin,\\n address to,\\n uint deadline\\n ) external returns (uint amountETH);\\n function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(\\n address token,\\n uint liquidity,\\n uint amountTokenMin,\\n uint amountETHMin,\\n address to,\\n uint deadline,\\n bool approveMax, uint8 v, bytes32 r, bytes32 s\\n ) external returns (uint amountETH);\\n\\n function swapExactTokensForTokensSupportingFeeOnTransferTokens(\\n uint amountIn,\\n uint amountOutMin,\\n address[] calldata path,\\n address to,\\n uint deadline\\n ) external;\\n function swapExactETHForTokensSupportingFeeOnTransferTokens(\\n uint amountOutMin,\\n address[] calldata path,\\n address to,\\n uint deadline\\n ) external payable;\\n function swapExactTokensForETHSupportingFeeOnTransferTokens(\\n uint amountIn,\\n uint amountOutMin,\\n address[] calldata path,\\n address to,\\n uint deadline\\n ) external;\\n}\\n\"\r\n },\r\n \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol\": {\r\n \"content\": \"pragma solidity >=0.6.2;\\n\\ninterface IUniswapV2Router01 {\\n function factory() external pure returns (address);\\n function WETH() external pure returns (address);\\n\\n function addLiquidity(\\n address tokenA,\\n address tokenB,\\n uint amountADesired,\\n uint amountBDesired,\\n uint amountAMin,\\n uint amountBMin,\\n address to,\\n uint deadline\\n ) external returns (uint amountA, uint amountB, uint liquidity);\\n function addLiquidityETH(\\n address token,\\n uint amountTokenDesired,\\n uint amountTokenMin,\\n uint amountETHMin,\\n address to,\\n uint deadline\\n ) external payable returns (uint amountToken, uint amountETH, uint liquidity);\\n function removeLiquidity(\\n address tokenA,\\n address tokenB,\\n uint liquidity,\\n uint amountAMin,\\n uint amountBMin,\\n address to,\\n uint deadline\\n ) external returns (uint amountA, uint amountB);\\n function removeLiquidityETH(\\n address token,\\n uint liquidity,\\n uint amountTokenMin,\\n uint amountETHMin,\\n address to,\\n uint deadline\\n ) external returns (uint amountToken, uint amountETH);\\n function removeLiquidityWithPermit(\\n address tokenA,\\n address tokenB,\\n uint liquidity,\\n uint amountAMin,\\n uint amountBMin,\\n address to,\\n uint deadline,\\n bool approveMax, uint8 v, bytes32 r, bytes32 s\\n ) external returns (uint amountA, uint amountB);\\n function removeLiquidityETHWithPermit(\\n address token,\\n uint liquidity,\\n uint amountTokenMin,\\n uint amountETHMin,\\n address to,\\n uint deadline,\\n bool approveMax, uint8 v, bytes32 r, bytes32 s\\n ) external returns (uint amountToken, uint amountETH);\\n function swapExactTokensForTokens(\\n uint amountIn,\\n uint amountOutMin,\\n address[] calldata path,\\n address to,\\n uint deadline\\n ) external returns (uint[] memory amounts);\\n function swapTokensForExactTokens(\\n uint amountOut,\\n uint amountInMax,\\n address[] calldata path,\\n address to,\\n uint deadline\\n ) external returns (uint[] memory amounts);\\n function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)\\n external\\n payable\\n returns (uint[] memory amounts);\\n function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)\\n external\\n returns (uint[] memory amounts);\\n function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)\\n external\\n returns (uint[] memory amounts);\\n function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)\\n external\\n payable\\n returns (uint[] memory amounts);\\n\\n function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);\\n function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);\\n function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);\\n function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);\\n function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);\\n}\\n\"\r\n },\r\n \"contracts/adapters/WethAdapter.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\r\\n\\r\\nimport \\\"../Constants.sol\\\";\\r\\nimport \\\"../IWETH.sol\\\";\\r\\n\\r\\ncontract WethAdapter {\\r\\n using SafeERC20 for IERC20;\\r\\n using Address for address;\\r\\n using Address for address payable;\\r\\n\\r\\n IWETH public immutable weth;\\r\\n\\r\\n constructor(IWETH _weth) public {\\r\\n weth = _weth;\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Performs a swap\\r\\n * @param recipient The original msg.sender performing the swap\\r\\n * @param aggregator Address of the aggregator's contract\\r\\n * @param spender Address to which tokens will be approved\\r\\n * @param method Selector of the function to be called in the aggregator's contract\\r\\n * @param tokenFrom Token to be swapped\\r\\n * @param tokenTo Token to be received\\r\\n * @param amountFrom Amount of tokenFrom to swap\\r\\n * @param amountTo Minimum amount of tokenTo to receive\\r\\n * @param data Data used for the call made to the aggregator's contract\\r\\n */\\r\\n function swap(\\r\\n address payable recipient,\\r\\n address aggregator,\\r\\n address spender,\\r\\n bytes4 method,\\r\\n IERC20 tokenFrom,\\r\\n IERC20 tokenTo,\\r\\n uint256 amountFrom,\\r\\n uint256 amountTo,\\r\\n bytes calldata data\\r\\n ) external payable {\\r\\n require(tokenFrom != tokenTo, \\\"TOKEN_PAIR_INVALID\\\");\\r\\n\\r\\n if (address(tokenFrom) == Constants.ETH) {\\r\\n // If tokenFrom is ETH, msg.value = fee + amountFrom (total fee could be 0)\\r\\n // Can't deal with ETH, convert to WETH, the remaining balance will be the fee\\r\\n weth.deposit{value: amountFrom}();\\r\\n _approveSpender(weth, spender, amountFrom);\\r\\n } else {\\r\\n // Otherwise capture tokens from sender\\r\\n _approveSpender(tokenFrom, spender, amountFrom);\\r\\n }\\r\\n\\r\\n // Perform the swap\\r\\n aggregator.functionCallWithValue(\\r\\n abi.encodePacked(method, data),\\r\\n address(this).balance\\r\\n );\\r\\n\\r\\n // Transfer remaining balance of tokenFrom to sender\\r\\n if (address(tokenFrom) != Constants.ETH) {\\r\\n _transfer(tokenFrom, tokenFrom.balanceOf(address(this)), recipient);\\r\\n } else {\\r\\n // If using ETH, just unwrap any remaining WETH\\r\\n // At the end of this function all ETH will be transferred to the sender\\r\\n _unwrapWETH();\\r\\n }\\r\\n\\r\\n uint256 weiBalance = address(this).balance;\\r\\n\\r\\n // Transfer remaining balance of tokenTo to sender\\r\\n if (address(tokenTo) != Constants.ETH) {\\r\\n uint256 balance = tokenTo.balanceOf(address(this));\\r\\n require(balance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n _transfer(tokenTo, balance, recipient);\\r\\n } else {\\r\\n // If tokenTo == ETH, unwrap received WETH and add it to the wei balance,\\r\\n // then check that the remaining ETH balance >= amountTo\\r\\n // It is safe to not use safeMath as no one can have enough Ether to overflow\\r\\n weiBalance += _unwrapWETH();\\r\\n require(weiBalance >= amountTo, \\\"INSUFFICIENT_AMOUNT\\\");\\r\\n }\\r\\n\\r\\n // If there are unused fees or if tokenTo is ETH, transfer to sender\\r\\n if (weiBalance > 0) {\\r\\n recipient.sendValue(weiBalance);\\r\\n }\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Unwraps all available WETH into ETH\\r\\n */\\r\\n function _unwrapWETH() internal returns (uint256) {\\r\\n uint256 balance = weth.balanceOf(address(this));\\r\\n weth.withdraw(balance);\\r\\n return balance;\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Transfers token to sender if amount > 0\\r\\n * @param token IERC20 token to transfer to sender\\r\\n * @param amount Amount of token to transfer\\r\\n * @param recipient Address that will receive the tokens\\r\\n */\\r\\n function _transfer(\\r\\n IERC20 token,\\r\\n uint256 amount,\\r\\n address recipient\\r\\n ) internal {\\r\\n if (amount > 0) {\\r\\n token.safeTransfer(recipient, amount);\\r\\n }\\r\\n }\\r\\n\\r\\n // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/SafeERC20.sol\\r\\n /**\\r\\n * @dev Approves max amount of token to the spender if the allowance is lower than amount\\r\\n * @param token The ERC20 token to approve\\r\\n * @param spender Address to which funds will be approved\\r\\n * @param amount Amount used to compare current allowance\\r\\n */\\r\\n function _approveSpender(\\r\\n IERC20 token,\\r\\n address spender,\\r\\n uint256 amount\\r\\n ) internal {\\r\\n // If allowance is not enough, approve max possible amount\\r\\n uint256 allowance = token.allowance(address(this), spender);\\r\\n if (allowance < amount) {\\r\\n bytes memory returndata = address(token).functionCall(\\r\\n abi.encodeWithSelector(\\r\\n token.approve.selector,\\r\\n spender,\\r\\n type(uint256).max\\r\\n )\\r\\n );\\r\\n\\r\\n if (returndata.length > 0) {\\r\\n // Return data is optional\\r\\n require(abi.decode(returndata, (bool)), \\\"APPROVAL_FAILED\\\");\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/ICHI.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\r\\n\\r\\npragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\n\\r\\ninterface ICHI is IERC20 {\\r\\n function freeUpTo(uint256 value) external returns (uint256);\\r\\n\\r\\n function freeFromUpTo(\\r\\n address from,\\r\\n uint256 value\\r\\n ) external returns (uint256);\\r\\n\\r\\n function mint(uint256 value) external;\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/Imports.sol\": {\r\n \"content\": \" \\r\\n// SPDX-License-Identifier: UNLICENSED\\r\\npragma solidity ^0.6.0;\\r\\n\\r\\n// We import the contract so truffle compiles it, and we have the ABI\\r\\n// available when working from truffle console.\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\"; //helpers\"\r\n },\r\n \"@openzeppelin/contracts/token/ERC20/ERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\nimport \\\"../../GSN/Context.sol\\\";\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @dev Implementation of the {IERC20} interface.\\n *\\n * This implementation is agnostic to the way tokens are created. This means\\n * that a supply mechanism has to be added in a derived contract using {_mint}.\\n * For a generic mechanism see {ERC20PresetMinterPauser}.\\n *\\n * TIP: For a detailed writeup see our guide\\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\\n * to implement supply mechanisms].\\n *\\n * We have followed general OpenZeppelin guidelines: functions revert instead\\n * of returning `false` on failure. This behavior is nonetheless conventional\\n * and does not conflict with the expectations of ERC20 applications.\\n *\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See {IERC20-approve}.\\n */\\ncontract ERC20 is Context, IERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n mapping (address => uint256) private _balances;\\n\\n mapping (address => mapping (address => uint256)) private _allowances;\\n\\n uint256 private _totalSupply;\\n\\n string private _name;\\n string private _symbol;\\n uint8 private _decimals;\\n\\n /**\\n * @dev Sets the values for {name} and {symbol}, initializes {decimals} with\\n * a default value of 18.\\n *\\n * To select a different value for {decimals}, use {_setupDecimals}.\\n *\\n * All three of these values are immutable: they can only be set once during\\n * construction.\\n */\\n constructor (string memory name, string memory symbol) public {\\n _name = name;\\n _symbol = symbol;\\n _decimals = 18;\\n }\\n\\n /**\\n * @dev Returns the name of the token.\\n */\\n function name() public view returns (string memory) {\\n return _name;\\n }\\n\\n /**\\n * @dev Returns the symbol of the token, usually a shorter version of the\\n * name.\\n */\\n function symbol() public view returns (string memory) {\\n return _symbol;\\n }\\n\\n /**\\n * @dev Returns the number of decimals used to get its user representation.\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\\n *\\n * Tokens usually opt for a value of 18, imitating the relationship between\\n * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\\n * called.\\n *\\n * NOTE: This information is only used for _display_ purposes: it in\\n * no way affects any of the arithmetic of the contract, including\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\n */\\n function decimals() public view returns (uint8) {\\n return _decimals;\\n }\\n\\n /**\\n * @dev See {IERC20-totalSupply}.\\n */\\n function totalSupply() public view override returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @dev See {IERC20-balanceOf}.\\n */\\n function balanceOf(address account) public view override returns (uint256) {\\n return _balances[account];\\n }\\n\\n /**\\n * @dev See {IERC20-transfer}.\\n *\\n * Requirements:\\n *\\n * - `recipient` cannot be the zero address.\\n * - the caller must have a balance of at least `amount`.\\n */\\n function transfer(address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(_msgSender(), recipient, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-allowance}.\\n */\\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\\n return _allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See {IERC20-approve}.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\\n _approve(_msgSender(), spender, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-transferFrom}.\\n *\\n * Emits an {Approval} event indicating the updated allowance. This is not\\n * required by the EIP. See the note at the beginning of {ERC20};\\n *\\n * Requirements:\\n * - `sender` and `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n * - the caller must have allowance for ``sender``'s tokens of at least\\n * `amount`.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {\\n _transfer(sender, recipient, amount);\\n _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, \\\"ERC20: transfer amount exceeds allowance\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to {approve} that can be used as a mitigation for\\n * problems described in {IERC20-approve}.\\n *\\n * Emits an {Approval} event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `spender` must have allowance for the caller of at least\\n * `subtractedValue`.\\n */\\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, \\\"ERC20: decreased allowance below zero\\\"));\\n return true;\\n }\\n\\n /**\\n * @dev Moves tokens `amount` from `sender` to `recipient`.\\n *\\n * This is internal function is equivalent to {transfer}, and can be used to\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\n *\\n * Emits a {Transfer} event.\\n *\\n * Requirements:\\n *\\n * - `sender` cannot be the zero address.\\n * - `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n */\\n function _transfer(address sender, address recipient, uint256 amount) internal virtual {\\n require(sender != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(recipient != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n _beforeTokenTransfer(sender, recipient, amount);\\n\\n _balances[sender] = _balances[sender].sub(amount, \\\"ERC20: transfer amount exceeds balance\\\");\\n _balances[recipient] = _balances[recipient].add(amount);\\n emit Transfer(sender, recipient, amount);\\n }\\n\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n * the total supply.\\n *\\n * Emits a {Transfer} event with `from` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `to` cannot be the zero address.\\n */\\n function _mint(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n _beforeTokenTransfer(address(0), account, amount);\\n\\n _totalSupply = _totalSupply.add(amount);\\n _balances[account] = _balances[account].add(amount);\\n emit Transfer(address(0), account, amount);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens from `account`, reducing the\\n * total supply.\\n *\\n * Emits a {Transfer} event with `to` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `account` cannot be the zero address.\\n * - `account` must have at least `amount` tokens.\\n */\\n function _burn(address account, uint256 amount) internal virtual {\\n require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n _beforeTokenTransfer(account, address(0), amount);\\n\\n _balances[account] = _balances[account].sub(amount, \\\"ERC20: burn amount exceeds balance\\\");\\n _totalSupply = _totalSupply.sub(amount);\\n emit Transfer(account, address(0), amount);\\n }\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\\n *\\n * This internal function is equivalent to `approve`, and can be used to\\n * e.g. set automatic allowances for certain subsystems, etc.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `owner` cannot be the zero address.\\n * - `spender` cannot be the zero address.\\n */\\n function _approve(address owner, address spender, uint256 amount) internal virtual {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n _allowances[owner][spender] = amount;\\n emit Approval(owner, spender, amount);\\n }\\n\\n /**\\n * @dev Sets {decimals} to a value other than the default one of 18.\\n *\\n * WARNING: This function should only be called from the constructor. Most\\n * applications that interact with token contracts will not expect\\n * {decimals} to ever change, and may work incorrectly if it does.\\n */\\n function _setupDecimals(uint8 decimals_) internal {\\n _decimals = decimals_;\\n }\\n\\n /**\\n * @dev Hook that is called before any transfer of tokens. This includes\\n * minting and burning.\\n *\\n * Calling conditions:\\n *\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * will be to transferred to `to`.\\n * - when `from` is zero, `amount` tokens will be minted for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\n * - `from` and `to` are never both zero.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/GSN/Context.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\n/*\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with GSN meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address payable) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes memory) {\\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\\n return msg.data;\\n }\\n}\\n\"\r\n },\r\n \"contracts/MetaSwap.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\r\\n\\r\\npragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Pausable.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\r\\n\\r\\nimport \\\"./ICHI.sol\\\";\\r\\nimport \\\"./Spender.sol\\\";\\r\\n\\r\\n/**\\r\\n * @title MetaSwap\\r\\n */\\r\\ncontract MetaSwap is Ownable, Pausable, ReentrancyGuard {\\r\\n using SafeERC20 for IERC20;\\r\\n using Address for address;\\r\\n using Address for address payable;\\r\\n\\r\\n struct Adapter {\\r\\n address addr; // adapter's address\\r\\n bytes4 selector;\\r\\n bytes data; // adapter's fixed data\\r\\n }\\r\\n\\r\\n ICHI public immutable chi;\\r\\n Spender public immutable spender;\\r\\n\\r\\n // Mapping of aggregatorId to aggregator\\r\\n mapping(string => Adapter) public adapters;\\r\\n mapping(string => bool) public adapterRemoved;\\r\\n\\r\\n event AdapterSet(\\r\\n string indexed aggregatorId,\\r\\n address indexed addr,\\r\\n bytes4 selector,\\r\\n bytes data\\r\\n );\\r\\n event AdapterRemoved(string indexed aggregatorId);\\r\\n event Swap(string indexed aggregatorId, address indexed sender);\\r\\n\\r\\n constructor(ICHI _chi) public {\\r\\n chi = _chi;\\r\\n spender = new Spender();\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Sets the adapter for an aggregator. It can't be changed later.\\r\\n * @param aggregatorId Aggregator's identifier\\r\\n * @param addr Address of the contract that contains the logic for this aggregator\\r\\n * @param selector The function selector of the swap function in the adapter\\r\\n * @param data Fixed abi encoded data the will be passed in each delegatecall made to the adapter\\r\\n */\\r\\n function setAdapter(\\r\\n string calldata aggregatorId,\\r\\n address addr,\\r\\n bytes4 selector,\\r\\n bytes calldata data\\r\\n ) external onlyOwner {\\r\\n require(addr.isContract(), \\\"ADAPTER_IS_NOT_A_CONTRACT\\\");\\r\\n require(!adapterRemoved[aggregatorId], \\\"ADAPTER_REMOVED\\\");\\r\\n\\r\\n Adapter storage adapter = adapters[aggregatorId];\\r\\n require(adapter.addr == address(0), \\\"ADAPTER_EXISTS\\\");\\r\\n\\r\\n adapter.addr = addr;\\r\\n adapter.selector = selector;\\r\\n adapter.data = data;\\r\\n emit AdapterSet(aggregatorId, addr, selector, data);\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Removes the adapter for an existing aggregator. This can't be undone.\\r\\n * @param aggregatorId Aggregator's identifier\\r\\n */\\r\\n function removeAdapter(string calldata aggregatorId) external onlyOwner {\\r\\n require(\\r\\n adapters[aggregatorId].addr != address(0),\\r\\n \\\"ADAPTER_DOES_NOT_EXIST\\\"\\r\\n );\\r\\n delete adapters[aggregatorId];\\r\\n adapterRemoved[aggregatorId] = true;\\r\\n emit AdapterRemoved(aggregatorId);\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Performs a swap\\r\\n * @param aggregatorId Identifier of the aggregator to be used for the swap\\r\\n * @param data Dynamic data which is concatenated with the fixed aggregator's\\r\\n * data in the delecatecall made to the adapter\\r\\n */\\r\\n function swap(\\r\\n string calldata aggregatorId,\\r\\n IERC20 tokenFrom,\\r\\n uint256 amount,\\r\\n bytes calldata data\\r\\n ) external payable whenNotPaused nonReentrant {\\r\\n _swap(aggregatorId, tokenFrom, amount, data);\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Performs a swap\\r\\n * @param aggregatorId Identifier of the aggregator to be used for the swap\\r\\n * @param data Dynamic data which is concatenated with the fixed aggregator's\\r\\n * data in the delecatecall made to the adapter\\r\\n */\\r\\n function swapUsingGasToken(\\r\\n string calldata aggregatorId,\\r\\n IERC20 tokenFrom,\\r\\n uint256 amount,\\r\\n bytes calldata data\\r\\n ) external payable whenNotPaused nonReentrant {\\r\\n uint256 gas = gasleft();\\r\\n\\r\\n _swap(aggregatorId, tokenFrom, amount, data);\\r\\n\\r\\n uint256 gasSpent = 21000 + gas - gasleft() + 16 * msg.data.length;\\r\\n chi.freeFromUpTo(msg.sender, (gasSpent + 14154) / 41947);\\r\\n }\\r\\n\\r\\n function pauseSwaps() external onlyOwner {\\r\\n _pause();\\r\\n }\\r\\n\\r\\n function unpauseSwaps() external onlyOwner {\\r\\n _unpause();\\r\\n }\\r\\n\\r\\n function _swap(\\r\\n string calldata aggregatorId,\\r\\n IERC20 tokenFrom,\\r\\n uint256 amount,\\r\\n bytes calldata data\\r\\n ) internal {\\r\\n Adapter storage adapter = adapters[aggregatorId];\\r\\n\\r\\n if (address(tokenFrom) != Constants.ETH) {\\r\\n tokenFrom.safeTransferFrom(msg.sender, address(spender), amount);\\r\\n }\\r\\n\\r\\n spender.swap{value: msg.value}(\\r\\n adapter.addr,\\r\\n abi.encodePacked(\\r\\n adapter.selector,\\r\\n abi.encode(msg.sender),\\r\\n adapter.data,\\r\\n data\\r\\n )\\r\\n );\\r\\n\\r\\n emit Swap(aggregatorId, msg.sender);\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"@openzeppelin/contracts/access/Ownable.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\nimport \\\"../GSN/Context.sol\\\";\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\ncontract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor () internal {\\n address msgSender = _msgSender();\\n _owner = msgSender;\\n emit OwnershipTransferred(address(0), msgSender);\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(_owner == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n emit OwnershipTransferred(_owner, address(0));\\n _owner = address(0);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n emit OwnershipTransferred(_owner, newOwner);\\n _owner = newOwner;\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/Pausable.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\nimport \\\"../GSN/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which allows children to implement an emergency stop\\n * mechanism that can be triggered by an authorized account.\\n *\\n * This module is used through inheritance. It will make available the\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\n * the functions of your contract. Note that they will not be pausable by\\n * simply including this module, only once the modifiers are put in place.\\n */\\ncontract Pausable is Context {\\n /**\\n * @dev Emitted when the pause is triggered by `account`.\\n */\\n event Paused(address account);\\n\\n /**\\n * @dev Emitted when the pause is lifted by `account`.\\n */\\n event Unpaused(address account);\\n\\n bool private _paused;\\n\\n /**\\n * @dev Initializes the contract in unpaused state.\\n */\\n constructor () internal {\\n _paused = false;\\n }\\n\\n /**\\n * @dev Returns true if the contract is paused, and false otherwise.\\n */\\n function paused() public view returns (bool) {\\n return _paused;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is not paused.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n modifier whenNotPaused() {\\n require(!_paused, \\\"Pausable: paused\\\");\\n _;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is paused.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n modifier whenPaused() {\\n require(_paused, \\\"Pausable: not paused\\\");\\n _;\\n }\\n\\n /**\\n * @dev Triggers stopped state.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n function _pause() internal virtual whenNotPaused {\\n _paused = true;\\n emit Paused(_msgSender());\\n }\\n\\n /**\\n * @dev Returns to normal state.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n function _unpause() internal virtual whenPaused {\\n _paused = false;\\n emit Unpaused(_msgSender());\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.6.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\ncontract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor () internal {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and make it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n}\\n\"\r\n },\r\n \"contracts/Spender.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\r\\n\\r\\npragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"./Constants.sol\\\";\\r\\n\\r\\ncontract Spender {\\r\\n address public immutable metaswap;\\r\\n\\r\\n constructor() public {\\r\\n metaswap = msg.sender;\\r\\n }\\r\\n\\r\\n /// @dev Receives ether from swaps\\r\\n fallback() external payable {}\\r\\n\\r\\n function swap(address adapter, bytes calldata data) external payable {\\r\\n require(msg.sender == metaswap, \\\"FORBIDDEN\\\");\\r\\n require(adapter != address(0), \\\"ADAPTER_NOT_PROVIDED\\\");\\r\\n _delegate(adapter, data, \\\"ADAPTER_DELEGATECALL_FAILED\\\");\\r\\n }\\r\\n\\r\\n /**\\r\\n * @dev Performs a delegatecall and bubbles up the errors, adapted from\\r\\n * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol\\r\\n * @param target Address of the contract to delegatecall\\r\\n * @param data Data passed in the delegatecall\\r\\n * @param errorMessage Fallback revert reason\\r\\n */\\r\\n function _delegate(\\r\\n address target,\\r\\n bytes memory data,\\r\\n string memory errorMessage\\r\\n ) private returns (bytes memory) {\\r\\n // solhint-disable-next-line avoid-low-level-calls\\r\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\r\\n if (success) {\\r\\n return returndata;\\r\\n } else {\\r\\n // Look for revert reason and bubble it up if present\\r\\n if (returndata.length > 0) {\\r\\n // The easiest way to bubble the revert reason is using memory via assembly\\r\\n\\r\\n // solhint-disable-next-line no-inline-assembly\\r\\n assembly {\\r\\n let returndata_size := mload(returndata)\\r\\n revert(add(32, returndata), returndata_size)\\r\\n }\\r\\n } else {\\r\\n revert(errorMessage);\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/mocks/MockAdapter.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\r\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\r\\n\\r\\ncontract MockAdapter {\\r\\n using SafeERC20 for IERC20;\\r\\n using Address for address;\\r\\n using Address for address payable;\\r\\n\\r\\n event MockAdapterEvent(\\r\\n address sender,\\r\\n uint256 valueFixed,\\r\\n uint256 valueDynamic\\r\\n );\\r\\n\\r\\n function test(\\r\\n address sender,\\r\\n uint256 valueFixed,\\r\\n uint256 valueDynamic\\r\\n ) external payable {\\r\\n emit MockAdapterEvent(sender, valueFixed, valueDynamic);\\r\\n }\\r\\n\\r\\n function testRevert(\\r\\n address,\\r\\n uint256,\\r\\n uint256\\r\\n ) external payable {\\r\\n revert(\\\"SWAP_FAILED\\\");\\r\\n }\\r\\n\\r\\n function testRevertNoReturnData(\\r\\n address,\\r\\n uint256,\\r\\n uint256\\r\\n ) external payable {\\r\\n revert();\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/mocks/MockContract.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\n// TAKEN FROM https://github.com/gnosis/mock-contract\\r\\n// TODO: use their npm package once it is published for solidity 0.6\\r\\n\\r\\ninterface MockInterface {\\r\\n /**\\r\\n * @dev After calling this method, the mock will return `response` when it is called\\r\\n * with any calldata that is not mocked more specifically below\\r\\n * (e.g. using givenMethodReturn).\\r\\n * @param response ABI encoded response that will be returned if method is invoked\\r\\n */\\r\\n function givenAnyReturn(bytes calldata response) external;\\r\\n\\r\\n function givenAnyReturnBool(bool response) external;\\r\\n\\r\\n function givenAnyReturnUint(uint256 response) external;\\r\\n\\r\\n function givenAnyReturnAddress(address response) external;\\r\\n\\r\\n function givenAnyRevert() external;\\r\\n\\r\\n function givenAnyRevertWithMessage(string calldata message) external;\\r\\n\\r\\n function givenAnyRunOutOfGas() external;\\r\\n\\r\\n /**\\r\\n * @dev After calling this method, the mock will return `response` when the given\\r\\n * methodId is called regardless of arguments. If the methodId and arguments\\r\\n * are mocked more specifically (using `givenMethodAndArguments`) the latter\\r\\n * will take precedence.\\r\\n * @param method ABI encoded methodId. It is valid to pass full calldata (including arguments). The mock will extract the methodId from it\\r\\n * @param response ABI encoded response that will be returned if method is invoked\\r\\n */\\r\\n function givenMethodReturn(bytes calldata method, bytes calldata response)\\r\\n external;\\r\\n\\r\\n function givenMethodReturnBool(bytes calldata method, bool response)\\r\\n external;\\r\\n\\r\\n function givenMethodReturnUint(bytes calldata method, uint256 response)\\r\\n external;\\r\\n\\r\\n function givenMethodReturnAddress(bytes calldata method, address response)\\r\\n external;\\r\\n\\r\\n function givenMethodRevert(bytes calldata method) external;\\r\\n\\r\\n function givenMethodRevertWithMessage(\\r\\n bytes calldata method,\\r\\n string calldata message\\r\\n ) external;\\r\\n\\r\\n function givenMethodRunOutOfGas(bytes calldata method) external;\\r\\n\\r\\n /**\\r\\n * @dev After calling this method, the mock will return `response` when the given\\r\\n * methodId is called with matching arguments. These exact calldataMocks will take\\r\\n * precedence over all other calldataMocks.\\r\\n * @param call ABI encoded calldata (methodId and arguments)\\r\\n * @param response ABI encoded response that will be returned if contract is invoked with calldata\\r\\n */\\r\\n function givenCalldataReturn(bytes calldata call, bytes calldata response)\\r\\n external;\\r\\n\\r\\n function givenCalldataReturnBool(bytes calldata call, bool response)\\r\\n external;\\r\\n\\r\\n function givenCalldataReturnUint(bytes calldata call, uint256 response)\\r\\n external;\\r\\n\\r\\n function givenCalldataReturnAddress(bytes calldata call, address response)\\r\\n external;\\r\\n\\r\\n function givenCalldataRevert(bytes calldata call) external;\\r\\n\\r\\n function givenCalldataRevertWithMessage(\\r\\n bytes calldata call,\\r\\n string calldata message\\r\\n ) external;\\r\\n\\r\\n function givenCalldataRunOutOfGas(bytes calldata call) external;\\r\\n\\r\\n /**\\r\\n * @dev Returns the number of times anything has been called on this mock since last reset\\r\\n */\\r\\n function invocationCount() external returns (uint256);\\r\\n\\r\\n /**\\r\\n * @dev Returns the number of times the given method has been called on this mock since last reset\\r\\n * @param method ABI encoded methodId. It is valid to pass full calldata (including arguments). The mock will extract the methodId from it\\r\\n */\\r\\n function invocationCountForMethod(bytes calldata method)\\r\\n external\\r\\n returns (uint256);\\r\\n\\r\\n /**\\r\\n * @dev Returns the number of times this mock has been called with the exact calldata since last reset.\\r\\n * @param call ABI encoded calldata (methodId and arguments)\\r\\n */\\r\\n function invocationCountForCalldata(bytes calldata call)\\r\\n external\\r\\n returns (uint256);\\r\\n\\r\\n /**\\r\\n * @dev Resets all mocked methods and invocation counts.\\r\\n */\\r\\n function reset() external;\\r\\n}\\r\\n\\r\\n/**\\r\\n * Implementation of the MockInterface.\\r\\n */\\r\\ncontract MockContract is MockInterface {\\r\\n enum MockType {Return, Revert, OutOfGas}\\r\\n\\r\\n bytes32 public constant MOCKS_LIST_START = hex\\\"01\\\";\\r\\n bytes public constant MOCKS_LIST_END = \\\"0xff\\\";\\r\\n bytes32 public constant MOCKS_LIST_END_HASH = keccak256(MOCKS_LIST_END);\\r\\n bytes4 public constant SENTINEL_ANY_MOCKS = hex\\\"01\\\";\\r\\n bytes public constant DEFAULT_FALLBACK_VALUE = abi.encode(false);\\r\\n\\r\\n // A linked list allows easy iteration and inclusion checks\\r\\n mapping(bytes32 => bytes) calldataMocks;\\r\\n mapping(bytes => MockType) calldataMockTypes;\\r\\n mapping(bytes => bytes) calldataExpectations;\\r\\n mapping(bytes => string) calldataRevertMessage;\\r\\n mapping(bytes32 => uint256) calldataInvocations;\\r\\n\\r\\n mapping(bytes4 => bytes4) methodIdMocks;\\r\\n mapping(bytes4 => MockType) methodIdMockTypes;\\r\\n mapping(bytes4 => bytes) methodIdExpectations;\\r\\n mapping(bytes4 => string) methodIdRevertMessages;\\r\\n mapping(bytes32 => uint256) methodIdInvocations;\\r\\n\\r\\n MockType fallbackMockType;\\r\\n bytes fallbackExpectation = DEFAULT_FALLBACK_VALUE;\\r\\n string fallbackRevertMessage;\\r\\n uint256 invocations;\\r\\n uint256 resetCount;\\r\\n\\r\\n constructor() public {\\r\\n calldataMocks[MOCKS_LIST_START] = MOCKS_LIST_END;\\r\\n methodIdMocks[SENTINEL_ANY_MOCKS] = SENTINEL_ANY_MOCKS;\\r\\n }\\r\\n\\r\\n function trackCalldataMock(bytes memory call) private {\\r\\n bytes32 callHash = keccak256(call);\\r\\n if (calldataMocks[callHash].length == 0) {\\r\\n calldataMocks[callHash] = calldataMocks[MOCKS_LIST_START];\\r\\n calldataMocks[MOCKS_LIST_START] = call;\\r\\n }\\r\\n }\\r\\n\\r\\n function trackMethodIdMock(bytes4 methodId) private {\\r\\n if (methodIdMocks[methodId] == 0x0) {\\r\\n methodIdMocks[methodId] = methodIdMocks[SENTINEL_ANY_MOCKS];\\r\\n methodIdMocks[SENTINEL_ANY_MOCKS] = methodId;\\r\\n }\\r\\n }\\r\\n\\r\\n function _givenAnyReturn(bytes memory response) internal {\\r\\n fallbackMockType = MockType.Return;\\r\\n fallbackExpectation = response;\\r\\n }\\r\\n\\r\\n function givenAnyReturn(bytes calldata response) external override {\\r\\n _givenAnyReturn(response);\\r\\n }\\r\\n\\r\\n function givenAnyReturnBool(bool response) external override {\\r\\n uint256 flag = response ? 1 : 0;\\r\\n _givenAnyReturn(uintToBytes(flag));\\r\\n }\\r\\n\\r\\n function givenAnyReturnUint(uint256 response) external override {\\r\\n _givenAnyReturn(uintToBytes(response));\\r\\n }\\r\\n\\r\\n function givenAnyReturnAddress(address response) external override {\\r\\n _givenAnyReturn(uintToBytes(uint256(response)));\\r\\n }\\r\\n\\r\\n function givenAnyRevert() external override {\\r\\n fallbackMockType = MockType.Revert;\\r\\n fallbackRevertMessage = \\\"\\\";\\r\\n }\\r\\n\\r\\n function givenAnyRevertWithMessage(string calldata message)\\r\\n external\\r\\n override\\r\\n {\\r\\n fallbackMockType = MockType.Revert;\\r\\n fallbackRevertMessage = message;\\r\\n }\\r\\n\\r\\n function givenAnyRunOutOfGas() external override {\\r\\n fallbackMockType = MockType.OutOfGas;\\r\\n }\\r\\n\\r\\n function _givenCalldataReturn(bytes memory call, bytes memory response)\\r\\n private\\r\\n {\\r\\n calldataMockTypes[call] = MockType.Return;\\r\\n calldataExpectations[call] = response;\\r\\n trackCalldataMock(call);\\r\\n }\\r\\n\\r\\n function givenCalldataReturn(bytes calldata call, bytes calldata response)\\r\\n external\\r\\n override\\r\\n {\\r\\n _givenCalldataReturn(call, response);\\r\\n }\\r\\n\\r\\n function givenCalldataReturnBool(bytes calldata call, bool response)\\r\\n external\\r\\n override\\r\\n {\\r\\n uint256 flag = response ? 1 : 0;\\r\\n _givenCalldataReturn(call, uintToBytes(flag));\\r\\n }\\r\\n\\r\\n function givenCalldataReturnUint(bytes calldata call, uint256 response)\\r\\n external\\r\\n override\\r\\n {\\r\\n _givenCalldataReturn(call, uintToBytes(response));\\r\\n }\\r\\n\\r\\n function givenCalldataReturnAddress(bytes calldata call, address response)\\r\\n external\\r\\n override\\r\\n {\\r\\n _givenCalldataReturn(call, uintToBytes(uint256(response)));\\r\\n }\\r\\n\\r\\n function _givenMethodReturn(bytes memory call, bytes memory response)\\r\\n private\\r\\n {\\r\\n bytes4 method = bytesToBytes4(call);\\r\\n methodIdMockTypes[method] = MockType.Return;\\r\\n methodIdExpectations[method] = response;\\r\\n trackMethodIdMock(method);\\r\\n }\\r\\n\\r\\n function givenMethodReturn(bytes calldata call, bytes calldata response)\\r\\n external\\r\\n override\\r\\n {\\r\\n _givenMethodReturn(call, response);\\r\\n }\\r\\n\\r\\n function givenMethodReturnBool(bytes calldata call, bool response)\\r\\n external\\r\\n override\\r\\n {\\r\\n uint256 flag = response ? 1 : 0;\\r\\n _givenMethodReturn(call, uintToBytes(flag));\\r\\n }\\r\\n\\r\\n function givenMethodReturnUint(bytes calldata call, uint256 response)\\r\\n external\\r\\n override\\r\\n {\\r\\n _givenMethodReturn(call, uintToBytes(response));\\r\\n }\\r\\n\\r\\n function givenMethodReturnAddress(bytes calldata call, address response)\\r\\n external\\r\\n override\\r\\n {\\r\\n _givenMethodReturn(call, uintToBytes(uint256(response)));\\r\\n }\\r\\n\\r\\n function givenCalldataRevert(bytes calldata call) external override {\\r\\n calldataMockTypes[call] = MockType.Revert;\\r\\n calldataRevertMessage[call] = \\\"\\\";\\r\\n trackCalldataMock(call);\\r\\n }\\r\\n\\r\\n function givenMethodRevert(bytes calldata call) external override {\\r\\n bytes4 method = bytesToBytes4(call);\\r\\n methodIdMockTypes[method] = MockType.Revert;\\r\\n trackMethodIdMock(method);\\r\\n }\\r\\n\\r\\n function givenCalldataRevertWithMessage(\\r\\n bytes calldata call,\\r\\n string calldata message\\r\\n ) external override {\\r\\n calldataMockTypes[call] = MockType.Revert;\\r\\n calldataRevertMessage[call] = message;\\r\\n trackCalldataMock(call);\\r\\n }\\r\\n\\r\\n function givenMethodRevertWithMessage(\\r\\n bytes calldata call,\\r\\n string calldata message\\r\\n ) external override {\\r\\n bytes4 method = bytesToBytes4(call);\\r\\n methodIdMockTypes[method] = MockType.Revert;\\r\\n methodIdRevertMessages[method] = message;\\r\\n trackMethodIdMock(method);\\r\\n }\\r\\n\\r\\n function givenCalldataRunOutOfGas(bytes calldata call) external override {\\r\\n calldataMockTypes[call] = MockType.OutOfGas;\\r\\n trackCalldataMock(call);\\r\\n }\\r\\n\\r\\n function givenMethodRunOutOfGas(bytes calldata call) external override {\\r\\n bytes4 method = bytesToBytes4(call);\\r\\n methodIdMockTypes[method] = MockType.OutOfGas;\\r\\n trackMethodIdMock(method);\\r\\n }\\r\\n\\r\\n function invocationCount() external override returns (uint256) {\\r\\n return invocations;\\r\\n }\\r\\n\\r\\n function invocationCountForMethod(bytes calldata call)\\r\\n external\\r\\n override\\r\\n returns (uint256)\\r\\n {\\r\\n bytes4 method = bytesToBytes4(call);\\r\\n return\\r\\n methodIdInvocations[keccak256(\\r\\n abi.encodePacked(resetCount, method)\\r\\n )];\\r\\n }\\r\\n\\r\\n function invocationCountForCalldata(bytes calldata call)\\r\\n external\\r\\n override\\r\\n returns (uint256)\\r\\n {\\r\\n return\\r\\n calldataInvocations[keccak256(abi.encodePacked(resetCount, call))];\\r\\n }\\r\\n\\r\\n function reset() external override {\\r\\n // Reset all exact calldataMocks\\r\\n bytes memory nextMock = calldataMocks[MOCKS_LIST_START];\\r\\n bytes32 mockHash = keccak256(nextMock);\\r\\n // We cannot compary bytes\\r\\n while (mockHash != MOCKS_LIST_END_HASH) {\\r\\n // Reset all mock maps\\r\\n calldataMockTypes[nextMock] = MockType.Return;\\r\\n calldataExpectations[nextMock] = hex\\\"\\\";\\r\\n calldataRevertMessage[nextMock] = \\\"\\\";\\r\\n // Set next mock to remove\\r\\n nextMock = calldataMocks[mockHash];\\r\\n // Remove from linked list\\r\\n calldataMocks[mockHash] = \\\"\\\";\\r\\n // Update mock hash\\r\\n mockHash = keccak256(nextMock);\\r\\n }\\r\\n // Clear list\\r\\n calldataMocks[MOCKS_LIST_START] = MOCKS_LIST_END;\\r\\n\\r\\n // Reset all any calldataMocks\\r\\n bytes4 nextAnyMock = methodIdMocks[SENTINEL_ANY_MOCKS];\\r\\n while (nextAnyMock != SENTINEL_ANY_MOCKS) {\\r\\n bytes4 currentAnyMock = nextAnyMock;\\r\\n methodIdMockTypes[currentAnyMock] = MockType.Return;\\r\\n methodIdExpectations[currentAnyMock] = hex\\\"\\\";\\r\\n methodIdRevertMessages[currentAnyMock] = \\\"\\\";\\r\\n nextAnyMock = methodIdMocks[currentAnyMock];\\r\\n // Remove from linked list\\r\\n methodIdMocks[currentAnyMock] = 0x0;\\r\\n }\\r\\n // Clear list\\r\\n methodIdMocks[SENTINEL_ANY_MOCKS] = SENTINEL_ANY_MOCKS;\\r\\n\\r\\n fallbackExpectation = DEFAULT_FALLBACK_VALUE;\\r\\n fallbackMockType = MockType.Return;\\r\\n invocations = 0;\\r\\n resetCount += 1;\\r\\n }\\r\\n\\r\\n function useAllGas() private {\\r\\n while (true) {\\r\\n bool s;\\r\\n assembly {\\r\\n //expensive call to EC multiply contract\\r\\n s := call(sub(gas(), 2000), 6, 0, 0x0, 0xc0, 0x0, 0x60)\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n function bytesToBytes4(bytes memory b) private pure returns (bytes4) {\\r\\n bytes4 out;\\r\\n for (uint256 i = 0; i < 4; i++) {\\r\\n out |= bytes4(b[i] & 0xFF) >> (i * 8);\\r\\n }\\r\\n return out;\\r\\n }\\r\\n\\r\\n function uintToBytes(uint256 x) private pure returns (bytes memory b) {\\r\\n b = new bytes(32);\\r\\n assembly {\\r\\n mstore(add(b, 32), x)\\r\\n }\\r\\n }\\r\\n\\r\\n function updateInvocationCount(\\r\\n bytes4 methodId,\\r\\n bytes memory originalMsgData\\r\\n ) public {\\r\\n require(\\r\\n msg.sender == address(this),\\r\\n \\\"Can only be called from the contract itself\\\"\\r\\n );\\r\\n invocations += 1;\\r\\n methodIdInvocations[keccak256(\\r\\n abi.encodePacked(resetCount, methodId)\\r\\n )] += 1;\\r\\n calldataInvocations[keccak256(\\r\\n abi.encodePacked(resetCount, originalMsgData)\\r\\n )] += 1;\\r\\n }\\r\\n\\r\\n fallback() external payable {\\r\\n bytes4 methodId;\\r\\n assembly {\\r\\n methodId := calldataload(0)\\r\\n }\\r\\n\\r\\n // First, check exact matching overrides\\r\\n if (calldataMockTypes[msg.data] == MockType.Revert) {\\r\\n revert(calldataRevertMessage[msg.data]);\\r\\n }\\r\\n if (calldataMockTypes[msg.data] == MockType.OutOfGas) {\\r\\n useAllGas();\\r\\n }\\r\\n bytes memory result = calldataExpectations[msg.data];\\r\\n\\r\\n // Then check method Id overrides\\r\\n if (result.length == 0) {\\r\\n if (methodIdMockTypes[methodId] == MockType.Revert) {\\r\\n revert(methodIdRevertMessages[methodId]);\\r\\n }\\r\\n if (methodIdMockTypes[methodId] == MockType.OutOfGas) {\\r\\n useAllGas();\\r\\n }\\r\\n result = methodIdExpectations[methodId];\\r\\n }\\r\\n\\r\\n // Last, use the fallback override\\r\\n if (result.length == 0) {\\r\\n if (fallbackMockType == MockType.Revert) {\\r\\n revert(fallbackRevertMessage);\\r\\n }\\r\\n if (fallbackMockType == MockType.OutOfGas) {\\r\\n useAllGas();\\r\\n }\\r\\n result = fallbackExpectation;\\r\\n }\\r\\n\\r\\n // Record invocation as separate call so we don't rollback in case we are called with STATICCALL\\r\\n (, bytes memory r) = address(this).call{gas: 100000}(\\r\\n abi.encodeWithSignature(\\r\\n \\\"updateInvocationCount(bytes4,bytes)\\\",\\r\\n methodId,\\r\\n msg.data\\r\\n )\\r\\n );\\r\\n assert(r.length == 0);\\r\\n\\r\\n assembly {\\r\\n return(add(0x20, result), mload(result))\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"contracts/mocks/MockSelfDestruct.sol\": {\r\n \"content\": \"pragma solidity ^0.6.0;\\r\\n\\r\\ncontract MockSelfDestruct {\\r\\n constructor() public payable {}\\r\\n\\r\\n fallback() external payable {\\r\\n selfdestruct(msg.sender);\\r\\n }\\r\\n\\r\\n function kill(address payable target) external payable {\\r\\n selfdestruct(target);\\r\\n }\\r\\n}\\r\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"metadata\": {\r\n \"useLiteralContent\": false\r\n },\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 1000000\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"contract ICHI\",\"name\":\"_chi\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"aggregatorId\",\"type\":\"string\"}],\"name\":\"AdapterRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"aggregatorId\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"AdapterSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"aggregatorId\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"adapterRemoved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"adapters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chi\",\"outputs\":[{\"internalType\":\"contract ICHI\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauseSwaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"aggregatorId\",\"type\":\"string\"}],\"name\":\"removeAdapter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"aggregatorId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setAdapter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"spender\",\"outputs\":[{\"internalType\":\"contract Spender\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"aggregatorId\",\"type\":\"string\"},{\"internalType\":\"contract IERC20\",\"name\":\"tokenFrom\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"aggregatorId\",\"type\":\"string\"},{\"internalType\":\"contract IERC20\",\"name\":\"tokenFrom\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swapUsingGasToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpauseSwaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"MetaSwap","CompilerVersion":"v0.6.12+commit.27d51765","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"1000000","ConstructorArguments":"0000000000000000000000000000000000004946c0e9f43f4dee607b0ef1fa1c","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/c2e0b73f547b7f6e0cd7baaadf2bce8b718ac5804d4d4ded4163cf990427e70d b/tests/cachedrpc/c2e0b73f547b7f6e0cd7baaadf2bce8b718ac5804d4d4ded4163cf990427e70d new file mode 100644 index 00000000..2e7290cf --- /dev/null +++ b/tests/cachedrpc/c2e0b73f547b7f6e0cd7baaadf2bce8b718ac5804d4d4ded4163cf990427e70d @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"@openzeppelin/contracts/access/Ownable.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor() {\\n _transferOwnership(_msgSender());\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/interfaces/IERC1967.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (interfaces/IERC1967.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\\n *\\n * _Available since v4.9._\\n */\\ninterface IERC1967 {\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Emitted when the beacon is changed.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/beacon/BeaconProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IBeacon.sol\\\";\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"../ERC1967/ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}.\\n *\\n * The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't\\n * conflict with the storage layout of the implementation behind the proxy.\\n *\\n * _Available since v3.4._\\n */\\ncontract BeaconProxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the proxy with `beacon`.\\n *\\n * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This\\n * will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity\\n * constructor.\\n *\\n * Requirements:\\n *\\n * - `beacon` must be a contract with the interface {IBeacon}.\\n */\\n constructor(address beacon, bytes memory data) payable {\\n _upgradeBeaconToAndCall(beacon, data, false);\\n }\\n\\n /**\\n * @dev Returns the current beacon address.\\n */\\n function _beacon() internal view virtual returns (address) {\\n return _getBeacon();\\n }\\n\\n /**\\n * @dev Returns the current implementation address of the associated beacon.\\n */\\n function _implementation() internal view virtual override returns (address) {\\n return IBeacon(_getBeacon()).implementation();\\n }\\n\\n /**\\n * @dev Changes the proxy to use a new beacon. Deprecated: see {_upgradeBeaconToAndCall}.\\n *\\n * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.\\n *\\n * Requirements:\\n *\\n * - `beacon` must be a contract.\\n * - The implementation returned by `beacon` must be a contract.\\n */\\n function _setBeacon(address beacon, bytes memory data) internal virtual {\\n _upgradeBeaconToAndCall(beacon, data, false);\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/UpgradeableBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IBeacon.sol\\\";\\nimport \\\"../../access/Ownable.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their\\n * implementation contract, which is where they will delegate all function calls.\\n *\\n * An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.\\n */\\ncontract UpgradeableBeacon is IBeacon, Ownable {\\n address private _implementation;\\n\\n /**\\n * @dev Emitted when the implementation returned by the beacon is changed.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the\\n * beacon.\\n */\\n constructor(address implementation_) {\\n _setImplementation(implementation_);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function implementation() public view virtual override returns (address) {\\n return _implementation;\\n }\\n\\n /**\\n * @dev Upgrades the beacon to a new implementation.\\n *\\n * Emits an {Upgraded} event.\\n *\\n * Requirements:\\n *\\n * - msg.sender must be the owner of the contract.\\n * - `newImplementation` must be a contract.\\n */\\n function upgradeTo(address newImplementation) public virtual onlyOwner {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Sets the implementation contract address for this beacon\\n *\\n * Requirements:\\n *\\n * - `newImplementation` must be a contract.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"UpgradeableBeacon: implementation is not a contract\\\");\\n _implementation = newImplementation;\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/IERC1967.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade is IERC1967 {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(\\n Address.isContract(IBeacon(newBeacon).implementation()),\\n \\\"ERC1967: beacon implementation is not a contract\\\"\\n );\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/Proxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overridden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (proxy/transparent/ProxyAdmin.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./TransparentUpgradeableProxy.sol\\\";\\nimport \\\"../../access/Ownable.sol\\\";\\n\\n/**\\n * @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an\\n * explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.\\n */\\ncontract ProxyAdmin is Ownable {\\n /**\\n * @dev Returns the current implementation of `proxy`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function getProxyImplementation(ITransparentUpgradeableProxy proxy) public view virtual returns (address) {\\n // We need to manually run the static call since the getter cannot be flagged as view\\n // bytes4(keccak256(\\\"implementation()\\\")) == 0x5c60da1b\\n (bool success, bytes memory returndata) = address(proxy).staticcall(hex\\\"5c60da1b\\\");\\n require(success);\\n return abi.decode(returndata, (address));\\n }\\n\\n /**\\n * @dev Returns the current admin of `proxy`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function getProxyAdmin(ITransparentUpgradeableProxy proxy) public view virtual returns (address) {\\n // We need to manually run the static call since the getter cannot be flagged as view\\n // bytes4(keccak256(\\\"admin()\\\")) == 0xf851a440\\n (bool success, bytes memory returndata) = address(proxy).staticcall(hex\\\"f851a440\\\");\\n require(success);\\n return abi.decode(returndata, (address));\\n }\\n\\n /**\\n * @dev Changes the admin of `proxy` to `newAdmin`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the current admin of `proxy`.\\n */\\n function changeProxyAdmin(ITransparentUpgradeableProxy proxy, address newAdmin) public virtual onlyOwner {\\n proxy.changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrades `proxy` to `implementation`. See {TransparentUpgradeableProxy-upgradeTo}.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function upgrade(ITransparentUpgradeableProxy proxy, address implementation) public virtual onlyOwner {\\n proxy.upgradeTo(implementation);\\n }\\n\\n /**\\n * @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation. See\\n * {TransparentUpgradeableProxy-upgradeToAndCall}.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function upgradeAndCall(\\n ITransparentUpgradeableProxy proxy,\\n address implementation,\\n bytes memory data\\n ) public payable virtual onlyOwner {\\n proxy.upgradeToAndCall{value: msg.value}(implementation, data);\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.3) (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy}\\n * does not implement this interface directly, and some of its functions are implemented by an internal dispatch\\n * mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not\\n * include them in the ABI so this interface must be used to interact with it.\\n */\\ninterface ITransparentUpgradeableProxy is IERC1967 {\\n function admin() external view returns (address);\\n\\n function implementation() external view returns (address);\\n\\n function changeAdmin(address) external;\\n\\n function upgradeTo(address) external;\\n\\n function upgradeToAndCall(address, bytes memory) external payable;\\n}\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n *\\n * NOTE: The real interface of this proxy is that defined in `ITransparentUpgradeableProxy`. This contract does not\\n * inherit from that interface, and instead the admin functions are implicitly implemented using a custom dispatch\\n * mechanism in `_fallback`. Consequently, the compiler will not produce an ABI for this contract. This is necessary to\\n * fully implement transparency without decoding reverts caused by selector clashes between the proxy and the\\n * implementation.\\n *\\n * WARNING: It is not recommended to extend this contract to add additional external functions. If you do so, the compiler\\n * will not check that there are no selector conflicts, due to the note above. A selector clash between any new function\\n * and the functions declared in {ITransparentUpgradeableProxy} will be resolved in favor of the new one. This could\\n * render the admin operations inaccessible, which could prevent upgradeability. Transparency may also be compromised.\\n */\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n _changeAdmin(admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n *\\n * CAUTION: This modifier is deprecated, as it could cause issues if the modified function has arguments, and the\\n * implementation provides a function with the same selector.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev If caller is the admin process the call internally, otherwise transparently fallback to the proxy behavior\\n */\\n function _fallback() internal virtual override {\\n if (msg.sender == _getAdmin()) {\\n bytes memory ret;\\n bytes4 selector = msg.sig;\\n if (selector == ITransparentUpgradeableProxy.upgradeTo.selector) {\\n ret = _dispatchUpgradeTo();\\n } else if (selector == ITransparentUpgradeableProxy.upgradeToAndCall.selector) {\\n ret = _dispatchUpgradeToAndCall();\\n } else if (selector == ITransparentUpgradeableProxy.changeAdmin.selector) {\\n ret = _dispatchChangeAdmin();\\n } else if (selector == ITransparentUpgradeableProxy.admin.selector) {\\n ret = _dispatchAdmin();\\n } else if (selector == ITransparentUpgradeableProxy.implementation.selector) {\\n ret = _dispatchImplementation();\\n } else {\\n revert(\\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n }\\n assembly {\\n return(add(ret, 0x20), mload(ret))\\n }\\n } else {\\n super._fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function _dispatchAdmin() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address admin = _getAdmin();\\n return abi.encode(admin);\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function _dispatchImplementation() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address implementation = _implementation();\\n return abi.encode(implementation);\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _dispatchChangeAdmin() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address newAdmin = abi.decode(msg.data[4:], (address));\\n _changeAdmin(newAdmin);\\n\\n return \\\"\\\";\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n */\\n function _dispatchUpgradeTo() private returns (bytes memory) {\\n _requireZeroValue();\\n\\n address newImplementation = abi.decode(msg.data[4:], (address));\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n\\n return \\\"\\\";\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n */\\n function _dispatchUpgradeToAndCall() private returns (bytes memory) {\\n (address newImplementation, bytes memory data) = abi.decode(msg.data[4:], (address, bytes));\\n _upgradeToAndCall(newImplementation, data, true);\\n\\n return \\\"\\\";\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev To keep this contract fully transparent, all `ifAdmin` functions must be payable. This helper is here to\\n * emulate some proxy functions being non-payable while still allowing value to pass through.\\n */\\n function _requireZeroValue() private {\\n require(msg.value == 0);\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/Address.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n *\\n * _Available since v4.8._\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n if (success) {\\n if (returndata.length == 0) {\\n // only check isContract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n }\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason or using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/Context.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/StorageSlot.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 200\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n }\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"TransparentUpgradeableProxy","CompilerVersion":"v0.8.9+commit.e5eed63a","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0x07ddce60658a61dc1732cacf2220fce4a01c49b0","SwarmSource":"","SimilarMatch":"0x93Ac7c248B80dcFe853DD7328f627Aee17064485"}]} \ No newline at end of file diff --git a/tests/cachedrpc/c9fe07657a713bc079cfb662702e3dad80873afe78beccb83f09a49845d42682 b/tests/cachedrpc/c9fe07657a713bc079cfb662702e3dad80873afe78beccb83f09a49845d42682 new file mode 100644 index 00000000..8cbe5aec --- /dev/null +++ b/tests/cachedrpc/c9fe07657a713bc079cfb662702e3dad80873afe78beccb83f09a49845d42682 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"contracts/UniversalRouter.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\n// Command implementations\\nimport {Dispatcher} from './base/Dispatcher.sol';\\nimport {RewardsCollector} from './base/RewardsCollector.sol';\\nimport {RouterParameters, RouterImmutables} from './base/RouterImmutables.sol';\\nimport {Commands} from './libraries/Commands.sol';\\nimport {IUniversalRouter} from './interfaces/IUniversalRouter.sol';\\n\\ncontract UniversalRouter is RouterImmutables, IUniversalRouter, Dispatcher, RewardsCollector {\\n modifier checkDeadline(uint256 deadline) {\\n if (block.timestamp > deadline) revert TransactionDeadlinePassed();\\n _;\\n }\\n\\n constructor(RouterParameters memory params) RouterImmutables(params) {}\\n\\n /// @inheritdoc IUniversalRouter\\n function execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline)\\n external\\n payable\\n checkDeadline(deadline)\\n {\\n execute(commands, inputs);\\n }\\n\\n /// @inheritdoc Dispatcher\\n function execute(bytes calldata commands, bytes[] calldata inputs) public payable override isNotLocked {\\n bool success;\\n bytes memory output;\\n uint256 numCommands = commands.length;\\n if (inputs.length != numCommands) revert LengthMismatch();\\n\\n // loop through all given commands, execute them and pass along outputs as defined\\n for (uint256 commandIndex = 0; commandIndex < numCommands;) {\\n bytes1 command = commands[commandIndex];\\n\\n bytes calldata input = inputs[commandIndex];\\n\\n (success, output) = dispatch(command, input);\\n\\n if (!success && successRequired(command)) {\\n revert ExecutionFailed({commandIndex: commandIndex, message: output});\\n }\\n\\n unchecked {\\n commandIndex++;\\n }\\n }\\n }\\n\\n function successRequired(bytes1 command) internal pure returns (bool) {\\n return command & Commands.FLAG_ALLOW_REVERT == 0;\\n }\\n\\n /// @notice To receive ETH from WETH and NFT protocols\\n receive() external payable {}\\n}\\n\"\r\n },\r\n \"contracts/base/Dispatcher.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {V2SwapRouter} from '../modules/uniswap/v2/V2SwapRouter.sol';\\nimport {V3SwapRouter} from '../modules/uniswap/v3/V3SwapRouter.sol';\\nimport {BytesLib} from '../modules/uniswap/v3/BytesLib.sol';\\nimport {Payments} from '../modules/Payments.sol';\\nimport {RouterImmutables} from '../base/RouterImmutables.sol';\\nimport {Callbacks} from '../base/Callbacks.sol';\\nimport {Commands} from '../libraries/Commands.sol';\\nimport {LockAndMsgSender} from './LockAndMsgSender.sol';\\nimport {ERC721} from 'solmate/src/tokens/ERC721.sol';\\nimport {ERC1155} from 'solmate/src/tokens/ERC1155.sol';\\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\\nimport {IAllowanceTransfer} from 'permit2/src/interfaces/IAllowanceTransfer.sol';\\nimport {ICryptoPunksMarket} from '../interfaces/external/ICryptoPunksMarket.sol';\\n\\n/// @title Decodes and Executes Commands\\n/// @notice Called by the UniversalRouter contract to efficiently decode and execute a singular command\\nabstract contract Dispatcher is Payments, V2SwapRouter, V3SwapRouter, Callbacks, LockAndMsgSender {\\n using BytesLib for bytes;\\n\\n error InvalidCommandType(uint256 commandType);\\n error BuyPunkFailed();\\n error InvalidOwnerERC721();\\n error InvalidOwnerERC1155();\\n error BalanceTooLow();\\n\\n /// @notice Decodes and executes the given command with the given inputs\\n /// @param commandType The command type to execute\\n /// @param inputs The inputs to execute the command with\\n /// @dev 2 masks are used to enable use of a nested-if statement in execution for efficiency reasons\\n /// @return success True on success of the command, false on failure\\n /// @return output The outputs or error messages, if any, from the command\\n function dispatch(bytes1 commandType, bytes calldata inputs) internal returns (bool success, bytes memory output) {\\n uint256 command = uint8(commandType & Commands.COMMAND_TYPE_MASK);\\n\\n success = true;\\n\\n if (command < Commands.FOURTH_IF_BOUNDARY) {\\n if (command < Commands.SECOND_IF_BOUNDARY) {\\n // 0x00 <= command < 0x08\\n if (command < Commands.FIRST_IF_BOUNDARY) {\\n if (command == Commands.V3_SWAP_EXACT_IN) {\\n // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\\n address recipient;\\n uint256 amountIn;\\n uint256 amountOutMin;\\n bool payerIsUser;\\n assembly {\\n recipient := calldataload(inputs.offset)\\n amountIn := calldataload(add(inputs.offset, 0x20))\\n amountOutMin := calldataload(add(inputs.offset, 0x40))\\n // 0x60 offset is the path, decoded below\\n payerIsUser := calldataload(add(inputs.offset, 0x80))\\n }\\n bytes calldata path = inputs.toBytes(3);\\n address payer = payerIsUser ? lockedBy : address(this);\\n v3SwapExactInput(map(recipient), amountIn, amountOutMin, path, payer);\\n } else if (command == Commands.V3_SWAP_EXACT_OUT) {\\n // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\\n address recipient;\\n uint256 amountOut;\\n uint256 amountInMax;\\n bool payerIsUser;\\n assembly {\\n recipient := calldataload(inputs.offset)\\n amountOut := calldataload(add(inputs.offset, 0x20))\\n amountInMax := calldataload(add(inputs.offset, 0x40))\\n // 0x60 offset is the path, decoded below\\n payerIsUser := calldataload(add(inputs.offset, 0x80))\\n }\\n bytes calldata path = inputs.toBytes(3);\\n address payer = payerIsUser ? lockedBy : address(this);\\n v3SwapExactOutput(map(recipient), amountOut, amountInMax, path, payer);\\n } else if (command == Commands.PERMIT2_TRANSFER_FROM) {\\n // equivalent: abi.decode(inputs, (address, address, uint160))\\n address token;\\n address recipient;\\n uint160 amount;\\n assembly {\\n token := calldataload(inputs.offset)\\n recipient := calldataload(add(inputs.offset, 0x20))\\n amount := calldataload(add(inputs.offset, 0x40))\\n }\\n permit2TransferFrom(token, lockedBy, map(recipient), amount);\\n } else if (command == Commands.PERMIT2_PERMIT_BATCH) {\\n (IAllowanceTransfer.PermitBatch memory permitBatch,) =\\n abi.decode(inputs, (IAllowanceTransfer.PermitBatch, bytes));\\n bytes calldata data = inputs.toBytes(1);\\n PERMIT2.permit(lockedBy, permitBatch, data);\\n } else if (command == Commands.SWEEP) {\\n // equivalent: abi.decode(inputs, (address, address, uint256))\\n address token;\\n address recipient;\\n uint160 amountMin;\\n assembly {\\n token := calldataload(inputs.offset)\\n recipient := calldataload(add(inputs.offset, 0x20))\\n amountMin := calldataload(add(inputs.offset, 0x40))\\n }\\n Payments.sweep(token, map(recipient), amountMin);\\n } else if (command == Commands.TRANSFER) {\\n // equivalent: abi.decode(inputs, (address, address, uint256))\\n address token;\\n address recipient;\\n uint256 value;\\n assembly {\\n token := calldataload(inputs.offset)\\n recipient := calldataload(add(inputs.offset, 0x20))\\n value := calldataload(add(inputs.offset, 0x40))\\n }\\n Payments.pay(token, map(recipient), value);\\n } else if (command == Commands.PAY_PORTION) {\\n // equivalent: abi.decode(inputs, (address, address, uint256))\\n address token;\\n address recipient;\\n uint256 bips;\\n assembly {\\n token := calldataload(inputs.offset)\\n recipient := calldataload(add(inputs.offset, 0x20))\\n bips := calldataload(add(inputs.offset, 0x40))\\n }\\n Payments.payPortion(token, map(recipient), bips);\\n } else {\\n // placeholder area for command 0x07\\n revert InvalidCommandType(command);\\n }\\n // 0x08 <= command < 0x10\\n } else {\\n if (command == Commands.V2_SWAP_EXACT_IN) {\\n // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\\n address recipient;\\n uint256 amountIn;\\n uint256 amountOutMin;\\n bool payerIsUser;\\n assembly {\\n recipient := calldataload(inputs.offset)\\n amountIn := calldataload(add(inputs.offset, 0x20))\\n amountOutMin := calldataload(add(inputs.offset, 0x40))\\n // 0x60 offset is the path, decoded below\\n payerIsUser := calldataload(add(inputs.offset, 0x80))\\n }\\n address[] calldata path = inputs.toAddressArray(3);\\n address payer = payerIsUser ? lockedBy : address(this);\\n v2SwapExactInput(map(recipient), amountIn, amountOutMin, path, payer);\\n } else if (command == Commands.V2_SWAP_EXACT_OUT) {\\n // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\\n address recipient;\\n uint256 amountOut;\\n uint256 amountInMax;\\n bool payerIsUser;\\n assembly {\\n recipient := calldataload(inputs.offset)\\n amountOut := calldataload(add(inputs.offset, 0x20))\\n amountInMax := calldataload(add(inputs.offset, 0x40))\\n // 0x60 offset is the path, decoded below\\n payerIsUser := calldataload(add(inputs.offset, 0x80))\\n }\\n address[] calldata path = inputs.toAddressArray(3);\\n address payer = payerIsUser ? lockedBy : address(this);\\n v2SwapExactOutput(map(recipient), amountOut, amountInMax, path, payer);\\n } else if (command == Commands.PERMIT2_PERMIT) {\\n // equivalent: abi.decode(inputs, (IAllowanceTransfer.PermitSingle, bytes))\\n IAllowanceTransfer.PermitSingle calldata permitSingle;\\n assembly {\\n permitSingle := inputs.offset\\n }\\n bytes calldata data = inputs.toBytes(6); // PermitSingle takes first 6 slots (0..5)\\n PERMIT2.permit(lockedBy, permitSingle, data);\\n } else if (command == Commands.WRAP_ETH) {\\n // equivalent: abi.decode(inputs, (address, uint256))\\n address recipient;\\n uint256 amountMin;\\n assembly {\\n recipient := calldataload(inputs.offset)\\n amountMin := calldataload(add(inputs.offset, 0x20))\\n }\\n Payments.wrapETH(map(recipient), amountMin);\\n } else if (command == Commands.UNWRAP_WETH) {\\n // equivalent: abi.decode(inputs, (address, uint256))\\n address recipient;\\n uint256 amountMin;\\n assembly {\\n recipient := calldataload(inputs.offset)\\n amountMin := calldataload(add(inputs.offset, 0x20))\\n }\\n Payments.unwrapWETH9(map(recipient), amountMin);\\n } else if (command == Commands.PERMIT2_TRANSFER_FROM_BATCH) {\\n (IAllowanceTransfer.AllowanceTransferDetails[] memory batchDetails) =\\n abi.decode(inputs, (IAllowanceTransfer.AllowanceTransferDetails[]));\\n permit2TransferFrom(batchDetails, lockedBy);\\n } else if (command == Commands.BALANCE_CHECK_ERC20) {\\n // equivalent: abi.decode(inputs, (address, address, uint256))\\n address owner;\\n address token;\\n uint256 minBalance;\\n assembly {\\n owner := calldataload(inputs.offset)\\n token := calldataload(add(inputs.offset, 0x20))\\n minBalance := calldataload(add(inputs.offset, 0x40))\\n }\\n success = (ERC20(token).balanceOf(owner) >= minBalance);\\n if (!success) output = abi.encodePacked(BalanceTooLow.selector);\\n } else {\\n // placeholder area for command 0x0f\\n revert InvalidCommandType(command);\\n }\\n }\\n // 0x10 <= command\\n } else {\\n // 0x10 <= command < 0x18\\n if (command < Commands.THIRD_IF_BOUNDARY) {\\n if (command == Commands.SEAPORT_V1_5) {\\n /// @dev Seaport 1.4 and 1.5 allow for orders to be created by contracts.\\n /// These orders pass control to the contract offerers during fufillment,\\n /// allowing them to perform any number of destructive actions as a holder of the NFT.\\n /// Integrators should be aware that in some scenarios: e.g. purchasing an NFT that allows the holder\\n /// to claim another NFT, the contract offerer can \\\"steal\\\" the claim during order fufillment.\\n /// For some such purchases, an OWNER_CHECK command can be prepended to ensure that all tokens have the desired owner at the end of the transaction.\\n /// This is also outlined in the Seaport documentation: https://github.com/ProjectOpenSea/seaport/blob/main/docs/SeaportDocumentation.md\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n (success, output) = SEAPORT_V1_5.call{value: value}(data);\\n } else if (command == Commands.LOOKS_RARE_V2) {\\n // equivalent: abi.decode(inputs, (uint256, bytes))\\n uint256 value;\\n assembly {\\n value := calldataload(inputs.offset)\\n }\\n bytes calldata data = inputs.toBytes(1);\\n (success, output) = LOOKS_RARE_V2.call{value: value}(data);\\n } else if (command == Commands.NFTX) {\\n // equivalent: abi.decode(inputs, (uint256, bytes))\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n (success, output) = NFTX_ZAP.call{value: value}(data);\\n } else if (command == Commands.CRYPTOPUNKS) {\\n // equivalent: abi.decode(inputs, (uint256, address, uint256))\\n uint256 punkId;\\n address recipient;\\n uint256 value;\\n assembly {\\n punkId := calldataload(inputs.offset)\\n recipient := calldataload(add(inputs.offset, 0x20))\\n value := calldataload(add(inputs.offset, 0x40))\\n }\\n (success, output) = CRYPTOPUNKS.call{value: value}(\\n abi.encodeWithSelector(ICryptoPunksMarket.buyPunk.selector, punkId)\\n );\\n if (success) ICryptoPunksMarket(CRYPTOPUNKS).transferPunk(map(recipient), punkId);\\n else output = abi.encodePacked(BuyPunkFailed.selector);\\n } else if (command == Commands.OWNER_CHECK_721) {\\n // equivalent: abi.decode(inputs, (address, address, uint256))\\n address owner;\\n address token;\\n uint256 id;\\n assembly {\\n owner := calldataload(inputs.offset)\\n token := calldataload(add(inputs.offset, 0x20))\\n id := calldataload(add(inputs.offset, 0x40))\\n }\\n success = (ERC721(token).ownerOf(id) == owner);\\n if (!success) output = abi.encodePacked(InvalidOwnerERC721.selector);\\n } else if (command == Commands.OWNER_CHECK_1155) {\\n // equivalent: abi.decode(inputs, (address, address, uint256, uint256))\\n address owner;\\n address token;\\n uint256 id;\\n uint256 minBalance;\\n assembly {\\n owner := calldataload(inputs.offset)\\n token := calldataload(add(inputs.offset, 0x20))\\n id := calldataload(add(inputs.offset, 0x40))\\n minBalance := calldataload(add(inputs.offset, 0x60))\\n }\\n success = (ERC1155(token).balanceOf(owner, id) >= minBalance);\\n if (!success) output = abi.encodePacked(InvalidOwnerERC1155.selector);\\n } else if (command == Commands.SWEEP_ERC721) {\\n // equivalent: abi.decode(inputs, (address, address, uint256))\\n address token;\\n address recipient;\\n uint256 id;\\n assembly {\\n token := calldataload(inputs.offset)\\n recipient := calldataload(add(inputs.offset, 0x20))\\n id := calldataload(add(inputs.offset, 0x40))\\n }\\n Payments.sweepERC721(token, map(recipient), id);\\n }\\n // 0x18 <= command < 0x1f\\n } else {\\n if (command == Commands.X2Y2_721) {\\n (success, output) = callAndTransfer721(inputs, X2Y2);\\n } else if (command == Commands.SUDOSWAP) {\\n // equivalent: abi.decode(inputs, (uint256, bytes))\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n (success, output) = SUDOSWAP.call{value: value}(data);\\n } else if (command == Commands.NFT20) {\\n // equivalent: abi.decode(inputs, (uint256, bytes))\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n (success, output) = NFT20_ZAP.call{value: value}(data);\\n } else if (command == Commands.X2Y2_1155) {\\n (success, output) = callAndTransfer1155(inputs, X2Y2);\\n } else if (command == Commands.FOUNDATION) {\\n (success, output) = callAndTransfer721(inputs, FOUNDATION);\\n } else if (command == Commands.SWEEP_ERC1155) {\\n // equivalent: abi.decode(inputs, (address, address, uint256, uint256))\\n address token;\\n address recipient;\\n uint256 id;\\n uint256 amount;\\n assembly {\\n token := calldataload(inputs.offset)\\n recipient := calldataload(add(inputs.offset, 0x20))\\n id := calldataload(add(inputs.offset, 0x40))\\n amount := calldataload(add(inputs.offset, 0x60))\\n }\\n Payments.sweepERC1155(token, map(recipient), id, amount);\\n } else if (command == Commands.ELEMENT_MARKET) {\\n // equivalent: abi.decode(inputs, (uint256, bytes))\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n (success, output) = ELEMENT_MARKET.call{value: value}(data);\\n } else {\\n // placeholder for command 0x1f\\n revert InvalidCommandType(command);\\n }\\n }\\n }\\n // 0x20 <= command\\n } else {\\n if (command == Commands.SEAPORT_V1_4) {\\n /// @dev Seaport 1.4 and 1.5 allow for orders to be created by contracts.\\n /// These orders pass control to the contract offerers during fufillment,\\n /// allowing them to perform any number of destructive actions as a holder of the NFT.\\n /// Integrators should be aware that in some scenarios: e.g. purchasing an NFT that allows the holder\\n /// to claim another NFT, the contract offerer can \\\"steal\\\" the claim during order fufillment.\\n /// For some such purchases, an OWNER_CHECK command can be prepended to ensure that all tokens have the desired owner at the end of the transaction.\\n /// This is also outlined in the Seaport documentation: https://github.com/ProjectOpenSea/seaport/blob/main/docs/SeaportDocumentation.md\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n (success, output) = SEAPORT_V1_4.call{value: value}(data);\\n } else if (command == Commands.EXECUTE_SUB_PLAN) {\\n bytes calldata _commands = inputs.toBytes(0);\\n bytes[] calldata _inputs = inputs.toBytesArray(1);\\n (success, output) =\\n (address(this)).call(abi.encodeWithSelector(Dispatcher.execute.selector, _commands, _inputs));\\n } else if (command == Commands.APPROVE_ERC20) {\\n ERC20 token;\\n RouterImmutables.Spenders spender;\\n assembly {\\n token := calldataload(inputs.offset)\\n spender := calldataload(add(inputs.offset, 0x20))\\n }\\n Payments.approveERC20(token, spender);\\n } else {\\n // placeholder area for commands 0x22-0x3f\\n revert InvalidCommandType(command);\\n }\\n }\\n }\\n\\n /// @notice Executes encoded commands along with provided inputs.\\n /// @param commands A set of concatenated commands, each 1 byte in length\\n /// @param inputs An array of byte strings containing abi encoded inputs for each command\\n function execute(bytes calldata commands, bytes[] calldata inputs) external payable virtual;\\n\\n /// @notice Performs a call to purchase an ERC721, then transfers the ERC721 to a specified recipient\\n /// @param inputs The inputs for the protocol and ERC721 transfer, encoded\\n /// @param protocol The protocol to pass the calldata to\\n /// @return success True on success of the command, false on failure\\n /// @return output The outputs or error messages, if any, from the command\\n function callAndTransfer721(bytes calldata inputs, address protocol)\\n internal\\n returns (bool success, bytes memory output)\\n {\\n // equivalent: abi.decode(inputs, (uint256, bytes, address, address, uint256))\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n address recipient;\\n address token;\\n uint256 id;\\n assembly {\\n // 0x00 and 0x20 offsets are value and data, above\\n recipient := calldataload(add(inputs.offset, 0x40))\\n token := calldataload(add(inputs.offset, 0x60))\\n id := calldataload(add(inputs.offset, 0x80))\\n }\\n (success, output) = protocol.call{value: value}(data);\\n if (success) ERC721(token).safeTransferFrom(address(this), map(recipient), id);\\n }\\n\\n /// @notice Performs a call to purchase an ERC1155, then transfers the ERC1155 to a specified recipient\\n /// @param inputs The inputs for the protocol and ERC1155 transfer, encoded\\n /// @param protocol The protocol to pass the calldata to\\n /// @return success True on success of the command, false on failure\\n /// @return output The outputs or error messages, if any, from the command\\n function callAndTransfer1155(bytes calldata inputs, address protocol)\\n internal\\n returns (bool success, bytes memory output)\\n {\\n // equivalent: abi.decode(inputs, (uint256, bytes, address, address, uint256, uint256))\\n (uint256 value, bytes calldata data) = getValueAndData(inputs);\\n address recipient;\\n address token;\\n uint256 id;\\n uint256 amount;\\n assembly {\\n // 0x00 and 0x20 offsets are value and data, above\\n recipient := calldataload(add(inputs.offset, 0x40))\\n token := calldataload(add(inputs.offset, 0x60))\\n id := calldataload(add(inputs.offset, 0x80))\\n amount := calldataload(add(inputs.offset, 0xa0))\\n }\\n (success, output) = protocol.call{value: value}(data);\\n if (success) ERC1155(token).safeTransferFrom(address(this), map(recipient), id, amount, new bytes(0));\\n }\\n\\n /// @notice Helper function to extract `value` and `data` parameters from input bytes string\\n /// @dev The helper assumes that `value` is the first parameter, and `data` is the second\\n /// @param inputs The bytes string beginning with value and data parameters\\n /// @return value The 256 bit integer value\\n /// @return data The data bytes string\\n function getValueAndData(bytes calldata inputs) internal pure returns (uint256 value, bytes calldata data) {\\n assembly {\\n value := calldataload(inputs.offset)\\n }\\n data = inputs.toBytes(1);\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/RewardsCollector.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.15;\\n\\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\\nimport {SafeTransferLib} from 'solmate/src/utils/SafeTransferLib.sol';\\nimport {RouterImmutables} from './RouterImmutables.sol';\\nimport {IRewardsCollector} from '../interfaces/IRewardsCollector.sol';\\n\\nabstract contract RewardsCollector is IRewardsCollector, RouterImmutables {\\n using SafeTransferLib for ERC20;\\n\\n event RewardsSent(uint256 amount);\\n\\n error UnableToClaim();\\n\\n /// @inheritdoc IRewardsCollector\\n function collectRewards(bytes calldata looksRareClaim) external {\\n (bool success,) = LOOKS_RARE_REWARDS_DISTRIBUTOR.call(looksRareClaim);\\n if (!success) revert UnableToClaim();\\n\\n uint256 balance = LOOKS_RARE_TOKEN.balanceOf(address(this));\\n LOOKS_RARE_TOKEN.transfer(ROUTER_REWARDS_DISTRIBUTOR, balance);\\n emit RewardsSent(balance);\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/RouterImmutables.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {IAllowanceTransfer} from 'permit2/src/interfaces/IAllowanceTransfer.sol';\\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\\nimport {IWETH9} from '../interfaces/external/IWETH9.sol';\\n\\nstruct RouterParameters {\\n address permit2;\\n address weth9;\\n address seaportV1_5;\\n address seaportV1_4;\\n address openseaConduit;\\n address nftxZap;\\n address x2y2;\\n address foundation;\\n address sudoswap;\\n address elementMarket;\\n address nft20Zap;\\n address cryptopunks;\\n address looksRareV2;\\n address routerRewardsDistributor;\\n address looksRareRewardsDistributor;\\n address looksRareToken;\\n address v2Factory;\\n address v3Factory;\\n bytes32 pairInitCodeHash;\\n bytes32 poolInitCodeHash;\\n}\\n\\n/// @title Router Immutable Storage contract\\n/// @notice Used along with the `RouterParameters` struct for ease of cross-chain deployment\\ncontract RouterImmutables {\\n /// @dev WETH9 address\\n IWETH9 internal immutable WETH9;\\n\\n /// @dev Permit2 address\\n IAllowanceTransfer internal immutable PERMIT2;\\n\\n /// @dev Seaport 1.5 address\\n address internal immutable SEAPORT_V1_5;\\n\\n /// @dev Seaport 1.4 address\\n address internal immutable SEAPORT_V1_4;\\n\\n /// @dev The address of OpenSea's conduit used in both Seaport 1.4 and Seaport 1.5\\n address internal immutable OPENSEA_CONDUIT;\\n\\n /// @dev The address of NFTX zap contract for interfacing with vaults\\n address internal immutable NFTX_ZAP;\\n\\n /// @dev The address of X2Y2\\n address internal immutable X2Y2;\\n\\n // @dev The address of Foundation\\n address internal immutable FOUNDATION;\\n\\n // @dev The address of Sudoswap's router\\n address internal immutable SUDOSWAP;\\n\\n // @dev The address of Element Market\\n address internal immutable ELEMENT_MARKET;\\n\\n // @dev the address of NFT20's zap contract\\n address internal immutable NFT20_ZAP;\\n\\n // @dev the address of Larva Lab's cryptopunks marketplace\\n address internal immutable CRYPTOPUNKS;\\n\\n /// @dev The address of LooksRareV2\\n address internal immutable LOOKS_RARE_V2;\\n\\n /// @dev The address of LooksRare token\\n ERC20 internal immutable LOOKS_RARE_TOKEN;\\n\\n /// @dev The address of LooksRare rewards distributor\\n address internal immutable LOOKS_RARE_REWARDS_DISTRIBUTOR;\\n\\n /// @dev The address of router rewards distributor\\n address internal immutable ROUTER_REWARDS_DISTRIBUTOR;\\n\\n /// @dev The address of UniswapV2Factory\\n address internal immutable UNISWAP_V2_FACTORY;\\n\\n /// @dev The UniswapV2Pair initcodehash\\n bytes32 internal immutable UNISWAP_V2_PAIR_INIT_CODE_HASH;\\n\\n /// @dev The address of UniswapV3Factory\\n address internal immutable UNISWAP_V3_FACTORY;\\n\\n /// @dev The UniswapV3Pool initcodehash\\n bytes32 internal immutable UNISWAP_V3_POOL_INIT_CODE_HASH;\\n\\n enum Spenders {\\n OSConduit,\\n Sudoswap\\n }\\n\\n constructor(RouterParameters memory params) {\\n PERMIT2 = IAllowanceTransfer(params.permit2);\\n WETH9 = IWETH9(params.weth9);\\n SEAPORT_V1_5 = params.seaportV1_5;\\n SEAPORT_V1_4 = params.seaportV1_4;\\n OPENSEA_CONDUIT = params.openseaConduit;\\n NFTX_ZAP = params.nftxZap;\\n X2Y2 = params.x2y2;\\n FOUNDATION = params.foundation;\\n SUDOSWAP = params.sudoswap;\\n ELEMENT_MARKET = params.elementMarket;\\n NFT20_ZAP = params.nft20Zap;\\n CRYPTOPUNKS = params.cryptopunks;\\n LOOKS_RARE_V2 = params.looksRareV2;\\n LOOKS_RARE_TOKEN = ERC20(params.looksRareToken);\\n LOOKS_RARE_REWARDS_DISTRIBUTOR = params.looksRareRewardsDistributor;\\n ROUTER_REWARDS_DISTRIBUTOR = params.routerRewardsDistributor;\\n UNISWAP_V2_FACTORY = params.v2Factory;\\n UNISWAP_V2_PAIR_INIT_CODE_HASH = params.pairInitCodeHash;\\n UNISWAP_V3_FACTORY = params.v3Factory;\\n UNISWAP_V3_POOL_INIT_CODE_HASH = params.poolInitCodeHash;\\n }\\n}\\n\"\r\n },\r\n \"contracts/libraries/Commands.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\n/// @title Commands\\n/// @notice Command Flags used to decode commands\\nlibrary Commands {\\n // Masks to extract certain bits of commands\\n bytes1 internal constant FLAG_ALLOW_REVERT = 0x80;\\n bytes1 internal constant COMMAND_TYPE_MASK = 0x3f;\\n\\n // Command Types. Maximum supported command at this moment is 0x3f.\\n\\n // Command Types where value<0x08, executed in the first nested-if block\\n uint256 constant V3_SWAP_EXACT_IN = 0x00;\\n uint256 constant V3_SWAP_EXACT_OUT = 0x01;\\n uint256 constant PERMIT2_TRANSFER_FROM = 0x02;\\n uint256 constant PERMIT2_PERMIT_BATCH = 0x03;\\n uint256 constant SWEEP = 0x04;\\n uint256 constant TRANSFER = 0x05;\\n uint256 constant PAY_PORTION = 0x06;\\n // COMMAND_PLACEHOLDER = 0x07;\\n\\n // The commands are executed in nested if blocks to minimise gas consumption\\n // The following constant defines one of the boundaries where the if blocks split commands\\n uint256 constant FIRST_IF_BOUNDARY = 0x08;\\n\\n // Command Types where 0x08<=value<=0x0f, executed in the second nested-if block\\n uint256 constant V2_SWAP_EXACT_IN = 0x08;\\n uint256 constant V2_SWAP_EXACT_OUT = 0x09;\\n uint256 constant PERMIT2_PERMIT = 0x0a;\\n uint256 constant WRAP_ETH = 0x0b;\\n uint256 constant UNWRAP_WETH = 0x0c;\\n uint256 constant PERMIT2_TRANSFER_FROM_BATCH = 0x0d;\\n uint256 constant BALANCE_CHECK_ERC20 = 0x0e;\\n // COMMAND_PLACEHOLDER = 0x0f;\\n\\n // The commands are executed in nested if blocks to minimise gas consumption\\n // The following constant defines one of the boundaries where the if blocks split commands\\n uint256 constant SECOND_IF_BOUNDARY = 0x10;\\n\\n // Command Types where 0x10<=value<0x18, executed in the third nested-if block\\n uint256 constant SEAPORT_V1_5 = 0x10;\\n uint256 constant LOOKS_RARE_V2 = 0x11;\\n uint256 constant NFTX = 0x12;\\n uint256 constant CRYPTOPUNKS = 0x13;\\n // 0x14;\\n uint256 constant OWNER_CHECK_721 = 0x15;\\n uint256 constant OWNER_CHECK_1155 = 0x16;\\n uint256 constant SWEEP_ERC721 = 0x17;\\n\\n // The commands are executed in nested if blocks to minimise gas consumption\\n // The following constant defines one of the boundaries where the if blocks split commands\\n uint256 constant THIRD_IF_BOUNDARY = 0x18;\\n\\n // Command Types where 0x18<=value<=0x1f, executed in the final nested-if block\\n uint256 constant X2Y2_721 = 0x18;\\n uint256 constant SUDOSWAP = 0x19;\\n uint256 constant NFT20 = 0x1a;\\n uint256 constant X2Y2_1155 = 0x1b;\\n uint256 constant FOUNDATION = 0x1c;\\n uint256 constant SWEEP_ERC1155 = 0x1d;\\n uint256 constant ELEMENT_MARKET = 0x1e;\\n // COMMAND_PLACEHOLDER = 0x1f;\\n\\n // The commands are executed in nested if blocks to minimise gas consumption\\n // The following constant defines one of the boundaries where the if blocks split commands\\n uint256 constant FOURTH_IF_BOUNDARY = 0x20;\\n\\n // Command Types where 0x20<=value\\n uint256 constant SEAPORT_V1_4 = 0x20;\\n uint256 constant EXECUTE_SUB_PLAN = 0x21;\\n uint256 constant APPROVE_ERC20 = 0x22;\\n // COMMAND_PLACEHOLDER for 0x23 to 0x3f (all unused)\\n}\\n\"\r\n },\r\n \"contracts/interfaces/IUniversalRouter.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {IERC721Receiver} from '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';\\nimport {IERC1155Receiver} from '@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol';\\nimport {IRewardsCollector} from './IRewardsCollector.sol';\\n\\ninterface IUniversalRouter is IRewardsCollector, IERC721Receiver, IERC1155Receiver {\\n /// @notice Thrown when a required command has failed\\n error ExecutionFailed(uint256 commandIndex, bytes message);\\n\\n /// @notice Thrown when attempting to send ETH directly to the contract\\n error ETHNotAccepted();\\n\\n /// @notice Thrown when executing commands with an expired deadline\\n error TransactionDeadlinePassed();\\n\\n /// @notice Thrown when attempting to execute commands and an incorrect number of inputs are provided\\n error LengthMismatch();\\n\\n /// @notice Executes encoded commands along with provided inputs. Reverts if deadline has expired.\\n /// @param commands A set of concatenated commands, each 1 byte in length\\n /// @param inputs An array of byte strings containing abi encoded inputs for each command\\n /// @param deadline The deadline by which the transaction must be executed\\n function execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline) external payable;\\n}\\n\"\r\n },\r\n \"contracts/modules/uniswap/v2/V2SwapRouter.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {IUniswapV2Pair} from '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';\\nimport {UniswapV2Library} from './UniswapV2Library.sol';\\nimport {RouterImmutables} from '../../../base/RouterImmutables.sol';\\nimport {Payments} from '../../Payments.sol';\\nimport {Permit2Payments} from '../../Permit2Payments.sol';\\nimport {Constants} from '../../../libraries/Constants.sol';\\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\\n\\n/// @title Router for Uniswap v2 Trades\\nabstract contract V2SwapRouter is RouterImmutables, Permit2Payments {\\n error V2TooLittleReceived();\\n error V2TooMuchRequested();\\n error V2InvalidPath();\\n\\n function _v2Swap(address[] calldata path, address recipient, address pair) private {\\n unchecked {\\n if (path.length < 2) revert V2InvalidPath();\\n\\n // cached to save on duplicate operations\\n (address token0,) = UniswapV2Library.sortTokens(path[0], path[1]);\\n uint256 finalPairIndex = path.length - 1;\\n uint256 penultimatePairIndex = finalPairIndex - 1;\\n for (uint256 i; i < finalPairIndex; i++) {\\n (address input, address output) = (path[i], path[i + 1]);\\n (uint256 reserve0, uint256 reserve1,) = IUniswapV2Pair(pair).getReserves();\\n (uint256 reserveInput, uint256 reserveOutput) =\\n input == token0 ? (reserve0, reserve1) : (reserve1, reserve0);\\n uint256 amountInput = ERC20(input).balanceOf(pair) - reserveInput;\\n uint256 amountOutput = UniswapV2Library.getAmountOut(amountInput, reserveInput, reserveOutput);\\n (uint256 amount0Out, uint256 amount1Out) =\\n input == token0 ? (uint256(0), amountOutput) : (amountOutput, uint256(0));\\n address nextPair;\\n (nextPair, token0) = i < penultimatePairIndex\\n ? UniswapV2Library.pairAndToken0For(\\n UNISWAP_V2_FACTORY, UNISWAP_V2_PAIR_INIT_CODE_HASH, output, path[i + 2]\\n )\\n : (recipient, address(0));\\n IUniswapV2Pair(pair).swap(amount0Out, amount1Out, nextPair, new bytes(0));\\n pair = nextPair;\\n }\\n }\\n }\\n\\n /// @notice Performs a Uniswap v2 exact input swap\\n /// @param recipient The recipient of the output tokens\\n /// @param amountIn The amount of input tokens for the trade\\n /// @param amountOutMinimum The minimum desired amount of output tokens\\n /// @param path The path of the trade as an array of token addresses\\n /// @param payer The address that will be paying the input\\n function v2SwapExactInput(\\n address recipient,\\n uint256 amountIn,\\n uint256 amountOutMinimum,\\n address[] calldata path,\\n address payer\\n ) internal {\\n address firstPair =\\n UniswapV2Library.pairFor(UNISWAP_V2_FACTORY, UNISWAP_V2_PAIR_INIT_CODE_HASH, path[0], path[1]);\\n if (\\n amountIn != Constants.ALREADY_PAID // amountIn of 0 to signal that the pair already has the tokens\\n ) {\\n payOrPermit2Transfer(path[0], payer, firstPair, amountIn);\\n }\\n\\n ERC20 tokenOut = ERC20(path[path.length - 1]);\\n uint256 balanceBefore = tokenOut.balanceOf(recipient);\\n\\n _v2Swap(path, recipient, firstPair);\\n\\n uint256 amountOut = tokenOut.balanceOf(recipient) - balanceBefore;\\n if (amountOut < amountOutMinimum) revert V2TooLittleReceived();\\n }\\n\\n /// @notice Performs a Uniswap v2 exact output swap\\n /// @param recipient The recipient of the output tokens\\n /// @param amountOut The amount of output tokens to receive for the trade\\n /// @param amountInMaximum The maximum desired amount of input tokens\\n /// @param path The path of the trade as an array of token addresses\\n /// @param payer The address that will be paying the input\\n function v2SwapExactOutput(\\n address recipient,\\n uint256 amountOut,\\n uint256 amountInMaximum,\\n address[] calldata path,\\n address payer\\n ) internal {\\n (uint256 amountIn, address firstPair) =\\n UniswapV2Library.getAmountInMultihop(UNISWAP_V2_FACTORY, UNISWAP_V2_PAIR_INIT_CODE_HASH, amountOut, path);\\n if (amountIn > amountInMaximum) revert V2TooMuchRequested();\\n\\n payOrPermit2Transfer(path[0], payer, firstPair, amountIn);\\n _v2Swap(path, recipient, firstPair);\\n }\\n}\\n\"\r\n },\r\n \"contracts/modules/uniswap/v3/V3SwapRouter.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {V3Path} from './V3Path.sol';\\nimport {BytesLib} from './BytesLib.sol';\\nimport {SafeCast} from '@uniswap/v3-core/contracts/libraries/SafeCast.sol';\\nimport {IUniswapV3Pool} from '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';\\nimport {IUniswapV3SwapCallback} from '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';\\nimport {Constants} from '../../../libraries/Constants.sol';\\nimport {RouterImmutables} from '../../../base/RouterImmutables.sol';\\nimport {Permit2Payments} from '../../Permit2Payments.sol';\\nimport {Constants} from '../../../libraries/Constants.sol';\\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\\n\\n/// @title Router for Uniswap v3 Trades\\nabstract contract V3SwapRouter is RouterImmutables, Permit2Payments, IUniswapV3SwapCallback {\\n using V3Path for bytes;\\n using BytesLib for bytes;\\n using SafeCast for uint256;\\n\\n error V3InvalidSwap();\\n error V3TooLittleReceived();\\n error V3TooMuchRequested();\\n error V3InvalidAmountOut();\\n error V3InvalidCaller();\\n\\n /// @dev Used as the placeholder value for maxAmountIn, because the computed amount in for an exact output swap\\n /// can never actually be this value\\n uint256 private constant DEFAULT_MAX_AMOUNT_IN = type(uint256).max;\\n\\n /// @dev Transient storage variable used for checking slippage\\n uint256 private maxAmountInCached = DEFAULT_MAX_AMOUNT_IN;\\n\\n /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)\\n uint160 internal constant MIN_SQRT_RATIO = 4295128739;\\n\\n /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)\\n uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;\\n\\n function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes calldata data) external {\\n if (amount0Delta <= 0 && amount1Delta <= 0) revert V3InvalidSwap(); // swaps entirely within 0-liquidity regions are not supported\\n (, address payer) = abi.decode(data, (bytes, address));\\n bytes calldata path = data.toBytes(0);\\n\\n // because exact output swaps are executed in reverse order, in this case tokenOut is actually tokenIn\\n (address tokenIn, uint24 fee, address tokenOut) = path.decodeFirstPool();\\n\\n if (computePoolAddress(tokenIn, tokenOut, fee) != msg.sender) revert V3InvalidCaller();\\n\\n (bool isExactInput, uint256 amountToPay) =\\n amount0Delta > 0 ? (tokenIn < tokenOut, uint256(amount0Delta)) : (tokenOut < tokenIn, uint256(amount1Delta));\\n\\n if (isExactInput) {\\n // Pay the pool (msg.sender)\\n payOrPermit2Transfer(tokenIn, payer, msg.sender, amountToPay);\\n } else {\\n // either initiate the next swap or pay\\n if (path.hasMultiplePools()) {\\n // this is an intermediate step so the payer is actually this contract\\n path = path.skipToken();\\n _swap(-amountToPay.toInt256(), msg.sender, path, payer, false);\\n } else {\\n if (amountToPay > maxAmountInCached) revert V3TooMuchRequested();\\n // note that because exact output swaps are executed in reverse order, tokenOut is actually tokenIn\\n payOrPermit2Transfer(tokenOut, payer, msg.sender, amountToPay);\\n }\\n }\\n }\\n\\n /// @notice Performs a Uniswap v3 exact input swap\\n /// @param recipient The recipient of the output tokens\\n /// @param amountIn The amount of input tokens for the trade\\n /// @param amountOutMinimum The minimum desired amount of output tokens\\n /// @param path The path of the trade as a bytes string\\n /// @param payer The address that will be paying the input\\n function v3SwapExactInput(\\n address recipient,\\n uint256 amountIn,\\n uint256 amountOutMinimum,\\n bytes calldata path,\\n address payer\\n ) internal {\\n // use amountIn == Constants.CONTRACT_BALANCE as a flag to swap the entire balance of the contract\\n if (amountIn == Constants.CONTRACT_BALANCE) {\\n address tokenIn = path.decodeFirstToken();\\n amountIn = ERC20(tokenIn).balanceOf(address(this));\\n }\\n\\n uint256 amountOut;\\n while (true) {\\n bool hasMultiplePools = path.hasMultiplePools();\\n\\n // the outputs of prior swaps become the inputs to subsequent ones\\n (int256 amount0Delta, int256 amount1Delta, bool zeroForOne) = _swap(\\n amountIn.toInt256(),\\n hasMultiplePools ? address(this) : recipient, // for intermediate swaps, this contract custodies\\n path.getFirstPool(), // only the first pool is needed\\n payer, // for intermediate swaps, this contract custodies\\n true\\n );\\n\\n amountIn = uint256(-(zeroForOne ? amount1Delta : amount0Delta));\\n\\n // decide whether to continue or terminate\\n if (hasMultiplePools) {\\n payer = address(this);\\n path = path.skipToken();\\n } else {\\n amountOut = amountIn;\\n break;\\n }\\n }\\n\\n if (amountOut < amountOutMinimum) revert V3TooLittleReceived();\\n }\\n\\n /// @notice Performs a Uniswap v3 exact output swap\\n /// @param recipient The recipient of the output tokens\\n /// @param amountOut The amount of output tokens to receive for the trade\\n /// @param amountInMaximum The maximum desired amount of input tokens\\n /// @param path The path of the trade as a bytes string\\n /// @param payer The address that will be paying the input\\n function v3SwapExactOutput(\\n address recipient,\\n uint256 amountOut,\\n uint256 amountInMaximum,\\n bytes calldata path,\\n address payer\\n ) internal {\\n maxAmountInCached = amountInMaximum;\\n (int256 amount0Delta, int256 amount1Delta, bool zeroForOne) =\\n _swap(-amountOut.toInt256(), recipient, path, payer, false);\\n\\n uint256 amountOutReceived = zeroForOne ? uint256(-amount1Delta) : uint256(-amount0Delta);\\n\\n if (amountOutReceived != amountOut) revert V3InvalidAmountOut();\\n\\n maxAmountInCached = DEFAULT_MAX_AMOUNT_IN;\\n }\\n\\n /// @dev Performs a single swap for both exactIn and exactOut\\n /// For exactIn, `amount` is `amountIn`. For exactOut, `amount` is `-amountOut`\\n function _swap(int256 amount, address recipient, bytes calldata path, address payer, bool isExactIn)\\n private\\n returns (int256 amount0Delta, int256 amount1Delta, bool zeroForOne)\\n {\\n (address tokenIn, uint24 fee, address tokenOut) = path.decodeFirstPool();\\n\\n zeroForOne = isExactIn ? tokenIn < tokenOut : tokenOut < tokenIn;\\n\\n (amount0Delta, amount1Delta) = IUniswapV3Pool(computePoolAddress(tokenIn, tokenOut, fee)).swap(\\n recipient,\\n zeroForOne,\\n amount,\\n (zeroForOne ? MIN_SQRT_RATIO + 1 : MAX_SQRT_RATIO - 1),\\n abi.encode(path, payer)\\n );\\n }\\n\\n function computePoolAddress(address tokenA, address tokenB, uint24 fee) private view returns (address pool) {\\n if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);\\n pool = address(\\n uint160(\\n uint256(\\n keccak256(\\n abi.encodePacked(\\n hex'ff',\\n UNISWAP_V3_FACTORY,\\n keccak256(abi.encode(tokenA, tokenB, fee)),\\n UNISWAP_V3_POOL_INIT_CODE_HASH\\n )\\n )\\n )\\n )\\n );\\n }\\n}\\n\"\r\n },\r\n \"contracts/modules/uniswap/v3/BytesLib.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\n\\n/// @title Library for Bytes Manipulation\\npragma solidity ^0.8.0;\\n\\nimport {Constants} from '../../../libraries/Constants.sol';\\n\\nlibrary BytesLib {\\n error SliceOutOfBounds();\\n\\n /// @notice Returns the address starting at byte 0\\n /// @dev length and overflow checks must be carried out before calling\\n /// @param _bytes The input bytes string to slice\\n /// @return _address The address starting at byte 0\\n function toAddress(bytes calldata _bytes) internal pure returns (address _address) {\\n if (_bytes.length < Constants.ADDR_SIZE) revert SliceOutOfBounds();\\n assembly {\\n _address := shr(96, calldataload(_bytes.offset))\\n }\\n }\\n\\n /// @notice Returns the pool details starting at byte 0\\n /// @dev length and overflow checks must be carried out before calling\\n /// @param _bytes The input bytes string to slice\\n /// @return token0 The address at byte 0\\n /// @return fee The uint24 starting at byte 20\\n /// @return token1 The address at byte 23\\n function toPool(bytes calldata _bytes) internal pure returns (address token0, uint24 fee, address token1) {\\n if (_bytes.length < Constants.V3_POP_OFFSET) revert SliceOutOfBounds();\\n assembly {\\n let firstWord := calldataload(_bytes.offset)\\n token0 := shr(96, firstWord)\\n fee := and(shr(72, firstWord), 0xffffff)\\n token1 := shr(96, calldataload(add(_bytes.offset, 23)))\\n }\\n }\\n\\n /// @notice Decode the `_arg`-th element in `_bytes` as a dynamic array\\n /// @dev The decoding of `length` and `offset` is universal,\\n /// whereas the type declaration of `res` instructs the compiler how to read it.\\n /// @param _bytes The input bytes string to slice\\n /// @param _arg The index of the argument to extract\\n /// @return length Length of the array\\n /// @return offset Pointer to the data part of the array\\n function toLengthOffset(bytes calldata _bytes, uint256 _arg)\\n internal\\n pure\\n returns (uint256 length, uint256 offset)\\n {\\n uint256 relativeOffset;\\n assembly {\\n // The offset of the `_arg`-th element is `32 * arg`, which stores the offset of the length pointer.\\n // shl(5, x) is equivalent to mul(32, x)\\n let lengthPtr := add(_bytes.offset, calldataload(add(_bytes.offset, shl(5, _arg))))\\n length := calldataload(lengthPtr)\\n offset := add(lengthPtr, 0x20)\\n relativeOffset := sub(offset, _bytes.offset)\\n }\\n if (_bytes.length < length + relativeOffset) revert SliceOutOfBounds();\\n }\\n\\n /// @notice Decode the `_arg`-th element in `_bytes` as `bytes`\\n /// @param _bytes The input bytes string to extract a bytes string from\\n /// @param _arg The index of the argument to extract\\n function toBytes(bytes calldata _bytes, uint256 _arg) internal pure returns (bytes calldata res) {\\n (uint256 length, uint256 offset) = toLengthOffset(_bytes, _arg);\\n assembly {\\n res.length := length\\n res.offset := offset\\n }\\n }\\n\\n /// @notice Decode the `_arg`-th element in `_bytes` as `address[]`\\n /// @param _bytes The input bytes string to extract an address array from\\n /// @param _arg The index of the argument to extract\\n function toAddressArray(bytes calldata _bytes, uint256 _arg) internal pure returns (address[] calldata res) {\\n (uint256 length, uint256 offset) = toLengthOffset(_bytes, _arg);\\n assembly {\\n res.length := length\\n res.offset := offset\\n }\\n }\\n\\n /// @notice Decode the `_arg`-th element in `_bytes` as `bytes[]`\\n /// @param _bytes The input bytes string to extract a bytes array from\\n /// @param _arg The index of the argument to extract\\n function toBytesArray(bytes calldata _bytes, uint256 _arg) internal pure returns (bytes[] calldata res) {\\n (uint256 length, uint256 offset) = toLengthOffset(_bytes, _arg);\\n assembly {\\n res.length := length\\n res.offset := offset\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/modules/Payments.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {Constants} from '../libraries/Constants.sol';\\nimport {RouterImmutables} from '../base/RouterImmutables.sol';\\nimport {SafeTransferLib} from 'solmate/src/utils/SafeTransferLib.sol';\\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\\nimport {ERC721} from 'solmate/src/tokens/ERC721.sol';\\nimport {ERC1155} from 'solmate/src/tokens/ERC1155.sol';\\n\\n/// @title Payments contract\\n/// @notice Performs various operations around the payment of ETH and tokens\\nabstract contract Payments is RouterImmutables {\\n using SafeTransferLib for ERC20;\\n using SafeTransferLib for address;\\n\\n error InsufficientToken();\\n error InsufficientETH();\\n error InvalidBips();\\n error InvalidSpender();\\n\\n uint256 internal constant FEE_BIPS_BASE = 10_000;\\n\\n /// @notice Pays an amount of ETH or ERC20 to a recipient\\n /// @param token The token to pay (can be ETH using Constants.ETH)\\n /// @param recipient The address that will receive the payment\\n /// @param value The amount to pay\\n function pay(address token, address recipient, uint256 value) internal {\\n if (token == Constants.ETH) {\\n recipient.safeTransferETH(value);\\n } else {\\n if (value == Constants.CONTRACT_BALANCE) {\\n value = ERC20(token).balanceOf(address(this));\\n }\\n\\n ERC20(token).safeTransfer(recipient, value);\\n }\\n }\\n\\n /// @notice Approves a protocol to spend ERC20s in the router\\n /// @param token The token to approve\\n /// @param spender Which protocol to approve\\n function approveERC20(ERC20 token, Spenders spender) internal {\\n // check spender is one of our approved spenders\\n address spenderAddress;\\n /// @dev use 0 = Opensea Conduit for both Seaport v1.4 and v1.5\\n if (spender == Spenders.OSConduit) spenderAddress = OPENSEA_CONDUIT;\\n else if (spender == Spenders.Sudoswap) spenderAddress = SUDOSWAP;\\n else revert InvalidSpender();\\n\\n // set approval\\n token.safeApprove(spenderAddress, type(uint256).max);\\n }\\n\\n /// @notice Pays a proportion of the contract's ETH or ERC20 to a recipient\\n /// @param token The token to pay (can be ETH using Constants.ETH)\\n /// @param recipient The address that will receive payment\\n /// @param bips Portion in bips of whole balance of the contract\\n function payPortion(address token, address recipient, uint256 bips) internal {\\n if (bips == 0 || bips > FEE_BIPS_BASE) revert InvalidBips();\\n if (token == Constants.ETH) {\\n uint256 balance = address(this).balance;\\n uint256 amount = (balance * bips) / FEE_BIPS_BASE;\\n recipient.safeTransferETH(amount);\\n } else {\\n uint256 balance = ERC20(token).balanceOf(address(this));\\n uint256 amount = (balance * bips) / FEE_BIPS_BASE;\\n ERC20(token).safeTransfer(recipient, amount);\\n }\\n }\\n\\n /// @notice Sweeps all of the contract's ERC20 or ETH to an address\\n /// @param token The token to sweep (can be ETH using Constants.ETH)\\n /// @param recipient The address that will receive payment\\n /// @param amountMinimum The minimum desired amount\\n function sweep(address token, address recipient, uint256 amountMinimum) internal {\\n uint256 balance;\\n if (token == Constants.ETH) {\\n balance = address(this).balance;\\n if (balance < amountMinimum) revert InsufficientETH();\\n if (balance > 0) recipient.safeTransferETH(balance);\\n } else {\\n balance = ERC20(token).balanceOf(address(this));\\n if (balance < amountMinimum) revert InsufficientToken();\\n if (balance > 0) ERC20(token).safeTransfer(recipient, balance);\\n }\\n }\\n\\n /// @notice Sweeps an ERC721 to a recipient from the contract\\n /// @param token The ERC721 token to sweep\\n /// @param recipient The address that will receive payment\\n /// @param id The ID of the ERC721 to sweep\\n function sweepERC721(address token, address recipient, uint256 id) internal {\\n ERC721(token).safeTransferFrom(address(this), recipient, id);\\n }\\n\\n /// @notice Sweeps all of the contract's ERC1155 to an address\\n /// @param token The ERC1155 token to sweep\\n /// @param recipient The address that will receive payment\\n /// @param id The ID of the ERC1155 to sweep\\n /// @param amountMinimum The minimum desired amount\\n function sweepERC1155(address token, address recipient, uint256 id, uint256 amountMinimum) internal {\\n uint256 balance = ERC1155(token).balanceOf(address(this), id);\\n if (balance < amountMinimum) revert InsufficientToken();\\n ERC1155(token).safeTransferFrom(address(this), recipient, id, balance, bytes(''));\\n }\\n\\n /// @notice Wraps an amount of ETH into WETH\\n /// @param recipient The recipient of the WETH\\n /// @param amount The amount to wrap (can be CONTRACT_BALANCE)\\n function wrapETH(address recipient, uint256 amount) internal {\\n if (amount == Constants.CONTRACT_BALANCE) {\\n amount = address(this).balance;\\n } else if (amount > address(this).balance) {\\n revert InsufficientETH();\\n }\\n if (amount > 0) {\\n WETH9.deposit{value: amount}();\\n if (recipient != address(this)) {\\n WETH9.transfer(recipient, amount);\\n }\\n }\\n }\\n\\n /// @notice Unwraps all of the contract's WETH into ETH\\n /// @param recipient The recipient of the ETH\\n /// @param amountMinimum The minimum amount of ETH desired\\n function unwrapWETH9(address recipient, uint256 amountMinimum) internal {\\n uint256 value = WETH9.balanceOf(address(this));\\n if (value < amountMinimum) {\\n revert InsufficientETH();\\n }\\n if (value > 0) {\\n WETH9.withdraw(value);\\n if (recipient != address(this)) {\\n recipient.safeTransferETH(value);\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/Callbacks.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {IERC721Receiver} from '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';\\nimport {IERC1155Receiver} from '@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol';\\nimport {IERC165} from '@openzeppelin/contracts/utils/introspection/IERC165.sol';\\n\\n/// @title ERC Callback Support\\n/// @notice Implements various functions introduced by a variety of ERCs for security reasons.\\n/// All are called by external contracts to ensure that this contract safely supports the ERC in question.\\ncontract Callbacks is IERC721Receiver, IERC1155Receiver {\\n function onERC721Received(address, address, uint256, bytes calldata) external pure returns (bytes4) {\\n return this.onERC721Received.selector;\\n }\\n\\n function onERC1155Received(address, address, uint256, uint256, bytes calldata) external pure returns (bytes4) {\\n return this.onERC1155Received.selector;\\n }\\n\\n function onERC1155BatchReceived(address, address, uint256[] calldata, uint256[] calldata, bytes calldata)\\n external\\n pure\\n returns (bytes4)\\n {\\n return this.onERC1155BatchReceived.selector;\\n }\\n\\n function supportsInterface(bytes4 interfaceId) external pure returns (bool) {\\n return interfaceId == type(IERC1155Receiver).interfaceId || interfaceId == type(IERC721Receiver).interfaceId\\n || interfaceId == type(IERC165).interfaceId;\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/LockAndMsgSender.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {Constants} from '../libraries/Constants.sol';\\n\\ncontract LockAndMsgSender {\\n error ContractLocked();\\n\\n address internal constant NOT_LOCKED_FLAG = address(1);\\n address internal lockedBy = NOT_LOCKED_FLAG;\\n\\n modifier isNotLocked() {\\n if (msg.sender != address(this)) {\\n if (lockedBy != NOT_LOCKED_FLAG) revert ContractLocked();\\n lockedBy = msg.sender;\\n _;\\n lockedBy = NOT_LOCKED_FLAG;\\n } else {\\n _;\\n }\\n }\\n\\n /// @notice Calculates the recipient address for a command\\n /// @param recipient The recipient or recipient-flag for the command\\n /// @return output The resultant recipient for the command\\n function map(address recipient) internal view returns (address) {\\n if (recipient == Constants.MSG_SENDER) {\\n return lockedBy;\\n } else if (recipient == Constants.ADDRESS_THIS) {\\n return address(this);\\n } else {\\n return recipient;\\n }\\n }\\n}\\n\"\r\n },\r\n \"lib/solmate/src/tokens/ERC721.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity >=0.8.0;\\n\\n/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)\\nabstract contract ERC721 {\\n /*//////////////////////////////////////////////////////////////\\n EVENTS\\n //////////////////////////////////////////////////////////////*/\\n\\n event Transfer(address indexed from, address indexed to, uint256 indexed id);\\n\\n event Approval(address indexed owner, address indexed spender, uint256 indexed id);\\n\\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\\n\\n /*//////////////////////////////////////////////////////////////\\n METADATA STORAGE/LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n string public name;\\n\\n string public symbol;\\n\\n function tokenURI(uint256 id) public view virtual returns (string memory);\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC721 BALANCE/OWNER STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n mapping(uint256 => address) internal _ownerOf;\\n\\n mapping(address => uint256) internal _balanceOf;\\n\\n function ownerOf(uint256 id) public view virtual returns (address owner) {\\n require((owner = _ownerOf[id]) != address(0), \\\"NOT_MINTED\\\");\\n }\\n\\n function balanceOf(address owner) public view virtual returns (uint256) {\\n require(owner != address(0), \\\"ZERO_ADDRESS\\\");\\n\\n return _balanceOf[owner];\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC721 APPROVAL STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n mapping(uint256 => address) public getApproved;\\n\\n mapping(address => mapping(address => bool)) public isApprovedForAll;\\n\\n /*//////////////////////////////////////////////////////////////\\n CONSTRUCTOR\\n //////////////////////////////////////////////////////////////*/\\n\\n constructor(string memory _name, string memory _symbol) {\\n name = _name;\\n symbol = _symbol;\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC721 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function approve(address spender, uint256 id) public virtual {\\n address owner = _ownerOf[id];\\n\\n require(msg.sender == owner || isApprovedForAll[owner][msg.sender], \\\"NOT_AUTHORIZED\\\");\\n\\n getApproved[id] = spender;\\n\\n emit Approval(owner, spender, id);\\n }\\n\\n function setApprovalForAll(address operator, bool approved) public virtual {\\n isApprovedForAll[msg.sender][operator] = approved;\\n\\n emit ApprovalForAll(msg.sender, operator, approved);\\n }\\n\\n function transferFrom(\\n address from,\\n address to,\\n uint256 id\\n ) public virtual {\\n require(from == _ownerOf[id], \\\"WRONG_FROM\\\");\\n\\n require(to != address(0), \\\"INVALID_RECIPIENT\\\");\\n\\n require(\\n msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],\\n \\\"NOT_AUTHORIZED\\\"\\n );\\n\\n // Underflow of the sender's balance is impossible because we check for\\n // ownership above and the recipient's balance can't realistically overflow.\\n unchecked {\\n _balanceOf[from]--;\\n\\n _balanceOf[to]++;\\n }\\n\\n _ownerOf[id] = to;\\n\\n delete getApproved[id];\\n\\n emit Transfer(from, to, id);\\n }\\n\\n function safeTransferFrom(\\n address from,\\n address to,\\n uint256 id\\n ) public virtual {\\n transferFrom(from, to, id);\\n\\n require(\\n to.code.length == 0 ||\\n ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, \\\"\\\") ==\\n ERC721TokenReceiver.onERC721Received.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n\\n function safeTransferFrom(\\n address from,\\n address to,\\n uint256 id,\\n bytes calldata data\\n ) public virtual {\\n transferFrom(from, to, id);\\n\\n require(\\n to.code.length == 0 ||\\n ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==\\n ERC721TokenReceiver.onERC721Received.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC165 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\\n return\\n interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165\\n interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721\\n interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n INTERNAL MINT/BURN LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function _mint(address to, uint256 id) internal virtual {\\n require(to != address(0), \\\"INVALID_RECIPIENT\\\");\\n\\n require(_ownerOf[id] == address(0), \\\"ALREADY_MINTED\\\");\\n\\n // Counter overflow is incredibly unrealistic.\\n unchecked {\\n _balanceOf[to]++;\\n }\\n\\n _ownerOf[id] = to;\\n\\n emit Transfer(address(0), to, id);\\n }\\n\\n function _burn(uint256 id) internal virtual {\\n address owner = _ownerOf[id];\\n\\n require(owner != address(0), \\\"NOT_MINTED\\\");\\n\\n // Ownership check above ensures no underflow.\\n unchecked {\\n _balanceOf[owner]--;\\n }\\n\\n delete _ownerOf[id];\\n\\n delete getApproved[id];\\n\\n emit Transfer(owner, address(0), id);\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n INTERNAL SAFE MINT LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function _safeMint(address to, uint256 id) internal virtual {\\n _mint(to, id);\\n\\n require(\\n to.code.length == 0 ||\\n ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, \\\"\\\") ==\\n ERC721TokenReceiver.onERC721Received.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n\\n function _safeMint(\\n address to,\\n uint256 id,\\n bytes memory data\\n ) internal virtual {\\n _mint(to, id);\\n\\n require(\\n to.code.length == 0 ||\\n ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==\\n ERC721TokenReceiver.onERC721Received.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n}\\n\\n/// @notice A generic interface for a contract which properly accepts ERC721 tokens.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)\\nabstract contract ERC721TokenReceiver {\\n function onERC721Received(\\n address,\\n address,\\n uint256,\\n bytes calldata\\n ) external virtual returns (bytes4) {\\n return ERC721TokenReceiver.onERC721Received.selector;\\n }\\n}\\n\"\r\n },\r\n \"lib/solmate/src/tokens/ERC1155.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity >=0.8.0;\\n\\n/// @notice Minimalist and gas efficient standard ERC1155 implementation.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol)\\nabstract contract ERC1155 {\\n /*//////////////////////////////////////////////////////////////\\n EVENTS\\n //////////////////////////////////////////////////////////////*/\\n\\n event TransferSingle(\\n address indexed operator,\\n address indexed from,\\n address indexed to,\\n uint256 id,\\n uint256 amount\\n );\\n\\n event TransferBatch(\\n address indexed operator,\\n address indexed from,\\n address indexed to,\\n uint256[] ids,\\n uint256[] amounts\\n );\\n\\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\\n\\n event URI(string value, uint256 indexed id);\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC1155 STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n mapping(address => mapping(uint256 => uint256)) public balanceOf;\\n\\n mapping(address => mapping(address => bool)) public isApprovedForAll;\\n\\n /*//////////////////////////////////////////////////////////////\\n METADATA LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function uri(uint256 id) public view virtual returns (string memory);\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC1155 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function setApprovalForAll(address operator, bool approved) public virtual {\\n isApprovedForAll[msg.sender][operator] = approved;\\n\\n emit ApprovalForAll(msg.sender, operator, approved);\\n }\\n\\n function safeTransferFrom(\\n address from,\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes calldata data\\n ) public virtual {\\n require(msg.sender == from || isApprovedForAll[from][msg.sender], \\\"NOT_AUTHORIZED\\\");\\n\\n balanceOf[from][id] -= amount;\\n balanceOf[to][id] += amount;\\n\\n emit TransferSingle(msg.sender, from, to, id, amount);\\n\\n require(\\n to.code.length == 0\\n ? to != address(0)\\n : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, from, id, amount, data) ==\\n ERC1155TokenReceiver.onERC1155Received.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n\\n function safeBatchTransferFrom(\\n address from,\\n address to,\\n uint256[] calldata ids,\\n uint256[] calldata amounts,\\n bytes calldata data\\n ) public virtual {\\n require(ids.length == amounts.length, \\\"LENGTH_MISMATCH\\\");\\n\\n require(msg.sender == from || isApprovedForAll[from][msg.sender], \\\"NOT_AUTHORIZED\\\");\\n\\n // Storing these outside the loop saves ~15 gas per iteration.\\n uint256 id;\\n uint256 amount;\\n\\n for (uint256 i = 0; i < ids.length; ) {\\n id = ids[i];\\n amount = amounts[i];\\n\\n balanceOf[from][id] -= amount;\\n balanceOf[to][id] += amount;\\n\\n // An array can't have a total length\\n // larger than the max uint256 value.\\n unchecked {\\n ++i;\\n }\\n }\\n\\n emit TransferBatch(msg.sender, from, to, ids, amounts);\\n\\n require(\\n to.code.length == 0\\n ? to != address(0)\\n : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, from, ids, amounts, data) ==\\n ERC1155TokenReceiver.onERC1155BatchReceived.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n\\n function balanceOfBatch(address[] calldata owners, uint256[] calldata ids)\\n public\\n view\\n virtual\\n returns (uint256[] memory balances)\\n {\\n require(owners.length == ids.length, \\\"LENGTH_MISMATCH\\\");\\n\\n balances = new uint256[](owners.length);\\n\\n // Unchecked because the only math done is incrementing\\n // the array index counter which cannot possibly overflow.\\n unchecked {\\n for (uint256 i = 0; i < owners.length; ++i) {\\n balances[i] = balanceOf[owners[i]][ids[i]];\\n }\\n }\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC165 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\\n return\\n interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165\\n interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155\\n interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n INTERNAL MINT/BURN LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function _mint(\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes memory data\\n ) internal virtual {\\n balanceOf[to][id] += amount;\\n\\n emit TransferSingle(msg.sender, address(0), to, id, amount);\\n\\n require(\\n to.code.length == 0\\n ? to != address(0)\\n : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, address(0), id, amount, data) ==\\n ERC1155TokenReceiver.onERC1155Received.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n\\n function _batchMint(\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) internal virtual {\\n uint256 idsLength = ids.length; // Saves MLOADs.\\n\\n require(idsLength == amounts.length, \\\"LENGTH_MISMATCH\\\");\\n\\n for (uint256 i = 0; i < idsLength; ) {\\n balanceOf[to][ids[i]] += amounts[i];\\n\\n // An array can't have a total length\\n // larger than the max uint256 value.\\n unchecked {\\n ++i;\\n }\\n }\\n\\n emit TransferBatch(msg.sender, address(0), to, ids, amounts);\\n\\n require(\\n to.code.length == 0\\n ? to != address(0)\\n : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, address(0), ids, amounts, data) ==\\n ERC1155TokenReceiver.onERC1155BatchReceived.selector,\\n \\\"UNSAFE_RECIPIENT\\\"\\n );\\n }\\n\\n function _batchBurn(\\n address from,\\n uint256[] memory ids,\\n uint256[] memory amounts\\n ) internal virtual {\\n uint256 idsLength = ids.length; // Saves MLOADs.\\n\\n require(idsLength == amounts.length, \\\"LENGTH_MISMATCH\\\");\\n\\n for (uint256 i = 0; i < idsLength; ) {\\n balanceOf[from][ids[i]] -= amounts[i];\\n\\n // An array can't have a total length\\n // larger than the max uint256 value.\\n unchecked {\\n ++i;\\n }\\n }\\n\\n emit TransferBatch(msg.sender, from, address(0), ids, amounts);\\n }\\n\\n function _burn(\\n address from,\\n uint256 id,\\n uint256 amount\\n ) internal virtual {\\n balanceOf[from][id] -= amount;\\n\\n emit TransferSingle(msg.sender, from, address(0), id, amount);\\n }\\n}\\n\\n/// @notice A generic interface for a contract which properly accepts ERC1155 tokens.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol)\\nabstract contract ERC1155TokenReceiver {\\n function onERC1155Received(\\n address,\\n address,\\n uint256,\\n uint256,\\n bytes calldata\\n ) external virtual returns (bytes4) {\\n return ERC1155TokenReceiver.onERC1155Received.selector;\\n }\\n\\n function onERC1155BatchReceived(\\n address,\\n address,\\n uint256[] calldata,\\n uint256[] calldata,\\n bytes calldata\\n ) external virtual returns (bytes4) {\\n return ERC1155TokenReceiver.onERC1155BatchReceived.selector;\\n }\\n}\\n\"\r\n },\r\n \"lib/solmate/src/tokens/ERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity >=0.8.0;\\n\\n/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)\\n/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\\n/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.\\nabstract contract ERC20 {\\n /*//////////////////////////////////////////////////////////////\\n EVENTS\\n //////////////////////////////////////////////////////////////*/\\n\\n event Transfer(address indexed from, address indexed to, uint256 amount);\\n\\n event Approval(address indexed owner, address indexed spender, uint256 amount);\\n\\n /*//////////////////////////////////////////////////////////////\\n METADATA STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n string public name;\\n\\n string public symbol;\\n\\n uint8 public immutable decimals;\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC20 STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n uint256 public totalSupply;\\n\\n mapping(address => uint256) public balanceOf;\\n\\n mapping(address => mapping(address => uint256)) public allowance;\\n\\n /*//////////////////////////////////////////////////////////////\\n EIP-2612 STORAGE\\n //////////////////////////////////////////////////////////////*/\\n\\n uint256 internal immutable INITIAL_CHAIN_ID;\\n\\n bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;\\n\\n mapping(address => uint256) public nonces;\\n\\n /*//////////////////////////////////////////////////////////////\\n CONSTRUCTOR\\n //////////////////////////////////////////////////////////////*/\\n\\n constructor(\\n string memory _name,\\n string memory _symbol,\\n uint8 _decimals\\n ) {\\n name = _name;\\n symbol = _symbol;\\n decimals = _decimals;\\n\\n INITIAL_CHAIN_ID = block.chainid;\\n INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC20 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function approve(address spender, uint256 amount) public virtual returns (bool) {\\n allowance[msg.sender][spender] = amount;\\n\\n emit Approval(msg.sender, spender, amount);\\n\\n return true;\\n }\\n\\n function transfer(address to, uint256 amount) public virtual returns (bool) {\\n balanceOf[msg.sender] -= amount;\\n\\n // Cannot overflow because the sum of all user\\n // balances can't exceed the max uint256 value.\\n unchecked {\\n balanceOf[to] += amount;\\n }\\n\\n emit Transfer(msg.sender, to, amount);\\n\\n return true;\\n }\\n\\n function transferFrom(\\n address from,\\n address to,\\n uint256 amount\\n ) public virtual returns (bool) {\\n uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.\\n\\n if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;\\n\\n balanceOf[from] -= amount;\\n\\n // Cannot overflow because the sum of all user\\n // balances can't exceed the max uint256 value.\\n unchecked {\\n balanceOf[to] += amount;\\n }\\n\\n emit Transfer(from, to, amount);\\n\\n return true;\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n EIP-2612 LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) public virtual {\\n require(deadline >= block.timestamp, \\\"PERMIT_DEADLINE_EXPIRED\\\");\\n\\n // Unchecked because the only math done is incrementing\\n // the owner's nonce which cannot realistically overflow.\\n unchecked {\\n address recoveredAddress = ecrecover(\\n keccak256(\\n abi.encodePacked(\\n \\\"\\\\x19\\\\x01\\\",\\n DOMAIN_SEPARATOR(),\\n keccak256(\\n abi.encode(\\n keccak256(\\n \\\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\\\"\\n ),\\n owner,\\n spender,\\n value,\\n nonces[owner]++,\\n deadline\\n )\\n )\\n )\\n ),\\n v,\\n r,\\n s\\n );\\n\\n require(recoveredAddress != address(0) && recoveredAddress == owner, \\\"INVALID_SIGNER\\\");\\n\\n allowance[recoveredAddress][spender] = value;\\n }\\n\\n emit Approval(owner, spender, value);\\n }\\n\\n function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {\\n return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();\\n }\\n\\n function computeDomainSeparator() internal view virtual returns (bytes32) {\\n return\\n keccak256(\\n abi.encode(\\n keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\"),\\n keccak256(bytes(name)),\\n keccak256(\\\"1\\\"),\\n block.chainid,\\n address(this)\\n )\\n );\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n INTERNAL MINT/BURN LOGIC\\n //////////////////////////////////////////////////////////////*/\\n\\n function _mint(address to, uint256 amount) internal virtual {\\n totalSupply += amount;\\n\\n // Cannot overflow because the sum of all user\\n // balances can't exceed the max uint256 value.\\n unchecked {\\n balanceOf[to] += amount;\\n }\\n\\n emit Transfer(address(0), to, amount);\\n }\\n\\n function _burn(address from, uint256 amount) internal virtual {\\n balanceOf[from] -= amount;\\n\\n // Cannot underflow because a user's balance\\n // will never be larger than the total supply.\\n unchecked {\\n totalSupply -= amount;\\n }\\n\\n emit Transfer(from, address(0), amount);\\n }\\n}\\n\"\r\n },\r\n \"lib/permit2/src/interfaces/IAllowanceTransfer.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\n/// @title AllowanceTransfer\\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\\n/// @dev Requires user's token approval on the Permit2 contract\\ninterface IAllowanceTransfer {\\n /// @notice Thrown when an allowance on a token has expired.\\n /// @param deadline The timestamp at which the allowed amount is no longer valid\\n error AllowanceExpired(uint256 deadline);\\n\\n /// @notice Thrown when an allowance on a token has been depleted.\\n /// @param amount The maximum amount allowed\\n error InsufficientAllowance(uint256 amount);\\n\\n /// @notice Thrown when too many nonces are invalidated.\\n error ExcessiveInvalidation();\\n\\n /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\\n event NonceInvalidation(\\n address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\\n );\\n\\n /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\\n event Approval(\\n address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\\n );\\n\\n /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\\n event Permit(\\n address indexed owner,\\n address indexed token,\\n address indexed spender,\\n uint160 amount,\\n uint48 expiration,\\n uint48 nonce\\n );\\n\\n /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\\n event Lockdown(address indexed owner, address token, address spender);\\n\\n /// @notice The permit data for a token\\n struct PermitDetails {\\n // ERC20 token address\\n address token;\\n // the maximum amount allowed to spend\\n uint160 amount;\\n // timestamp at which a spender's token allowances become invalid\\n uint48 expiration;\\n // an incrementing value indexed per owner,token,and spender for each signature\\n uint48 nonce;\\n }\\n\\n /// @notice The permit message signed for a single token allownce\\n struct PermitSingle {\\n // the permit data for a single token alownce\\n PermitDetails details;\\n // address permissioned on the allowed tokens\\n address spender;\\n // deadline on the permit signature\\n uint256 sigDeadline;\\n }\\n\\n /// @notice The permit message signed for multiple token allowances\\n struct PermitBatch {\\n // the permit data for multiple token allowances\\n PermitDetails[] details;\\n // address permissioned on the allowed tokens\\n address spender;\\n // deadline on the permit signature\\n uint256 sigDeadline;\\n }\\n\\n /// @notice The saved permissions\\n /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\\n /// @dev Setting amount to type(uint160).max sets an unlimited approval\\n struct PackedAllowance {\\n // amount allowed\\n uint160 amount;\\n // permission expiry\\n uint48 expiration;\\n // an incrementing value indexed per owner,token,and spender for each signature\\n uint48 nonce;\\n }\\n\\n /// @notice A token spender pair.\\n struct TokenSpenderPair {\\n // the token the spender is approved\\n address token;\\n // the spender address\\n address spender;\\n }\\n\\n /// @notice Details for a token transfer.\\n struct AllowanceTransferDetails {\\n // the owner of the token\\n address from;\\n // the recipient of the token\\n address to;\\n // the amount of the token\\n uint160 amount;\\n // the token to be transferred\\n address token;\\n }\\n\\n /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\\n /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\\n /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\\n function allowance(address, address, address) external view returns (uint160, uint48, uint48);\\n\\n /// @notice Approves the spender to use up to amount of the specified token up until the expiration\\n /// @param token The token to approve\\n /// @param spender The spender address to approve\\n /// @param amount The approved amount of the token\\n /// @param expiration The timestamp at which the approval is no longer valid\\n /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\\n /// @dev Setting amount to type(uint160).max sets an unlimited approval\\n function approve(address token, address spender, uint160 amount, uint48 expiration) external;\\n\\n /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\\n /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\\n /// @param owner The owner of the tokens being approved\\n /// @param permitSingle Data signed over by the owner specifying the terms of approval\\n /// @param signature The owner's signature over the permit data\\n function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\\n\\n /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\\n /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\\n /// @param owner The owner of the tokens being approved\\n /// @param permitBatch Data signed over by the owner specifying the terms of approval\\n /// @param signature The owner's signature over the permit data\\n function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\\n\\n /// @notice Transfer approved tokens from one address to another\\n /// @param from The address to transfer from\\n /// @param to The address of the recipient\\n /// @param amount The amount of the token to transfer\\n /// @param token The token address to transfer\\n /// @dev Requires the from address to have approved at least the desired amount\\n /// of tokens to msg.sender.\\n function transferFrom(address from, address to, uint160 amount, address token) external;\\n\\n /// @notice Transfer approved tokens in a batch\\n /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\\n /// @dev Requires the from addresses to have approved at least the desired amount\\n /// of tokens to msg.sender.\\n function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\\n\\n /// @notice Enables performing a \\\"lockdown\\\" of the sender's Permit2 identity\\n /// by batch revoking approvals\\n /// @param approvals Array of approvals to revoke.\\n function lockdown(TokenSpenderPair[] calldata approvals) external;\\n\\n /// @notice Invalidate nonces for a given (token, spender) pair\\n /// @param token The token to invalidate nonces for\\n /// @param spender The spender to invalidate nonces for\\n /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\\n /// @dev Can't invalidate more than 2**16 nonces per transaction.\\n function invalidateNonces(address token, address spender, uint48 newNonce) external;\\n}\\n\"\r\n },\r\n \"contracts/interfaces/external/ICryptoPunksMarket.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.4;\\n\\n/// @title Interface for CryptoPunksMarket\\ninterface ICryptoPunksMarket {\\n /// @notice Buy a cryptopunk\\n function buyPunk(uint256 punkIndex) external payable;\\n\\n /// @notice Transfer a cryptopunk to another address\\n function transferPunk(address to, uint256 punkIndex) external;\\n}\\n\"\r\n },\r\n \"lib/solmate/src/utils/SafeTransferLib.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: AGPL-3.0-only\\npragma solidity >=0.8.0;\\n\\nimport {ERC20} from \\\"../tokens/ERC20.sol\\\";\\n\\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\\n/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.\\n/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.\\nlibrary SafeTransferLib {\\n /*//////////////////////////////////////////////////////////////\\n ETH OPERATIONS\\n //////////////////////////////////////////////////////////////*/\\n\\n function safeTransferETH(address to, uint256 amount) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Transfer the ETH and store if it succeeded or not.\\n success := call(gas(), to, amount, 0, 0, 0, 0)\\n }\\n\\n require(success, \\\"ETH_TRANSFER_FAILED\\\");\\n }\\n\\n /*//////////////////////////////////////////////////////////////\\n ERC20 OPERATIONS\\n //////////////////////////////////////////////////////////////*/\\n\\n function safeTransferFrom(\\n ERC20 token,\\n address from,\\n address to,\\n uint256 amount\\n ) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Get a pointer to some free memory.\\n let freeMemoryPointer := mload(0x40)\\n\\n // Write the abi-encoded calldata into memory, beginning with the function selector.\\n mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)\\n mstore(add(freeMemoryPointer, 4), from) // Append the \\\"from\\\" argument.\\n mstore(add(freeMemoryPointer, 36), to) // Append the \\\"to\\\" argument.\\n mstore(add(freeMemoryPointer, 68), amount) // Append the \\\"amount\\\" argument.\\n\\n success := and(\\n // Set success to whether the call reverted, if not we check it either\\n // returned exactly 1 (can't just be non-zero data), or had no return data.\\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\\n // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.\\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\\n // Counterintuitively, this call must be positioned second to the or() call in the\\n // surrounding and() call or else returndatasize() will be zero during the computation.\\n call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)\\n )\\n }\\n\\n require(success, \\\"TRANSFER_FROM_FAILED\\\");\\n }\\n\\n function safeTransfer(\\n ERC20 token,\\n address to,\\n uint256 amount\\n ) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Get a pointer to some free memory.\\n let freeMemoryPointer := mload(0x40)\\n\\n // Write the abi-encoded calldata into memory, beginning with the function selector.\\n mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\\n mstore(add(freeMemoryPointer, 4), to) // Append the \\\"to\\\" argument.\\n mstore(add(freeMemoryPointer, 36), amount) // Append the \\\"amount\\\" argument.\\n\\n success := and(\\n // Set success to whether the call reverted, if not we check it either\\n // returned exactly 1 (can't just be non-zero data), or had no return data.\\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\\n // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\\n // Counterintuitively, this call must be positioned second to the or() call in the\\n // surrounding and() call or else returndatasize() will be zero during the computation.\\n call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\\n )\\n }\\n\\n require(success, \\\"TRANSFER_FAILED\\\");\\n }\\n\\n function safeApprove(\\n ERC20 token,\\n address to,\\n uint256 amount\\n ) internal {\\n bool success;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Get a pointer to some free memory.\\n let freeMemoryPointer := mload(0x40)\\n\\n // Write the abi-encoded calldata into memory, beginning with the function selector.\\n mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)\\n mstore(add(freeMemoryPointer, 4), to) // Append the \\\"to\\\" argument.\\n mstore(add(freeMemoryPointer, 36), amount) // Append the \\\"amount\\\" argument.\\n\\n success := and(\\n // Set success to whether the call reverted, if not we check it either\\n // returned exactly 1 (can't just be non-zero data), or had no return data.\\n or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\\n // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\\n // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\\n // Counterintuitively, this call must be positioned second to the or() call in the\\n // surrounding and() call or else returndatasize() will be zero during the computation.\\n call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\\n )\\n }\\n\\n require(success, \\\"APPROVE_FAILED\\\");\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/IRewardsCollector.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.15;\\n\\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\\n\\n/// @title LooksRare Rewards Collector\\n/// @notice Implements a permissionless call to fetch LooksRare rewards earned by Universal Router users\\n/// and transfers them to an external rewards distributor contract\\ninterface IRewardsCollector {\\n /// @notice Fetches users' LooksRare rewards and sends them to the distributor contract\\n /// @param looksRareClaim The data required by LooksRare to claim reward tokens\\n function collectRewards(bytes calldata looksRareClaim) external;\\n}\\n\"\r\n },\r\n \"contracts/interfaces/external/IWETH9.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.4;\\n\\nimport {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\n\\n/// @title Interface for WETH9\\ninterface IWETH9 is IERC20 {\\n /// @notice Deposit ether to get wrapped ether\\n function deposit() external payable;\\n\\n /// @notice Withdraw wrapped ether to get ether\\n function withdraw(uint256) external;\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title ERC721 token receiver interface\\n * @dev Interface for any contract that wants to support safeTransfers\\n * from ERC721 asset contracts.\\n */\\ninterface IERC721Receiver {\\n /**\\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\\n * by `operator` from `from`, this function is called.\\n *\\n * It must return its Solidity selector to confirm the token transfer.\\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\\n *\\n * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\\n */\\n function onERC721Received(\\n address operator,\\n address from,\\n uint256 tokenId,\\n bytes calldata data\\n ) external returns (bytes4);\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @dev _Available since v3.1._\\n */\\ninterface IERC1155Receiver is IERC165 {\\n /**\\n * @dev Handles the receipt of a single ERC1155 token type. This function is\\n * called at the end of a `safeTransferFrom` after the balance has been updated.\\n *\\n * NOTE: To accept the transfer, this must return\\n * `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))`\\n * (i.e. 0xf23a6e61, or its own function selector).\\n *\\n * @param operator The address which initiated the transfer (i.e. msg.sender)\\n * @param from The address which previously owned the token\\n * @param id The ID of the token being transferred\\n * @param value The amount of tokens being transferred\\n * @param data Additional data with no specified format\\n * @return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\\n */\\n function onERC1155Received(\\n address operator,\\n address from,\\n uint256 id,\\n uint256 value,\\n bytes calldata data\\n ) external returns (bytes4);\\n\\n /**\\n * @dev Handles the receipt of a multiple ERC1155 token types. This function\\n * is called at the end of a `safeBatchTransferFrom` after the balances have\\n * been updated.\\n *\\n * NOTE: To accept the transfer(s), this must return\\n * `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))`\\n * (i.e. 0xbc197c81, or its own function selector).\\n *\\n * @param operator The address which initiated the batch transfer (i.e. msg.sender)\\n * @param from The address which previously owned the token\\n * @param ids An array containing ids of each token being transferred (order and length must match values array)\\n * @param values An array containing amounts of each token being transferred (order and length must match ids array)\\n * @param data Additional data with no specified format\\n * @return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\\n */\\n function onERC1155BatchReceived(\\n address operator,\\n address from,\\n uint256[] calldata ids,\\n uint256[] calldata values,\\n bytes calldata data\\n ) external returns (bytes4);\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\": {\r\n \"content\": \"pragma solidity >=0.5.0;\\n\\ninterface IUniswapV2Pair {\\n event Approval(address indexed owner, address indexed spender, uint value);\\n event Transfer(address indexed from, address indexed to, uint value);\\n\\n function name() external pure returns (string memory);\\n function symbol() external pure returns (string memory);\\n function decimals() external pure returns (uint8);\\n function totalSupply() external view returns (uint);\\n function balanceOf(address owner) external view returns (uint);\\n function allowance(address owner, address spender) external view returns (uint);\\n\\n function approve(address spender, uint value) external returns (bool);\\n function transfer(address to, uint value) external returns (bool);\\n function transferFrom(address from, address to, uint value) external returns (bool);\\n\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n function PERMIT_TYPEHASH() external pure returns (bytes32);\\n function nonces(address owner) external view returns (uint);\\n\\n function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;\\n\\n event Mint(address indexed sender, uint amount0, uint amount1);\\n event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);\\n event Swap(\\n address indexed sender,\\n uint amount0In,\\n uint amount1In,\\n uint amount0Out,\\n uint amount1Out,\\n address indexed to\\n );\\n event Sync(uint112 reserve0, uint112 reserve1);\\n\\n function MINIMUM_LIQUIDITY() external pure returns (uint);\\n function factory() external view returns (address);\\n function token0() external view returns (address);\\n function token1() external view returns (address);\\n function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);\\n function price0CumulativeLast() external view returns (uint);\\n function price1CumulativeLast() external view returns (uint);\\n function kLast() external view returns (uint);\\n\\n function mint(address to) external returns (uint liquidity);\\n function burn(address to) external returns (uint amount0, uint amount1);\\n function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;\\n function skim(address to) external;\\n function sync() external;\\n\\n function initialize(address, address) external;\\n}\\n\"\r\n },\r\n \"contracts/modules/uniswap/v2/UniswapV2Library.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity >=0.8.0;\\n\\nimport {IUniswapV2Pair} from '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';\\n\\n/// @title Uniswap v2 Helper Library\\n/// @notice Calculates the recipient address for a command\\nlibrary UniswapV2Library {\\n error InvalidReserves();\\n error InvalidPath();\\n\\n /// @notice Calculates the v2 address for a pair without making any external calls\\n /// @param factory The address of the v2 factory\\n /// @param initCodeHash The hash of the pair initcode\\n /// @param tokenA One of the tokens in the pair\\n /// @param tokenB The other token in the pair\\n /// @return pair The resultant v2 pair address\\n function pairFor(address factory, bytes32 initCodeHash, address tokenA, address tokenB)\\n internal\\n pure\\n returns (address pair)\\n {\\n (address token0, address token1) = sortTokens(tokenA, tokenB);\\n pair = pairForPreSorted(factory, initCodeHash, token0, token1);\\n }\\n\\n /// @notice Calculates the v2 address for a pair and the pair's token0\\n /// @param factory The address of the v2 factory\\n /// @param initCodeHash The hash of the pair initcode\\n /// @param tokenA One of the tokens in the pair\\n /// @param tokenB The other token in the pair\\n /// @return pair The resultant v2 pair address\\n /// @return token0 The token considered token0 in this pair\\n function pairAndToken0For(address factory, bytes32 initCodeHash, address tokenA, address tokenB)\\n internal\\n pure\\n returns (address pair, address token0)\\n {\\n address token1;\\n (token0, token1) = sortTokens(tokenA, tokenB);\\n pair = pairForPreSorted(factory, initCodeHash, token0, token1);\\n }\\n\\n /// @notice Calculates the v2 address for a pair assuming the input tokens are pre-sorted\\n /// @param factory The address of the v2 factory\\n /// @param initCodeHash The hash of the pair initcode\\n /// @param token0 The pair's token0\\n /// @param token1 The pair's token1\\n /// @return pair The resultant v2 pair address\\n function pairForPreSorted(address factory, bytes32 initCodeHash, address token0, address token1)\\n private\\n pure\\n returns (address pair)\\n {\\n pair = address(\\n uint160(\\n uint256(\\n keccak256(\\n abi.encodePacked(hex'ff', factory, keccak256(abi.encodePacked(token0, token1)), initCodeHash)\\n )\\n )\\n )\\n );\\n }\\n\\n /// @notice Calculates the v2 address for a pair and fetches the reserves for each token\\n /// @param factory The address of the v2 factory\\n /// @param initCodeHash The hash of the pair initcode\\n /// @param tokenA One of the tokens in the pair\\n /// @param tokenB The other token in the pair\\n /// @return pair The resultant v2 pair address\\n /// @return reserveA The reserves for tokenA\\n /// @return reserveB The reserves for tokenB\\n function pairAndReservesFor(address factory, bytes32 initCodeHash, address tokenA, address tokenB)\\n private\\n view\\n returns (address pair, uint256 reserveA, uint256 reserveB)\\n {\\n address token0;\\n (pair, token0) = pairAndToken0For(factory, initCodeHash, tokenA, tokenB);\\n (uint256 reserve0, uint256 reserve1,) = IUniswapV2Pair(pair).getReserves();\\n (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);\\n }\\n\\n /// @notice Given an input asset amount returns the maximum output amount of the other asset\\n /// @param amountIn The token input amount\\n /// @param reserveIn The reserves available of the input token\\n /// @param reserveOut The reserves available of the output token\\n /// @return amountOut The output amount of the output token\\n function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)\\n internal\\n pure\\n returns (uint256 amountOut)\\n {\\n if (reserveIn == 0 || reserveOut == 0) revert InvalidReserves();\\n uint256 amountInWithFee = amountIn * 997;\\n uint256 numerator = amountInWithFee * reserveOut;\\n uint256 denominator = reserveIn * 1000 + amountInWithFee;\\n amountOut = numerator / denominator;\\n }\\n\\n /// @notice Returns the input amount needed for a desired output amount in a single-hop trade\\n /// @param amountOut The desired output amount\\n /// @param reserveIn The reserves available of the input token\\n /// @param reserveOut The reserves available of the output token\\n /// @return amountIn The input amount of the input token\\n function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut)\\n internal\\n pure\\n returns (uint256 amountIn)\\n {\\n if (reserveIn == 0 || reserveOut == 0) revert InvalidReserves();\\n uint256 numerator = reserveIn * amountOut * 1000;\\n uint256 denominator = (reserveOut - amountOut) * 997;\\n amountIn = (numerator / denominator) + 1;\\n }\\n\\n /// @notice Returns the input amount needed for a desired output amount in a multi-hop trade\\n /// @param factory The address of the v2 factory\\n /// @param initCodeHash The hash of the pair initcode\\n /// @param amountOut The desired output amount\\n /// @param path The path of the multi-hop trade\\n /// @return amount The input amount of the input token\\n /// @return pair The first pair in the trade\\n function getAmountInMultihop(address factory, bytes32 initCodeHash, uint256 amountOut, address[] memory path)\\n internal\\n view\\n returns (uint256 amount, address pair)\\n {\\n if (path.length < 2) revert InvalidPath();\\n amount = amountOut;\\n for (uint256 i = path.length - 1; i > 0; i--) {\\n uint256 reserveIn;\\n uint256 reserveOut;\\n\\n (pair, reserveIn, reserveOut) = pairAndReservesFor(factory, initCodeHash, path[i - 1], path[i]);\\n amount = getAmountIn(amount, reserveIn, reserveOut);\\n }\\n }\\n\\n /// @notice Sorts two tokens to return token0 and token1\\n /// @param tokenA The first token to sort\\n /// @param tokenB The other token to sort\\n /// @return token0 The smaller token by address value\\n /// @return token1 The larger token by address value\\n function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {\\n (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);\\n }\\n}\\n\"\r\n },\r\n \"contracts/modules/Permit2Payments.sol\": {\r\n \"content\": \"pragma solidity ^0.8.17;\\n\\nimport {IAllowanceTransfer} from 'permit2/src/interfaces/IAllowanceTransfer.sol';\\nimport {SafeCast160} from 'permit2/src/libraries/SafeCast160.sol';\\nimport {Payments} from './Payments.sol';\\nimport {Constants} from '../libraries/Constants.sol';\\nimport {RouterImmutables} from '../base/RouterImmutables.sol';\\n\\n/// @title Payments through Permit2\\n/// @notice Performs interactions with Permit2 to transfer tokens\\nabstract contract Permit2Payments is Payments {\\n using SafeCast160 for uint256;\\n\\n error FromAddressIsNotOwner();\\n\\n /// @notice Performs a transferFrom on Permit2\\n /// @param token The token to transfer\\n /// @param from The address to transfer from\\n /// @param to The recipient of the transfer\\n /// @param amount The amount to transfer\\n function permit2TransferFrom(address token, address from, address to, uint160 amount) internal {\\n PERMIT2.transferFrom(from, to, amount, token);\\n }\\n\\n /// @notice Performs a batch transferFrom on Permit2\\n /// @param batchDetails An array detailing each of the transfers that should occur\\n function permit2TransferFrom(IAllowanceTransfer.AllowanceTransferDetails[] memory batchDetails, address owner)\\n internal\\n {\\n uint256 batchLength = batchDetails.length;\\n for (uint256 i = 0; i < batchLength; ++i) {\\n if (batchDetails[i].from != owner) revert FromAddressIsNotOwner();\\n }\\n PERMIT2.transferFrom(batchDetails);\\n }\\n\\n /// @notice Either performs a regular payment or transferFrom on Permit2, depending on the payer address\\n /// @param token The token to transfer\\n /// @param payer The address to pay for the transfer\\n /// @param recipient The recipient of the transfer\\n /// @param amount The amount to transfer\\n function payOrPermit2Transfer(address token, address payer, address recipient, uint256 amount) internal {\\n if (payer == address(this)) pay(token, recipient, amount);\\n else permit2TransferFrom(token, payer, recipient, amount.toUint160());\\n }\\n}\\n\"\r\n },\r\n \"contracts/libraries/Constants.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity ^0.8.17;\\n\\nimport {IWETH9} from '../interfaces/external/IWETH9.sol';\\n\\n/// @title Constant state\\n/// @notice Constant state used by the Universal Router\\nlibrary Constants {\\n /// @dev Used for identifying cases when this contract's balance of a token is to be used as an input\\n /// This value is equivalent to 1<<255, i.e. a singular 1 in the most significant bit.\\n uint256 internal constant CONTRACT_BALANCE = 0x8000000000000000000000000000000000000000000000000000000000000000;\\n\\n /// @dev Used for identifying cases when a v2 pair has already received input tokens\\n uint256 internal constant ALREADY_PAID = 0;\\n\\n /// @dev Used as a flag for identifying the transfer of ETH instead of a token\\n address internal constant ETH = address(0);\\n\\n /// @dev Used as a flag for identifying that msg.sender should be used, saves gas by sending more 0 bytes\\n address internal constant MSG_SENDER = address(1);\\n\\n /// @dev Used as a flag for identifying address(this) should be used, saves gas by sending more 0 bytes\\n address internal constant ADDRESS_THIS = address(2);\\n\\n /// @dev The length of the bytes encoded address\\n uint256 internal constant ADDR_SIZE = 20;\\n\\n /// @dev The length of the bytes encoded fee\\n uint256 internal constant V3_FEE_SIZE = 3;\\n\\n /// @dev The offset of a single token address (20) and pool fee (3)\\n uint256 internal constant NEXT_V3_POOL_OFFSET = ADDR_SIZE + V3_FEE_SIZE;\\n\\n /// @dev The offset of an encoded pool key\\n /// Token (20) + Fee (3) + Token (20) = 43\\n uint256 internal constant V3_POP_OFFSET = NEXT_V3_POOL_OFFSET + ADDR_SIZE;\\n\\n /// @dev The minimum length of an encoding that contains 2 or more pools\\n uint256 internal constant MULTIPLE_V3_POOLS_MIN_LENGTH = V3_POP_OFFSET + NEXT_V3_POOL_OFFSET;\\n}\\n\"\r\n },\r\n \"contracts/modules/uniswap/v3/V3Path.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-3.0-or-later\\npragma solidity >=0.6.0;\\n\\nimport {BytesLib} from './BytesLib.sol';\\nimport {Constants} from '../../../libraries/Constants.sol';\\n\\n/// @title Functions for manipulating path data for multihop swaps\\nlibrary V3Path {\\n using BytesLib for bytes;\\n\\n /// @notice Returns true iff the path contains two or more pools\\n /// @param path The encoded swap path\\n /// @return True if path contains two or more pools, otherwise false\\n function hasMultiplePools(bytes calldata path) internal pure returns (bool) {\\n return path.length >= Constants.MULTIPLE_V3_POOLS_MIN_LENGTH;\\n }\\n\\n /// @notice Decodes the first pool in path\\n /// @param path The bytes encoded swap path\\n /// @return tokenA The first token of the given pool\\n /// @return fee The fee level of the pool\\n /// @return tokenB The second token of the given pool\\n function decodeFirstPool(bytes calldata path) internal pure returns (address, uint24, address) {\\n return path.toPool();\\n }\\n\\n /// @notice Gets the segment corresponding to the first pool in the path\\n /// @param path The bytes encoded swap path\\n /// @return The segment containing all data necessary to target the first pool in the path\\n function getFirstPool(bytes calldata path) internal pure returns (bytes calldata) {\\n return path[:Constants.V3_POP_OFFSET];\\n }\\n\\n function decodeFirstToken(bytes calldata path) internal pure returns (address tokenA) {\\n tokenA = path.toAddress();\\n }\\n\\n /// @notice Skips a token + fee element\\n /// @param path The swap path\\n function skipToken(bytes calldata path) internal pure returns (bytes calldata) {\\n return path[Constants.NEXT_V3_POOL_OFFSET:];\\n }\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/libraries/SafeCast.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Safe casting methods\\n/// @notice Contains methods for safely casting between types\\nlibrary SafeCast {\\n /// @notice Cast a uint256 to a uint160, revert on overflow\\n /// @param y The uint256 to be downcasted\\n /// @return z The downcasted integer, now type uint160\\n function toUint160(uint256 y) internal pure returns (uint160 z) {\\n require((z = uint160(y)) == y);\\n }\\n\\n /// @notice Cast a int256 to a int128, revert on overflow or underflow\\n /// @param y The int256 to be downcasted\\n /// @return z The downcasted integer, now type int128\\n function toInt128(int256 y) internal pure returns (int128 z) {\\n require((z = int128(y)) == y);\\n }\\n\\n /// @notice Cast a uint256 to a int256, revert on overflow\\n /// @param y The uint256 to be casted\\n /// @return z The casted integer, now type int256\\n function toInt256(uint256 y) internal pure returns (int256 z) {\\n require(y < 2**255);\\n z = int256(y);\\n }\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\nimport './pool/IUniswapV3PoolImmutables.sol';\\nimport './pool/IUniswapV3PoolState.sol';\\nimport './pool/IUniswapV3PoolDerivedState.sol';\\nimport './pool/IUniswapV3PoolActions.sol';\\nimport './pool/IUniswapV3PoolOwnerActions.sol';\\nimport './pool/IUniswapV3PoolEvents.sol';\\n\\n/// @title The interface for a Uniswap V3 Pool\\n/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\\n/// to the ERC20 specification\\n/// @dev The pool interface is broken up into many smaller pieces\\ninterface IUniswapV3Pool is\\n IUniswapV3PoolImmutables,\\n IUniswapV3PoolState,\\n IUniswapV3PoolDerivedState,\\n IUniswapV3PoolActions,\\n IUniswapV3PoolOwnerActions,\\n IUniswapV3PoolEvents\\n{\\n\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Callback for IUniswapV3PoolActions#swap\\n/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface\\ninterface IUniswapV3SwapCallback {\\n /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\\n /// @dev In the implementation you must pay the pool tokens owed for the swap.\\n /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\\n /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\\n /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\\n /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.\\n /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\\n /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.\\n /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call\\n function uniswapV3SwapCallback(\\n int256 amount0Delta,\\n int256 amount1Delta,\\n bytes calldata data\\n ) external;\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC165 standard, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\n *\\n * Implementers can declare support of contract interfaces, which can then be\\n * queried by others ({ERC165Checker}).\\n *\\n * For an implementation, see {ERC165}.\\n */\\ninterface IERC165 {\\n /**\\n * @dev Returns true if this contract implements the interface defined by\\n * `interfaceId`. See the corresponding\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\n * to learn more about how these ids are created.\\n *\\n * This function call must use less than 30 000 gas.\\n */\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\r\n },\r\n \"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address to, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `from` to `to` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address from,\\n address to,\\n uint256 amount\\n ) external returns (bool);\\n}\\n\"\r\n },\r\n \"lib/permit2/src/libraries/SafeCast160.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nlibrary SafeCast160 {\\n /// @notice Thrown when a valude greater than type(uint160).max is cast to uint160\\n error UnsafeCast();\\n\\n /// @notice Safely casts uint256 to uint160\\n /// @param value The uint256 to be cast\\n function toUint160(uint256 value) internal pure returns (uint160) {\\n if (value > type(uint160).max) revert UnsafeCast();\\n return uint160(value);\\n }\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that never changes\\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\\ninterface IUniswapV3PoolImmutables {\\n /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\\n /// @return The contract address\\n function factory() external view returns (address);\\n\\n /// @notice The first of the two tokens of the pool, sorted by address\\n /// @return The token contract address\\n function token0() external view returns (address);\\n\\n /// @notice The second of the two tokens of the pool, sorted by address\\n /// @return The token contract address\\n function token1() external view returns (address);\\n\\n /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\\n /// @return The fee\\n function fee() external view returns (uint24);\\n\\n /// @notice The pool tick spacing\\n /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\\n /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\\n /// This value is an int24 to avoid casting even though it is always positive.\\n /// @return The tick spacing\\n function tickSpacing() external view returns (int24);\\n\\n /// @notice The maximum amount of position liquidity that can use any tick in the range\\n /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\\n /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\\n /// @return The max amount of liquidity per tick\\n function maxLiquidityPerTick() external view returns (uint128);\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that can change\\n/// @notice These methods compose the pool's state, and can change with any frequency including multiple times\\n/// per transaction\\ninterface IUniswapV3PoolState {\\n /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\\n /// when accessed externally.\\n /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\\n /// tick The current tick of the pool, i.e. according to the last tick transition that was run.\\n /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick\\n /// boundary.\\n /// observationIndex The index of the last oracle observation that was written,\\n /// observationCardinality The current maximum number of observations stored in the pool,\\n /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.\\n /// feeProtocol The protocol fee for both tokens of the pool.\\n /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\\n /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\\n /// unlocked Whether the pool is currently locked to reentrancy\\n function slot0()\\n external\\n view\\n returns (\\n uint160 sqrtPriceX96,\\n int24 tick,\\n uint16 observationIndex,\\n uint16 observationCardinality,\\n uint16 observationCardinalityNext,\\n uint8 feeProtocol,\\n bool unlocked\\n );\\n\\n /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\\n /// @dev This value can overflow the uint256\\n function feeGrowthGlobal0X128() external view returns (uint256);\\n\\n /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\\n /// @dev This value can overflow the uint256\\n function feeGrowthGlobal1X128() external view returns (uint256);\\n\\n /// @notice The amounts of token0 and token1 that are owed to the protocol\\n /// @dev Protocol fees will never exceed uint128 max in either token\\n function protocolFees() external view returns (uint128 token0, uint128 token1);\\n\\n /// @notice The currently in range liquidity available to the pool\\n /// @dev This value has no relationship to the total liquidity across all ticks\\n function liquidity() external view returns (uint128);\\n\\n /// @notice Look up information about a specific tick in the pool\\n /// @param tick The tick to look up\\n /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\\n /// tick upper,\\n /// liquidityNet how much liquidity changes when the pool price crosses the tick,\\n /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\\n /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\\n /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\\n /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\\n /// secondsOutside the seconds spent on the other side of the tick from the current tick,\\n /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\\n /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\\n /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\\n /// a specific position.\\n function ticks(int24 tick)\\n external\\n view\\n returns (\\n uint128 liquidityGross,\\n int128 liquidityNet,\\n uint256 feeGrowthOutside0X128,\\n uint256 feeGrowthOutside1X128,\\n int56 tickCumulativeOutside,\\n uint160 secondsPerLiquidityOutsideX128,\\n uint32 secondsOutside,\\n bool initialized\\n );\\n\\n /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information\\n function tickBitmap(int16 wordPosition) external view returns (uint256);\\n\\n /// @notice Returns the information about a position by the position's key\\n /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\\n /// @return _liquidity The amount of liquidity in the position,\\n /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\\n /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\\n /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\\n /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\\n function positions(bytes32 key)\\n external\\n view\\n returns (\\n uint128 _liquidity,\\n uint256 feeGrowthInside0LastX128,\\n uint256 feeGrowthInside1LastX128,\\n uint128 tokensOwed0,\\n uint128 tokensOwed1\\n );\\n\\n /// @notice Returns data about a specific observation index\\n /// @param index The element of the observations array to fetch\\n /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\\n /// ago, rather than at a specific index in the array.\\n /// @return blockTimestamp The timestamp of the observation,\\n /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\\n /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\\n /// Returns initialized whether the observation has been initialized and the values are safe to use\\n function observations(uint256 index)\\n external\\n view\\n returns (\\n uint32 blockTimestamp,\\n int56 tickCumulative,\\n uint160 secondsPerLiquidityCumulativeX128,\\n bool initialized\\n );\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that is not stored\\n/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the\\n/// blockchain. The functions here may have variable gas costs.\\ninterface IUniswapV3PoolDerivedState {\\n /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\\n /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\\n /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\\n /// you must call it with secondsAgos = [3600, 0].\\n /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\\n /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\\n /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\\n /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\\n /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\\n /// timestamp\\n function observe(uint32[] calldata secondsAgos)\\n external\\n view\\n returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);\\n\\n /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\\n /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\\n /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\\n /// snapshot is taken and the second snapshot is taken.\\n /// @param tickLower The lower tick of the range\\n /// @param tickUpper The upper tick of the range\\n /// @return tickCumulativeInside The snapshot of the tick accumulator for the range\\n /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\\n /// @return secondsInside The snapshot of seconds per liquidity for the range\\n function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)\\n external\\n view\\n returns (\\n int56 tickCumulativeInside,\\n uint160 secondsPerLiquidityInsideX128,\\n uint32 secondsInside\\n );\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Permissionless pool actions\\n/// @notice Contains pool methods that can be called by anyone\\ninterface IUniswapV3PoolActions {\\n /// @notice Sets the initial price for the pool\\n /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\\n /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96\\n function initialize(uint160 sqrtPriceX96) external;\\n\\n /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position\\n /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\\n /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\\n /// on tickLower, tickUpper, the amount of liquidity, and the current price.\\n /// @param recipient The address for which the liquidity will be created\\n /// @param tickLower The lower tick of the position in which to add liquidity\\n /// @param tickUpper The upper tick of the position in which to add liquidity\\n /// @param amount The amount of liquidity to mint\\n /// @param data Any data that should be passed through to the callback\\n /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\\n /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\\n function mint(\\n address recipient,\\n int24 tickLower,\\n int24 tickUpper,\\n uint128 amount,\\n bytes calldata data\\n ) external returns (uint256 amount0, uint256 amount1);\\n\\n /// @notice Collects tokens owed to a position\\n /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\\n /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\\n /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\\n /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\\n /// @param recipient The address which should receive the fees collected\\n /// @param tickLower The lower tick of the position for which to collect fees\\n /// @param tickUpper The upper tick of the position for which to collect fees\\n /// @param amount0Requested How much token0 should be withdrawn from the fees owed\\n /// @param amount1Requested How much token1 should be withdrawn from the fees owed\\n /// @return amount0 The amount of fees collected in token0\\n /// @return amount1 The amount of fees collected in token1\\n function collect(\\n address recipient,\\n int24 tickLower,\\n int24 tickUpper,\\n uint128 amount0Requested,\\n uint128 amount1Requested\\n ) external returns (uint128 amount0, uint128 amount1);\\n\\n /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\\n /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\\n /// @dev Fees must be collected separately via a call to #collect\\n /// @param tickLower The lower tick of the position for which to burn liquidity\\n /// @param tickUpper The upper tick of the position for which to burn liquidity\\n /// @param amount How much liquidity to burn\\n /// @return amount0 The amount of token0 sent to the recipient\\n /// @return amount1 The amount of token1 sent to the recipient\\n function burn(\\n int24 tickLower,\\n int24 tickUpper,\\n uint128 amount\\n ) external returns (uint256 amount0, uint256 amount1);\\n\\n /// @notice Swap token0 for token1, or token1 for token0\\n /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\\n /// @param recipient The address to receive the output of the swap\\n /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\\n /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\\n /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\\n /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\\n /// @param data Any data to be passed through to the callback\\n /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\\n /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\\n function swap(\\n address recipient,\\n bool zeroForOne,\\n int256 amountSpecified,\\n uint160 sqrtPriceLimitX96,\\n bytes calldata data\\n ) external returns (int256 amount0, int256 amount1);\\n\\n /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\\n /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback\\n /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\\n /// with 0 amount{0,1} and sending the donation amount(s) from the callback\\n /// @param recipient The address which will receive the token0 and token1 amounts\\n /// @param amount0 The amount of token0 to send\\n /// @param amount1 The amount of token1 to send\\n /// @param data Any data to be passed through to the callback\\n function flash(\\n address recipient,\\n uint256 amount0,\\n uint256 amount1,\\n bytes calldata data\\n ) external;\\n\\n /// @notice Increase the maximum number of price and liquidity observations that this pool will store\\n /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\\n /// the input observationCardinalityNext.\\n /// @param observationCardinalityNext The desired minimum number of observations for the pool to store\\n function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Permissioned pool actions\\n/// @notice Contains pool methods that may only be called by the factory owner\\ninterface IUniswapV3PoolOwnerActions {\\n /// @notice Set the denominator of the protocol's % share of the fees\\n /// @param feeProtocol0 new protocol fee for token0 of the pool\\n /// @param feeProtocol1 new protocol fee for token1 of the pool\\n function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;\\n\\n /// @notice Collect the protocol fee accrued to the pool\\n /// @param recipient The address to which collected protocol fees should be sent\\n /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\\n /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\\n /// @return amount0 The protocol fee collected in token0\\n /// @return amount1 The protocol fee collected in token1\\n function collectProtocol(\\n address recipient,\\n uint128 amount0Requested,\\n uint128 amount1Requested\\n ) external returns (uint128 amount0, uint128 amount1);\\n}\\n\"\r\n },\r\n \"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Events emitted by a pool\\n/// @notice Contains all events emitted by the pool\\ninterface IUniswapV3PoolEvents {\\n /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\\n /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\\n /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96\\n /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\\n event Initialize(uint160 sqrtPriceX96, int24 tick);\\n\\n /// @notice Emitted when liquidity is minted for a given position\\n /// @param sender The address that minted the liquidity\\n /// @param owner The owner of the position and recipient of any minted liquidity\\n /// @param tickLower The lower tick of the position\\n /// @param tickUpper The upper tick of the position\\n /// @param amount The amount of liquidity minted to the position range\\n /// @param amount0 How much token0 was required for the minted liquidity\\n /// @param amount1 How much token1 was required for the minted liquidity\\n event Mint(\\n address sender,\\n address indexed owner,\\n int24 indexed tickLower,\\n int24 indexed tickUpper,\\n uint128 amount,\\n uint256 amount0,\\n uint256 amount1\\n );\\n\\n /// @notice Emitted when fees are collected by the owner of a position\\n /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\\n /// @param owner The owner of the position for which fees are collected\\n /// @param tickLower The lower tick of the position\\n /// @param tickUpper The upper tick of the position\\n /// @param amount0 The amount of token0 fees collected\\n /// @param amount1 The amount of token1 fees collected\\n event Collect(\\n address indexed owner,\\n address recipient,\\n int24 indexed tickLower,\\n int24 indexed tickUpper,\\n uint128 amount0,\\n uint128 amount1\\n );\\n\\n /// @notice Emitted when a position's liquidity is removed\\n /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\\n /// @param owner The owner of the position for which liquidity is removed\\n /// @param tickLower The lower tick of the position\\n /// @param tickUpper The upper tick of the position\\n /// @param amount The amount of liquidity to remove\\n /// @param amount0 The amount of token0 withdrawn\\n /// @param amount1 The amount of token1 withdrawn\\n event Burn(\\n address indexed owner,\\n int24 indexed tickLower,\\n int24 indexed tickUpper,\\n uint128 amount,\\n uint256 amount0,\\n uint256 amount1\\n );\\n\\n /// @notice Emitted by the pool for any swaps between token0 and token1\\n /// @param sender The address that initiated the swap call, and that received the callback\\n /// @param recipient The address that received the output of the swap\\n /// @param amount0 The delta of the token0 balance of the pool\\n /// @param amount1 The delta of the token1 balance of the pool\\n /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\\n /// @param liquidity The liquidity of the pool after the swap\\n /// @param tick The log base 1.0001 of price of the pool after the swap\\n event Swap(\\n address indexed sender,\\n address indexed recipient,\\n int256 amount0,\\n int256 amount1,\\n uint160 sqrtPriceX96,\\n uint128 liquidity,\\n int24 tick\\n );\\n\\n /// @notice Emitted by the pool for any flashes of token0/token1\\n /// @param sender The address that initiated the swap call, and that received the callback\\n /// @param recipient The address that received the tokens from flash\\n /// @param amount0 The amount of token0 that was flashed\\n /// @param amount1 The amount of token1 that was flashed\\n /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\\n /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\\n event Flash(\\n address indexed sender,\\n address indexed recipient,\\n uint256 amount0,\\n uint256 amount1,\\n uint256 paid0,\\n uint256 paid1\\n );\\n\\n /// @notice Emitted by the pool for increases to the number of observations that can be stored\\n /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\\n /// just before a mint/swap/burn.\\n /// @param observationCardinalityNextOld The previous value of the next observation cardinality\\n /// @param observationCardinalityNextNew The updated value of the next observation cardinality\\n event IncreaseObservationCardinalityNext(\\n uint16 observationCardinalityNextOld,\\n uint16 observationCardinalityNextNew\\n );\\n\\n /// @notice Emitted when the protocol fee is changed by the pool\\n /// @param feeProtocol0Old The previous value of the token0 protocol fee\\n /// @param feeProtocol1Old The previous value of the token1 protocol fee\\n /// @param feeProtocol0New The updated value of the token0 protocol fee\\n /// @param feeProtocol1New The updated value of the token1 protocol fee\\n event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);\\n\\n /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner\\n /// @param sender The address that collects the protocol fees\\n /// @param recipient The address that receives the collected protocol fees\\n /// @param amount0 The amount of token0 protocol fees that is withdrawn\\n /// @param amount0 The amount of token1 protocol fees that is withdrawn\\n event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"remappings\": [\r\n \"@openzeppelin/=node_modules/@openzeppelin/\",\r\n \"@uniswap/=node_modules/@uniswap/\",\r\n \"ds-test/=lib/forge-std/lib/ds-test/src/\",\r\n \"forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/\",\r\n \"forge-std/=lib/forge-std/src/\",\r\n \"openzeppelin-contracts/=lib/permit2/lib/openzeppelin-contracts/\",\r\n \"permit2/=lib/permit2/\",\r\n \"solmate/=lib/solmate/\"\r\n ],\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 1000000\r\n },\r\n \"metadata\": {\r\n \"bytecodeHash\": \"ipfs\"\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"evmVersion\": \"london\",\r\n \"viaIR\": true,\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"permit2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"weth9\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"seaportV1_5\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"seaportV1_4\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"openseaConduit\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"nftxZap\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"x2y2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"foundation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sudoswap\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"elementMarket\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"nft20Zap\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"cryptopunks\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"looksRareV2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"routerRewardsDistributor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"looksRareRewardsDistributor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"looksRareToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v2Factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v3Factory\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"pairInitCodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"poolInitCodeHash\",\"type\":\"bytes32\"}],\"internalType\":\"struct RouterParameters\",\"name\":\"params\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BalanceTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BuyPunkFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContractLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ETHNotAccepted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"commandIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"ExecutionFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FromAddressIsNotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBips\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"commandType\",\"type\":\"uint256\"}],\"name\":\"InvalidCommandType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOwnerERC1155\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOwnerERC721\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPath\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReserves\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSpender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SliceOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionDeadlinePassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnableToClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsafeCast\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2InvalidPath\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidAmountOut\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidSwap\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooMuchRequested\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsSent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"looksRareClaim\",\"type\":\"bytes\"}],\"name\":\"collectRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"commands\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"commands\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"UniversalRouter","CompilerVersion":"v0.8.17+commit.8df45f5f","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"1000000","ConstructorArguments":"000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000adc04c56bf30ac9d3c0aaf14dc00000000000000000000000000000000000001ad428e4906ae43d8f9852d0dd60000000000000000000000001e0049783f008a0085193e00003d00cd54003c71000000000000000000000000941a6d105802cccaa06de58a13a6f49ebdcd481c00000000000000000000000074312363e45dcaba76c59ec49a7aa8a65a67eed3000000000000000000000000cda72070e455bb31c7690a170224ce43623d0b6f0000000000000000000000002b2e8cda09bba9660dca5cb6233787738ad6832900000000000000000000000020f780a973856b93f63670377900c1d2a50a77c4000000000000000000000000a42f6cada809bcf417deefbdd69c5c5a909249c0000000000000000000000000b47e3cd837ddf8e4c57f05d70ab865de6e193bbb0000000000000000000000000000000000e655fae4d56241588680f86e3b2377000000000000000000000000ea37093ce161f090e443f304e1bf3a8f14d7bb400000000000000000000000000554f068365ed43dcc98dcd7fd7a8208a5638c72000000000000000000000000f4d2888d29d722226fafa5d9b24f9164c092421e0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f98496e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/cc9cad8ab0fe8058091f4d39e9655bf1f2f94851b79eda6e0b5748c1dc961c90 b/tests/cachedrpc/cc9cad8ab0fe8058091f4d39e9655bf1f2f94851b79eda6e0b5748c1dc961c90 new file mode 100644 index 00000000..54c54bc3 --- /dev/null +++ b/tests/cachedrpc/cc9cad8ab0fe8058091f4d39e9655bf1f2f94851b79eda6e0b5748c1dc961c90 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad","contractCreator":"0x946e9c780f3c79d80e51e68d259d0d7e794f2124","txHash":"0x8262d7c12366abc7282b0bc5ad2e7376309eb72f07af6fa0ab1c82ad3d13555b","blockNumber":"17143817","timestamp":"1682675111","contractFactory":"","creationBytecode":"0x34620003ed576001600160401b0362004a2e38819003610300601f8201601f191681019084821190821017620003d7576102809282916040526103003912620003ed57604051610280810191821181831017620003d757610260916040526200006a610300620003f2565b8082526200007a610320620003f2565b60208301526200008c610340620003f2565b60408301526200009e610360620003f2565b6060830152620000b0610380620003f2565b6080830152620000c26103a0620003f2565b60a0830152620000d46103c0620003f2565b60c0830152620000e66103e0620003f2565b60e0830152620000f8610400620003f2565b6101008301526200010b610420620003f2565b6101208301526200011e610440620003f2565b61014083015262000131610460620003f2565b61016083015262000144610480620003f2565b610180830152620001576104a0620003f2565b6101a08301526200016a6104c0620003f2565b6101c08301526200017d6104e0620003f2565b6101e083015262000190610500620003f2565b610200830152620001a3610520620003f2565b610220838101918252610540516102408086019182526103008701518787019081526001600160a01b0395861660a09081526020880151871660809081526040808a0151891660c090815260608b01518a1660e0908152928b01518a16610100908152938b01518a16610120908152908b01518a16610140908152928b01518a16610160908152938b01518a16610180908152908b01518a166101a0908152928b01518a166101c0908152938b01518a166101e0908152908b01518a16610200908152908b01518a16909752918901518816909352918701518616909752919094015183166102805292516102a05251166102c05290516102e052600019600055600180546001600160a01b031916811790555161462662000408823960805181818161213e01526122c5015260a0518181816113580152818161145801528181611fb7015281816124dd01526139eb015260c051816127fb015260e051816131b101526101005181613391015261012051816128af015261014051818181612d590152612e5b01526101605181612f69015261018051818181612dac015261349301526101a0518161314801526101c05181612e0301526101e051816128ed0152610200518161285801526102205181610510015261024051816104b40152610260518161059801526102805181818161193901528181611d490152613edf01526102a05181818161191801528181611d280152613ebe01526102c0518161441c01526102e051816143fa015261462690f35b634e487b7160e01b600052604160045260246000fd5b600080fd5b51906001600160a01b0382168203620003ed5756fe60a0604081815260049081361015610022575b505050361561002057600080fd5b005b600092833560e01c90816301ffc9a71461093d57508063150b7a02146108af57806324856bc3146107e85780633593564c146106b1578063709a1cc21461044f578063bc197c811461038a578063f23a6e61146102f95763fa461e330361001257346102f55760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102f557813590602435926044359067ffffffffffffffff918281116102f1576100db9036908301610a97565b919092878613908115806102e7575b6102bf5783850186868203126102bb5785359182116102bb5761010e9186016136d0565b5060208401359373ffffffffffffffffffffffffffffffffffffffff938486168096036102bb5761013e9161415a565b959097602b89106102935786359260178460601c98019561016d62ffffff883560601c9660481c16868b614365565b3391160361026b571561026157508186105b15610197575050505061019493503391613ac2565b80f35b9395945091929091906042871061021b5750505083601711610217577f8000000000000000000000000000000000000000000000000000000000000000821015610217577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe961021194019161020c33916141b5565b6141e2565b50505080f35b8480fd5b91969550929391508454841161023957506101949394503391613ac2565b8590517f739dbe52000000000000000000000000000000000000000000000000000000008152fd5b965085821061017f565b8483517f32b13d91000000000000000000000000000000000000000000000000000000008152fd5b8382517f3b99b53d000000000000000000000000000000000000000000000000000000008152fd5b8980fd5b8286517f316cf0eb000000000000000000000000000000000000000000000000000000008152fd5b50888813156100ea565b8680fd5b8280fd5b5082346103875760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261038757610332610a2b565b5061033b610a53565b506084359067ffffffffffffffff8211610387575060209261035f91369101610a97565b5050517ff23a6e61000000000000000000000000000000000000000000000000000000008152f35b80fd5b5082346103875760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610387576103c3610a2b565b506103cc610a53565b5067ffffffffffffffff9060443582811161044b576103ee9036908601610ac5565b505060643582811161044b576104079036908601610ac5565b5050608435918211610387575060209261042391369101610a97565b5050517fbc197c81000000000000000000000000000000000000000000000000000000008152f35b5080fd5b50346102f557602090817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126106ad5783833567ffffffffffffffff811161044b576104a1829136908701610a97565b90818551928392833781018381520390827f00000000000000000000000000000000000000000000000000000000000000005af16104dd613675565b50156106855780517f70a082310000000000000000000000000000000000000000000000000000000081523084820152907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168383602481845afa92831561067b578693610646575b5081517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169581019586526020860184905294849186918290899082906040015b03925af193841561063c577f1e8f03f716bc104bf7d728131967a0c771e85ab54d09c1e2d6ed9e0bc4e2a16c9461060f575b5051908152a180f35b61062e90843d8611610635575b61062681836135fa565b81019061388d565b5038610606565b503d61061c565b81513d87823e3d90fd5b9092508381813d8311610674575b61065e81836135fa565b810103126106705751916105d461055b565b8580fd5b503d610654565b82513d88823e3d90fd5b9050517f7d529919000000000000000000000000000000000000000000000000000000008152fd5b8380fd5b5060607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102f55767ffffffffffffffff8235818111610217576106fb9036908501610a97565b91602435908111610670576107139036908601610ac5565b92909160443542116107c0573330146107b1576001958654958773ffffffffffffffffffffffffffffffffffffffff88160361078b5750509185949391610782937fffffffffffffffffffffffff00000000000000000000000000000000000000009586339116178755610b54565b81541617905580f35b517f6f5ffb7e000000000000000000000000000000000000000000000000000000008152fd5b90919293506101949450610b54565b8585517f5bf6f916000000000000000000000000000000000000000000000000000000008152fd5b50807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102f55767ffffffffffffffff8235818111610217576108319036908501610a97565b91602435908111610670576108499036908601610ac5565b9290913330146107b1576001958654958773ffffffffffffffffffffffffffffffffffffffff88160361078b5750509185949391610782937fffffffffffffffffffffffff00000000000000000000000000000000000000009586339116178755610b54565b5082346103875760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610387576108e8610a2b565b506108f1610a53565b506064359067ffffffffffffffff8211610387575060209261091591369101610a97565b5050517f150b7a02000000000000000000000000000000000000000000000000000000008152f35b849084346102f55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102f557357fffffffff0000000000000000000000000000000000000000000000000000000081168091036102f557602092507f4e2312e0000000000000000000000000000000000000000000000000000000008114908115610a01575b81156109d7575b5015158152f35b7f01ffc9a700000000000000000000000000000000000000000000000000000000915014836109d0565b7f150b7a0200000000000000000000000000000000000000000000000000000000811491506109c9565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610a4e57565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610a4e57565b359073ffffffffffffffffffffffffffffffffffffffff82168203610a4e57565b9181601f84011215610a4e5782359167ffffffffffffffff8311610a4e5760208381860195010111610a4e57565b9181601f84011215610a4e5782359167ffffffffffffffff8311610a4e576020808501948460051b010111610a4e57565b919082519283825260005b848110610b405750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006020809697860101520116010190565b602081830181015184830182015201610b01565b9192909260805282810361350d5791906000905b828210610b755750505050565b8382959394951015611b4c5760059282841b60805101357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe19182608051360301821215610a4e578160805101359767ffffffffffffffff8911610a4e576020836080510101988036038a13610a4e57606097603f90818989013560f81c166001976020821060001461317157506010808210156127b4575060088082101561187e57508061109157505050610c2a908a614198565b92909860a08560805101013560001461108757610c6173ffffffffffffffffffffffffffffffffffffffff600154169b5b35613854565b9960408660805101013585829d927f80000000000000000000000000000000000000000000000000000000000000008314610fcf575b50959c95505b7f8000000000000000000000000000000000000000000000000000000000000000811015610a4e5760428610610fc85730915b86602b11610a4e578d91601783013560601c9083359462ffffff8660601c96610d1573ffffffffffffffffffffffffffffffffffffffff92839260481c16868a614365565b169084881015610fac57806401000276a4965b602b60405199604060208c01528160608c015260808b0137600060ab8a015216604088015260a0875260c087019587871067ffffffffffffffff881117610f7d576040948288958688527f128acb080000000000000000000000000000000000000000000000000000000087521660c48a0152868a1060e48a01526101048901521661012487015260a06101448701528160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4088610deb610164820182610af6565b0301925af1928315610f71576000928394610f2f575b5050610e159310600014610f2857506141b5565b9a60428510610e5657309085601711610a4e5760177fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe991019501949b610c9d565b50985098606091969597949392509160805101013511610efe575b1580610ed1575b610e8a57506001019291929092610b68565b90610ecd60409283519384937f2c4029e9000000000000000000000000000000000000000000000000000000008552600485015260248401526044830190610af6565b0390fd5b507f8000000000000000000000000000000000000000000000000000000000000000828501351615610e78565b60046040517f39d35496000000000000000000000000000000000000000000000000000000008152fd5b90506141b5565b91929093506040843d604011610f69575b81610f4d604093866135fa565b8101031261038757505160e092909201519190610e1538610e01565b3d9150610f40565b6040513d6000823e3d90fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b8073fffd8963efd1fc6a506488495d951d5263988d2596610d28565b8b91610cd0565b60149192501061105d576020602491604051928380927f70a082310000000000000000000000000000000000000000000000000000000082523060048301523560601c5afa908115610f715760009161102b575b503880610c97565b906020823d602011611055575b81611045602093836135fa565b8101031261038757505138611023565b3d9150611038565b60046040517f3b99b53d000000000000000000000000000000000000000000000000000000008152fd5b610c61309b610c5b565b6001819d969d9b989794959a999b146000146111b7575050506040926110bf84836080510101359382614198565b608051840160a00135156111ab5760606110f273ffffffffffffffffffffffffffffffffffffffff600154169435613854565b946080510101356000557f8000000000000000000000000000000000000000000000000000000000000000851015610a4e576111319361020c866141b5565b9091901561119c5750611143906141b5565b0361117357507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000555b610e71565b600490517fd4e0248e000000000000000000000000000000000000000000000000000000008152fd5b6111a691506141b5565b611143565b60606110f23094610c5b565b9194929391600281036112065750505061116e925073ffffffffffffffffffffffffffffffffffffffff600154166111ff604060608560805101013594608051010135613854565b91356139d0565b9193916003810361157857505060805181018084019390604090850312610a4e57823567ffffffffffffffff8111610a4e5782608051010192606084860312610a4e57604051946060860186811067ffffffffffffffff821117610f7d57604052602085013567ffffffffffffffff8111610a4e57850160208201809882011215610a4e5760208101359061129a826136a5565b926112a860405194856135fa565b8284526040602085019360071b830101918a8311610a4e57604001925b828410611513575050505085526112de60408501610a76565b956020860196875260606040870195013585526040846080510101359067ffffffffffffffff8211610a4e57602061131f92611325966080510101016136d0565b5061417b565b909173ffffffffffffffffffffffffffffffffffffffff600154169473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163b15610a4e5794929391906040519586947f2a2d80d100000000000000000000000000000000000000000000000000000000865260048601526060602486015260c48501935193606060648701528451809152602060e487019501906000905b80821061149a575050509461143e9285949273ffffffffffffffffffffffffffffffffffffffff600098511660848701525160a48601527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc858403016044860152613537565b03818373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af18015610f715761148b575b50610e71565b61149490613576565b38611485565b9197965091929394602060806001928a5173ffffffffffffffffffffffffffffffffffffffff815116825273ffffffffffffffffffffffffffffffffffffffff848201511684830152606065ffffffffffff918260408201511660408501520151166060820152019801920188969795949392916113d8565b608060208584030112610a4e5760206080916040516115318161358a565b61153a87610a76565b8152611547838801610a76565b83820152611557604088016136bd565b6040820152611568606088016136bd565b60608201528152019301926112c5565b600495509193508482036116e757505090916040606061159e8286608051010135613854565b608051909501013573ffffffffffffffffffffffffffffffffffffffff908116933516806116145750479283106115ee575050806115de575b5050610e71565b6115e7916144d1565b38806115d7565b517f6a12f104000000000000000000000000000000000000000000000000000000008152fd5b9391908051937f70a082310000000000000000000000000000000000000000000000000000000085523083860152602085602481895afa9485156116dc576000956116a8575b50841061168257505081611671575b505050610e71565b61167a9261453f565b388080611669565b517f675cae38000000000000000000000000000000000000000000000000000000008152fd5b90946020823d6020116116d4575b816116c3602093836135fa565b81010312610387575051933861165a565b3d91506116b6565b82513d6000823e3d90fd5b8103611714575061116e925061170d604060608460805101013593608051010135613854565b90356138a5565b9091906006810361184e57506080510160608101359060409061173990820135613854565b9282158015611843575b61181b573573ffffffffffffffffffffffffffffffffffffffff16938461177f57505061116e92506117786127109147613984565b04906144d1565b8151907f70a082310000000000000000000000000000000000000000000000000000000082523090820152602081602481885afa91821561181157506000916117dd575b506117d661116e94939261271092613984565b049161453f565b906020823d602011611809575b816117f7602093836135fa565b810103126103875750516117d66117c3565b3d91506117ea565b513d6000823e3d90fd5b8482517fdeaa01e6000000000000000000000000000000000000000000000000000000008152fd5b506127108311611743565b83602491604051917fd76a1e9e000000000000000000000000000000000000000000000000000000008352820152fd5b819d969d9b989794959a999b93929314600014611b85575050506040916118ad83836080510101359185614198565b92909460a082608051010135600014611b7b576118e373ffffffffffffffffffffffffffffffffffffffff600154169135613854565b908615611b4c576118f385613a94565b8760011015611b4c5761191561195d9161190f60208901613a94565b90613c34565b907f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613b2c565b938481611b32575b5050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860193868511611b03576119b9946119be73ffffffffffffffffffffffffffffffffffffffff9687928a85613a84565b613a94565b16948651947f70a082310000000000000000000000000000000000000000000000000000000091828752841693600499858b89015260249460208987818d5afa988915611af857600099611ac3575b509160209695949391611a1f93613cad565b8751968793849283528a8301525afa928315611ab857600093611a83575b50906060611a519260805101013592613ab5565b10611a5d575050610e71565b517f849eaf98000000000000000000000000000000000000000000000000000000008152fd5b90926020823d602011611ab0575b81611a9e602093836135fa565b81010312610387575051916060611a3d565b3d9150611a91565b84513d6000823e3d90fd5b90986020823d602011611af0575b81611ade602093836135fa565b81010312610387575051976020611a0d565b3d9150611ad1565b8b513d6000823e3d90fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b611b4492611b3f88613a94565b613ac2565b388084611965565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6118e33091610c5b565b919492939160098103611f66575050611b9e9082614198565b608051840160a0013515611f5c57611bcf73ffffffffffffffffffffffffffffffffffffffff600154169335613854565b92611bd9836136a5565b95611be760405197886135fa565b83875283901b820160208701368211610a4e5783905b828210611f44575050506000946002875110611f1a576040816080510101359680517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101908111611b035790815b611ca757505060805101606001358611611c7d578215611b4c5761116e9585611c7892611b3f85613a94565b613cad565b60046040517f8ab0bc16000000000000000000000000000000000000000000000000000000008152fd5b90977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89019750888811611b035773ffffffffffffffffffffffffffffffffffffffff611cf7611d6d9984613a70565b5116611d2373ffffffffffffffffffffffffffffffffffffffff611d1b8c86613a70565b511682613c34565b819a917f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613b2c565b90604051907f0902f1ac00000000000000000000000000000000000000000000000000000000825260608260048173ffffffffffffffffffffffffffffffffffffffff87165afa9a8b15610f7157600092839c611ed1575b5073ffffffffffffffffffffffffffffffffffffffff1603611eb7576dffffffffffffffffffffffffffff8091169916905b9880158015611eaf575b611e855782611e0f91613984565b916103e892838102938185041490151715611b0357611e2d91613ab5565b6103e590818102918183041490151715611b0357611e4a91613997565b60018101809111611b0357978015611b03577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019081611c4c565b60046040517f7b9c8916000000000000000000000000000000000000000000000000000000008152fd5b508115611e01565b6dffffffffffffffffffffffffffff998a16991690611df7565b611f0a919c5073ffffffffffffffffffffffffffffffffffffffff935060603d8111611f13575b611f0281836135fa565b810190613c77565b509b9092611dc5565b503d611ef8565b60046040517f20db8267000000000000000000000000000000000000000000000000000000008152fd5b60208091611f5184610a76565b815201910190611bfd565b611bcf3093610c5b565b92945091600a81036120cc5750608051830160e08101358101946020808701359450909291611f9991908703018461414d565b1161105d5773ffffffffffffffffffffffffffffffffffffffff93847f00000000000000000000000000000000000000000000000000000000000000001692856001541691843b15610a4e5760409587875198899687967f2b67b570000000000000000000000000000000000000000000000000000000008852600488015261202190610a76565b166024860152808883608051010161203890610a76565b16604486015265ffffffffffff808360805101606001612057906136bd565b166064870152826080510160800161206e906136bd565b166084860152816080510160a00161208590610a76565b1660a48501526080510160c0013560c484015261010060e48401526120b1916101048401918701613537565b03815a6000948591f1908115611811575061148b5750610e71565b600b8103612296575050506120eb604080926080510101359235613854565b91807f80000000000000000000000000000000000000000000000000000000000000008103612266575050475b8061212557505050610e71565b73ffffffffffffffffffffffffffffffffffffffff90817f000000000000000000000000000000000000000000000000000000000000000016803b15610a4e578351927fd0e30db0000000000000000000000000000000000000000000000000000000008452600493600081868187875af1801561225b5761224c575b5030908616036121b4575b5050611669565b6122139460006020948651978895869485937fa9059cbb00000000000000000000000000000000000000000000000000000000855284016020909392919373ffffffffffffffffffffffffffffffffffffffff60408201951681520152565b03925af1908115611811575061222d575b808080806121ad565b6122459060203d6020116106355761062681836135fa565b5038612224565b61225590613576565b386121a2565b86513d6000823e3d90fd5b47101561211857600482517f6a12f104000000000000000000000000000000000000000000000000000000008152fd5b600c810361242657505050906122ac9035613854565b9073ffffffffffffffffffffffffffffffffffffffff807f00000000000000000000000000000000000000000000000000000000000000001660408051937f70a08231000000000000000000000000000000000000000000000000000000008552600430818701526024916020878481885afa968715611ab8576000976123f2575b506080510183013586106123cb578561234e575b50505050505050610e71565b833b15610a4e57600091869183855196879485937f2e1a7d4d0000000000000000000000000000000000000000000000000000000085528401525af190811561181157506123bc575b5030908316036123ac575b8080808080612342565b6123b5916144d1565b38806123a2565b6123c590613576565b38612397565b82517f6a12f104000000000000000000000000000000000000000000000000000000008152fd5b90966020823d60201161241e575b8161240d602093836135fa565b81010312610387575051958361232e565b3d9150612400565b600d8103612681575082608051010191602083019360208260805101850312610a4e573567ffffffffffffffff8111610a4e57849160805101019182011215610a4e57602081013590612478826136a5565b93604093612488855196876135fa565b838652602086019285849560071b820101928311610a4e578501925b82841061261f575050505073ffffffffffffffffffffffffffffffffffffffff90816001541684519060005b8281106125b357505050817f00000000000000000000000000000000000000000000000000000000000000001691823b15610a4e5783517f0d58b1db000000000000000000000000000000000000000000000000000000008152602060048201529451602486018190528592604484019290916000915b81831061256f57505050509181600081819503925af1908115611811575061148b5750610e71565b91938395506080602091846060600195975182815116845282868201511686850152828d820151168d85015201511660608201520195019301909187949392612547565b81856125bf838a613a70565b515116036125f6577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611b03576001016124d0565b600486517fe7002877000000000000000000000000000000000000000000000000000000008152fd5b608060208584030112610a4e576020608091875161263c8161358a565b61264587610a76565b8152612652838801610a76565b83820152612661898801610a76565b8982015261267160608801610a76565b60608201528152019301926124a4565b9294505050600e810361278357506040918251907f70a0823100000000000000000000000000000000000000000000000000000000825260208260248173ffffffffffffffffffffffffffffffffffffffff806004983516888301528886608051010135165afa918215611ab85760009261274e575b5060805101606001351180159290612710575050610e71565b517fa3281672000000000000000000000000000000000000000000000000000000006020820152908152909150612746816135c2565b9038806115d7565b90916020823d60201161277b575b81612769602093836135fa565b810103126103875750519060606126f7565b3d915061275c565b602490604051907fd76a1e9e0000000000000000000000000000000000000000000000000000000082526004820152fd5b9150915060189b95939897999692949b808310600014612d435750810361282a5750505060009250906127e883928261417b565b81604051928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1612824613675565b90610e71565b6011810361288157505050600092509061284583928261417b565b81604051928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1612824613675565b601281036128d857505050600092509061289c83928261417b565b81604051928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1612824613675565b919392509060138103612a3e575050909150357f0000000000000000000000000000000000000000000000000000000000000000916040600080825160208101907f8264fe9800000000000000000000000000000000000000000000000000000000825260248781830152815261294e816135de565b5190606086608051010135885af192612965613675565b948415612a04578273ffffffffffffffffffffffffffffffffffffffff612993921694608051010135613854565b90833b15610a4e5782517f8b72a2ec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921660048301526024820152916000908390604490829084905af1908115611811575061148b5750610e71565b505091925050517fae9bdf0000000000000000000000000000000000000000000000000000000000602082015260048152612824816135c2565b60158103612b4f57505090604091828051917f6352211e0000000000000000000000000000000000000000000000000000000083526020836024816004976060816080510101358983015273ffffffffffffffffffffffffffffffffffffffff968791608051010135165afa928315612b4457600093612b05575b5081903516911614918215612acf575050610e71565b517f7dbe7e89000000000000000000000000000000000000000000000000000000006020820152908152909150612746816135c2565b6020939193813d602011612b3c575b81612b21602093836135fa565b8101031261044b575190828216820361038757509181612ab9565b3d9150612b14565b85513d6000823e3d90fd5b60168103612c765750506040918251907efdd58e00000000000000000000000000000000000000000000000000000000825260208280612bc160049660608660805101013590358884016020909392919373ffffffffffffffffffffffffffffffffffffffff60408201951681520152565b038173ffffffffffffffffffffffffffffffffffffffff8886608051010135165afa918215611ab857600092612c41575b5060809081510101351191821592612c0b575050610e71565b517f483a6929000000000000000000000000000000000000000000000000000000006020820152908152909150612746816135c2565b90916020823d602011612c6e575b81612c5c602093836135fa565b81010312610387575051906080612bf2565b3d9150612c4f565b909290601714612c87575050610e71565b60409073ffffffffffffffffffffffffffffffffffffffff612caf8383608051010135613854565b93351692833b15610a4e5782517f42842e0e00000000000000000000000000000000000000000000000000000000815260805130600483015273ffffffffffffffffffffffffffffffffffffffff909216602482015291016060013560448201529160009083908183816064810103925af19081156118115750612d34575b806115d7565b612d3d90613576565b38612d2e565b9396938214159050612d7e5750505061282492507f000000000000000000000000000000000000000000000000000000000000000091613717565b60198103612dd5575050506000925090612d9983928261417b565b81604051928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1612824613675565b601a8103612e2c575050506000925090612df083928261417b565b81604051928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1612824613675565b601b8103612f53575050506000612e4481928461417b565b9390604094818651928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1918291612e87613675565b92612e95575b505090610e71565b73ffffffffffffffffffffffffffffffffffffffff608083815101013516612ec4606084608051010135613854565b90825190612ed1826135a6565b60008252803b15610a4e57612f2d94600080948651978895869485937ff242432a00000000000000000000000000000000000000000000000000000000855260a060c0836080510101359260805101013590306004870161380f565b03925af19081156118115750612f44575b80612e8d565b612f4d90613576565b38612f3e565b91949091601c8103612f8e5750505061282492507f000000000000000000000000000000000000000000000000000000000000000091613717565b9193929091601d81036131175750506060816080510101359060409173ffffffffffffffffffffffffffffffffffffffff612fcf8484608051010135613854565b9435168351947efdd58e0000000000000000000000000000000000000000000000000000000086526004936020878061302e87308a84016020909392919373ffffffffffffffffffffffffffffffffffffffff60408201951681520152565b0381865afa96871561225b576000976130e2575b50608090815101013586106130ba57845161305c816135a6565b60008152823b15610a4e576000946130a486928851998a97889687957ff242432a0000000000000000000000000000000000000000000000000000000087523090870161380f565b03925af1908115611811575061148b5750610e71565b8385517f675cae38000000000000000000000000000000000000000000000000000000008152fd5b90966020823d60201161310f575b816130fd602093836135fa565b81010312610387575051956080613042565b3d91506130f0565b929450925050601e810361278357508161313560009392849361417b565b81604051928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1612824613675565b9499989a92506020819d9792969d989498146000146131da575050505050508061319e600093849361417b565b81604051928392833781018481520391357f00000000000000000000000000000000000000000000000000000000000000005af1612824613675565b602190808203613351575050505090916131ff6131f7868661415a565b96909561417b565b929061324160409788519760208901997f24856bc3000000000000000000000000000000000000000000000000000000008b5260248a01526064890191613537565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc878203016044880152818152602082818301951b82010195856000915b8483106132d357505050505050505091816132c5600094938594037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826135fa565b519082305af1612824613675565b90919293949596977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe085820301885288358284360301811215610a4e578301906020823592019167ffffffffffffffff8111610a4e578036038313610a4e5761334160209283928b95613537565b9a0198019695949301919061327f565b929750929593509350602281146000146127835750604080936080510101359060009060028310156134e1575050808491156000146134895750506000907f0000000000000000000000000000000000000000000000000000000000000000925b6020838251937f095ea7b3000000000000000000000000000000000000000000000000000000008552600496878601526024947fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff868201526044968792355af13d15601f3d1187600051141617161561342e5750505050610e71565b91600e7f415050524f56455f4641494c45440000000000000000000000000000000000009260206064969551957f08c379a0000000000000000000000000000000000000000000000000000000008752860152840152820152fd5b036134b8576000907f0000000000000000000000000000000000000000000000000000000000000000926133b2565b600482517f5461585f000000000000000000000000000000000000000000000000000000008152fd5b602492507f4e487b71000000000000000000000000000000000000000000000000000000008252600452fd5b60046040517fff633a38000000000000000000000000000000000000000000000000000000008152fd5b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b67ffffffffffffffff8111610f7d57604052565b6080810190811067ffffffffffffffff821117610f7d57604052565b6020810190811067ffffffffffffffff821117610f7d57604052565b6040810190811067ffffffffffffffff821117610f7d57604052565b6060810190811067ffffffffffffffff821117610f7d57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610f7d57604052565b67ffffffffffffffff8111610f7d57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b3d156136a0573d906136868261363b565b9161369460405193846135fa565b82523d6000602084013e565b606090565b67ffffffffffffffff8111610f7d5760051b60200190565b359065ffffffffffff82168203610a4e57565b81601f82011215610a4e578035906136e78261363b565b926136f560405194856135fa565b82845260208383010111610a4e57816000926020809301838601378301015290565b919290613724908361417b565b90938460405195869384378201906000958693838580955203918635905af19261374c613675565b9284613756575050565b73ffffffffffffffffffffffffffffffffffffffff60608201351661377e6040830135613854565b91813b156106ad576040517f42842e0e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff93909316602484015260800135604483015290919081908390606490829084905af190811561380357506137f85750565b61380190613576565b565b604051903d90823e3d90fd5b919261385195949160a09473ffffffffffffffffffffffffffffffffffffffff8092168552166020840152604083015260608201528160808201520190610af6565b90565b73ffffffffffffffffffffffffffffffffffffffff908082166001810361387e5750506001541690565b90915060020361385157503090565b90816020910312610a4e57518015158103610a4e5790565b9092919073ffffffffffffffffffffffffffffffffffffffff16806138cf575061380191926144d1565b7f80000000000000000000000000000000000000000000000000000000000000008214613902575b92613801929361453f565b9050604051927f70a08231000000000000000000000000000000000000000000000000000000008452306004850152602084602481855afa938415610f7157600094613951575b5092906138f7565b6020813d821161397c575b81613969602093836135fa565b8101031261021757519350613801613949565b3d915061395c565b81810292918115918404141715611b0357565b81156139a1570490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b919273ffffffffffffffffffffffffffffffffffffffff91827f00000000000000000000000000000000000000000000000000000000000000001693843b15610a4e5760009484869281608496816040519b8c9a8b997f36c78516000000000000000000000000000000000000000000000000000000008b521660048a01521660248801521660448601521660648401525af18015610f71576137f85750565b8051821015611b4c5760209160051b010190565b9190811015611b4c5760051b0190565b3573ffffffffffffffffffffffffffffffffffffffff81168103610a4e5790565b91908203918211611b0357565b92919073ffffffffffffffffffffffffffffffffffffffff8082163003613aee575050613801926138a5565b8084959411613b02576138019416926139d0565b60046040517fc4bd89a9000000000000000000000000000000000000000000000000000000008152fd5b9173ffffffffffffffffffffffffffffffffffffffff93613c2d916040519060208201927fffffffffffffffffffffffffffffffffffffffff000000000000000000000000809260601b16845260601b16603482015260288152613b8f816135de565b519020613c01604051938492602084019687917fffffffffffffffffffffffffffffffffffffffff000000000000000000000000605594927fff00000000000000000000000000000000000000000000000000000000000000855260601b166001840152601583015260358201520190565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826135fa565b5190201690565b73ffffffffffffffffffffffffffffffffffffffff8281169082161015613c585791565b9091565b51906dffffffffffffffffffffffffffff82168203610a4e57565b90816060910312610a4e57613c8b81613c5c565b916040613c9a60208401613c5c565b92015163ffffffff81168103610a4e5790565b9260028210614123578115611b4c57613cc584613a94565b9160019481861015611b4c5791613ce360209461190f868601613a94565b50926000935b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84018510613d1c575050505050505050565b613d2a6119b9868685613a84565b92613d3b6119b98a88018786613a84565b936040908151957f0902f1ac00000000000000000000000000000000000000000000000000000000875273ffffffffffffffffffffffffffffffffffffffff80941694606092600493808a86818b5afa998a1561225b57908d9594939291600091829c6140fd575b50508780916dffffffffffffffffffffffffffff8091169c16921692168214998a6000146140f7575b8651958680947f70a082310000000000000000000000000000000000000000000000000000000082528b8883015260249889915afa9283156140ec578e6000946140bb575b5050808303918115938480156140b3575b61408b57826103e5808602958604149114171561405e57613e439083613984565b926103e880830292830414171561403157613e689291613e629161414d565b90613997565b971561402957600097905b898b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe820181101561401d579161190f6119b9613eb9936002613f039c9601908d613a84565b8198917f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613b2c565b965b988551918d83019367ffffffffffffffff9484811086821117613ff057885260008452813b15610a4e5760008a93613f8382968b519c8d97889687957f022c0d9f0000000000000000000000000000000000000000000000000000000087528d8701528d860152166044840152608060648401526084830190610af6565b03925af18015611ab857908d969594939291613fa8575b505050505094019391613ce9565b909192938095965011613fc45750505287903880808080613f9a565b6041907f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b876041887f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b5050508b956000613f05565b600090613e73565b856011867f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b866011877f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b8689517f7b9c8916000000000000000000000000000000000000000000000000000000008152fd5b508115613e22565b8181959293953d83116140e5575b6140d381836135fa565b8101031261038757505191388e613e11565b503d6140c9565b87513d6000823e3d90fd5b90613dcc565b899c50899250908161411a92903d10611f1357611f0281836135fa565b509b9091613da3565b60046040517fae52ad0c000000000000000000000000000000000000000000000000000000008152fd5b91908201809211611b0357565b91823583019161417460208435958186019503018561414d565b1161105d57565b91602083013583019161417460208435958186019503018561414d565b91606083013583019161417460208435958186019503018561414d565b7f80000000000000000000000000000000000000000000000000000000000000008114611b035760000390565b939193602b841061105d578462ffffff6000614267946142ee6142999935988960601c9a8b9a61423b601789013560601c9d8e109c73ffffffffffffffffffffffffffffffffffffffff9e8f998a9460481c1691614365565b16968b861461434a576401000276a49a5b60409d8e9b8c93845196879560208701526060860191613537565b91168b830152037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826135fa565b848851998a98899788967f128acb080000000000000000000000000000000000000000000000000000000088521660048701528c6024870152604486015216606484015260a0608484015260a4830190610af6565b03925af190811561433f576000938492614309575b50509192565b9080949250813d8311614338575b61432181836135fa565b810103126103875750602082519201513880614303565b503d614317565b83513d6000823e3d90fd5b73fffd8963efd1fc6a506488495d951d5263988d259a61424c565b73ffffffffffffffffffffffffffffffffffffffff92838316848316116144c9575b62ffffff90846040519481602087019516855216604085015216606083015260608252608082019082821067ffffffffffffffff831117610f7d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80613c2d9183604052845190209361449c60a08201957f0000000000000000000000000000000000000000000000000000000000000000907f000000000000000000000000000000000000000000000000000000000000000088917fffffffffffffffffffffffffffffffffffffffff000000000000000000000000605594927fff00000000000000000000000000000000000000000000000000000000000000855260601b166001840152601583015260358201520190565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff608101845201826135fa565b909190614387565b600080809381935af1156144e157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4554485f5452414e534645525f4641494c4544000000000000000000000000006044820152fd5b60009182604492602095604051937fa9059cbb000000000000000000000000000000000000000000000000000000008552600485015260248401525af13d15601f3d116001600051141617161561459257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5452414e534645525f4641494c454400000000000000000000000000000000006044820152fdfea2646970667358221220b2d6a39827110492aaa15cba3556e23894a51f2f635dc99ae66d21764ad4d90b64736f6c63430008110033000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000adc04c56bf30ac9d3c0aaf14dc00000000000000000000000000000000000001ad428e4906ae43d8f9852d0dd60000000000000000000000001e0049783f008a0085193e00003d00cd54003c71000000000000000000000000941a6d105802cccaa06de58a13a6f49ebdcd481c00000000000000000000000074312363e45dcaba76c59ec49a7aa8a65a67eed3000000000000000000000000cda72070e455bb31c7690a170224ce43623d0b6f0000000000000000000000002b2e8cda09bba9660dca5cb6233787738ad6832900000000000000000000000020f780a973856b93f63670377900c1d2a50a77c4000000000000000000000000a42f6cada809bcf417deefbdd69c5c5a909249c0000000000000000000000000b47e3cd837ddf8e4c57f05d70ab865de6e193bbb0000000000000000000000000000000000e655fae4d56241588680f86e3b2377000000000000000000000000ea37093ce161f090e443f304e1bf3a8f14d7bb400000000000000000000000000554f068365ed43dcc98dcd7fd7a8208a5638c72000000000000000000000000f4d2888d29d722226fafa5d9b24f9164c092421e0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f98496e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"}]} \ No newline at end of file diff --git a/tests/cachedrpc/cd4a0c56bd7d82c4d0b063555a56b934a54ad4464bd42d395575d8ff8a46cfed b/tests/cachedrpc/cd4a0c56bd7d82c4d0b063555a56b934a54ad4464bd42d395575d8ff8a46cfed new file mode 100644 index 00000000..81b4d6f6 --- /dev/null +++ b/tests/cachedrpc/cd4a0c56bd7d82c4d0b063555a56b934a54ad4464bd42d395575d8ff8a46cfed @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xac3e018457b222d93114458476f3e3416abbe38f","contractCreator":"0x4600d3b12c39af925c2c07c487d31d17c1e32a35","txHash":"0xd78dbe6cba652eb844de5aa473636c202fb6366c1bfc5ff8d5a26c1a24b37b07","blockNumber":"15686046","timestamp":"1665022895","contractFactory":"","creationBytecode":"0x6101206040523480156200001257600080fd5b506040516200217a3803806200217a833981016040819052620000359162000257565b80826040518060400160405280601181526020017029ba30b5b2b210233930bc1022ba3432b960791b815250604051806040016040528060078152602001660e6cce4f08aa8960cb1b8152508181846001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000e89190620002a9565b6000620000f684826200037a565b5060016200010583826200037a565b5060ff81166080524660a0526200011b620001a3565b60c052505050506001600160a01b039190911660e0525063ffffffff81166101008190528062000157426200023f602090811b62000fc717901c565b62000163919062000446565b6200016f919062000478565b6006805463ffffffff929092166401000000000263ffffffff60201b19909216919091179055505060016008555062000531565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620001d79190620004b3565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600064010000000082106200025357600080fd5b5090565b600080604083850312156200026b57600080fd5b82516001600160a01b03811681146200028357600080fd5b602084015190925063ffffffff811681146200029e57600080fd5b809150509250929050565b600060208284031215620002bc57600080fd5b815160ff81168114620002ce57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030057607f821691505b6020821081036200032157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037557600081815260208120601f850160051c81016020861015620003505750805b601f850160051c820191505b8181101562000371578281556001016200035c565b5050505b505050565b81516001600160401b03811115620003965762000396620002d5565b620003ae81620003a78454620002eb565b8462000327565b602080601f831160018114620003e65760008415620003cd5750858301515b600019600386901b1c1916600185901b17855562000371565b600085815260208120601f198616915b828110156200041757888601518255948401946001909101908401620003f6565b5085821015620004365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600063ffffffff808416806200046c57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600063ffffffff80831681851681830481118215151615620004aa57634e487b7160e01b600052601160045260246000fd5b02949350505050565b6000808354620004c381620002eb565b60018281168015620004de5760018114620004f45762000525565b60ff198416875282151583028701945062000525565b8760005260208060002060005b858110156200051c5781548a82015290840190820162000501565b50505082870194505b50929695505050505050565b60805160a05160c05160e05161010051611bc5620005b560003960008181610390015281816109e501528181610a2c0152610a710152600081816102f10152818161094201528181610b7b0152818161111c015281816112230152818161138c01526114d80152600061086d01526000610838015260006102b00152611bc56000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806375e077c311610125578063bafedcaa116100ad578063d505accf1161007c578063d505accf146104d6578063d905777e146104e9578063dd62ed3e14610512578063e7ff69f11461053d578063ef8b30f71461055457600080fd5b8063bafedcaa1461047e578063c63d75b61461032b578063c6e6f592146104b0578063ce96cb77146104c357600080fd5b806399530b06116100f457806399530b061461042a578063a9059cbb14610432578063b3d7f6b914610445578063b460af9414610458578063ba0876521461046b57600080fd5b806375e077c3146103dc5780637ecebe00146103ef57806394bf804d1461040f57806395d89b411461042257600080fd5b80633644e515116101a85780636917516b116101775780636917516b146103535780636e553f65146103785780636fcf5e5f1461038b57806370a08231146103b257806372c0c211146103d257600080fd5b80633644e515146102e457806338d52e0f146102ec578063402d267d1461032b5780634cdad5061461034057600080fd5b80630a28a477116101e45780630a28a4771461027c57806318160ddd1461028f57806323b872dd14610298578063313ce567146102ab57600080fd5b806301e1d1141461021657806306fdde031461023157806307a2d13a14610246578063095ea7b314610259575b600080fd5b61021e610567565b6040519081526020015b60405180910390f35b61023961060c565b6040516102289190611702565b61021e610254366004611750565b61069a565b61026c610267366004611785565b6106c7565b6040519015158152602001610228565b61021e61028a366004611750565b610734565b61021e60025481565b61026c6102a63660046117af565b610754565b6102d27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610228565b61021e610834565b6103137f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610228565b61021e6103393660046117eb565b5060001990565b61021e61034e366004611750565b61088f565b6006546103639063ffffffff1681565b60405163ffffffff9091168152602001610228565b61021e610386366004611806565b61089a565b6103637f000000000000000000000000000000000000000000000000000000000000000081565b61021e6103c03660046117eb565b60036020526000908152604090205481565b6103da6108c5565b005b61021e6103ea366004611843565b610b1d565b61021e6103fd3660046117eb565b60056020526000908152604090205481565b61021e61041d366004611806565b610c01565b610239610c2c565b61021e610c39565b61026c610440366004611785565b610c4c565b61021e610453366004611750565b610cb2565b61021e6104663660046118b4565b610cd1565b61021e6104793660046118b4565b610d05565b60065461049890600160401b90046001600160c01b031681565b6040516001600160c01b039091168152602001610228565b61021e6104be366004611750565b610d31565b61021e6104d13660046117eb565b610d51565b6103da6104e43660046118f0565b610d73565b61021e6104f73660046117eb565b6001600160a01b031660009081526003602052604090205490565b61021e61052036600461193e565b600460209081526000928352604080842090915290825290205481565b60065461036390600160201b900463ffffffff1681565b61021e610562366004611750565b610fbc565b600754600654600091906001600160c01b03600160401b8204169063ffffffff600160201b8204811691164282116105b5576105ac6001600160c01b0384168561197e565b94505050505090565b60006105c18284611991565b63ffffffff168263ffffffff16426105d991906119b5565b6105ec906001600160c01b0387166119c8565b6105f691906119fd565b9050610602818661197e565b9550505050505090565b6000805461061990611a11565b80601f016020809104026020016040519081016040528092919081815260200182805461064590611a11565b80156106925780601f1061066757610100808354040283529160200191610692565b820191906000526020600020905b81548152906001019060200180831161067557829003601f168201915b505050505081565b60025460009080156106be576106b96106b1610567565b849083610fdd565b6106c0565b825b9392505050565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107229086815260200190565b60405180910390a35060015b92915050565b60025460009080156106be576106b98161074c610567565b859190610ffc565b6001600160a01b038316600090815260046020908152604080832033845290915281205460001981146107b05761078b83826119b5565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906107d89084906119b5565b90915550506001600160a01b0380851660008181526003602052604090819020805487019055519091871690600080516020611b70833981519152906108219087815260200190565b60405180910390a3506001949350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461461086a5761086561102a565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b600061072e8261069a565b600654600090600160201b900463ffffffff1642106108bb576108bb6108c5565b6106c083836110c4565b600654600160401b90046001600160c01b031660006108e342610fc7565b60065490915063ffffffff600160201b9091048116908216101561091a5760405163127d33e760e21b815260040160405180910390fd5b6007546040516370a0823160e01b81523060048201526000906001600160c01b0385169083907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b59190611a4b565b6109bf91906119b5565b6109c991906119b5565b90506109de6001600160c01b0385168361197e565b60075560007f000000000000000000000000000000000000000000000000000000000000000080610a0f8187611a64565b610a199190611a81565b610a239190611aa4565b9050610a5060147f0000000000000000000000000000000000000000000000000000000000000000611a81565b63ffffffff16610a608583611991565b63ffffffff161015610a9957610a967f000000000000000000000000000000000000000000000000000000000000000082611a64565b90505b610aa28261119e565b63ffffffff828116600160201b81026001600160c01b0393909316600160401b0267ffffffffffffffff191691871691909117919091176006556040517f2fa39aac60d1c94cda4ab0e86ae9c0ffab5b926e5b827a4ccba1d9b5b2ef596e90610b0e9085815260200190565b60405180910390a25050505050565b6000610b276111b0565b600085610b345788610b38565b6000195b60405163d505accf60e01b8152336004820152306024820152604481018290526064810189905260ff8716608482015260a4810186905260c481018590529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d505accf9060e401600060405180830381600087803b158015610bc757600080fd5b505af1158015610bdb573d6000803e3d6000fd5b50505050610be9898961089a565b915050610bf66001600855565b979650505050505050565b600654600090600160201b900463ffffffff164210610c2257610c226108c5565b6106c08383611209565b6001805461061990611a11565b6000610865670de0b6b3a764000061069a565b33600090815260036020526040812080548391908390610c6d9084906119b5565b90915550506001600160a01b03831660008181526003602052604090819020805485019055513390600080516020611b70833981519152906107229086815260200190565b60025460009080156106be576106b9610cc9610567565b849083610ffc565b600654600090600160201b900463ffffffff164210610cf257610cf26108c5565b610cfd8484846112a5565b949350505050565b600654600090600160201b900463ffffffff164210610d2657610d266108c5565b610cfd8484846113b3565b60025460009080156106be576106b981610d49610567565b859190610fdd565b6001600160a01b03811660009081526003602052604081205461072e9061069a565b42841015610dc85760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b60006001610dd4610834565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610ee0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f165750876001600160a01b0316816001600160a01b0316145b610f535760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610dbf565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b600061072e82610d31565b6000600160201b8210610fd957600080fd5b5090565b828202811515841585830485141716610ff557600080fd5b0492915050565b82820281151584158583048514171661101457600080fd5b6001826001830304018115150290509392505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405161105c9190611ad0565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b60006110cf83610fbc565b90508060000361110f5760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f53484152455360a81b6044820152606401610dbf565b6111446001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330866114ff565b61114e8282611589565b60408051848152602081018390526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361072e83826115e3565b6000600160c01b8210610fd957600080fd5b6002600854036112025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610dbf565b6002600855565b600061121483610cb2565b905061124b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846114ff565b6112558284611589565b60408051828152602081018590526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361072e81846115e3565b60006112b084610734565b9050336001600160a01b03831614611320576001600160a01b0382166000908152600460209081526040808320338452909152902054600019811461131e576112f982826119b5565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b61132a8482611607565b6113348282611622565b60408051858152602081018390526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a46106c06001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168486611684565b6000336001600160a01b03831614611423576001600160a01b03821660009081526004602090815260408083203384529091529020546000198114611421576113fc85826119b5565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b61142c8461088f565b90508060000361146c5760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f41535345545360a81b6044820152606401610dbf565b6114768185611607565b6114808285611622565b60408051828152602081018690526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a46106c06001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168483611684565b60006040516323b872dd60e01b81528460048201528360248201528260448201526020600060648360008a5af13d15601f3d11600160005114161716915050806115825760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b6044820152606401610dbf565b5050505050565b806002600082825461159b919061197e565b90915550506001600160a01b038216600081815260036020908152604080832080548601905551848152600080516020611b7083398151915291015b60405180910390a35050565b81600760008282546115f5919061197e565b909155506116039050828282565b5050565b816007600082825461161991906119b5565b90915550505050565b6001600160a01b0382166000908152600360205260408120805483929061164a9084906119b5565b90915550506002805482900390556040518181526000906001600160a01b03841690600080516020611b70833981519152906020016115d7565b600060405163a9059cbb60e01b8152836004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806116fc5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610dbf565b50505050565b600060208083528351808285015260005b8181101561172f57858101830151858201604001528201611713565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561176257600080fd5b5035919050565b80356001600160a01b038116811461178057600080fd5b919050565b6000806040838503121561179857600080fd5b6117a183611769565b946020939093013593505050565b6000806000606084860312156117c457600080fd5b6117cd84611769565b92506117db60208501611769565b9150604084013590509250925092565b6000602082840312156117fd57600080fd5b6106c082611769565b6000806040838503121561181957600080fd5b8235915061182960208401611769565b90509250929050565b803560ff8116811461178057600080fd5b600080600080600080600060e0888a03121561185e57600080fd5b8735965061186e60208901611769565b9550604088013594506060880135801515811461188a57600080fd5b935061189860808901611832565b925060a0880135915060c0880135905092959891949750929550565b6000806000606084860312156118c957600080fd5b833592506118d960208501611769565b91506118e760408501611769565b90509250925092565b600080600080600080600060e0888a03121561190b57600080fd5b61191488611769565b965061192260208901611769565b9550604088013594506060880135935061189860808901611832565b6000806040838503121561195157600080fd5b61195a83611769565b915061182960208401611769565b634e487b7160e01b600052601160045260246000fd5b8082018082111561072e5761072e611968565b63ffffffff8281168282160390808211156119ae576119ae611968565b5092915050565b8181038181111561072e5761072e611968565b60008160001904831182151516156119e2576119e2611968565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611a0c57611a0c6119e7565b500490565b600181811c90821680611a2557607f821691505b602082108103611a4557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a5d57600080fd5b5051919050565b63ffffffff8181168382160190808211156119ae576119ae611968565b600063ffffffff80841680611a9857611a986119e7565b92169190910492915050565b600063ffffffff80831681851681830481118215151615611ac757611ac7611968565b02949350505050565b600080835481600182811c915080831680611aec57607f831692505b60208084108203611b0b57634e487b7160e01b86526022600452602486fd5b818015611b1f5760018114611b3457611b61565b60ff1986168952841515850289019650611b61565b60008a81526020902060005b86811015611b595781548b820152908501908301611b40565b505084890196505b50949897505050505050505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212208f059a8438b52331181933efb862ac2366df392bb2272ddf39f886897590616564736f6c634300081000330000000000000000000000005e8422345238f34275888049021821e8e08caa1f0000000000000000000000000000000000000000000000000000000000093a80"}]} \ No newline at end of file diff --git a/tests/cachedrpc/ce09c139cf744a9e56164bce37d8c08a1d9a1c4ddea5f6c8c178a075a756d7dc b/tests/cachedrpc/ce09c139cf744a9e56164bce37d8c08a1d9a1c4ddea5f6c8c178a075a756d7dc new file mode 100644 index 00000000..99c2cf4c --- /dev/null +++ b/tests/cachedrpc/ce09c139cf744a9e56164bce37d8c08a1d9a1c4ddea5f6c8c178a075a756d7dc @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.4.17;\r\n\r\n/**\r\n * @title SafeMath\r\n * @dev Math operations with safety checks that throw on error\r\n */\r\nlibrary SafeMath {\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) {\r\n return 0;\r\n }\r\n uint256 c = a * b;\r\n assert(c / a == b);\r\n return c;\r\n }\r\n\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n // assert(b > 0); // Solidity automatically throws when dividing by 0\r\n uint256 c = a / b;\r\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\r\n return c;\r\n }\r\n\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n assert(b <= a);\r\n return a - b;\r\n }\r\n\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n assert(c >= a);\r\n return c;\r\n }\r\n}\r\n\r\n/**\r\n * @title Ownable\r\n * @dev The Ownable contract has an owner address, and provides basic authorization control\r\n * functions, this simplifies the implementation of \"user permissions\".\r\n */\r\ncontract Ownable {\r\n address public owner;\r\n\r\n /**\r\n * @dev The Ownable constructor sets the original `owner` of the contract to the sender\r\n * account.\r\n */\r\n function Ownable() public {\r\n owner = msg.sender;\r\n }\r\n\r\n /**\r\n * @dev Throws if called by any account other than the owner.\r\n */\r\n modifier onlyOwner() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\r\n * @param newOwner The address to transfer ownership to.\r\n */\r\n function transferOwnership(address newOwner) public onlyOwner {\r\n if (newOwner != address(0)) {\r\n owner = newOwner;\r\n }\r\n }\r\n\r\n}\r\n\r\n/**\r\n * @title ERC20Basic\r\n * @dev Simpler version of ERC20 interface\r\n * @dev see https://github.com/ethereum/EIPs/issues/20\r\n */\r\ncontract ERC20Basic {\r\n uint public _totalSupply;\r\n function totalSupply() public constant returns (uint);\r\n function balanceOf(address who) public constant returns (uint);\r\n function transfer(address to, uint value) public;\r\n event Transfer(address indexed from, address indexed to, uint value);\r\n}\r\n\r\n/**\r\n * @title ERC20 interface\r\n * @dev see https://github.com/ethereum/EIPs/issues/20\r\n */\r\ncontract ERC20 is ERC20Basic {\r\n function allowance(address owner, address spender) public constant returns (uint);\r\n function transferFrom(address from, address to, uint value) public;\r\n function approve(address spender, uint value) public;\r\n event Approval(address indexed owner, address indexed spender, uint value);\r\n}\r\n\r\n/**\r\n * @title Basic token\r\n * @dev Basic version of StandardToken, with no allowances.\r\n */\r\ncontract BasicToken is Ownable, ERC20Basic {\r\n using SafeMath for uint;\r\n\r\n mapping(address => uint) public balances;\r\n\r\n // additional variables for use if transaction fees ever became necessary\r\n uint public basisPointsRate = 0;\r\n uint public maximumFee = 0;\r\n\r\n /**\r\n * @dev Fix for the ERC20 short address attack.\r\n */\r\n modifier onlyPayloadSize(uint size) {\r\n require(!(msg.data.length < size + 4));\r\n _;\r\n }\r\n\r\n /**\r\n * @dev transfer token for a specified address\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n */\r\n function transfer(address _to, uint _value) public onlyPayloadSize(2 * 32) {\r\n uint fee = (_value.mul(basisPointsRate)).div(10000);\r\n if (fee > maximumFee) {\r\n fee = maximumFee;\r\n }\r\n uint sendAmount = _value.sub(fee);\r\n balances[msg.sender] = balances[msg.sender].sub(_value);\r\n balances[_to] = balances[_to].add(sendAmount);\r\n if (fee > 0) {\r\n balances[owner] = balances[owner].add(fee);\r\n Transfer(msg.sender, owner, fee);\r\n }\r\n Transfer(msg.sender, _to, sendAmount);\r\n }\r\n\r\n /**\r\n * @dev Gets the balance of the specified address.\r\n * @param _owner The address to query the the balance of.\r\n * @return An uint representing the amount owned by the passed address.\r\n */\r\n function balanceOf(address _owner) public constant returns (uint balance) {\r\n return balances[_owner];\r\n }\r\n\r\n}\r\n\r\n/**\r\n * @title Standard ERC20 token\r\n *\r\n * @dev Implementation of the basic standard token.\r\n * @dev https://github.com/ethereum/EIPs/issues/20\r\n * @dev Based oncode by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol\r\n */\r\ncontract StandardToken is BasicToken, ERC20 {\r\n\r\n mapping (address => mapping (address => uint)) public allowed;\r\n\r\n uint public constant MAX_UINT = 2**256 - 1;\r\n\r\n /**\r\n * @dev Transfer tokens from one address to another\r\n * @param _from address The address which you want to send tokens from\r\n * @param _to address The address which you want to transfer to\r\n * @param _value uint the amount of tokens to be transferred\r\n */\r\n function transferFrom(address _from, address _to, uint _value) public onlyPayloadSize(3 * 32) {\r\n var _allowance = allowed[_from][msg.sender];\r\n\r\n // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met\r\n // if (_value > _allowance) throw;\r\n\r\n uint fee = (_value.mul(basisPointsRate)).div(10000);\r\n if (fee > maximumFee) {\r\n fee = maximumFee;\r\n }\r\n if (_allowance < MAX_UINT) {\r\n allowed[_from][msg.sender] = _allowance.sub(_value);\r\n }\r\n uint sendAmount = _value.sub(fee);\r\n balances[_from] = balances[_from].sub(_value);\r\n balances[_to] = balances[_to].add(sendAmount);\r\n if (fee > 0) {\r\n balances[owner] = balances[owner].add(fee);\r\n Transfer(_from, owner, fee);\r\n }\r\n Transfer(_from, _to, sendAmount);\r\n }\r\n\r\n /**\r\n * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\r\n * @param _spender The address which will spend the funds.\r\n * @param _value The amount of tokens to be spent.\r\n */\r\n function approve(address _spender, uint _value) public onlyPayloadSize(2 * 32) {\r\n\r\n // To change the approve amount you first have to reduce the addresses`\r\n // allowance to zero by calling `approve(_spender, 0)` if it is not\r\n // already 0 to mitigate the race condition described here:\r\n // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n require(!((_value != 0) && (allowed[msg.sender][_spender] != 0)));\r\n\r\n allowed[msg.sender][_spender] = _value;\r\n Approval(msg.sender, _spender, _value);\r\n }\r\n\r\n /**\r\n * @dev Function to check the amount of tokens than an owner allowed to a spender.\r\n * @param _owner address The address which owns the funds.\r\n * @param _spender address The address which will spend the funds.\r\n * @return A uint specifying the amount of tokens still available for the spender.\r\n */\r\n function allowance(address _owner, address _spender) public constant returns (uint remaining) {\r\n return allowed[_owner][_spender];\r\n }\r\n\r\n}\r\n\r\n\r\n/**\r\n * @title Pausable\r\n * @dev Base contract which allows children to implement an emergency stop mechanism.\r\n */\r\ncontract Pausable is Ownable {\r\n event Pause();\r\n event Unpause();\r\n\r\n bool public paused = false;\r\n\r\n\r\n /**\r\n * @dev Modifier to make a function callable only when the contract is not paused.\r\n */\r\n modifier whenNotPaused() {\r\n require(!paused);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Modifier to make a function callable only when the contract is paused.\r\n */\r\n modifier whenPaused() {\r\n require(paused);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev called by the owner to pause, triggers stopped state\r\n */\r\n function pause() onlyOwner whenNotPaused public {\r\n paused = true;\r\n Pause();\r\n }\r\n\r\n /**\r\n * @dev called by the owner to unpause, returns to normal state\r\n */\r\n function unpause() onlyOwner whenPaused public {\r\n paused = false;\r\n Unpause();\r\n }\r\n}\r\n\r\ncontract BlackList is Ownable, BasicToken {\r\n\r\n /////// Getters to allow the same blacklist to be used also by other contracts (including upgraded Tether) ///////\r\n function getBlackListStatus(address _maker) external constant returns (bool) {\r\n return isBlackListed[_maker];\r\n }\r\n\r\n function getOwner() external constant returns (address) {\r\n return owner;\r\n }\r\n\r\n mapping (address => bool) public isBlackListed;\r\n \r\n function addBlackList (address _evilUser) public onlyOwner {\r\n isBlackListed[_evilUser] = true;\r\n AddedBlackList(_evilUser);\r\n }\r\n\r\n function removeBlackList (address _clearedUser) public onlyOwner {\r\n isBlackListed[_clearedUser] = false;\r\n RemovedBlackList(_clearedUser);\r\n }\r\n\r\n function destroyBlackFunds (address _blackListedUser) public onlyOwner {\r\n require(isBlackListed[_blackListedUser]);\r\n uint dirtyFunds = balanceOf(_blackListedUser);\r\n balances[_blackListedUser] = 0;\r\n _totalSupply -= dirtyFunds;\r\n DestroyedBlackFunds(_blackListedUser, dirtyFunds);\r\n }\r\n\r\n event DestroyedBlackFunds(address _blackListedUser, uint _balance);\r\n\r\n event AddedBlackList(address _user);\r\n\r\n event RemovedBlackList(address _user);\r\n\r\n}\r\n\r\ncontract UpgradedStandardToken is StandardToken{\r\n // those methods are called by the legacy contract\r\n // and they must ensure msg.sender to be the contract address\r\n function transferByLegacy(address from, address to, uint value) public;\r\n function transferFromByLegacy(address sender, address from, address spender, uint value) public;\r\n function approveByLegacy(address from, address spender, uint value) public;\r\n}\r\n\r\ncontract TetherToken is Pausable, StandardToken, BlackList {\r\n\r\n string public name;\r\n string public symbol;\r\n uint public decimals;\r\n address public upgradedAddress;\r\n bool public deprecated;\r\n\r\n // The contract can be initialized with a number of tokens\r\n // All the tokens are deposited to the owner address\r\n //\r\n // @param _balance Initial supply of the contract\r\n // @param _name Token Name\r\n // @param _symbol Token symbol\r\n // @param _decimals Token decimals\r\n function TetherToken(uint _initialSupply, string _name, string _symbol, uint _decimals) public {\r\n _totalSupply = _initialSupply;\r\n name = _name;\r\n symbol = _symbol;\r\n decimals = _decimals;\r\n balances[owner] = _initialSupply;\r\n deprecated = false;\r\n }\r\n\r\n // Forward ERC20 methods to upgraded contract if this one is deprecated\r\n function transfer(address _to, uint _value) public whenNotPaused {\r\n require(!isBlackListed[msg.sender]);\r\n if (deprecated) {\r\n return UpgradedStandardToken(upgradedAddress).transferByLegacy(msg.sender, _to, _value);\r\n } else {\r\n return super.transfer(_to, _value);\r\n }\r\n }\r\n\r\n // Forward ERC20 methods to upgraded contract if this one is deprecated\r\n function transferFrom(address _from, address _to, uint _value) public whenNotPaused {\r\n require(!isBlackListed[_from]);\r\n if (deprecated) {\r\n return UpgradedStandardToken(upgradedAddress).transferFromByLegacy(msg.sender, _from, _to, _value);\r\n } else {\r\n return super.transferFrom(_from, _to, _value);\r\n }\r\n }\r\n\r\n // Forward ERC20 methods to upgraded contract if this one is deprecated\r\n function balanceOf(address who) public constant returns (uint) {\r\n if (deprecated) {\r\n return UpgradedStandardToken(upgradedAddress).balanceOf(who);\r\n } else {\r\n return super.balanceOf(who);\r\n }\r\n }\r\n\r\n // Forward ERC20 methods to upgraded contract if this one is deprecated\r\n function approve(address _spender, uint _value) public onlyPayloadSize(2 * 32) {\r\n if (deprecated) {\r\n return UpgradedStandardToken(upgradedAddress).approveByLegacy(msg.sender, _spender, _value);\r\n } else {\r\n return super.approve(_spender, _value);\r\n }\r\n }\r\n\r\n // Forward ERC20 methods to upgraded contract if this one is deprecated\r\n function allowance(address _owner, address _spender) public constant returns (uint remaining) {\r\n if (deprecated) {\r\n return StandardToken(upgradedAddress).allowance(_owner, _spender);\r\n } else {\r\n return super.allowance(_owner, _spender);\r\n }\r\n }\r\n\r\n // deprecate current contract in favour of a new one\r\n function deprecate(address _upgradedAddress) public onlyOwner {\r\n deprecated = true;\r\n upgradedAddress = _upgradedAddress;\r\n Deprecate(_upgradedAddress);\r\n }\r\n\r\n // deprecate current contract if favour of a new one\r\n function totalSupply() public constant returns (uint) {\r\n if (deprecated) {\r\n return StandardToken(upgradedAddress).totalSupply();\r\n } else {\r\n return _totalSupply;\r\n }\r\n }\r\n\r\n // Issue a new amount of tokens\r\n // these tokens are deposited into the owner address\r\n //\r\n // @param _amount Number of tokens to be issued\r\n function issue(uint amount) public onlyOwner {\r\n require(_totalSupply + amount > _totalSupply);\r\n require(balances[owner] + amount > balances[owner]);\r\n\r\n balances[owner] += amount;\r\n _totalSupply += amount;\r\n Issue(amount);\r\n }\r\n\r\n // Redeem tokens.\r\n // These tokens are withdrawn from the owner address\r\n // if the balance must be enough to cover the redeem\r\n // or the call will fail.\r\n // @param _amount Number of tokens to be issued\r\n function redeem(uint amount) public onlyOwner {\r\n require(_totalSupply >= amount);\r\n require(balances[owner] >= amount);\r\n\r\n _totalSupply -= amount;\r\n balances[owner] -= amount;\r\n Redeem(amount);\r\n }\r\n\r\n function setParams(uint newBasisPoints, uint newMaxFee) public onlyOwner {\r\n // Ensure transparency by hardcoding limit beyond which fees can never be added\r\n require(newBasisPoints < 20);\r\n require(newMaxFee < 50);\r\n\r\n basisPointsRate = newBasisPoints;\r\n maximumFee = newMaxFee.mul(10**decimals);\r\n\r\n Params(basisPointsRate, maximumFee);\r\n }\r\n\r\n // Called when new token are issued\r\n event Issue(uint amount);\r\n\r\n // Called when tokens are redeemed\r\n event Redeem(uint amount);\r\n\r\n // Called when contract is deprecated\r\n event Deprecate(address newAddress);\r\n\r\n // Called if contract ever adds fees\r\n event Params(uint feeBasisPoints, uint maxFee);\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_upgradedAddress\",\"type\":\"address\"}],\"name\":\"deprecate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"deprecated\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_evilUser\",\"type\":\"address\"}],\"name\":\"addBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"upgradedAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maximumFee\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"_totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_maker\",\"type\":\"address\"}],\"name\":\"getBlackListStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowed\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"who\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newBasisPoints\",\"type\":\"uint256\"},{\"name\":\"newMaxFee\",\"type\":\"uint256\"}],\"name\":\"setParams\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"issue\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"basisPointsRate\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"isBlackListed\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_clearedUser\",\"type\":\"address\"}],\"name\":\"removeBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MAX_UINT\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_blackListedUser\",\"type\":\"address\"}],\"name\":\"destroyBlackFunds\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialSupply\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_decimals\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Issue\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"Deprecate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"feeBasisPoints\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"maxFee\",\"type\":\"uint256\"}],\"name\":\"Params\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_blackListedUser\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"DestroyedBlackFunds\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"AddedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"RemovedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"}]","ContractName":"TetherToken","CompilerVersion":"v0.4.18+commit.9cf6e910","CompilerType":"solc","OptimizationUsed":"0","Runs":"0","ConstructorArguments":"000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a546574686572205553440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553445400000000000000000000000000000000000000000000000000000000","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://645ee12d73db47fd78ba77fa1f824c3c8f9184061b3b10386beb4dc9236abb28","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/cfaf172f04dbbae73a437acca4f2d592924c911dd744d415ee94c1e9a7ae2b44 b/tests/cachedrpc/cfaf172f04dbbae73a437acca4f2d592924c911dd744d415ee94c1e9a7ae2b44 new file mode 100644 index 00000000..a941709a --- /dev/null +++ b/tests/cachedrpc/cfaf172f04dbbae73a437acca4f2d592924c911dd744d415ee94c1e9a7ae2b44 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x32400084c286cf3e17e7b677ea9583e60a000324","contractCreator":"0x29df43f75149d0552475a6f9b2ac96e28796ed0b","txHash":"0xba8357ad4ef5c48e120daf7c1569d90a803975958df777a4d8132dba6e8ef196","blockNumber":"16621828","timestamp":"1676315375","contractFactory":"0xce0042b868300000d44a59004da54a005ffdcf9f","creationBytecode":"0x60806040523480156200001157600080fd5b50604051620024f7380380620024f783398101604081905262000034916200107e565b4682146200006e5760405162461bcd60e51b8152602060048201526002602482015261383960f11b60448201526064015b60405180910390fd5b62000084816200008c60201b6200014b1760201c565b505062001410565b805160208201516040830151825160005b8181101562000243576000858281518110620000bd57620000bd6200122f565b60200260200101516020015190506000868381518110620000e257620000e26200122f565b602002602001015160000151905060008784815181106200010757620001076200122f565b602002602001015160400151905060008885815181106200012c576200012c6200122f565b60200260200101516060015190506000815111620001715760405162461bcd60e51b81526020600482015260016024820152602160f91b604482015260640162000065565b600084600281111562000188576200018862001245565b03620001a1576200019b83828462000294565b62000221565b6001846002811115620001b857620001b862001245565b03620001cb576200019b838284620003dd565b6002846002811115620001e257620001e262001245565b03620001f4576200019b83826200052b565b60405162461bcd60e51b81526020600482015260016024820152604360f81b604482015260640162000065565b505050506200023b816200066b60201b6200031f1760201c565b90506200009d565b5062000250838362000671565b7f87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c30848484604051620002859392919062001289565b60405180910390a15050505050565b600080516020620024d78339815191526001600160a01b038416620002e05760405162461bcd60e51b81526020600482015260016024820152604760f81b604482015260640162000065565b620002eb84620007fd565b825160005b81811015620003d55760008582815181106200031057620003106200122f565b6020908102919091018101516001600160e01b031981166000908152868352604090819020815160608101835290546001600160a01b038116808352600160a01b820461ffff1695830195909552600160b01b900460ff161515918101919091529092509015620003a85760405162461bcd60e51b81526020600482015260016024820152602560f91b604482015260640162000065565b620003b5888388620008b8565b5050620003cd816200066b60201b6200031f1760201c565b9050620002f0565b505050505050565b600080516020620024d78339815191526001600160a01b038416620004295760405162461bcd60e51b81526020600482015260016024820152604b60f81b604482015260640162000065565b825160005b81811015620003d55760008582815181106200044e576200044e6200122f565b6020908102919091018101516001600160e01b031981166000908152868352604090819020815160608101835290546001600160a01b038116808352600160a01b820461ffff1695830195909552600160b01b900460ff1615159181019190915290925090620004e55760405162461bcd60e51b81526020600482015260016024820152601360fa1b604482015260640162000065565b8051620004f3908362000a8d565b620004fe88620007fd565b6200050b888388620008b8565b505062000523816200066b60201b6200031f1760201c565b90506200042e565b600080516020620024d78339815191526001600160a01b03831615620005795760405162461bcd60e51b8152602060048201526002602482015261613160f01b604482015260640162000065565b815160005b81811015620006645760008482815181106200059e576200059e6200122f565b6020908102919091018101516001600160e01b031981166000908152868352604090819020815160608101835290546001600160a01b038116808352600160a01b820461ffff1695830195909552600160b01b900460ff1615159181019190915290925090620006365760405162461bcd60e51b8152602060048201526002602482015261309960f11b604482015260640162000065565b805162000644908362000a8d565b50506200065c816200066b60201b6200031f1760201c565b90506200057e565b5050505050565b60010190565b6001600160a01b038216620006b957805115620006b55760405162461bcd60e51b81526020600482015260016024820152600960fb1b604482015260640162000065565b5050565b600080836001600160a01b031683604051620006d691906200139a565b600060405180830381855af49150503d806000811462000713576040519150601f19603f3d011682016040523d82523d6000602084013e62000718565b606091505b509150915081620007505760405162461bcd60e51b81526020600482015260016024820152604960f81b604482015260640162000065565b8051602014620007885760405162461bcd60e51b815260206004820152600260248201526106c760f41b604482015260640162000065565b7f33774e659306e47509050e97cb651e731180a42d458212294d30751925c551a260001b81806020019051810190620007c29190620013b8565b14620007f75760405162461bcd60e51b81526020600482015260036024820152626c703160e81b604482015260640162000065565b50505050565b6001600160a01b0381166000908152600080516020620024b78339815191526020526040812054600080516020620024d783398151915291819003620008b3576200085a826002018054905062000c9660201b620003251760201c565b6001600160a01b038416600081815260018581016020908152604083208201805461ffff191661ffff96909616959095179094556002860180549182018155825292902090910180546001600160a01b03191690911790555b505050565b6001600160a01b0383166000908152600080516020620024b783398151915260209081526040822054600080516020620024d7833981519152929162000908919062000c96811b6200032517901c565b905061ffff811615620009c3576001600160a01b03851660009081526001830160205260408120805482906200094257620009426200122f565b6000918252602080832060088304015460079092166004026101000a90910460e01b6001600160e01b03198116835290859052604090912054909150600160b01b900460ff16151584151514620009c15760405162461bcd60e51b81526020600482015260026024820152614a3160f01b604482015260640162000065565b505b604080516060810182526001600160a01b0396871680825261ffff93841660208084019182529615158385019081526001600160e01b03198916600090815287895285812094518554935192519b166001600160b01b031990931692909217600160a01b91909616029490941760ff60b01b1916600160b01b981515989098029790971790559481526001918201835293842080549182018155845292206008830401805463ffffffff60079094166004026101000a938402191660e09290921c92909202179055565b6001600160e01b031981166000908152600080516020620024d783398151915260208181526040808420546001600160a01b0387168552600080516020620024b78339815191529092528320549192600160a01b90910461ffff169162000af790600190620013d2565b905080821462000c04576001600160a01b0385166000908152600184016020526040812080548390811062000b305762000b306200122f565b600091825260208083206008830401546001600160a01b038a168452600188019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000b845762000b846200122f565b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555062000bca8362000c9660201b620003251760201c565b6001600160e01b03199091166000908152602085905260409020805461ffff92909216600160a01b0261ffff60a01b199092169190911790555b6001600160a01b0385166000908152600184016020526040902080548062000c305762000c30620013fa565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319861682528490526040812080546001600160b81b03191690558190036200066457620006648562000cff565b600061ffff82111562000cfb5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201526536206269747360d01b606482015260840162000065565b5090565b6001600160a01b0381166000908152600080516020620024b7833981519152602052604081206001908101547fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d54600080516020620024d78339815191529361ffff9092169262000d7091620013d2565b905080821462000e3f57600083600201828154811062000d945762000d946200122f565b6000918252602090912001546002850180546001600160a01b03909216925082918590811062000dc85762000dc86200122f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555062000e0c8362000c9660201b620003251760201c565b6001600160a01b039190911660009081526001858101602052604090912001805461ffff191661ffff9092169190911790555b8260020180548062000e555762000e55620013fa565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b038111828210171562000eb85762000eb862000e7d565b60405290565b604051608081016001600160401b038111828210171562000eb85762000eb862000e7d565b604051601f8201601f191681016001600160401b038111828210171562000f0e5762000f0e62000e7d565b604052919050565b60006001600160401b0382111562000f325762000f3262000e7d565b5060051b60200190565b80516001600160a01b038116811462000f5457600080fd5b919050565b600082601f83011262000f6b57600080fd5b8151602062000f8462000f7e8362000f16565b62000ee3565b82815260059290921b8401810191818101908684111562000fa457600080fd5b8286015b8481101562000fd95780516001600160e01b03198116811462000fcb5760008081fd5b835291830191830162000fa8565b509695505050505050565b60005b838110156200100157818101518382015260200162000fe7565b50506000910152565b600082601f8301126200101c57600080fd5b81516001600160401b0381111562001038576200103862000e7d565b6200104d601f8201601f191660200162000ee3565b8181528460208386010111156200106357600080fd5b6200107682602083016020870162000fe4565b949350505050565b600080604083850312156200109257600080fd5b825160208401519092506001600160401b0380821115620010b257600080fd5b9084019060608287031215620010c757600080fd5b620010d162000e93565b825182811115620010e157600080fd5b8301601f81018813620010f357600080fd5b80516200110462000f7e8262000f16565b8082825260208201915060208360051b85010192508a8311156200112757600080fd5b602084015b83811015620011e1578051878111156200114557600080fd5b85016080818e03601f190112156200115c57600080fd5b6200116662000ebe565b620011746020830162000f3c565b81526040820151600381106200118957600080fd5b602082015260608201518015158114620011a257600080fd5b6040820152608082015189811115620011ba57600080fd5b620011cb8f60208386010162000f59565b606083015250845250602092830192016200112c565b50845250620011f69150506020840162000f3c565b60208201526040830151828111156200120e57600080fd5b6200121c888286016200100a565b6040830152508093505050509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600081518084526200127581602086016020860162000fe4565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156200136857898403607f19018652815180516001600160a01b03168552838101518886019060038110620012fa57634e487b7160e01b600052602160045260246000fd5b868601526040828101511515908701529089015189860189905280519182905284019060009060a08701905b80831015620013525783516001600160e01b031916825292860192600192909201919086019062001326565b50978501979550505090820190600101620012b2565b50506001600160a01b038a169088015286810360408801526200138c81896200125b565b9a9950505050505050505050565b60008251620013ae81846020870162000fe4565b9190910192915050565b600060208284031215620013cb57600080fd5b5051919050565b81810381811115620013f457634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603160045260246000fd5b61109780620014206000396000f3fe6080604052600080516020611042833981519152600436101580610021575036155b6100575760405162461bcd60e51b8152602060048201526002602482015261155d60f21b60448201526064015b60405180910390fd5b600080356001600160e01b03191681526020828152604091829020825160608101845290546001600160a01b038116808352600160a01b820461ffff1693830193909352600160b01b900460ff16151592810192909252806100df5760405162461bcd60e51b81526020600482015260016024820152602360f91b604482015260640161004e565b600383015460ff1615806100f557508160400151155b6101265760405162461bcd60e51b8152602060048201526002602482015261713160f01b604482015260640161004e565b60405136600082376000803683855af43d806000843e818015610147578184f35b8184fd5b805160208201516040830151825160005b818110156102d257600085828151811061017857610178610e29565b6020026020010151602001519050600086838151811061019a5761019a610e29565b602002602001015160000151905060008784815181106101bc576101bc610e29565b602002602001015160400151905060008885815181106101de576101de610e29565b602002602001015160600151905060008151116102215760405162461bcd60e51b81526020600482015260016024820152602160f91b604482015260640161004e565b600084600281111561023557610235610e3f565b0361024a5761024583828461038c565b6102bd565b600184600281111561025e5761025e610e3f565b0361026e576102458382846104b2565b600284600281111561028257610282610e3f565b036102915761024583826105db565b60405162461bcd60e51b81526020600482015260016024820152604360f81b604482015260640161004e565b505050506102cb8160010190565b905061015c565b506102dd83836106fa565b7f87b829356b3403d36217eff1f66ee48eacd0a69015153aba4f0de29fe5340c3084848460405161031093929190610ea5565b60405180910390a15050505050565b60010190565b600061ffff8211156103885760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201526536206269747360d01b606482015260840161004e565b5090565b6000805160206110428339815191526001600160a01b0384166103d55760405162461bcd60e51b81526020600482015260016024820152604760f81b604482015260640161004e565b6103de84610877565b825160005b818110156104aa5760008582815181106103ff576103ff610e29565b6020908102919091018101516001600160e01b031981166000908152868352604090819020815160608101835290546001600160a01b038116808352600160a01b820461ffff1695830195909552600160b01b900460ff1615159181019190915290925090156104955760405162461bcd60e51b81526020600482015260016024820152602560f91b604482015260640161004e565b6104a0888388610920565b50506001016103e3565b505050505050565b6000805160206110428339815191526001600160a01b0384166104fb5760405162461bcd60e51b81526020600482015260016024820152604b60f81b604482015260640161004e565b825160005b818110156104aa57600085828151811061051c5761051c610e29565b6020908102919091018101516001600160e01b031981166000908152868352604090819020815160608101835290546001600160a01b038116808352600160a01b820461ffff1695830195909552600160b01b900460ff16151591810191909152909250906105b15760405162461bcd60e51b81526020600482015260016024820152601360fa1b604482015260640161004e565b80516105bd9083610adf565b6105c688610877565b6105d1888388610920565b5050600101610500565b6000805160206110428339815191526001600160a01b038316156106265760405162461bcd60e51b8152602060048201526002602482015261613160f01b604482015260640161004e565b815160005b818110156106f357600084828151811061064757610647610e29565b6020908102919091018101516001600160e01b031981166000908152868352604090819020815160608101835290546001600160a01b038116808352600160a01b820461ffff1695830195909552600160b01b900460ff16151591810191909152909250906106dd5760405162461bcd60e51b8152602060048201526002602482015261309960f11b604482015260640161004e565b80516106e99083610adf565b505060010161062b565b5050505050565b6001600160a01b03821661073f5780511561073b5760405162461bcd60e51b81526020600482015260016024820152600960fb1b604482015260640161004e565b5050565b600080836001600160a01b03168360405161075a9190610faf565b600060405180830381855af49150503d8060008114610795576040519150601f19603f3d011682016040523d82523d6000602084013e61079a565b606091505b5091509150816107d05760405162461bcd60e51b81526020600482015260016024820152604960f81b604482015260640161004e565b80516020146108065760405162461bcd60e51b815260206004820152600260248201526106c760f41b604482015260640161004e565b7f33774e659306e47509050e97cb651e731180a42d458212294d30751925c551a260001b8180602001905181019061083e9190610fcb565b146108715760405162461bcd60e51b81526020600482015260036024820152626c703160e81b604482015260640161004e565b50505050565b6001600160a01b038116600090815260008051602061102283398151915260205260408120546000805160206110428339815191529181900361091b5760028201546108c290610325565b6001600160a01b038416600081815260018581016020908152604083208201805461ffff191661ffff96909616959095179094556002860180549182018155825292902090910180546001600160a01b03191690911790555b505050565b6001600160a01b03831660009081526000805160206110228339815191526020526040812054600080516020611042833981519152919061096090610325565b905061ffff811615610a15576001600160a01b038516600090815260018301602052604081208054829061099657610996610e29565b6000918252602080832060088304015460079092166004026101000a90910460e01b6001600160e01b03198116835290859052604090912054909150600160b01b900460ff16151584151514610a135760405162461bcd60e51b81526020600482015260026024820152614a3160f01b604482015260640161004e565b505b604080516060810182526001600160a01b0396871680825261ffff93841660208084019182529615158385019081526001600160e01b03198916600090815287895285812094518554935192519b166001600160b01b031990931692909217600160a01b91909616029490941760ff60b01b1916600160b01b981515989098029790971790559481526001918201835293842080549182018155845292206008830401805463ffffffff60079094166004026101000a938402191660e09290921c92909202179055565b6001600160e01b03198116600090815260008051602061104283398151915260208181526040808420546001600160a01b03871685526000805160206110228339815191529092528320549192600160a01b90910461ffff1691610b4590600190610fe4565b9050808214610c3e576001600160a01b03851660009081526001840160205260408120805483908110610b7a57610b7a610e29565b600091825260208083206008830401546001600160a01b038a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610bcb57610bcb610e29565b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908360e01c0217905550610c0483610325565b6001600160e01b03199091166000908152602085905260409020805461ffff92909216600160a01b0261ffff60a01b199092169190911790555b6001600160a01b03851660009081526001840160205260409020805480610c6757610c6761100b565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319861682528490526040812080546001600160b81b03191690558190036106f3576001600160a01b0385166000908152600080516020611022833981519152602052604081206001908101547fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d546106f39389936000805160206110428339815191529361ffff1692610d339190610fe4565b9050808214610dee576000836002018281548110610d5357610d53610e29565b6000918252602090912001546002850180546001600160a01b039092169250829185908110610d8457610d84610e29565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610dbb83610325565b6001600160a01b039190911660009081526001858101602052604090912001805461ffff191661ffff9092169190911790555b82600201805480610e0157610e0161100b565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60005b83811015610e70578181015183820152602001610e58565b50506000910152565b60008151808452610e91816020860160208601610e55565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015610f7f57898403607f19018652815180516001600160a01b03168552838101518886019060038110610f1457634e487b7160e01b600052602160045260246000fd5b868601526040828101511515908701529089015189860189905280519182905284019060009060a08701905b80831015610f6a5783516001600160e01b0319168252928601926001929092019190860190610f40565b50978501979550505090820190600101610ece565b50506001600160a01b038a16908801528681036040880152610fa18189610e79565b9a9950505050505050505050565b60008251610fc1818460208701610e55565b9190910192915050565b600060208284031215610fdd57600080fd5b5051919050565b8181038181111561100557634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603160045260246000fdfec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131cc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131ba2646970667358221220321b01261069b5a16f3e8ffab503a6323741f79d0634fcd86190942b13f5966764736f6c63430008110033c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131cc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131b000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000b91d905a698c28b73c61af60c63919b754fcf4de0000000000000000000000000000000000000000000000000000000000000ba0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000000000000000000000000000000000000960000000000000000000000000c48d496459e1358d055a79173bea41efb7449028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000873fb92970000000000000000000000000000000000000000000000000000000036d4eb840000000000000000000000000000000000000000000000000000000027ae4c16000000000000000000000000000000000000000000000000000000000551448c000000000000000000000000000000000000000000000000000000008043760a00000000000000000000000000000000000000000000000000000000beda4b12000000000000000000000000000000000000000000000000000000001733894500000000000000000000000000000000000000000000000000000000587809c700000000000000000000000000000000000000000000000000000000000000000000000000000000c30af84a6aff43d5fd06feda6ba20bdfed539f6c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001fcdffacc60000000000000000000000000000000000000000000000000000000052ef6b2c00000000000000000000000000000000000000000000000000000000adfca15e000000000000000000000000000000000000000000000000000000007a0ed62700000000000000000000000000000000000000000000000000000000fe10226d0000000000000000000000000000000000000000000000000000000079823c9a000000000000000000000000000000000000000000000000000000004fc07d7500000000000000000000000000000000000000000000000000000000d86970d800000000000000000000000000000000000000000000000000000000fd791f3c000000000000000000000000000000000000000000000000000000008665b15000000000000000000000000000000000000000000000000000000000631f4bac000000000000000000000000000000000000000000000000000000001b60e62600000000000000000000000000000000000000000000000000000000e39d3bff000000000000000000000000000000000000000000000000000000000ef240a000000000000000000000000000000000000000000000000000000000fe26699e000000000000000000000000000000000000000000000000000000003960738200000000000000000000000000000000000000000000000000000000af6a2dcd00000000000000000000000000000000000000000000000000000000a1954fc500000000000000000000000000000000000000000000000000000000a39980a00000000000000000000000000000000000000000000000000000000046657fe90000000000000000000000000000000000000000000000000000000018e3a941000000000000000000000000000000000000000000000000000000002cc8412a000000000000000000000000000000000000000000000000000000003db920ce0000000000000000000000000000000000000000000000000000000029b98c6700000000000000000000000000000000000000000000000000000000bd7c541200000000000000000000000000000000000000000000000000000000c3bbd2d700000000000000000000000000000000000000000000000000000000e81e0ba100000000000000000000000000000000000000000000000000000000facd743b000000000000000000000000000000000000000000000000000000009cd939e40000000000000000000000000000000000000000000000000000000056142d7a0000000000000000000000000000000000000000000000000000000074f4d30d000000000000000000000000000000000000000000000000000000000000000000000000000000002ea0cfb9c942058ee5a84411ef2e37c6de5bfe5c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000076c0960f900000000000000000000000000000000000000000000000000000000b473318e00000000000000000000000000000000000000000000000000000000042901c700000000000000000000000000000000000000000000000000000000263b7f8e00000000000000000000000000000000000000000000000000000000e4948f4300000000000000000000000000000000000000000000000000000000eb67241900000000000000000000000000000000000000000000000000000000f36dc9150000000000000000000000000000000000000000000000000000000000000000000000000000000098e900eb2e5fde9786f736e86d6bfbfdb3e4683b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000040c4dd81000000000000000000000000000000000000000000000000000000000ce9dcf16000000000000000000000000000000000000000000000000000000007739cbe700000000000000000000000000000000000000000000000000000000a9a2d18a00000000000000000000000000000000000000000000000000000000000000000000000000000000a7e8a8f71c3cc43946601cc99997f8cd6828a9b90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000009e58bb6390000000000000000000000000000000000000000000000000000000086cb9909000000000000000000000000000000000000000000000000000000000707ac0900000000000000000000000000000000000000000000000000000000f235757f000000000000000000000000000000000000000000000000000000001cc5d10300000000000000000000000000000000000000000000000000000000be6f11cf000000000000000000000000000000000000000000000000000000004623c91d000000000000000000000000000000000000000000000000000000005437988d000000000000000000000000000000000000000000000000000000000b5088830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4e916f8530000000000000000000000006a28b1bc6123fe525ff46d881ff80871d0eb3f0200000000000000000000000029df43f75149d0552475a6f9b2ac96e28796ed0b000000000000000000000000112200eaa6d57120c86b8b51a8b6049d56b82211bc59c242d551e3939b9b2939b8b686efa77ba3833183045d548aa5f53357ba950000000000000000000000000000000000000000000000000000000000000015034fb8586032c0d6f07b4a8db319590095e390bd0dbf84976f8d009ad16cd18d000000000000000000000000185e050ec1c22c45445a9adea99b12e1a1372eba1186ec268d49f1905f8d9c1e9d39fc33e98c74f91d91a21b8f7ef78bd09a8db8101e08b00193e529145ee09823378ef51a3bc8966504064f1f6ba3f1ba8632100af0d77503b93a15fedd086638b7326cd3d169a2f388e568f41ea906c7a6eb9300000000000000000000000000000000000000000000000000000000000000000100038581be3d0e201b3cc45d151ef5cc59eb3a0f146ad44f0f72abf00b594c0100038dc66b69be75ec31653c64cb931678299b9b659472772b2550b703f41c00000000000000000000000000000000000000000000000000000000044aa20000000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/d1f85211106ecba2465b722be223be2385f1d1ff49c481ff66146900957c8c6f b/tests/cachedrpc/d1f85211106ecba2465b722be223be2385f1d1ff49c481ff66146900957c8c6f new file mode 100644 index 00000000..0efd8461 --- /dev/null +++ b/tests/cachedrpc/d1f85211106ecba2465b722be223be2385f1d1ff49c481ff66146900957c8c6f @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b","contractCreator":"0x494adb1ecac39d9df00fcda84ed2c1dc775107e7","txHash":"0xbd29dfc2cfc9b2e2170d6a564903c3e32e713b61c01e31ff8664cca24736b431","blockNumber":"6702068","timestamp":"1542186708","contractFactory":"","creationBytecode":"0x60806040526004805460a060020a60ff02191690556006805460ff199081169091556009805490911660011790553480156200003a57600080fd5b5060405162002726380380620027268339810180604052810190808051820192919060200180518201929190602001805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505060008060003333600360006101000a815481600160a060020a030219169083600160a060020a0316021790555080600660016101000a815481600160a060020a030219169083600160a060020a031602179055505033600360006101000a815481600160a060020a030219169083600160a060020a03160217905550600360009054906101000a9004600160a060020a0316600460006101000a815481600160a060020a030219169083600160a060020a031602179055508c600a90805190602001906200018c929190620006a4565b508b51620001a290600b9060208f0190620006a4565b50600c805460ff191660ff8c161761010060a860020a031916610100600160a060020a038b81169190910291909117909155600d8054600160a060020a03199081168a841617909155600e80548216898416179055600f805482168884161790556010805490911691861691909117905560008b1115620003dd57600a8b0615620002b457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5f696e697469616c537570706c792068617320746f2062652061206d756c697460448201527f706c65206f662031300000000000000000000000000000000000000000000000606482015290519081900360840190fd5b620002ea600a620002d58d600364010000000062001eb6620004cb82021704565b9064010000000062001edf620004fe82021704565b92506200030d600a620002d58d600264010000000062001eb6620004cb82021704565b91506200032a8b600a64010000000062001edf620004fe82021704565b600c5490915062000353906101009004600160a060020a03168464010000000062000514810204565b50600d546200037590600160a060020a03168364010000000062000514810204565b50600e546200039790600160a060020a03168364010000000062000514810204565b50600f54620003b990600160a060020a03168364010000000062000514810204565b50601054620003db90600160a060020a03168264010000000062000514810204565b505b881515620004b857620003f86401000000006200062d810204565b50600154600010620004b857604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f546f74616c20737570706c7920697320726571756972656420746f2062652061908201527f626f766520302069662074686520746f6b656e206973206e6f74206d696e746160648201527f626c652e00000000000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b5050505050505050505050505062000746565b6000821515620004de57506000620004f8565b50818102818382811515620004ef57fe5b0414620004f857fe5b92915050565b600081838115156200050c57fe5b049392505050565b600354600090600160a060020a031633146200052f57600080fd5b60065460ff16156200054057600080fd5b6001546200055d908364010000000062001ca76200069682021704565b600155600160a060020a03831660009081526020819052604090205462000593908364010000000062001ca76200069682021704565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b600354600090600160a060020a031633146200064857600080fd5b60065460ff16156200065957600080fd5b6006805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a15060015b90565b81810182811015620004f857fe5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620006e757805160ff191683800117855562000717565b8280016001018555821562000717579182015b8281111562000717578251825591602001919060010190620006fa565b506200072592915062000729565b5090565b6200069391905b8082111562000725576000815560010162000730565b611fd080620007566000396000f3006080604052600436106101c15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302f652a381146101c657806305d2035b146101ee57806306fdde0314610217578063095ea7b3146102a157806318160ddd146102c55780631f3bec3b146102ec57806323b872dd1461031d57806329ff4f5314610347578063313ce5671461036857806340c10f191461039357806345977d03146103b75780635de4ccb0146103cf5780635f412d4f146103e4578063600440cb146103f9578063642b4a4d1461040e578063661884631461042357806370a0823114610447578063715018a6146104685780637d64bcb41461047d5780638444b39114610492578063867c2857146104cb5780638da5cb5b146104ec57806395d89b411461050157806396132521146105165780639738968c1461052b578063a9059cbb14610540578063adf403ad14610564578063ae1616b014610579578063c752ff621461058e578063d1f276d3146105a3578063d73dd623146105b8578063d7e7088a146105dc578063dd62ed3e146105fd578063dd681e5114610624578063f2fde38b14610639578063ffeb7d751461065a575b600080fd5b3480156101d257600080fd5b506101ec600160a060020a0360043516602435151561067b565b005b3480156101fa57600080fd5b50610203610770565b604080519115158252519081900360200190f35b34801561022357600080fd5b5061022c610779565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026657818101518382015260200161024e565b50505050905090810190601f1680156102935780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ad57600080fd5b50610203600160a060020a0360043516602435610807565b3480156102d157600080fd5b506102da61086e565b60408051918252519081900360200190f35b3480156102f857600080fd5b506103016108b2565b60408051600160a060020a039092168252519081900360200190f35b34801561032957600080fd5b50610203600160a060020a03600435811690602435166044356108c6565b34801561035357600080fd5b506101ec600160a060020a03600435166109d7565b34801561037457600080fd5b5061037d610ad0565b6040805160ff9092168252519081900360200190f35b34801561039f57600080fd5b50610203600160a060020a0360043516602435610ad9565b3480156103c357600080fd5b506101ec600435610bdc565b3480156103db57600080fd5b50610301610e18565b3480156103f057600080fd5b506101ec610e27565b34801561040557600080fd5b50610301610eb4565b34801561041a57600080fd5b50610301610ec8565b34801561042f57600080fd5b50610203600160a060020a0360043516602435610ed7565b34801561045357600080fd5b506102da600160a060020a0360043516610fc6565b34801561047457600080fd5b506101ec610fe1565b34801561048957600080fd5b5061020361104f565b34801561049e57600080fd5b506104a76110b5565b604051808260038111156104b757fe5b60ff16815260200191505060405180910390f35b3480156104d757600080fd5b50610203600160a060020a03600435166110ef565b3480156104f857600080fd5b50610301611104565b34801561050d57600080fd5b5061022c611113565b34801561052257600080fd5b5061020361116e565b34801561053757600080fd5b5061020361117e565b34801561054c57600080fd5b50610203600160a060020a036004351660243561119d565b34801561057057600080fd5b506103016112ac565b34801561058557600080fd5b506103016112bb565b34801561059a57600080fd5b506102da6112ca565b3480156105af57600080fd5b506103016112d0565b3480156105c457600080fd5b50610203600160a060020a03600435166024356112df565b3480156105e857600080fd5b506101ec600160a060020a0360043516611378565b34801561060957600080fd5b506102da600160a060020a0360043581169060243516611941565b34801561063057600080fd5b5061030161196c565b34801561064557600080fd5b506101ec600160a060020a036004351661197b565b34801561066657600080fd5b506101ec600160a060020a036004351661199e565b600354600160a060020a0316331461069257600080fd5b60045460009060a060020a900460ff1615610744576040805160e560020a62461bcd028152602060048201526044602482018190527f4974277320726571756972656420746861742074686520737461746520746f20908201527f636865636b20616c69676e732077697468207468652072656c6561736564206660648201527f6c61672e00000000000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b50600160a060020a03919091166000908152600560205260409020805460ff1916911515919091179055565b60065460ff1681565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107ff5780601f106107d4576101008083540402835291602001916107ff565b820191906000526020600020905b8154815290600101906020018083116107e257829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600080805260208190527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5546001546108ac9163ffffffff611b2016565b90505b90565b600c546101009004600160a060020a031681565b600454600090849060a060020a900460ff16806108fb5750600160a060020a03811660009081526005602052604090205460ff165b15156109c3576040805160e560020a62461bcd02815260206004820152607f60248201527f466f722074686520746f6b656e20746f2062652061626c6520746f207472616e60448201527f736665723a20697427732072657175697265642074686174207468652063726f60648201527f776473616c6520697320696e2072656c65617365642073746174653b206f722060848201527f7468652073656e6465722069732061207472616e73666572206167656e742e0060a482015290519081900360c40190fd5b6109ce858585611b32565b95945050505050565b600354600160a060020a031633146109ee57600080fd5b60045460009060a060020a900460ff1615610aa0576040805160e560020a62461bcd028152602060048201526044602482018190527f4974277320726571756972656420746861742074686520737461746520746f20908201527f636865636b20616c69676e732077697468207468652072656c6561736564206660648201527f6c61672e00000000000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b506004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600c5460ff1681565b600354600090600160a060020a03163314610af357600080fd5b60065460ff1615610b0357600080fd5b600154610b16908363ffffffff611ca716565b600155600160a060020a038316600090815260208190526040902054610b42908363ffffffff611ca716565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b6000610be66110b5565b90506003816003811115610bf657fe5b14610c71576040805160e560020a62461bcd02815260206004820152602e60248201527f497427732072657175697265642074686174207468652075706772616465207360448201527f746174652069732072656164792e000000000000000000000000000000000000606482015290519081900360840190fd5b60008211610cef576040805160e560020a62461bcd02815260206004820152602c60248201527f54686520757067726164652076616c756520697320726571756972656420746f60448201527f2062652061626f766520302e0000000000000000000000000000000000000000606482015290519081900360840190fd5b33600090815260208190526040902054610d0f908363ffffffff611b2016565b33600090815260208190526040902055600154610d32908363ffffffff611b2016565b600155600854610d48908363ffffffff611ca716565b600855600754604080517f753e88e5000000000000000000000000000000000000000000000000000000008152336004820152602481018590529051600160a060020a039092169163753e88e59160448082019260009290919082900301818387803b158015610db757600080fd5b505af1158015610dcb573d6000803e3d6000fd5b5050600754604080518681529051600160a060020a0390921693503392507f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac919081900360200190a35050565b600754600160a060020a031681565b600454600160a060020a03163314610e9d576040805160e560020a62461bcd0281526020600482015260316024820152600080516020611f8583398151915260448201527f20612072656c65617365206167656e742e000000000000000000000000000000606482015290519081900360840190fd5b6006805460ff19166001179055610eb2611cb4565b565b6006546101009004600160a060020a031681565b600d54600160a060020a031681565b336000908152600260209081526040808320600160a060020a0386168452909152812054808310610f2b57336000908152600260209081526040808320600160a060020a0388168452909152812055610f60565b610f3b818463ffffffff611b2016565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a03163314610ff857600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a0316331461106957600080fd5b60065460ff161561107957600080fd5b6006805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b60006110bf61117e565b15156110cd575060016108af565b600754600160a060020a031615156110e7575060026108af565b5060036108af565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107ff5780601f106107d4576101008083540402835291602001916107ff565b60045460a060020a900460ff1681565b60045460009060a060020a900460ff1680156108ac57506108ac611d50565b600454600090339060a060020a900460ff16806111d25750600160a060020a03811660009081526005602052604090205460ff165b151561129a576040805160e560020a62461bcd02815260206004820152607f60248201527f466f722074686520746f6b656e20746f2062652061626c6520746f207472616e60448201527f736665723a20697427732072657175697265642074686174207468652063726f60648201527f776473616c6520697320696e2072656c65617365642073746174653b206f722060848201527f7468652073656e6465722069732061207472616e73666572206167656e742e0060a482015290519081900360c40190fd5b6112a48484611d59565b949350505050565b600e54600160a060020a031681565b601054600160a060020a031681565b60085481565b600454600160a060020a031681565b336000908152600260209081526040808320600160a060020a0386168452909152812054611313908363ffffffff611ca716565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b61138061117e565b1515611422576040805160e560020a62461bcd02815260206004820152604960248201527f4974277320726571756972656420746f20626520696e2063616e55706772616460448201527f65282920636f6e646974696f6e207768656e2073657474696e6720757067726160648201527f6465206167656e742e0000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b600160a060020a03811615156114ce576040805160e560020a62461bcd02815260206004820152604860248201527f4167656e7420697320726571756972656420746f20626520616e206e6f6e2d6560448201527f6d7074792061646472657373207768656e2073657474696e672075706772616460648201527f65206167656e742e000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b6006546101009004600160a060020a0316331461156f576040805160e560020a62461bcd02815260206004820152604e6024820152600080516020611f8583398151915260448201527f2074686520757067726164654d6173746572207768656e2073657474696e672060648201527f75706772616465206167656e742e000000000000000000000000000000000000608482015290519081900360a40190fd5b60036115796110b5565b600381111561158457fe5b1415611626576040805160e560020a62461bcd02815260206004820152604960248201527f5570677261646520737461746520697320726571756972656420746f206e6f7460448201527f20626520757067726164696e67207768656e2073657474696e6720757067726160648201527f6465206167656e742e0000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b600754600160a060020a0316156116ad576040805160e560020a62461bcd02815260206004820152602660248201527f757067726164654167656e74206f6e6365207365742c2063616e6e6f7420626560448201527f2072657365740000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080517f61d3d7a6000000000000000000000000000000000000000000000000000000008152905192909116916361d3d7a6916004808201926020929091908290030181600087803b15801561173157600080fd5b505af1158015611745573d6000803e3d6000fd5b505050506040513d602081101561175b57600080fd5b50511515611825576040805160e560020a62461bcd02815260206004820152607e60248201527f5468652070726f7669646564207570646174654167656e7420636f6e7472616360448201527f7420697320726571756972656420746f20626520636f6d706c69616e7420746f60648201527f2074686520557067726164654167656e7420696e74657266616365206d65746860848201527f6f64207768656e2073657474696e672075706772616465206167656e742e000060a482015290519081900360c40190fd5b600154600760009054906101000a9004600160a060020a0316600160a060020a0316634b2ba0dd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561189457600080fd5b505af11580156118a8573d6000803e3d6000fd5b505050506040513d60208110156118be57600080fd5b5051146118ff5760405160e560020a62461bcd028152600401808060200182810382526090815260200180611ef56090913960a00191505060405180910390fd5b60075460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600f54600160a060020a031681565b600354600160a060020a0316331461199257600080fd5b61199b81611e38565b50565b600160a060020a0381161515611a4a576040805160e560020a62461bcd02815260206004820152605d60248201527f5468652070726f766964656420757067726164654d617374657220697320726560448201527f71756972656420746f2062652061206e6f6e2d656d707479206164647265737360648201527f207768656e2073657474696e672075706772616465206d61737465722e000000608482015290519081900360a40190fd5b6006546101009004600160a060020a03163314611aeb576040805160e560020a62461bcd02815260206004820152605e6024820152600080516020611f8583398151915260448201527f20746865206f726967696e616c20757067726164654d6173746572207768656e60648201527f2073657474696e6720286e6577292075706772616465206d61737465722e0000608482015290519081900360a40190fd5b60068054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b600082821115611b2c57fe5b50900390565b600160a060020a038316600090815260208190526040812054821115611b5757600080fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054821115611b8757600080fd5b600160a060020a0383161515611b9c57600080fd5b600160a060020a038416600090815260208190526040902054611bc5908363ffffffff611b2016565b600160a060020a038086166000908152602081905260408082209390935590851681522054611bfa908363ffffffff611ca716565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054611c3c908363ffffffff611b2016565b600160a060020a03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b8181018281101561086857fe5b600454600160a060020a03163314611d2a576040805160e560020a62461bcd0281526020600482015260316024820152600080516020611f8583398151915260448201527f20612072656c65617365206167656e742e000000000000000000000000000000606482015290519081900360840190fd5b6004805474ff0000000000000000000000000000000000000000191660a060020a179055565b60095460ff1690565b33600090815260208190526040812054821115611d7557600080fd5b600160a060020a0383161515611d8a57600080fd5b33600090815260208190526040902054611daa908363ffffffff611b2016565b3360009081526020819052604080822092909255600160a060020a03851681522054611ddc908363ffffffff611ca716565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a0381161515611e4d57600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000821515611ec757506000610868565b50818102818382811515611ed757fe5b041461086857fe5b60008183811515611eec57fe5b04939250505056005468652070726f766964656420757067726164654167656e7420636f6e74726163742773206f726967696e616c537570706c7920697320726571756972656420746f206265206571756976616c656e7420746f206578697374696e6720636f6e7472616374277320746f74616c537570706c795f207768656e2073657474696e672075706772616465206167656e742e4d6573736167652073656e64657220697320726571756972656420746f206265a165627a7a72305820b1e04321bb9e830b1d8318c500afb2b83bdfb0cdeed898227da51bf1bbc414670029000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035f517cab9a37bc31091c2f155d965af84e0bc8500000000000000000000000071507ee19cbc0c87ff2b5e05d161efe2aac4ee0700000000000000000000000022e4f709fd5e7fe246fbf7e714ae89bdab7e2a5d000000000000000000000000dda508f9f3c1b4ca39c8794df3a080298ebe9c5500000000000000000000000067703f7d089f3ac7c8c13a18b2381cbd7ee3eded000000000000000000000000000000000000000000000000000000000000000343524f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000343524f0000000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/d9db770c7a19f10c006b164be2a55311737c62a49fc1640b00fb94377972cc62 b/tests/cachedrpc/d9db770c7a19f10c006b164be2a55311737c62a49fc1640b00fb94377972cc62 new file mode 100644 index 00000000..13c44a7b --- /dev/null +++ b/tests/cachedrpc/d9db770c7a19f10c006b164be2a55311737c62a49fc1640b00fb94377972cc62 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xe592427a0aece92de3edee1f18e0157c05861564","contractCreator":"0x6c9fc64a53c1b71fb3f9af64d1ae3a4931a5f4e9","txHash":"0xe881c43cd88063e84a1d0283f41ee5348239b259c0d17a7e2e4552da3f4b2bc7","blockNumber":"12369634","timestamp":"1620156641","contractFactory":"","creationBytecode":"0x60c06040526000196000553480156200001757600080fd5b506040516200302f3803806200302f8339810160408190526200003a9162000076565b6001600160601b0319606092831b8116608052911b1660a052620000ad565b80516001600160a01b03811681146200007157600080fd5b919050565b6000806040838503121562000089578182fd5b620000948362000059565b9150620000a46020840162000059565b90509250929050565b60805160601c60a05160601c612f26620001096000398061012f528061058352806106ad5280610747528061078752806108b15280611c435280611ca35280611d24525080610dc6528061140c5280611e265250612f266000f3fe6080604052600436106101125760003560e01c8063c04b8d59116100a5578063df2ab5bb11610074578063f28c049811610059578063f28c0498146102f5578063f3995c6714610308578063fa461e331461031b576101bd565b8063df2ab5bb146102cf578063e0e189a0146102e2576101bd565b8063c04b8d5914610281578063c2e3140a14610294578063c45a0155146102a7578063db3e2198146102bc576101bd565b80634aa4a4fc116100e15780634aa4a4fc146102195780639b2c0a371461023b578063a4a78f0c1461024e578063ac9650d814610261576101bd565b806312210e8a146101c2578063414bf389146101ca5780634659a494146101f357806349404b7c14610206576101bd565b366101bd573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146101bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f742057455448390000000000000000000000000000000000000000000000604482015290519081900360640190fd5b005b600080fd5b6101bb61033b565b6101dd6101d83660046129f8565b61034d565b6040516101ea9190612df1565b60405180910390f35b6101bb610201366004612776565b6104bf565b6101bb610214366004612aff565b61057f565b34801561022557600080fd5b5061022e610745565b6040516101ea9190612c37565b6101bb610249366004612b2e565b610769565b6101bb61025c366004612776565b610981565b61027461026f3660046127d6565b610a56565b6040516101ea9190612caa565b6101dd61028f36600461294d565b610bb0565b6101bb6102a2366004612776565b610d0f565b3480156102b357600080fd5b5061022e610dc4565b6101dd6102ca3660046129f8565b610de8565b6101bb6102dd3660046126d7565b610f78565b6101bb6102f0366004612718565b611095565b6101dd610303366004612a14565b6111fb565b6101bb610316366004612776565b61132f565b34801561032757600080fd5b506101bb610336366004612868565b6113c7565b471561034b5761034b334761150e565b565b600081608001358061035d61165c565b11156103ca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5472616e73616374696f6e20746f6f206f6c6400000000000000000000000000604482015290519081900360640190fd5b61047060a08401356103e260808601606087016126b4565b6103f3610100870160e088016126b4565b604080518082019091528061040b60208a018a6126b4565b61041b60608b0160408c01612adc565b61042b60408c0160208d016126b4565b60405160200161043d93929190612bc1565b60405160208183030381529060405281526020013373ffffffffffffffffffffffffffffffffffffffff16815250611660565b91508260c001358210156104b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090612d72565b60405180910390fd5b50919050565b604080517f8fcbaf0c00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101879052606481018690526001608482015260ff851660a482015260c4810184905260e48101839052905173ffffffffffffffffffffffffffffffffffffffff881691638fcbaf0c9161010480830192600092919082900301818387803b15801561055f57600080fd5b505af1158015610573573d6000803e3d6000fd5b50505050505050505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561060857600080fd5b505afa15801561061c573d6000803e3d6000fd5b505050506040513d602081101561063257600080fd5b50519050828110156106a557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e73756666696369656e742057455448390000000000000000000000000000604482015290519081900360640190fd5b8015610740577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561071e57600080fd5b505af1158015610732573d6000803e3d6000fd5b50505050610740828261150e565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008211801561077a575060648211155b61078357600080fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561080c57600080fd5b505afa158015610820573d6000803e3d6000fd5b505050506040513d602081101561083657600080fd5b50519050848110156108a957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e73756666696369656e742057455448390000000000000000000000000000604482015290519081900360640190fd5b801561097a577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561092257600080fd5b505af1158015610936573d6000803e3d6000fd5b50505050600061271061095285846117e690919063ffffffff16565b8161095957fe5b049050801561096c5761096c838261150e565b6109788582840361150e565b505b5050505050565b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015290517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9173ffffffffffffffffffffffffffffffffffffffff89169163dd62ed3e91604480820192602092909190829003018186803b158015610a1657600080fd5b505afa158015610a2a573d6000803e3d6000fd5b505050506040513d6020811015610a4057600080fd5b50511015610978576109788686868686866104bf565b60608167ffffffffffffffff81118015610a6f57600080fd5b50604051908082528060200260200182016040528015610aa357816020015b6060815260200190600190039081610a8e5790505b50905060005b82811015610ba95760008030868685818110610ac157fe5b9050602002810190610ad39190612dfa565b604051610ae1929190612c27565b600060405180830381855af49150503d8060008114610b1c576040519150601f19603f3d011682016040523d82523d6000602084013e610b21565b606091505b509150915081610b8757604481511015610b3a57600080fd5b60048101905080806020019051810190610b5491906128e3565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b09190612d28565b80848481518110610b9457fe5b60209081029190910101525050600101610aa9565b5092915050565b6000816040015180610bc061165c565b1115610c2d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5472616e73616374696f6e20746f6f206f6c6400000000000000000000000000604482015290519081900360640190fd5b335b6000610c3e8560000151611810565b9050610c97856060015182610c57578660200151610c59565b305b60006040518060400160405280610c738b6000015161181c565b81526020018773ffffffffffffffffffffffffffffffffffffffff16815250611660565b60608601528015610cb7578451309250610cb09061182b565b8552610cc4565b8460600151935050610cca565b50610c2f565b8360800151831015610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090612d72565b5050919050565b604080517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523360048201523060248201529051869173ffffffffffffffffffffffffffffffffffffffff89169163dd62ed3e91604480820192602092909190829003018186803b158015610d8457600080fd5b505afa158015610d98573d6000803e3d6000fd5b505050506040513d6020811015610dae57600080fd5b505110156109785761097886868686868661132f565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000816080013580610df861165c565b1115610e6557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5472616e73616374696f6e20746f6f206f6c6400000000000000000000000000604482015290519081900360640190fd5b610f0e60a0840135610e7d60808601606087016126b4565b610e8e610100870160e088016126b4565b6040518060400160405280886020016020810190610eac91906126b4565b610ebc60608b0160408c01612adc565b610ec960208c018c6126b4565b604051602001610edb93929190612bc1565b60405160208183030381529060405281526020013373ffffffffffffffffffffffffffffffffffffffff16815250611860565b91508260c00135821115610f4e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090612d3b565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600055919050565b60008373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610fe157600080fd5b505afa158015610ff5573d6000803e3d6000fd5b505050506040513d602081101561100b57600080fd5b505190508281101561107e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e73756666696369656e7420746f6b656e0000000000000000000000000000604482015290519081900360640190fd5b801561108f5761108f848383611a1c565b50505050565b6000821180156110a6575060648211155b6110af57600080fd5b60008573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561111857600080fd5b505afa15801561112c573d6000803e3d6000fd5b505050506040513d602081101561114257600080fd5b50519050848110156111b557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e73756666696369656e7420746f6b656e0000000000000000000000000000604482015290519081900360640190fd5b80156109785760006127106111ca83866117e6565b816111d157fe5b04905080156111e5576111e5878483611a1c565b6111f28786838503611a1c565b50505050505050565b600081604001358061120b61165c565b111561127857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5472616e73616374696f6e20746f6f206f6c6400000000000000000000000000604482015290519081900360640190fd5b6112eb606084013561129060408601602087016126b4565b60408051808201909152600090806112a88980612dfa565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525033602090910152611860565b5060005491508260800135821115610f4e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090612d3b565b604080517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018790526064810186905260ff8516608482015260a4810184905260c48101839052905173ffffffffffffffffffffffffffffffffffffffff88169163d505accf9160e480830192600092919082900301818387803b15801561055f57600080fd5b60008413806113d65750600083135b6113df57600080fd5b60006113ed82840184612a4c565b905060008060006114018460000151611bf1565b9250925092506114337f0000000000000000000000000000000000000000000000000000000000000000848484611c22565b5060008060008a13611474578473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610896114a5565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16108a5b9150915081156114c4576114bf8587602001513384611c41565b610573565b85516114cf90611810565b156114f45785516114df9061182b565b86526114ee8133600089611860565b50610573565b806000819055508394506105738587602001513384611c41565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b6020831061158557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611548565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146115e7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ec565b606091505b505090508061074057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f5354450000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b4290565b600073ffffffffffffffffffffffffffffffffffffffff8416611681573093505b60008060006116938560000151611bf1565b9194509250905073ffffffffffffffffffffffffffffffffffffffff808316908416106000806116c4868686611e1f565b73ffffffffffffffffffffffffffffffffffffffff1663128acb088b856116ea8f611e5d565b73ffffffffffffffffffffffffffffffffffffffff8e161561170c578d611732565b8761172b5773fffd8963efd1fc6a506488495d951d5263988d25611732565b6401000276a45b8d6040516020016117439190612da9565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611772959493929190612c58565b6040805180830381600087803b15801561178b57600080fd5b505af115801561179f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c39190612845565b91509150826117d257816117d4565b805b6000039b9a5050505050505050505050565b6000821580611801575050818102818382816117fe57fe5b04145b61180a57600080fd5b92915050565b8051604211155b919050565b606061180a826000602b611e8f565b805160609061180a9083906017907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe901611e8f565b600073ffffffffffffffffffffffffffffffffffffffff8416611881573093505b60008060006118938560000151611bf1565b9194509250905073ffffffffffffffffffffffffffffffffffffffff808416908316106000806118c4858786611e1f565b73ffffffffffffffffffffffffffffffffffffffff1663128acb088b856118ea8f611e5d565b60000373ffffffffffffffffffffffffffffffffffffffff8e161561190f578d611935565b8761192e5773fffd8963efd1fc6a506488495d951d5263988d25611935565b6401000276a45b8d6040516020016119469190612da9565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611975959493929190612c58565b6040805180830381600087803b15801561198e57600080fd5b505af11580156119a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c69190612845565b915091506000836119db5781836000036119e1565b82826000035b909850905073ffffffffffffffffffffffffffffffffffffffff8a16611a0d578b8114611a0d57600080fd5b50505050505050949350505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251825160009485949389169392918291908083835b60208310611af157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611ab4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611b53576040519150601f19603f3d011682016040523d82523d6000602084013e611b58565b606091505b5091509150818015611b86575080511580611b865750808060200190516020811015611b8357600080fd5b50515b61097a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f5354000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60008080611bff8482612076565b9250611c0c846014612176565b9050611c19846017612076565b91509193909250565b6000611c3885611c33868686612266565b6122e3565b95945050505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148015611c9c5750804710155b15611de5577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015611d0957600080fd5b505af1158015611d1d573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611db357600080fd5b505af1158015611dc7573d6000803e3d6000fd5b505050506040513d6020811015611ddd57600080fd5b5061108f9050565b73ffffffffffffffffffffffffffffffffffffffff8316301415611e1357611e0e848383611a1c565b61108f565b61108f84848484612313565b6000611e557f0000000000000000000000000000000000000000000000000000000000000000611e50868686612266565b6124f0565b949350505050565b60007f80000000000000000000000000000000000000000000000000000000000000008210611e8b57600080fd5b5090565b60608182601f011015611f0357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b828284011015611f7457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b81830184511015611fe657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015290519081900360640190fd5b606082158015612005576040519150600082526020820160405261206d565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561203e578051835260209283019201612026565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b6000818260140110156120ea57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f746f416464726573735f6f766572666c6f770000000000000000000000000000604482015290519081900360640190fd5b816014018351101561215d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f746f416464726573735f6f75744f66426f756e64730000000000000000000000604482015290519081900360640190fd5b5001602001516c01000000000000000000000000900490565b6000818260030110156121ea57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f746f55696e7432345f6f766572666c6f77000000000000000000000000000000604482015290519081900360640190fd5b816003018351101561225d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f746f55696e7432345f6f75744f66426f756e6473000000000000000000000000604482015290519081900360640190fd5b50016003015190565b61226e612626565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1611156122a6579192915b506040805160608101825273ffffffffffffffffffffffffffffffffffffffff948516815292909316602083015262ffffff169181019190915290565b60006122ef83836124f0565b90503373ffffffffffffffffffffffffffffffffffffffff82161461180a57600080fd5b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000178152925182516000948594938a169392918291908083835b602083106123f057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016123b3565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612452576040519150601f19603f3d011682016040523d82523d6000602084013e612457565b606091505b5091509150818015612485575080511580612485575080806020019051602081101561248257600080fd5b50515b61097857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f5354460000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000816020015173ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161061253257600080fd5b508051602080830151604093840151845173ffffffffffffffffffffffffffffffffffffffff94851681850152939091168385015262ffffff166060808401919091528351808403820181526080840185528051908301207fff0000000000000000000000000000000000000000000000000000000000000060a085015294901b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660a183015260b58201939093527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460d5808301919091528251808303909101815260f5909101909152805191012090565b604080516060810182526000808252602082018190529181019190915290565b803561181781612ef4565b600082601f830112612661578081fd5b813561267461266f82612e88565b612e64565b818152846020838601011115612688578283fd5b816020850160208301379081016020019190915292915050565b600061010082840312156104b9578081fd5b6000602082840312156126c5578081fd5b81356126d081612ef4565b9392505050565b6000806000606084860312156126eb578182fd5b83356126f681612ef4565b925060208401359150604084013561270d81612ef4565b809150509250925092565b600080600080600060a0868803121561272f578081fd5b853561273a81612ef4565b945060208601359350604086013561275181612ef4565b925060608601359150608086013561276881612ef4565b809150509295509295909350565b60008060008060008060c0878903121561278e578081fd5b863561279981612ef4565b95506020870135945060408701359350606087013560ff811681146127bc578182fd5b9598949750929560808101359460a0909101359350915050565b600080602083850312156127e8578182fd5b823567ffffffffffffffff808211156127ff578384fd5b818501915085601f830112612812578384fd5b813581811115612820578485fd5b8660208083028501011115612833578485fd5b60209290920196919550909350505050565b60008060408385031215612857578182fd5b505080516020909101519092909150565b6000806000806060858703121561287d578182fd5b8435935060208501359250604085013567ffffffffffffffff808211156128a2578384fd5b818701915087601f8301126128b5578384fd5b8135818111156128c3578485fd5b8860208285010111156128d4578485fd5b95989497505060200194505050565b6000602082840312156128f4578081fd5b815167ffffffffffffffff81111561290a578182fd5b8201601f8101841361291a578182fd5b805161292861266f82612e88565b81815285602083850101111561293c578384fd5b611c38826020830160208601612ec8565b60006020828403121561295e578081fd5b813567ffffffffffffffff80821115612975578283fd5b9083019060a08286031215612988578283fd5b60405160a08101818110838211171561299d57fe5b6040528235828111156129ae578485fd5b6129ba87828601612651565b8252506129c960208401612646565b602082015260408301356040820152606083013560608201526080830135608082015280935050505092915050565b60006101008284031215612a0a578081fd5b6126d083836126a2565b600060208284031215612a25578081fd5b813567ffffffffffffffff811115612a3b578182fd5b820160a081850312156126d0578182fd5b600060208284031215612a5d578081fd5b813567ffffffffffffffff80821115612a74578283fd5b9083019060408286031215612a87578283fd5b604051604081018181108382111715612a9c57fe5b604052823582811115612aad578485fd5b612ab987828601612651565b82525060208301359250612acc83612ef4565b6020810192909252509392505050565b600060208284031215612aed578081fd5b813562ffffff811681146126d0578182fd5b60008060408385031215612b11578182fd5b823591506020830135612b2381612ef4565b809150509250929050565b60008060008060808587031215612b43578182fd5b843593506020850135612b5581612ef4565b9250604085013591506060850135612b6c81612ef4565b939692955090935050565b60008151808452612b8f816020860160208601612ec8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b606093841b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000908116825260e89390931b7fffffff0000000000000000000000000000000000000000000000000000000000166014820152921b166017820152602b0190565b6000828483379101908152919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600073ffffffffffffffffffffffffffffffffffffffff8088168352861515602084015285604084015280851660608401525060a06080830152612c9f60a0830184612b77565b979650505050505050565b6000602080830181845280855180835260408601915060408482028701019250838701855b82811015612d1b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612d09858351612b77565b94509285019290850190600101612ccf565b5092979650505050505050565b6000602082526126d06020830184612b77565b60208082526012908201527f546f6f206d756368207265717565737465640000000000000000000000000000604082015260600190565b60208082526013908201527f546f6f206c6974746c6520726563656976656400000000000000000000000000604082015260600190565b600060208252825160406020840152612dc56060840182612b77565b905073ffffffffffffffffffffffffffffffffffffffff60208501511660408401528091505092915050565b90815260200190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612e2e578283fd5b83018035915067ffffffffffffffff821115612e48578283fd5b602001915036819003821315612e5d57600080fd5b9250929050565b60405181810167ffffffffffffffff81118282101715612e8057fe5b604052919050565b600067ffffffffffffffff821115612e9c57fe5b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60005b83811015612ee3578181015183820152602001612ecb565b8381111561108f5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114612f1657600080fd5b5056fea164736f6c6343000706000a0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}]} \ No newline at end of file diff --git a/tests/cachedrpc/daa39e7382771e52b9d78667f6cbdafc1493de039031c1c6ed66202f86356691 b/tests/cachedrpc/daa39e7382771e52b9d78667f6cbdafc1493de039031c1c6ed66202f86356691 new file mode 100644 index 00000000..60f4b51c --- /dev/null +++ b/tests/cachedrpc/daa39e7382771e52b9d78667f6cbdafc1493de039031c1c6ed66202f86356691 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.4.23;\r\n\r\n// This is the proxy contract for the TrustToken Registry\r\n\r\n// File: contracts/Proxy/Proxy.sol\r\n\r\n/**\r\n * @title Proxy\r\n * @dev Gives the possibility to delegate any call to a foreign implementation.\r\n */\r\ncontract Proxy {\r\n \r\n /**\r\n * @dev Tells the address of the implementation where every call will be delegated.\r\n * @return address of the implementation to which it will be delegated\r\n */\r\n function implementation() public view returns (address);\r\n\r\n /**\r\n * @dev Fallback function allowing to perform a delegatecall to the given implementation.\r\n * This function will return whatever the implementation call returns\r\n */\r\n function() external payable {\r\n address _impl = implementation();\r\n require(_impl != address(0), \"implementation contract not set\");\r\n \r\n assembly {\r\n let ptr := mload(0x40)\r\n calldatacopy(ptr, 0, calldatasize)\r\n let result := delegatecall(gas, _impl, ptr, calldatasize, 0, 0)\r\n let size := returndatasize\r\n returndatacopy(ptr, 0, size)\r\n\r\n switch result\r\n case 0 { revert(ptr, size) }\r\n default { return(ptr, size) }\r\n }\r\n }\r\n}\r\n\r\n// File: contracts/Proxy/UpgradeabilityProxy.sol\r\n\r\n/**\r\n * @title UpgradeabilityProxy\r\n * @dev This contract represents a proxy where the implementation address to which it will delegate can be upgraded\r\n */\r\ncontract UpgradeabilityProxy is Proxy {\r\n /**\r\n * @dev This event will be emitted every time the implementation gets upgraded\r\n * @param implementation representing the address of the upgraded implementation\r\n */\r\n event Upgraded(address indexed implementation);\r\n\r\n // Storage position of the address of the current implementation\r\n bytes32 private constant implementationPosition = keccak256(\"trueUSD.proxy.implementation\");\r\n\r\n /**\r\n * @dev Tells the address of the current implementation\r\n * @return address of the current implementation\r\n */\r\n function implementation() public view returns (address impl) {\r\n bytes32 position = implementationPosition;\r\n assembly {\r\n impl := sload(position)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Sets the address of the current implementation\r\n * @param newImplementation address representing the new implementation to be set\r\n */\r\n function _setImplementation(address newImplementation) internal {\r\n bytes32 position = implementationPosition;\r\n assembly {\r\n sstore(position, newImplementation)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Upgrades the implementation address\r\n * @param newImplementation representing the address of the new implementation to be set\r\n */\r\n function _upgradeTo(address newImplementation) internal {\r\n address currentImplementation = implementation();\r\n require(currentImplementation != newImplementation);\r\n _setImplementation(newImplementation);\r\n emit Upgraded(newImplementation);\r\n }\r\n}\r\n\r\n// File: contracts/Proxy/OwnedUpgradeabilityProxy.sol\r\n\r\n/**\r\n * @title OwnedUpgradeabilityProxy\r\n * @dev This contract combines an upgradeability proxy with basic authorization control functionalities\r\n */\r\ncontract OwnedUpgradeabilityProxy is UpgradeabilityProxy {\r\n /**\r\n * @dev Event to show ownership has been transferred\r\n * @param previousOwner representing the address of the previous owner\r\n * @param newOwner representing the address of the new owner\r\n */\r\n event ProxyOwnershipTransferred(address indexed previousOwner, address indexed newOwner);\r\n\r\n /**\r\n * @dev Event to show ownership transfer is pending\r\n * @param currentOwner representing the address of the current owner\r\n * @param pendingOwner representing the address of the pending owner\r\n */\r\n event NewPendingOwner(address currentOwner, address pendingOwner);\r\n \r\n // Storage position of the owner and pendingOwner of the contract\r\n bytes32 private constant proxyOwnerPosition = keccak256(\"trueUSD.proxy.owner\");\r\n bytes32 private constant pendingProxyOwnerPosition = keccak256(\"trueUSD.pending.proxy.owner\");\r\n\r\n /**\r\n * @dev the constructor sets the original owner of the contract to the sender account.\r\n */\r\n constructor() public {\r\n _setUpgradeabilityOwner(msg.sender);\r\n }\r\n\r\n /**\r\n * @dev Throws if called by any account other than the owner.\r\n */\r\n modifier onlyProxyOwner() {\r\n require(msg.sender == proxyOwner(), \"only Proxy Owner\");\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Throws if called by any account other than the pending owner.\r\n */\r\n modifier onlyPendingProxyOwner() {\r\n require(msg.sender == pendingProxyOwner(), \"only pending Proxy Owner\");\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Tells the address of the owner\r\n * @return the address of the owner\r\n */\r\n function proxyOwner() public view returns (address owner) {\r\n bytes32 position = proxyOwnerPosition;\r\n assembly {\r\n owner := sload(position)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Tells the address of the owner\r\n * @return the address of the owner\r\n */\r\n function pendingProxyOwner() public view returns (address pendingOwner) {\r\n bytes32 position = pendingProxyOwnerPosition;\r\n assembly {\r\n pendingOwner := sload(position)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Sets the address of the owner\r\n */\r\n function _setUpgradeabilityOwner(address newProxyOwner) internal {\r\n bytes32 position = proxyOwnerPosition;\r\n assembly {\r\n sstore(position, newProxyOwner)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Sets the address of the owner\r\n */\r\n function _setPendingUpgradeabilityOwner(address newPendingProxyOwner) internal {\r\n bytes32 position = pendingProxyOwnerPosition;\r\n assembly {\r\n sstore(position, newPendingProxyOwner)\r\n }\r\n }\r\n\r\n /**\r\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\r\n *changes the pending owner to newOwner. But doesn't actually transfer\r\n * @param newOwner The address to transfer ownership to.\r\n */\r\n function transferProxyOwnership(address newOwner) external onlyProxyOwner {\r\n require(newOwner != address(0));\r\n _setPendingUpgradeabilityOwner(newOwner);\r\n emit NewPendingOwner(proxyOwner(), newOwner);\r\n }\r\n\r\n /**\r\n * @dev Allows the pendingOwner to claim ownership of the proxy\r\n */\r\n function claimProxyOwnership() external onlyPendingProxyOwner {\r\n emit ProxyOwnershipTransferred(proxyOwner(), pendingProxyOwner());\r\n _setUpgradeabilityOwner(pendingProxyOwner());\r\n _setPendingUpgradeabilityOwner(address(0));\r\n }\r\n\r\n /**\r\n * @dev Allows the proxy owner to upgrade the current version of the proxy.\r\n * @param implementation representing the address of the new implementation to be set.\r\n */\r\n function upgradeTo(address implementation) external onlyProxyOwner {\r\n _upgradeTo(implementation);\r\n }\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"proxyOwner\",\"outputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"pendingProxyOwner\",\"outputs\":[{\"name\":\"pendingOwner\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"name\":\"impl\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"claimProxyOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferProxyOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"ProxyOwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"currentOwner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"pendingOwner\",\"type\":\"address\"}],\"name\":\"NewPendingOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}]","ContractName":"OwnedUpgradeabilityProxy","CompilerVersion":"v0.4.23+commit.124ca40d","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0xdbc97a631c2fee80417d5d69f32b198c8c39c27e","SwarmSource":"bzzr://66d4b5932adad66dd7b19bdf5b36c25e9e99e563f06c779eeef9427bb3c9c767","SimilarMatch":"0x0000000000013949f288172bd7e36837bddc7211"}]} \ No newline at end of file diff --git a/tests/cachedrpc/dcbc84c33dd8d5c00f3fc52e5050444240407321c0c44a8ecd9f628512c28bd2 b/tests/cachedrpc/dcbc84c33dd8d5c00f3fc52e5050444240407321c0c44a8ecd9f628512c28bd2 new file mode 100644 index 00000000..de37973c --- /dev/null +++ b/tests/cachedrpc/dcbc84c33dd8d5c00f3fc52e5050444240407321c0c44a8ecd9f628512c28bd2 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"contracts/SwapRouter.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity =0.7.6;\\npragma abicoder v2;\\n\\nimport '@uniswap/v3-core/contracts/libraries/SafeCast.sol';\\nimport '@uniswap/v3-core/contracts/libraries/TickMath.sol';\\nimport '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';\\n\\nimport './interfaces/ISwapRouter.sol';\\nimport './base/PeripheryImmutableState.sol';\\nimport './base/PeripheryValidation.sol';\\nimport './base/PeripheryPaymentsWithFee.sol';\\nimport './base/Multicall.sol';\\nimport './base/SelfPermit.sol';\\nimport './libraries/Path.sol';\\nimport './libraries/PoolAddress.sol';\\nimport './libraries/CallbackValidation.sol';\\nimport './interfaces/external/IWETH9.sol';\\n\\n/// @title Uniswap V3 Swap Router\\n/// @notice Router for stateless execution of swaps against Uniswap V3\\ncontract SwapRouter is\\n ISwapRouter,\\n PeripheryImmutableState,\\n PeripheryValidation,\\n PeripheryPaymentsWithFee,\\n Multicall,\\n SelfPermit\\n{\\n using Path for bytes;\\n using SafeCast for uint256;\\n\\n /// @dev Used as the placeholder value for amountInCached, because the computed amount in for an exact output swap\\n /// can never actually be this value\\n uint256 private constant DEFAULT_AMOUNT_IN_CACHED = type(uint256).max;\\n\\n /// @dev Transient storage variable used for returning the computed amount in for an exact output swap.\\n uint256 private amountInCached = DEFAULT_AMOUNT_IN_CACHED;\\n\\n constructor(address _factory, address _WETH9) PeripheryImmutableState(_factory, _WETH9) {}\\n\\n /// @dev Returns the pool for the given token pair and fee. The pool contract may or may not exist.\\n function getPool(\\n address tokenA,\\n address tokenB,\\n uint24 fee\\n ) private view returns (IUniswapV3Pool) {\\n return IUniswapV3Pool(PoolAddress.computeAddress(factory, PoolAddress.getPoolKey(tokenA, tokenB, fee)));\\n }\\n\\n struct SwapCallbackData {\\n bytes path;\\n address payer;\\n }\\n\\n /// @inheritdoc IUniswapV3SwapCallback\\n function uniswapV3SwapCallback(\\n int256 amount0Delta,\\n int256 amount1Delta,\\n bytes calldata _data\\n ) external override {\\n require(amount0Delta > 0 || amount1Delta > 0); // swaps entirely within 0-liquidity regions are not supported\\n SwapCallbackData memory data = abi.decode(_data, (SwapCallbackData));\\n (address tokenIn, address tokenOut, uint24 fee) = data.path.decodeFirstPool();\\n CallbackValidation.verifyCallback(factory, tokenIn, tokenOut, fee);\\n\\n (bool isExactInput, uint256 amountToPay) =\\n amount0Delta > 0\\n ? (tokenIn < tokenOut, uint256(amount0Delta))\\n : (tokenOut < tokenIn, uint256(amount1Delta));\\n if (isExactInput) {\\n pay(tokenIn, data.payer, msg.sender, amountToPay);\\n } else {\\n // either initiate the next swap or pay\\n if (data.path.hasMultiplePools()) {\\n data.path = data.path.skipToken();\\n exactOutputInternal(amountToPay, msg.sender, 0, data);\\n } else {\\n amountInCached = amountToPay;\\n tokenIn = tokenOut; // swap in/out because exact output swaps are reversed\\n pay(tokenIn, data.payer, msg.sender, amountToPay);\\n }\\n }\\n }\\n\\n /// @dev Performs a single exact input swap\\n function exactInputInternal(\\n uint256 amountIn,\\n address recipient,\\n uint160 sqrtPriceLimitX96,\\n SwapCallbackData memory data\\n ) private returns (uint256 amountOut) {\\n // allow swapping to the router address with address 0\\n if (recipient == address(0)) recipient = address(this);\\n\\n (address tokenIn, address tokenOut, uint24 fee) = data.path.decodeFirstPool();\\n\\n bool zeroForOne = tokenIn < tokenOut;\\n\\n (int256 amount0, int256 amount1) =\\n getPool(tokenIn, tokenOut, fee).swap(\\n recipient,\\n zeroForOne,\\n amountIn.toInt256(),\\n sqrtPriceLimitX96 == 0\\n ? (zeroForOne ? TickMath.MIN_SQRT_RATIO + 1 : TickMath.MAX_SQRT_RATIO - 1)\\n : sqrtPriceLimitX96,\\n abi.encode(data)\\n );\\n\\n return uint256(-(zeroForOne ? amount1 : amount0));\\n }\\n\\n /// @inheritdoc ISwapRouter\\n function exactInputSingle(ExactInputSingleParams calldata params)\\n external\\n payable\\n override\\n checkDeadline(params.deadline)\\n returns (uint256 amountOut)\\n {\\n amountOut = exactInputInternal(\\n params.amountIn,\\n params.recipient,\\n params.sqrtPriceLimitX96,\\n SwapCallbackData({path: abi.encodePacked(params.tokenIn, params.fee, params.tokenOut), payer: msg.sender})\\n );\\n require(amountOut >= params.amountOutMinimum, 'Too little received');\\n }\\n\\n /// @inheritdoc ISwapRouter\\n function exactInput(ExactInputParams memory params)\\n external\\n payable\\n override\\n checkDeadline(params.deadline)\\n returns (uint256 amountOut)\\n {\\n address payer = msg.sender; // msg.sender pays for the first hop\\n\\n while (true) {\\n bool hasMultiplePools = params.path.hasMultiplePools();\\n\\n // the outputs of prior swaps become the inputs to subsequent ones\\n params.amountIn = exactInputInternal(\\n params.amountIn,\\n hasMultiplePools ? address(this) : params.recipient, // for intermediate swaps, this contract custodies\\n 0,\\n SwapCallbackData({\\n path: params.path.getFirstPool(), // only the first pool in the path is necessary\\n payer: payer\\n })\\n );\\n\\n // decide whether to continue or terminate\\n if (hasMultiplePools) {\\n payer = address(this); // at this point, the caller has paid\\n params.path = params.path.skipToken();\\n } else {\\n amountOut = params.amountIn;\\n break;\\n }\\n }\\n\\n require(amountOut >= params.amountOutMinimum, 'Too little received');\\n }\\n\\n /// @dev Performs a single exact output swap\\n function exactOutputInternal(\\n uint256 amountOut,\\n address recipient,\\n uint160 sqrtPriceLimitX96,\\n SwapCallbackData memory data\\n ) private returns (uint256 amountIn) {\\n // allow swapping to the router address with address 0\\n if (recipient == address(0)) recipient = address(this);\\n\\n (address tokenOut, address tokenIn, uint24 fee) = data.path.decodeFirstPool();\\n\\n bool zeroForOne = tokenIn < tokenOut;\\n\\n (int256 amount0Delta, int256 amount1Delta) =\\n getPool(tokenIn, tokenOut, fee).swap(\\n recipient,\\n zeroForOne,\\n -amountOut.toInt256(),\\n sqrtPriceLimitX96 == 0\\n ? (zeroForOne ? TickMath.MIN_SQRT_RATIO + 1 : TickMath.MAX_SQRT_RATIO - 1)\\n : sqrtPriceLimitX96,\\n abi.encode(data)\\n );\\n\\n uint256 amountOutReceived;\\n (amountIn, amountOutReceived) = zeroForOne\\n ? (uint256(amount0Delta), uint256(-amount1Delta))\\n : (uint256(amount1Delta), uint256(-amount0Delta));\\n // it's technically possible to not receive the full output amount,\\n // so if no price limit has been specified, require this possibility away\\n if (sqrtPriceLimitX96 == 0) require(amountOutReceived == amountOut);\\n }\\n\\n /// @inheritdoc ISwapRouter\\n function exactOutputSingle(ExactOutputSingleParams calldata params)\\n external\\n payable\\n override\\n checkDeadline(params.deadline)\\n returns (uint256 amountIn)\\n {\\n // avoid an SLOAD by using the swap return data\\n amountIn = exactOutputInternal(\\n params.amountOut,\\n params.recipient,\\n params.sqrtPriceLimitX96,\\n SwapCallbackData({path: abi.encodePacked(params.tokenOut, params.fee, params.tokenIn), payer: msg.sender})\\n );\\n\\n require(amountIn <= params.amountInMaximum, 'Too much requested');\\n // has to be reset even though we don't use it in the single hop case\\n amountInCached = DEFAULT_AMOUNT_IN_CACHED;\\n }\\n\\n /// @inheritdoc ISwapRouter\\n function exactOutput(ExactOutputParams calldata params)\\n external\\n payable\\n override\\n checkDeadline(params.deadline)\\n returns (uint256 amountIn)\\n {\\n // it's okay that the payer is fixed to msg.sender here, as they're only paying for the \\\"final\\\" exact output\\n // swap, which happens first, and subsequent swaps are paid for within nested callback frames\\n exactOutputInternal(\\n params.amountOut,\\n params.recipient,\\n 0,\\n SwapCallbackData({path: params.path, payer: msg.sender})\\n );\\n\\n amountIn = amountInCached;\\n require(amountIn <= params.amountInMaximum, 'Too much requested');\\n amountInCached = DEFAULT_AMOUNT_IN_CACHED;\\n }\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/libraries/SafeCast.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Safe casting methods\\n/// @notice Contains methods for safely casting between types\\nlibrary SafeCast {\\n /// @notice Cast a uint256 to a uint160, revert on overflow\\n /// @param y The uint256 to be downcasted\\n /// @return z The downcasted integer, now type uint160\\n function toUint160(uint256 y) internal pure returns (uint160 z) {\\n require((z = uint160(y)) == y);\\n }\\n\\n /// @notice Cast a int256 to a int128, revert on overflow or underflow\\n /// @param y The int256 to be downcasted\\n /// @return z The downcasted integer, now type int128\\n function toInt128(int256 y) internal pure returns (int128 z) {\\n require((z = int128(y)) == y);\\n }\\n\\n /// @notice Cast a uint256 to a int256, revert on overflow\\n /// @param y The uint256 to be casted\\n /// @return z The casted integer, now type int256\\n function toInt256(uint256 y) internal pure returns (int256 z) {\\n require(y < 2**255);\\n z = int256(y);\\n }\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/libraries/TickMath.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Math library for computing sqrt prices from ticks and vice versa\\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\\n/// prices between 2**-128 and 2**128\\nlibrary TickMath {\\n /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128\\n int24 internal constant MIN_TICK = -887272;\\n /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128\\n int24 internal constant MAX_TICK = -MIN_TICK;\\n\\n /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)\\n uint160 internal constant MIN_SQRT_RATIO = 4295128739;\\n /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)\\n uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;\\n\\n /// @notice Calculates sqrt(1.0001^tick) * 2^96\\n /// @dev Throws if |tick| > max tick\\n /// @param tick The input tick for the above formula\\n /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)\\n /// at the given tick\\n function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\\n uint256 absTick = tick < 0 ? uint256(-int256(tick)) : uint256(int256(tick));\\n require(absTick <= uint256(MAX_TICK), 'T');\\n\\n uint256 ratio = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\\n if (absTick & 0x2 != 0) ratio = (ratio * 0xfff97272373d413259a46990580e213a) >> 128;\\n if (absTick & 0x4 != 0) ratio = (ratio * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\\n if (absTick & 0x8 != 0) ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\\n if (absTick & 0x10 != 0) ratio = (ratio * 0xffcb9843d60f6159c9db58835c926644) >> 128;\\n if (absTick & 0x20 != 0) ratio = (ratio * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\\n if (absTick & 0x40 != 0) ratio = (ratio * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\\n if (absTick & 0x80 != 0) ratio = (ratio * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\\n if (absTick & 0x100 != 0) ratio = (ratio * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\\n if (absTick & 0x200 != 0) ratio = (ratio * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\\n if (absTick & 0x400 != 0) ratio = (ratio * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\\n if (absTick & 0x800 != 0) ratio = (ratio * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\\n if (absTick & 0x1000 != 0) ratio = (ratio * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\\n if (absTick & 0x2000 != 0) ratio = (ratio * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\\n if (absTick & 0x4000 != 0) ratio = (ratio * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\\n if (absTick & 0x8000 != 0) ratio = (ratio * 0x31be135f97d08fd981231505542fcfa6) >> 128;\\n if (absTick & 0x10000 != 0) ratio = (ratio * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\\n if (absTick & 0x20000 != 0) ratio = (ratio * 0x5d6af8dedb81196699c329225ee604) >> 128;\\n if (absTick & 0x40000 != 0) ratio = (ratio * 0x2216e584f5fa1ea926041bedfe98) >> 128;\\n if (absTick & 0x80000 != 0) ratio = (ratio * 0x48a170391f7dc42444e8fa2) >> 128;\\n\\n if (tick > 0) ratio = type(uint256).max / ratio;\\n\\n // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\\n // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\\n // we round up in the division so getTickAtSqrtRatio of the output price is always consistent\\n sqrtPriceX96 = uint160((ratio >> 32) + (ratio % (1 << 32) == 0 ? 0 : 1));\\n }\\n\\n /// @notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio\\n /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may\\n /// ever return.\\n /// @param sqrtPriceX96 The sqrt ratio for which to compute the tick as a Q64.96\\n /// @return tick The greatest tick for which the ratio is less than or equal to the input ratio\\n function getTickAtSqrtRatio(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\\n // second inequality must be < because the price can never reach the price at the max tick\\n require(sqrtPriceX96 >= MIN_SQRT_RATIO && sqrtPriceX96 < MAX_SQRT_RATIO, 'R');\\n uint256 ratio = uint256(sqrtPriceX96) << 32;\\n\\n uint256 r = ratio;\\n uint256 msb = 0;\\n\\n assembly {\\n let f := shl(7, gt(r, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))\\n msb := or(msb, f)\\n r := shr(f, r)\\n }\\n assembly {\\n let f := shl(6, gt(r, 0xFFFFFFFFFFFFFFFF))\\n msb := or(msb, f)\\n r := shr(f, r)\\n }\\n assembly {\\n let f := shl(5, gt(r, 0xFFFFFFFF))\\n msb := or(msb, f)\\n r := shr(f, r)\\n }\\n assembly {\\n let f := shl(4, gt(r, 0xFFFF))\\n msb := or(msb, f)\\n r := shr(f, r)\\n }\\n assembly {\\n let f := shl(3, gt(r, 0xFF))\\n msb := or(msb, f)\\n r := shr(f, r)\\n }\\n assembly {\\n let f := shl(2, gt(r, 0xF))\\n msb := or(msb, f)\\n r := shr(f, r)\\n }\\n assembly {\\n let f := shl(1, gt(r, 0x3))\\n msb := or(msb, f)\\n r := shr(f, r)\\n }\\n assembly {\\n let f := gt(r, 0x1)\\n msb := or(msb, f)\\n }\\n\\n if (msb >= 128) r = ratio >> (msb - 127);\\n else r = ratio << (127 - msb);\\n\\n int256 log_2 = (int256(msb) - 128) << 64;\\n\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(63, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(62, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(61, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(60, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(59, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(58, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(57, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(56, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(55, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(54, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(53, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(52, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(51, f))\\n r := shr(f, r)\\n }\\n assembly {\\n r := shr(127, mul(r, r))\\n let f := shr(128, r)\\n log_2 := or(log_2, shl(50, f))\\n }\\n\\n int256 log_sqrt10001 = log_2 * 255738958999603826347141; // 128.128 number\\n\\n int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\\n int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\\n\\n tick = tickLow == tickHi ? tickLow : getSqrtRatioAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\\n }\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\nimport './pool/IUniswapV3PoolImmutables.sol';\\nimport './pool/IUniswapV3PoolState.sol';\\nimport './pool/IUniswapV3PoolDerivedState.sol';\\nimport './pool/IUniswapV3PoolActions.sol';\\nimport './pool/IUniswapV3PoolOwnerActions.sol';\\nimport './pool/IUniswapV3PoolEvents.sol';\\n\\n/// @title The interface for a Uniswap V3 Pool\\n/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\\n/// to the ERC20 specification\\n/// @dev The pool interface is broken up into many smaller pieces\\ninterface IUniswapV3Pool is\\n IUniswapV3PoolImmutables,\\n IUniswapV3PoolState,\\n IUniswapV3PoolDerivedState,\\n IUniswapV3PoolActions,\\n IUniswapV3PoolOwnerActions,\\n IUniswapV3PoolEvents\\n{\\n\\n}\\n\"\r\n },\r\n \"contracts/interfaces/ISwapRouter.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\npragma abicoder v2;\\n\\nimport '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';\\n\\n/// @title Router token swapping functionality\\n/// @notice Functions for swapping tokens via Uniswap V3\\ninterface ISwapRouter is IUniswapV3SwapCallback {\\n struct ExactInputSingleParams {\\n address tokenIn;\\n address tokenOut;\\n uint24 fee;\\n address recipient;\\n uint256 deadline;\\n uint256 amountIn;\\n uint256 amountOutMinimum;\\n uint160 sqrtPriceLimitX96;\\n }\\n\\n /// @notice Swaps `amountIn` of one token for as much as possible of another token\\n /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\\n /// @return amountOut The amount of the received token\\n function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);\\n\\n struct ExactInputParams {\\n bytes path;\\n address recipient;\\n uint256 deadline;\\n uint256 amountIn;\\n uint256 amountOutMinimum;\\n }\\n\\n /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path\\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\\n /// @return amountOut The amount of the received token\\n function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);\\n\\n struct ExactOutputSingleParams {\\n address tokenIn;\\n address tokenOut;\\n uint24 fee;\\n address recipient;\\n uint256 deadline;\\n uint256 amountOut;\\n uint256 amountInMaximum;\\n uint160 sqrtPriceLimitX96;\\n }\\n\\n /// @notice Swaps as little as possible of one token for `amountOut` of another token\\n /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\\n /// @return amountIn The amount of the input token\\n function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);\\n\\n struct ExactOutputParams {\\n bytes path;\\n address recipient;\\n uint256 deadline;\\n uint256 amountOut;\\n uint256 amountInMaximum;\\n }\\n\\n /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\\n /// @return amountIn The amount of the input token\\n function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);\\n}\\n\"\r\n },\r\n \"contracts/base/PeripheryImmutableState.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity =0.7.6;\\n\\nimport '../interfaces/IPeripheryImmutableState.sol';\\n\\n/// @title Immutable state\\n/// @notice Immutable state used by periphery contracts\\nabstract contract PeripheryImmutableState is IPeripheryImmutableState {\\n /// @inheritdoc IPeripheryImmutableState\\n address public immutable override factory;\\n /// @inheritdoc IPeripheryImmutableState\\n address public immutable override WETH9;\\n\\n constructor(address _factory, address _WETH9) {\\n factory = _factory;\\n WETH9 = _WETH9;\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/PeripheryValidation.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity =0.7.6;\\n\\nimport './BlockTimestamp.sol';\\n\\nabstract contract PeripheryValidation is BlockTimestamp {\\n modifier checkDeadline(uint256 deadline) {\\n require(_blockTimestamp() <= deadline, 'Transaction too old');\\n _;\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/PeripheryPaymentsWithFee.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\n\\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\nimport '@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol';\\n\\nimport './PeripheryPayments.sol';\\nimport '../interfaces/IPeripheryPaymentsWithFee.sol';\\n\\nimport '../interfaces/external/IWETH9.sol';\\nimport '../libraries/TransferHelper.sol';\\n\\nabstract contract PeripheryPaymentsWithFee is PeripheryPayments, IPeripheryPaymentsWithFee {\\n using LowGasSafeMath for uint256;\\n\\n /// @inheritdoc IPeripheryPaymentsWithFee\\n function unwrapWETH9WithFee(\\n uint256 amountMinimum,\\n address recipient,\\n uint256 feeBips,\\n address feeRecipient\\n ) public payable override {\\n require(feeBips > 0 && feeBips <= 100);\\n\\n uint256 balanceWETH9 = IWETH9(WETH9).balanceOf(address(this));\\n require(balanceWETH9 >= amountMinimum, 'Insufficient WETH9');\\n\\n if (balanceWETH9 > 0) {\\n IWETH9(WETH9).withdraw(balanceWETH9);\\n uint256 feeAmount = balanceWETH9.mul(feeBips) / 10_000;\\n if (feeAmount > 0) TransferHelper.safeTransferETH(feeRecipient, feeAmount);\\n TransferHelper.safeTransferETH(recipient, balanceWETH9 - feeAmount);\\n }\\n }\\n\\n /// @inheritdoc IPeripheryPaymentsWithFee\\n function sweepTokenWithFee(\\n address token,\\n uint256 amountMinimum,\\n address recipient,\\n uint256 feeBips,\\n address feeRecipient\\n ) public payable override {\\n require(feeBips > 0 && feeBips <= 100);\\n\\n uint256 balanceToken = IERC20(token).balanceOf(address(this));\\n require(balanceToken >= amountMinimum, 'Insufficient token');\\n\\n if (balanceToken > 0) {\\n uint256 feeAmount = balanceToken.mul(feeBips) / 10_000;\\n if (feeAmount > 0) TransferHelper.safeTransfer(token, feeRecipient, feeAmount);\\n TransferHelper.safeTransfer(token, recipient, balanceToken - feeAmount);\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/Multicall.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity =0.7.6;\\npragma abicoder v2;\\n\\nimport '../interfaces/IMulticall.sol';\\n\\n/// @title Multicall\\n/// @notice Enables calling multiple methods in a single call to the contract\\nabstract contract Multicall is IMulticall {\\n /// @inheritdoc IMulticall\\n function multicall(bytes[] calldata data) external payable override returns (bytes[] memory results) {\\n results = new bytes[](data.length);\\n for (uint256 i = 0; i < data.length; i++) {\\n (bool success, bytes memory result) = address(this).delegatecall(data[i]);\\n\\n if (!success) {\\n // Next 5 lines from https://ethereum.stackexchange.com/a/83577\\n if (result.length < 68) revert();\\n assembly {\\n result := add(result, 0x04)\\n }\\n revert(abi.decode(result, (string)));\\n }\\n\\n results[i] = result;\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/SelfPermit.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\nimport '@openzeppelin/contracts/drafts/IERC20Permit.sol';\\n\\nimport '../interfaces/ISelfPermit.sol';\\nimport '../interfaces/external/IERC20PermitAllowed.sol';\\n\\n/// @title Self Permit\\n/// @notice Functionality to call permit on any EIP-2612-compliant token for use in the route\\n/// @dev These functions are expected to be embedded in multicalls to allow EOAs to approve a contract and call a function\\n/// that requires an approval in a single transaction.\\nabstract contract SelfPermit is ISelfPermit {\\n /// @inheritdoc ISelfPermit\\n function selfPermit(\\n address token,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) public payable override {\\n IERC20Permit(token).permit(msg.sender, address(this), value, deadline, v, r, s);\\n }\\n\\n /// @inheritdoc ISelfPermit\\n function selfPermitIfNecessary(\\n address token,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external payable override {\\n if (IERC20(token).allowance(msg.sender, address(this)) < value) selfPermit(token, value, deadline, v, r, s);\\n }\\n\\n /// @inheritdoc ISelfPermit\\n function selfPermitAllowed(\\n address token,\\n uint256 nonce,\\n uint256 expiry,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) public payable override {\\n IERC20PermitAllowed(token).permit(msg.sender, address(this), nonce, expiry, true, v, r, s);\\n }\\n\\n /// @inheritdoc ISelfPermit\\n function selfPermitAllowedIfNecessary(\\n address token,\\n uint256 nonce,\\n uint256 expiry,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external payable override {\\n if (IERC20(token).allowance(msg.sender, address(this)) < type(uint256).max)\\n selfPermitAllowed(token, nonce, expiry, v, r, s);\\n }\\n}\\n\"\r\n },\r\n \"contracts/libraries/Path.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.6.0;\\n\\nimport './BytesLib.sol';\\n\\n/// @title Functions for manipulating path data for multihop swaps\\nlibrary Path {\\n using BytesLib for bytes;\\n\\n /// @dev The length of the bytes encoded address\\n uint256 private constant ADDR_SIZE = 20;\\n /// @dev The length of the bytes encoded fee\\n uint256 private constant FEE_SIZE = 3;\\n\\n /// @dev The offset of a single token address and pool fee\\n uint256 private constant NEXT_OFFSET = ADDR_SIZE + FEE_SIZE;\\n /// @dev The offset of an encoded pool key\\n uint256 private constant POP_OFFSET = NEXT_OFFSET + ADDR_SIZE;\\n /// @dev The minimum length of an encoding that contains 2 or more pools\\n uint256 private constant MULTIPLE_POOLS_MIN_LENGTH = POP_OFFSET + NEXT_OFFSET;\\n\\n /// @notice Returns true iff the path contains two or more pools\\n /// @param path The encoded swap path\\n /// @return True if path contains two or more pools, otherwise false\\n function hasMultiplePools(bytes memory path) internal pure returns (bool) {\\n return path.length >= MULTIPLE_POOLS_MIN_LENGTH;\\n }\\n\\n /// @notice Decodes the first pool in path\\n /// @param path The bytes encoded swap path\\n /// @return tokenA The first token of the given pool\\n /// @return tokenB The second token of the given pool\\n /// @return fee The fee level of the pool\\n function decodeFirstPool(bytes memory path)\\n internal\\n pure\\n returns (\\n address tokenA,\\n address tokenB,\\n uint24 fee\\n )\\n {\\n tokenA = path.toAddress(0);\\n fee = path.toUint24(ADDR_SIZE);\\n tokenB = path.toAddress(NEXT_OFFSET);\\n }\\n\\n /// @notice Gets the segment corresponding to the first pool in the path\\n /// @param path The bytes encoded swap path\\n /// @return The segment containing all data necessary to target the first pool in the path\\n function getFirstPool(bytes memory path) internal pure returns (bytes memory) {\\n return path.slice(0, POP_OFFSET);\\n }\\n\\n /// @notice Skips a token + fee element from the buffer and returns the remainder\\n /// @param path The swap path\\n /// @return The remaining token + fee elements in the path\\n function skipToken(bytes memory path) internal pure returns (bytes memory) {\\n return path.slice(NEXT_OFFSET, path.length - NEXT_OFFSET);\\n }\\n}\\n\"\r\n },\r\n \"contracts/libraries/PoolAddress.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee\\nlibrary PoolAddress {\\n bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;\\n\\n /// @notice The identifying key of the pool\\n struct PoolKey {\\n address token0;\\n address token1;\\n uint24 fee;\\n }\\n\\n /// @notice Returns PoolKey: the ordered tokens with the matched fee levels\\n /// @param tokenA The first token of a pool, unsorted\\n /// @param tokenB The second token of a pool, unsorted\\n /// @param fee The fee level of the pool\\n /// @return Poolkey The pool details with ordered token0 and token1 assignments\\n function getPoolKey(\\n address tokenA,\\n address tokenB,\\n uint24 fee\\n ) internal pure returns (PoolKey memory) {\\n if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);\\n return PoolKey({token0: tokenA, token1: tokenB, fee: fee});\\n }\\n\\n /// @notice Deterministically computes the pool address given the factory and PoolKey\\n /// @param factory The Uniswap V3 factory contract address\\n /// @param key The PoolKey\\n /// @return pool The contract address of the V3 pool\\n function computeAddress(address factory, PoolKey memory key) internal pure returns (address pool) {\\n require(key.token0 < key.token1);\\n pool = address(\\n uint256(\\n keccak256(\\n abi.encodePacked(\\n hex'ff',\\n factory,\\n keccak256(abi.encode(key.token0, key.token1, key.fee)),\\n POOL_INIT_CODE_HASH\\n )\\n )\\n )\\n );\\n }\\n}\\n\"\r\n },\r\n \"contracts/libraries/CallbackValidation.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity =0.7.6;\\n\\nimport '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';\\nimport './PoolAddress.sol';\\n\\n/// @notice Provides validation for callbacks from Uniswap V3 Pools\\nlibrary CallbackValidation {\\n /// @notice Returns the address of a valid Uniswap V3 Pool\\n /// @param factory The contract address of the Uniswap V3 factory\\n /// @param tokenA The contract address of either token0 or token1\\n /// @param tokenB The contract address of the other token\\n /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\\n /// @return pool The V3 pool contract address\\n function verifyCallback(\\n address factory,\\n address tokenA,\\n address tokenB,\\n uint24 fee\\n ) internal view returns (IUniswapV3Pool pool) {\\n return verifyCallback(factory, PoolAddress.getPoolKey(tokenA, tokenB, fee));\\n }\\n\\n /// @notice Returns the address of a valid Uniswap V3 Pool\\n /// @param factory The contract address of the Uniswap V3 factory\\n /// @param poolKey The identifying key of the V3 pool\\n /// @return pool The V3 pool contract address\\n function verifyCallback(address factory, PoolAddress.PoolKey memory poolKey)\\n internal\\n view\\n returns (IUniswapV3Pool pool)\\n {\\n pool = IUniswapV3Pool(PoolAddress.computeAddress(factory, poolKey));\\n require(msg.sender == address(pool));\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/external/IWETH9.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity =0.7.6;\\n\\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\n\\n/// @title Interface for WETH9\\ninterface IWETH9 is IERC20 {\\n /// @notice Deposit ether to get wrapped ether\\n function deposit() external payable;\\n\\n /// @notice Withdraw wrapped ether to get ether\\n function withdraw(uint256) external;\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that never changes\\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\\ninterface IUniswapV3PoolImmutables {\\n /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\\n /// @return The contract address\\n function factory() external view returns (address);\\n\\n /// @notice The first of the two tokens of the pool, sorted by address\\n /// @return The token contract address\\n function token0() external view returns (address);\\n\\n /// @notice The second of the two tokens of the pool, sorted by address\\n /// @return The token contract address\\n function token1() external view returns (address);\\n\\n /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\\n /// @return The fee\\n function fee() external view returns (uint24);\\n\\n /// @notice The pool tick spacing\\n /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\\n /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\\n /// This value is an int24 to avoid casting even though it is always positive.\\n /// @return The tick spacing\\n function tickSpacing() external view returns (int24);\\n\\n /// @notice The maximum amount of position liquidity that can use any tick in the range\\n /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\\n /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\\n /// @return The max amount of liquidity per tick\\n function maxLiquidityPerTick() external view returns (uint128);\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that can change\\n/// @notice These methods compose the pool's state, and can change with any frequency including multiple times\\n/// per transaction\\ninterface IUniswapV3PoolState {\\n /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\\n /// when accessed externally.\\n /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\\n /// tick The current tick of the pool, i.e. according to the last tick transition that was run.\\n /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick\\n /// boundary.\\n /// observationIndex The index of the last oracle observation that was written,\\n /// observationCardinality The current maximum number of observations stored in the pool,\\n /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.\\n /// feeProtocol The protocol fee for both tokens of the pool.\\n /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\\n /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\\n /// unlocked Whether the pool is currently locked to reentrancy\\n function slot0()\\n external\\n view\\n returns (\\n uint160 sqrtPriceX96,\\n int24 tick,\\n uint16 observationIndex,\\n uint16 observationCardinality,\\n uint16 observationCardinalityNext,\\n uint8 feeProtocol,\\n bool unlocked\\n );\\n\\n /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\\n /// @dev This value can overflow the uint256\\n function feeGrowthGlobal0X128() external view returns (uint256);\\n\\n /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\\n /// @dev This value can overflow the uint256\\n function feeGrowthGlobal1X128() external view returns (uint256);\\n\\n /// @notice The amounts of token0 and token1 that are owed to the protocol\\n /// @dev Protocol fees will never exceed uint128 max in either token\\n function protocolFees() external view returns (uint128 token0, uint128 token1);\\n\\n /// @notice The currently in range liquidity available to the pool\\n /// @dev This value has no relationship to the total liquidity across all ticks\\n function liquidity() external view returns (uint128);\\n\\n /// @notice Look up information about a specific tick in the pool\\n /// @param tick The tick to look up\\n /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\\n /// tick upper,\\n /// liquidityNet how much liquidity changes when the pool price crosses the tick,\\n /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\\n /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\\n /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\\n /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\\n /// secondsOutside the seconds spent on the other side of the tick from the current tick,\\n /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\\n /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\\n /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\\n /// a specific position.\\n function ticks(int24 tick)\\n external\\n view\\n returns (\\n uint128 liquidityGross,\\n int128 liquidityNet,\\n uint256 feeGrowthOutside0X128,\\n uint256 feeGrowthOutside1X128,\\n int56 tickCumulativeOutside,\\n uint160 secondsPerLiquidityOutsideX128,\\n uint32 secondsOutside,\\n bool initialized\\n );\\n\\n /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information\\n function tickBitmap(int16 wordPosition) external view returns (uint256);\\n\\n /// @notice Returns the information about a position by the position's key\\n /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\\n /// @return _liquidity The amount of liquidity in the position,\\n /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\\n /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\\n /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\\n /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\\n function positions(bytes32 key)\\n external\\n view\\n returns (\\n uint128 _liquidity,\\n uint256 feeGrowthInside0LastX128,\\n uint256 feeGrowthInside1LastX128,\\n uint128 tokensOwed0,\\n uint128 tokensOwed1\\n );\\n\\n /// @notice Returns data about a specific observation index\\n /// @param index The element of the observations array to fetch\\n /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\\n /// ago, rather than at a specific index in the array.\\n /// @return blockTimestamp The timestamp of the observation,\\n /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\\n /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\\n /// Returns initialized whether the observation has been initialized and the values are safe to use\\n function observations(uint256 index)\\n external\\n view\\n returns (\\n uint32 blockTimestamp,\\n int56 tickCumulative,\\n uint160 secondsPerLiquidityCumulativeX128,\\n bool initialized\\n );\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that is not stored\\n/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the\\n/// blockchain. The functions here may have variable gas costs.\\ninterface IUniswapV3PoolDerivedState {\\n /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\\n /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\\n /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\\n /// you must call it with secondsAgos = [3600, 0].\\n /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\\n /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\\n /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\\n /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\\n /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\\n /// timestamp\\n function observe(uint32[] calldata secondsAgos)\\n external\\n view\\n returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);\\n\\n /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\\n /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\\n /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\\n /// snapshot is taken and the second snapshot is taken.\\n /// @param tickLower The lower tick of the range\\n /// @param tickUpper The upper tick of the range\\n /// @return tickCumulativeInside The snapshot of the tick accumulator for the range\\n /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\\n /// @return secondsInside The snapshot of seconds per liquidity for the range\\n function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)\\n external\\n view\\n returns (\\n int56 tickCumulativeInside,\\n uint160 secondsPerLiquidityInsideX128,\\n uint32 secondsInside\\n );\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Permissionless pool actions\\n/// @notice Contains pool methods that can be called by anyone\\ninterface IUniswapV3PoolActions {\\n /// @notice Sets the initial price for the pool\\n /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\\n /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96\\n function initialize(uint160 sqrtPriceX96) external;\\n\\n /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position\\n /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\\n /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\\n /// on tickLower, tickUpper, the amount of liquidity, and the current price.\\n /// @param recipient The address for which the liquidity will be created\\n /// @param tickLower The lower tick of the position in which to add liquidity\\n /// @param tickUpper The upper tick of the position in which to add liquidity\\n /// @param amount The amount of liquidity to mint\\n /// @param data Any data that should be passed through to the callback\\n /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\\n /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\\n function mint(\\n address recipient,\\n int24 tickLower,\\n int24 tickUpper,\\n uint128 amount,\\n bytes calldata data\\n ) external returns (uint256 amount0, uint256 amount1);\\n\\n /// @notice Collects tokens owed to a position\\n /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\\n /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\\n /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\\n /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\\n /// @param recipient The address which should receive the fees collected\\n /// @param tickLower The lower tick of the position for which to collect fees\\n /// @param tickUpper The upper tick of the position for which to collect fees\\n /// @param amount0Requested How much token0 should be withdrawn from the fees owed\\n /// @param amount1Requested How much token1 should be withdrawn from the fees owed\\n /// @return amount0 The amount of fees collected in token0\\n /// @return amount1 The amount of fees collected in token1\\n function collect(\\n address recipient,\\n int24 tickLower,\\n int24 tickUpper,\\n uint128 amount0Requested,\\n uint128 amount1Requested\\n ) external returns (uint128 amount0, uint128 amount1);\\n\\n /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\\n /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\\n /// @dev Fees must be collected separately via a call to #collect\\n /// @param tickLower The lower tick of the position for which to burn liquidity\\n /// @param tickUpper The upper tick of the position for which to burn liquidity\\n /// @param amount How much liquidity to burn\\n /// @return amount0 The amount of token0 sent to the recipient\\n /// @return amount1 The amount of token1 sent to the recipient\\n function burn(\\n int24 tickLower,\\n int24 tickUpper,\\n uint128 amount\\n ) external returns (uint256 amount0, uint256 amount1);\\n\\n /// @notice Swap token0 for token1, or token1 for token0\\n /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\\n /// @param recipient The address to receive the output of the swap\\n /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\\n /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\\n /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\\n /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\\n /// @param data Any data to be passed through to the callback\\n /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\\n /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\\n function swap(\\n address recipient,\\n bool zeroForOne,\\n int256 amountSpecified,\\n uint160 sqrtPriceLimitX96,\\n bytes calldata data\\n ) external returns (int256 amount0, int256 amount1);\\n\\n /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\\n /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback\\n /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\\n /// with 0 amount{0,1} and sending the donation amount(s) from the callback\\n /// @param recipient The address which will receive the token0 and token1 amounts\\n /// @param amount0 The amount of token0 to send\\n /// @param amount1 The amount of token1 to send\\n /// @param data Any data to be passed through to the callback\\n function flash(\\n address recipient,\\n uint256 amount0,\\n uint256 amount1,\\n bytes calldata data\\n ) external;\\n\\n /// @notice Increase the maximum number of price and liquidity observations that this pool will store\\n /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\\n /// the input observationCardinalityNext.\\n /// @param observationCardinalityNext The desired minimum number of observations for the pool to store\\n function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Permissioned pool actions\\n/// @notice Contains pool methods that may only be called by the factory owner\\ninterface IUniswapV3PoolOwnerActions {\\n /// @notice Set the denominator of the protocol's % share of the fees\\n /// @param feeProtocol0 new protocol fee for token0 of the pool\\n /// @param feeProtocol1 new protocol fee for token1 of the pool\\n function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;\\n\\n /// @notice Collect the protocol fee accrued to the pool\\n /// @param recipient The address to which collected protocol fees should be sent\\n /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\\n /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\\n /// @return amount0 The protocol fee collected in token0\\n /// @return amount1 The protocol fee collected in token1\\n function collectProtocol(\\n address recipient,\\n uint128 amount0Requested,\\n uint128 amount1Requested\\n ) external returns (uint128 amount0, uint128 amount1);\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Events emitted by a pool\\n/// @notice Contains all events emitted by the pool\\ninterface IUniswapV3PoolEvents {\\n /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\\n /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\\n /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96\\n /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\\n event Initialize(uint160 sqrtPriceX96, int24 tick);\\n\\n /// @notice Emitted when liquidity is minted for a given position\\n /// @param sender The address that minted the liquidity\\n /// @param owner The owner of the position and recipient of any minted liquidity\\n /// @param tickLower The lower tick of the position\\n /// @param tickUpper The upper tick of the position\\n /// @param amount The amount of liquidity minted to the position range\\n /// @param amount0 How much token0 was required for the minted liquidity\\n /// @param amount1 How much token1 was required for the minted liquidity\\n event Mint(\\n address sender,\\n address indexed owner,\\n int24 indexed tickLower,\\n int24 indexed tickUpper,\\n uint128 amount,\\n uint256 amount0,\\n uint256 amount1\\n );\\n\\n /// @notice Emitted when fees are collected by the owner of a position\\n /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\\n /// @param owner The owner of the position for which fees are collected\\n /// @param tickLower The lower tick of the position\\n /// @param tickUpper The upper tick of the position\\n /// @param amount0 The amount of token0 fees collected\\n /// @param amount1 The amount of token1 fees collected\\n event Collect(\\n address indexed owner,\\n address recipient,\\n int24 indexed tickLower,\\n int24 indexed tickUpper,\\n uint128 amount0,\\n uint128 amount1\\n );\\n\\n /// @notice Emitted when a position's liquidity is removed\\n /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\\n /// @param owner The owner of the position for which liquidity is removed\\n /// @param tickLower The lower tick of the position\\n /// @param tickUpper The upper tick of the position\\n /// @param amount The amount of liquidity to remove\\n /// @param amount0 The amount of token0 withdrawn\\n /// @param amount1 The amount of token1 withdrawn\\n event Burn(\\n address indexed owner,\\n int24 indexed tickLower,\\n int24 indexed tickUpper,\\n uint128 amount,\\n uint256 amount0,\\n uint256 amount1\\n );\\n\\n /// @notice Emitted by the pool for any swaps between token0 and token1\\n /// @param sender The address that initiated the swap call, and that received the callback\\n /// @param recipient The address that received the output of the swap\\n /// @param amount0 The delta of the token0 balance of the pool\\n /// @param amount1 The delta of the token1 balance of the pool\\n /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\\n /// @param liquidity The liquidity of the pool after the swap\\n /// @param tick The log base 1.0001 of price of the pool after the swap\\n event Swap(\\n address indexed sender,\\n address indexed recipient,\\n int256 amount0,\\n int256 amount1,\\n uint160 sqrtPriceX96,\\n uint128 liquidity,\\n int24 tick\\n );\\n\\n /// @notice Emitted by the pool for any flashes of token0/token1\\n /// @param sender The address that initiated the swap call, and that received the callback\\n /// @param recipient The address that received the tokens from flash\\n /// @param amount0 The amount of token0 that was flashed\\n /// @param amount1 The amount of token1 that was flashed\\n /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\\n /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\\n event Flash(\\n address indexed sender,\\n address indexed recipient,\\n uint256 amount0,\\n uint256 amount1,\\n uint256 paid0,\\n uint256 paid1\\n );\\n\\n /// @notice Emitted by the pool for increases to the number of observations that can be stored\\n /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\\n /// just before a mint/swap/burn.\\n /// @param observationCardinalityNextOld The previous value of the next observation cardinality\\n /// @param observationCardinalityNextNew The updated value of the next observation cardinality\\n event IncreaseObservationCardinalityNext(\\n uint16 observationCardinalityNextOld,\\n uint16 observationCardinalityNextNew\\n );\\n\\n /// @notice Emitted when the protocol fee is changed by the pool\\n /// @param feeProtocol0Old The previous value of the token0 protocol fee\\n /// @param feeProtocol1Old The previous value of the token1 protocol fee\\n /// @param feeProtocol0New The updated value of the token0 protocol fee\\n /// @param feeProtocol1New The updated value of the token1 protocol fee\\n event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);\\n\\n /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner\\n /// @param sender The address that collects the protocol fees\\n /// @param recipient The address that receives the collected protocol fees\\n /// @param amount0 The amount of token0 protocol fees that is withdrawn\\n /// @param amount0 The amount of token1 protocol fees that is withdrawn\\n event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Callback for IUniswapV3PoolActions#swap\\n/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface\\ninterface IUniswapV3SwapCallback {\\n /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\\n /// @dev In the implementation you must pay the pool tokens owed for the swap.\\n /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\\n /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\\n /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\\n /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.\\n /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\\n /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.\\n /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call\\n function uniswapV3SwapCallback(\\n int256 amount0Delta,\\n int256 amount1Delta,\\n bytes calldata data\\n ) external;\\n}\\n\"\r\n },\r\n \"contracts/interfaces/IPeripheryImmutableState.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Immutable state\\n/// @notice Functions that return immutable state of the router\\ninterface IPeripheryImmutableState {\\n /// @return Returns the address of the Uniswap V3 factory\\n function factory() external view returns (address);\\n\\n /// @return Returns the address of WETH9\\n function WETH9() external view returns (address);\\n}\\n\"\r\n },\r\n \"contracts/base/BlockTimestamp.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity =0.7.6;\\n\\n/// @title Function for getting block timestamp\\n/// @dev Base contract that is overridden for tests\\nabstract contract BlockTimestamp {\\n /// @dev Method that exists purely to be overridden for tests\\n /// @return The current block timestamp\\n function _blockTimestamp() internal view virtual returns (uint256) {\\n return block.timestamp;\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.7.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\"\r\n },\r\n \"@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.0;\\n\\n/// @title Optimized overflow and underflow safe math operations\\n/// @notice Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost\\nlibrary LowGasSafeMath {\\n /// @notice Returns x + y, reverts if sum overflows uint256\\n /// @param x The augend\\n /// @param y The addend\\n /// @return z The sum of x and y\\n function add(uint256 x, uint256 y) internal pure returns (uint256 z) {\\n require((z = x + y) >= x);\\n }\\n\\n /// @notice Returns x - y, reverts if underflows\\n /// @param x The minuend\\n /// @param y The subtrahend\\n /// @return z The difference of x and y\\n function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {\\n require((z = x - y) <= x);\\n }\\n\\n /// @notice Returns x * y, reverts if overflows\\n /// @param x The multiplicand\\n /// @param y The multiplier\\n /// @return z The product of x and y\\n function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {\\n require(x == 0 || (z = x * y) / x == y);\\n }\\n\\n /// @notice Returns x + y, reverts if overflows or underflows\\n /// @param x The augend\\n /// @param y The addend\\n /// @return z The sum of x and y\\n function add(int256 x, int256 y) internal pure returns (int256 z) {\\n require((z = x + y) >= x == (y >= 0));\\n }\\n\\n /// @notice Returns x - y, reverts if overflows or underflows\\n /// @param x The minuend\\n /// @param y The subtrahend\\n /// @return z The difference of x and y\\n function sub(int256 x, int256 y) internal pure returns (int256 z) {\\n require((z = x - y) <= x == (y >= 0));\\n }\\n}\\n\"\r\n },\r\n \"contracts/base/PeripheryPayments.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\n\\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\n\\nimport '../interfaces/IPeripheryPayments.sol';\\nimport '../interfaces/external/IWETH9.sol';\\n\\nimport '../libraries/TransferHelper.sol';\\n\\nimport './PeripheryImmutableState.sol';\\n\\nabstract contract PeripheryPayments is IPeripheryPayments, PeripheryImmutableState {\\n receive() external payable {\\n require(msg.sender == WETH9, 'Not WETH9');\\n }\\n\\n /// @inheritdoc IPeripheryPayments\\n function unwrapWETH9(uint256 amountMinimum, address recipient) external payable override {\\n uint256 balanceWETH9 = IWETH9(WETH9).balanceOf(address(this));\\n require(balanceWETH9 >= amountMinimum, 'Insufficient WETH9');\\n\\n if (balanceWETH9 > 0) {\\n IWETH9(WETH9).withdraw(balanceWETH9);\\n TransferHelper.safeTransferETH(recipient, balanceWETH9);\\n }\\n }\\n\\n /// @inheritdoc IPeripheryPayments\\n function sweepToken(\\n address token,\\n uint256 amountMinimum,\\n address recipient\\n ) external payable override {\\n uint256 balanceToken = IERC20(token).balanceOf(address(this));\\n require(balanceToken >= amountMinimum, 'Insufficient token');\\n\\n if (balanceToken > 0) {\\n TransferHelper.safeTransfer(token, recipient, balanceToken);\\n }\\n }\\n\\n /// @inheritdoc IPeripheryPayments\\n function refundETH() external payable override {\\n if (address(this).balance > 0) TransferHelper.safeTransferETH(msg.sender, address(this).balance);\\n }\\n\\n /// @param token The token to pay\\n /// @param payer The entity that must pay\\n /// @param recipient The entity that will receive payment\\n /// @param value The amount to pay\\n function pay(\\n address token,\\n address payer,\\n address recipient,\\n uint256 value\\n ) internal {\\n if (token == WETH9 && address(this).balance >= value) {\\n // pay with WETH9\\n IWETH9(WETH9).deposit{value: value}(); // wrap only what is needed to pay\\n IWETH9(WETH9).transfer(recipient, value);\\n } else if (payer == address(this)) {\\n // pay with tokens already in the contract (for the exact input multihop case)\\n TransferHelper.safeTransfer(token, recipient, value);\\n } else {\\n // pull payment\\n TransferHelper.safeTransferFrom(token, payer, recipient, value);\\n }\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/IPeripheryPaymentsWithFee.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\n\\nimport './IPeripheryPayments.sol';\\n\\n/// @title Periphery Payments\\n/// @notice Functions to ease deposits and withdrawals of ETH\\ninterface IPeripheryPaymentsWithFee is IPeripheryPayments {\\n /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH, with a percentage between\\n /// 0 (exclusive), and 1 (inclusive) going to feeRecipient\\n /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.\\n function unwrapWETH9WithFee(\\n uint256 amountMinimum,\\n address recipient,\\n uint256 feeBips,\\n address feeRecipient\\n ) external payable;\\n\\n /// @notice Transfers the full amount of a token held by this contract to recipient, with a percentage between\\n /// 0 (exclusive) and 1 (inclusive) going to feeRecipient\\n /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users\\n function sweepTokenWithFee(\\n address token,\\n uint256 amountMinimum,\\n address recipient,\\n uint256 feeBips,\\n address feeRecipient\\n ) external payable;\\n}\\n\"\r\n },\r\n \"contracts/libraries/TransferHelper.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.6.0;\\n\\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\\n\\nlibrary TransferHelper {\\n /// @notice Transfers tokens from the targeted address to the given destination\\n /// @notice Errors with 'STF' if transfer fails\\n /// @param token The contract address of the token to be transferred\\n /// @param from The originating address from which the tokens will be transferred\\n /// @param to The destination address of the transfer\\n /// @param value The amount to be transferred\\n function safeTransferFrom(\\n address token,\\n address from,\\n address to,\\n uint256 value\\n ) internal {\\n (bool success, bytes memory data) =\\n token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value));\\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'STF');\\n }\\n\\n /// @notice Transfers tokens from msg.sender to a recipient\\n /// @dev Errors with ST if transfer fails\\n /// @param token The contract address of the token which will be transferred\\n /// @param to The recipient of the transfer\\n /// @param value The value of the transfer\\n function safeTransfer(\\n address token,\\n address to,\\n uint256 value\\n ) internal {\\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value));\\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'ST');\\n }\\n\\n /// @notice Approves the stipulated contract to spend the given allowance in the given token\\n /// @dev Errors with 'SA' if transfer fails\\n /// @param token The contract address of the token to be approved\\n /// @param to The target of the approval\\n /// @param value The amount of the given token the target will be allowed to spend\\n function safeApprove(\\n address token,\\n address to,\\n uint256 value\\n ) internal {\\n (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, to, value));\\n require(success && (data.length == 0 || abi.decode(data, (bool))), 'SA');\\n }\\n\\n /// @notice Transfers ETH to the recipient address\\n /// @dev Fails with `STE`\\n /// @param to The destination of the transfer\\n /// @param value The value to be transferred\\n function safeTransferETH(address to, uint256 value) internal {\\n (bool success, ) = to.call{value: value}(new bytes(0));\\n require(success, 'STE');\\n }\\n}\\n\"\r\n },\r\n \"contracts/interfaces/IPeripheryPayments.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\n\\n/// @title Periphery Payments\\n/// @notice Functions to ease deposits and withdrawals of ETH\\ninterface IPeripheryPayments {\\n /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH.\\n /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.\\n /// @param amountMinimum The minimum amount of WETH9 to unwrap\\n /// @param recipient The address receiving ETH\\n function unwrapWETH9(uint256 amountMinimum, address recipient) external payable;\\n\\n /// @notice Refunds any ETH balance held by this contract to the `msg.sender`\\n /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps\\n /// that use ether for the input amount\\n function refundETH() external payable;\\n\\n /// @notice Transfers the full amount of a token held by this contract to recipient\\n /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users\\n /// @param token The contract address of the token which will be transferred to `recipient`\\n /// @param amountMinimum The minimum amount of token required for a transfer\\n /// @param recipient The destination address of the token\\n function sweepToken(\\n address token,\\n uint256 amountMinimum,\\n address recipient\\n ) external payable;\\n}\\n\"\r\n },\r\n \"contracts/interfaces/IMulticall.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\npragma abicoder v2;\\n\\n/// @title Multicall interface\\n/// @notice Enables calling multiple methods in a single call to the contract\\ninterface IMulticall {\\n /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed\\n /// @dev The `msg.value` should not be trusted for any method callable from multicall.\\n /// @param data The encoded function data for each of the calls to make to this contract\\n /// @return results The results from each of the calls passed in via data\\n function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/drafts/IERC20Permit.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n */\\ninterface IERC20Permit {\\n /**\\n * @dev Sets `value` as the allowance of `spender` over `owner`'s tokens,\\n * given `owner`'s signed approval.\\n *\\n * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n * ordering also apply here.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `deadline` must be a timestamp in the future.\\n * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n * over the EIP712-formatted function arguments.\\n * - the signature must use ``owner``'s current nonce (see {nonces}).\\n *\\n * For more information on the signature format, see the\\n * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n * section].\\n */\\n function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;\\n\\n /**\\n * @dev Returns the current nonce for `owner`. This value must be\\n * included whenever a signature is generated for {permit}.\\n *\\n * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n * prevents a signature from being used multiple times.\\n */\\n function nonces(address owner) external view returns (uint256);\\n\\n /**\\n * @dev Returns the domain separator used in the encoding of the signature for `permit`, as defined by {EIP712}.\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\"\r\n },\r\n \"contracts/interfaces/ISelfPermit.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\n\\n/// @title Self Permit\\n/// @notice Functionality to call permit on any EIP-2612-compliant token for use in the route\\ninterface ISelfPermit {\\n /// @notice Permits this contract to spend a given token from `msg.sender`\\n /// @dev The `owner` is always msg.sender and the `spender` is always address(this).\\n /// @param token The address of the token spent\\n /// @param value The amount that can be spent of token\\n /// @param deadline A timestamp, the current blocktime must be less than or equal to this timestamp\\n /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`\\n /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`\\n /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`\\n function selfPermit(\\n address token,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external payable;\\n\\n /// @notice Permits this contract to spend a given token from `msg.sender`\\n /// @dev The `owner` is always msg.sender and the `spender` is always address(this).\\n /// Can be used instead of #selfPermit to prevent calls from failing due to a frontrun of a call to #selfPermit\\n /// @param token The address of the token spent\\n /// @param value The amount that can be spent of token\\n /// @param deadline A timestamp, the current blocktime must be less than or equal to this timestamp\\n /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`\\n /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`\\n /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`\\n function selfPermitIfNecessary(\\n address token,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external payable;\\n\\n /// @notice Permits this contract to spend the sender's tokens for permit signatures that have the `allowed` parameter\\n /// @dev The `owner` is always msg.sender and the `spender` is always address(this)\\n /// @param token The address of the token spent\\n /// @param nonce The current nonce of the owner\\n /// @param expiry The timestamp at which the permit is no longer valid\\n /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`\\n /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`\\n /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`\\n function selfPermitAllowed(\\n address token,\\n uint256 nonce,\\n uint256 expiry,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external payable;\\n\\n /// @notice Permits this contract to spend the sender's tokens for permit signatures that have the `allowed` parameter\\n /// @dev The `owner` is always msg.sender and the `spender` is always address(this)\\n /// Can be used instead of #selfPermitAllowed to prevent calls from failing due to a frontrun of a call to #selfPermitAllowed.\\n /// @param token The address of the token spent\\n /// @param nonce The current nonce of the owner\\n /// @param expiry The timestamp at which the permit is no longer valid\\n /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`\\n /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`\\n /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`\\n function selfPermitAllowedIfNecessary(\\n address token,\\n uint256 nonce,\\n uint256 expiry,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external payable;\\n}\\n\"\r\n },\r\n \"contracts/interfaces/external/IERC20PermitAllowed.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Interface for permit\\n/// @notice Interface used by DAI/CHAI for permit\\ninterface IERC20PermitAllowed {\\n /// @notice Approve the spender to spend some tokens via the holder signature\\n /// @dev This is the permit interface used by DAI and CHAI\\n /// @param holder The address of the token holder, the token owner\\n /// @param spender The address of the token spender\\n /// @param nonce The holder's nonce, increases at each call to permit\\n /// @param expiry The timestamp at which the permit is no longer valid\\n /// @param allowed Boolean that sets approval amount, true for type(uint256).max and false for 0\\n /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`\\n /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`\\n /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`\\n function permit(\\n address holder,\\n address spender,\\n uint256 nonce,\\n uint256 expiry,\\n bool allowed,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external;\\n}\\n\"\r\n },\r\n \"contracts/libraries/BytesLib.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: GPL-2.0-or-later\\n/*\\n * @title Solidity Bytes Arrays Utils\\n * @author Gonçalo Sá \\n *\\n * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.\\n * The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.\\n */\\npragma solidity >=0.5.0 <0.8.0;\\n\\nlibrary BytesLib {\\n function slice(\\n bytes memory _bytes,\\n uint256 _start,\\n uint256 _length\\n ) internal pure returns (bytes memory) {\\n require(_length + 31 >= _length, 'slice_overflow');\\n require(_start + _length >= _start, 'slice_overflow');\\n require(_bytes.length >= _start + _length, 'slice_outOfBounds');\\n\\n bytes memory tempBytes;\\n\\n assembly {\\n switch iszero(_length)\\n case 0 {\\n // Get a location of some free memory and store it in tempBytes as\\n // Solidity does for memory variables.\\n tempBytes := mload(0x40)\\n\\n // The first word of the slice result is potentially a partial\\n // word read from the original array. To read it, we calculate\\n // the length of that partial word and start copying that many\\n // bytes into the array. The first word we copy will start with\\n // data we don't care about, but the last `lengthmod` bytes will\\n // land at the beginning of the contents of the new array. When\\n // we're done copying, we overwrite the full first word with\\n // the actual length of the slice.\\n let lengthmod := and(_length, 31)\\n\\n // The multiplication in the next line is necessary\\n // because when slicing multiples of 32 bytes (lengthmod == 0)\\n // the following copy loop was copying the origin's length\\n // and then ending prematurely not copying everything it should.\\n let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\\n let end := add(mc, _length)\\n\\n for {\\n // The multiplication in the next line has the same exact purpose\\n // as the one above.\\n let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\\n } lt(mc, end) {\\n mc := add(mc, 0x20)\\n cc := add(cc, 0x20)\\n } {\\n mstore(mc, mload(cc))\\n }\\n\\n mstore(tempBytes, _length)\\n\\n //update free-memory pointer\\n //allocating the array padded to 32 bytes like the compiler does now\\n mstore(0x40, and(add(mc, 31), not(31)))\\n }\\n //if we want a zero-length slice let's just return a zero-length array\\n default {\\n tempBytes := mload(0x40)\\n //zero out the 32 bytes slice we are about to return\\n //we need to do it because Solidity does not garbage collect\\n mstore(tempBytes, 0)\\n\\n mstore(0x40, add(tempBytes, 0x20))\\n }\\n }\\n\\n return tempBytes;\\n }\\n\\n function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {\\n require(_start + 20 >= _start, 'toAddress_overflow');\\n require(_bytes.length >= _start + 20, 'toAddress_outOfBounds');\\n address tempAddress;\\n\\n assembly {\\n tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)\\n }\\n\\n return tempAddress;\\n }\\n\\n function toUint24(bytes memory _bytes, uint256 _start) internal pure returns (uint24) {\\n require(_start + 3 >= _start, 'toUint24_overflow');\\n require(_bytes.length >= _start + 3, 'toUint24_outOfBounds');\\n uint24 tempUint;\\n\\n assembly {\\n tempUint := mload(add(add(_bytes, 0x3), _start))\\n }\\n\\n return tempUint;\\n }\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 1000000\r\n },\r\n \"metadata\": {\r\n \"bytecodeHash\": \"none\"\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"abi\"\r\n ]\r\n }\r\n },\r\n \"libraries\": {}\r\n }\r\n}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_WETH9\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactInputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactInputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactInputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"}],\"internalType\":\"struct ISwapRouter.ExactOutputParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutput\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMaximum\",\"type\":\"uint256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct ISwapRouter.ExactOutputSingleParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"exactOutputSingle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refundETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitAllowed\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitAllowedIfNecessary\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitIfNecessary\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feeBips\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"}],\"name\":\"sweepTokenWithFee\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"unwrapWETH9\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feeBips\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"}],\"name\":\"unwrapWETH9WithFee\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]","ContractName":"SwapRouter","CompilerVersion":"v0.7.6+commit.7338295f","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"1000000","ConstructorArguments":"0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"1","Implementation":"0xe592427a0aece92de3edee1f18e0157c05861564","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/df3b5db00ea2c01b8a4ac3f22de4f5d4b0956a13a2752f76fd9da788d543e369 b/tests/cachedrpc/df3b5db00ea2c01b8a4ac3f22de4f5d4b0956a13a2752f76fd9da788d543e369 new file mode 100644 index 00000000..87eeb272 --- /dev/null +++ b/tests/cachedrpc/df3b5db00ea2c01b8a4ac3f22de4f5d4b0956a13a2752f76fd9da788d543e369 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce","contractCreator":"0xb8f226ddb7bc672e27dffb67e4adabfa8c0dfa08","txHash":"0x0a4022e61c49c59b2538b78a6c7c9a0e4bb8c8fce2d1b4a725baef3c55fb7363","blockNumber":"10569013","timestamp":"1596220363","contractFactory":"","creationBytecode":"0x6080604052604051620017d4380380620017d4833981018060405260c08110156200002957600080fd5b8101908080516401000000008111156200004257600080fd5b828101905060208101848111156200005957600080fd5b81518560018202830111640100000000821117156200007757600080fd5b505092919060200180516401000000008111156200009457600080fd5b82810190506020810184811115620000ab57600080fd5b8151856001820283011164010000000082111715620000c957600080fd5b50509291906020018051906020019092919080519060200190929190805190602001909291908051906020019092919050505085600390805190602001906200011492919062000421565b5084600490805190602001906200012d92919062000421565b5083600560006101000a81548160ff021916908360ff160217905550620001648184620001b8640100000000026401000000009004565b8173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015620001ab573d6000803e3d6000fd5b50505050505050620004d0565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156200025e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b620002838160025462000396640100000000026200105b179091906401000000009004565b600281905550620002ea816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205462000396640100000000026200105b179091906401000000009004565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600080828401905083811015151562000417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200046457805160ff191683800117855562000495565b8280016001018555821562000495579182015b828111156200049457825182559160200191906001019062000477565b5b509050620004a49190620004a8565b5090565b620004cd91905b80821115620004c9576000816000905550600101620004af565b5090565b90565b6112f480620004e06000396000f3fe6080604052600436106100ba576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146100bf578063095ea7b31461014f57806318160ddd146101c257806323b872dd146101ed578063313ce5671461028057806339509351146102b157806342966c681461032457806370a082311461035f57806395d89b41146103c4578063a457c2d714610454578063a9059cbb146104c7578063dd62ed3e1461053a575b600080fd5b3480156100cb57600080fd5b506100d46105bf565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101145780820151818401526020810190506100f9565b50505050905090810190601f1680156101415780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015b57600080fd5b506101a86004803603604081101561017257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610661565b604051808215151515815260200191505060405180910390f35b3480156101ce57600080fd5b506101d7610678565b6040518082815260200191505060405180910390f35b3480156101f957600080fd5b506102666004803603606081101561021057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610682565b604051808215151515815260200191505060405180910390f35b34801561028c57600080fd5b50610295610733565b604051808260ff1660ff16815260200191505060405180910390f35b3480156102bd57600080fd5b5061030a600480360360408110156102d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061074a565b604051808215151515815260200191505060405180910390f35b34801561033057600080fd5b5061035d6004803603602081101561034757600080fd5b81019080803590602001909291905050506107ef565b005b34801561036b57600080fd5b506103ae6004803603602081101561038257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107fc565b6040518082815260200191505060405180910390f35b3480156103d057600080fd5b506103d9610844565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104195780820151818401526020810190506103fe565b50505050905090810190601f1680156104465780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561046057600080fd5b506104ad6004803603604081101561047757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108e6565b604051808215151515815260200191505060405180910390f35b3480156104d357600080fd5b50610520600480360360408110156104ea57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061098b565b604051808215151515815260200191505060405180910390f35b34801561054657600080fd5b506105a96004803603604081101561055d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109a2565b6040518082815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106575780601f1061062c57610100808354040283529160200191610657565b820191906000526020600020905b81548152906001019060200180831161063a57829003601f168201915b5050505050905090565b600061066e338484610a29565b6001905092915050565b6000600254905090565b600061068f848484610caa565b610728843361072385600160008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fd090919063ffffffff16565b610a29565b600190509392505050565b6000600560009054906101000a900460ff16905090565b60006107e533846107e085600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461105b90919063ffffffff16565b610a29565b6001905092915050565b6107f933826110e5565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108dc5780601f106108b1576101008083540402835291602001916108dc565b820191906000526020600020905b8154815290600101906020018083116108bf57829003601f168201915b5050505050905090565b6000610981338461097c85600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fd090919063ffffffff16565b610a29565b6001905092915050565b6000610998338484610caa565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610af4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f45524332303a20617070726f76652066726f6d20746865207a65726f2061646481526020017f726573730000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515610bbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001807f45524332303a20617070726f766520746f20746865207a65726f20616464726581526020017f737300000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610d75576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001807f45524332303a207472616e736665722066726f6d20746865207a65726f20616481526020017f647265737300000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515610e40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001807f45524332303a207472616e7366657220746f20746865207a65726f206164647281526020017f657373000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b610e91816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fd090919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f24816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461105b90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600082821115151561104a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b600082840390508091505092915050565b60008082840190508381101515156110db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001807f45524332303a206275726e2066726f6d20746865207a65726f2061646472657381526020017f730000000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6111c581600254610fd090919063ffffffff16565b60028190555061121c816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fd090919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505056fea165627a7a72305820e20d925751f78a8e97575d042cae5a0688546f17e3e28665288efb94861651f1002900000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000314dc6448d9338c15b0a000000000000000000000000000000006603cb70464ca51481d4edbb3b927f66f53f4f42000000000000000000000000b8f226ddb7bc672e27dffb67e4adabfa8c0dfa080000000000000000000000000000000000000000000000000000000000000009534849424120494e55000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045348494200000000000000000000000000000000000000000000000000000000"}]} \ No newline at end of file diff --git a/tests/cachedrpc/e0238ff0b60ef5c9de009270b45dcd64f888e41c0db1cbf345b229031fc38e4a b/tests/cachedrpc/e0238ff0b60ef5c9de009270b45dcd64f888e41c0db1cbf345b229031fc38e4a new file mode 100644 index 00000000..2f6ec027 --- /dev/null +++ b/tests/cachedrpc/e0238ff0b60ef5c9de009270b45dcd64f888e41c0db1cbf345b229031fc38e4a @@ -0,0 +1 @@ +{"jsonrpc":"2.0","id":1,"result":[{"action":{"from":"0x707cd0b3d68a1cedda15854d365a80e00c6632d6","callType":"call","gas":"0xbf68","input":"0x","to":"0xacf7047a7a49410e0e81218968169b477ba05db3","value":"0x35bf740829ff68"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xe41491071331c8abde4693ad8b6fe9445762e90af872281211ee17e587b871c1","transactionPosition":0,"type":"call"},{"action":{"from":"0x7f6fd88068b58c95b0a2181a8e93f26568a86c03","callType":"call","gas":"0x5dc0","input":"0x","to":"0x344ba753f4a360e18824f1e8d21405a74a1523f5","value":"0x8e1bc9bf04000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3f58b5c973d89fec3dab2b94cfd8f62ab0ff94844b13f0a5ddc38f1812262f7d","transactionPosition":1,"type":"call"},{"action":{"from":"0x7f6fd88068b58c95b0a2181a8e93f26568a86c03","callType":"call","gas":"0x5dc0","input":"0x","to":"0x611bd2ab9d6d1307f0a8a34de59e8b841aff0e9b","value":"0x3d1ecd23f9000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xa838be27ead3633c408cdbb2d861a3ad0ebd0d88c84b17b9771594d7d2d0155d","transactionPosition":2,"type":"call"},{"action":{"from":"0x7f6fd88068b58c95b0a2181a8e93f26568a86c03","callType":"call","gas":"0x5dc0","input":"0x","to":"0x3ad86a2d9acd6784a7a9a5910558dc09aae95aed","value":"0x456878774e000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3ea7c5ae335601da0df3b729b23ec36f3cd02b25ac80ab44125db9e81ca52ab6","transactionPosition":3,"type":"call"},{"action":{"from":"0x43f8e7e9cf89a6691a84fb13397be99b7a708768","callType":"call","gas":"0x0","input":"0x","to":"0xb01cb49fe0d6d6e47edf3a072d15dfe73155331c","value":"0x19160e4756f2000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xdd2d5f9a36c351ca8c2773d5be208bf2604e09b3c530f5f7e693b85ab81863e1","transactionPosition":4,"type":"call"},{"action":{"from":"0x4b02a4386ff564988bbfe9f05bcd29ee60086e90","callType":"call","gas":"0x0","input":"0x","to":"0xb01cb49fe0d6d6e47edf3a072d15dfe73155331c","value":"0x41067b4552f000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xbe1c7b826ba59cf799e7b6237402542df8c8dd474194bdc503adcebed41c6fc0","transactionPosition":5,"type":"call"},{"action":{"from":"0x0a98fb70939162725ae66e626fe4b52cff62c2e5","callType":"call","gas":"0x1ce78","input":"0xa9059cbb000000000000000000000000a9f1fe58cb15c139df92b957208ba85be2a9a670000000000000000000000000000000000000000000000000000000000717cbc0","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xc1b268edb2f0d49ccda10e3cae6cf2fedafac478232e45f14423047359fb1243","transactionPosition":6,"type":"call"},{"action":{"from":"0x0a98fb70939162725ae66e626fe4b52cff62c2e5","callType":"call","gas":"0x1ce78","input":"0xa9059cbb0000000000000000000000007701ce76d8a10dd0127f1dbc043cc7b6b190be340000000000000000000000000000000000000000000000000000000012a3fdaf","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xf8bad19eae9b6d20b1c66864a622a1a87978e0467ff2771caa72d576903c98af","transactionPosition":7,"type":"call"},{"action":{"from":"0xe93381fb4c4f14bda253907b18fad305d799241a","callType":"call","gas":"0x1ce78","input":"0xa9059cbb000000000000000000000000a9f6e9f7226d9bfc145dc2f182a9afa4ca227e51000000000000000000000000000000000000000000000000000000000bdc7fc0","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x64bc839c144a1b05333111f518e69cc1559ed542b892a24d222730ac9a741f8d","transactionPosition":8,"type":"call"},{"action":{"from":"0x46705dfff24256421a05d056c29e81bdc09723b8","callType":"call","gas":"0x1ce84","input":"0xa9059cbb000000000000000000000000ba25fa1960869539517426014f740b156232850f0000000000000000000000000000000000000000000000000000000077359400","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xb0c69d604f982dc4f4d4bd3d90bd57268632be4fd25cd5d8aa50a21e7b396149","transactionPosition":9,"type":"call"},{"action":{"from":"0x96c01fa1d6a732f7888b564453ced1cd6c1fa5b9","callType":"call","gas":"0x13498","input":"0x","to":"0x178a9bc0dafaea74ece366d63a16da0c67a0205b","value":"0x27781edada619400"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xb76382b67a7c9db5be57dbb6b1e9f720118c88f156fe0cb8f82bc74562bdcfaa","transactionPosition":10,"type":"call"},{"action":{"from":"0x552d1bcd1793f2755f24de553813f7caf23810f8","callType":"call","gas":"0x10b28","input":"0xa9059cbb000000000000000000000000cecc2df22f4847fcf19f3233b7d83a950f802a6a0000000000000000000000000000000000000000000000000000000003750280","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x96d5d8ae1930d10e1881d58192a66d81b1d05a687413c5e89f77a3c0e9a9d0f6","transactionPosition":11,"type":"call"},{"action":{"from":"0x89f5c93ff58203c686015ceafce35ffd1c8fb5af","callType":"call","gas":"0x56bfa","input":"0xa9059cbb0000000000000000000000005a5c9fa16eb10bb89df4313a1c2f1d863cae5265000000000000000000000000000000000000000000000000000000000a1442e0","to":"0x039b5649a59967e3e936d7471f9c3700100ee1ab","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3ed5","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xe4cae7953e7bd733ea2f4bde51f018f817c24323756bcdd008c6afe671f82993","transactionPosition":12,"type":"call"},{"action":{"from":"0xd37ddb7d080bc8d11845df7af597fe85971ea475","callType":"call","gas":"0x2ea6b","input":"0x5995c4060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000007e2e2a7db017ed308","to":"0x3911c614be43ac656d818092236be68e413d2708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1b11b","output":"0xffffffffffffffffffffffffffffffffffffffffffffffff90fa4a62c4e00000"},"subtraces":3,"traceAddress":[],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x3911c614be43ac656d818092236be68e413d2708","callType":"call","gas":"0x2cc3d","input":"0x06f2bf620000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862","to":"0xc0a47dfe034b400b47bdad5fecda2621de6c4d95","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x465","output":"0x00000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x3911c614be43ac656d818092236be68e413d2708","callType":"call","gas":"0x2a8d6","input":"0xf39b5b9b000000000000000000000000000000000000000000000007e2e2a7db017ed30800000000000000000000000000000000000000000000003635c9adc5de9fffff","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x6f05b59d3b200000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x10675","output":"0x000000000000000000000000000000000000000000000007ed07d09410f0aaee017ed30800000000000000000000000000000000000000000000003635c9adc5de9fffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[1],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x299c5","input":"0xf39b5b9b000000000000000000000000000000000000000000000007e2e2a7db017ed30800000000000000000000000000000000000000000000003635c9adc5de9fffff","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x6f05b59d3b200000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x101e0","output":"0x000000000000000000000000000000000000000000000007ed07d09410f0aaee"},"subtraces":2,"traceAddress":[1,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x27e6e","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":2,"traceAddress":[1,0,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x2649a","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[1,0,0,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x25b8e","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032dee68632b513fdae8a"},"subtraces":0,"traceAddress":[1,0,0,1],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"call","gas":"0x2473b","input":"0xa9059cbb0000000000000000000000003911c614be43ac656d818092236be68e413d2708000000000000000000000000000000000000000000000007ed07d09410f0aaee","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xb0bd","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[1,0,1],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x22e44","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[1,0,1,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x22532","input":"0xa9059cbb0000000000000000000000003911c614be43ac656d818092236be68e413d2708000000000000000000000000000000000000000000000007ed07d09410f0aaee","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x972b","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[1,0,1,1],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x1d686","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[1,0,1,1,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x1c6f4","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af0000000000000000000000003911c614be43ac656d818092236be68e413d2708000000000000000000000000000000000000000000000007ed07d09410f0aaee","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[1,0,1,1,1],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x1b047","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[1,0,1,1,1,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x199ac","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[1,0,1,1,1,0,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x190a3","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[1,0,1,1,1,0,1],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x3911c614be43ac656d818092236be68e413d2708","callType":"call","gas":"0x19893","input":"0xd8ccd0f30000000000000000000000000000000000000000000000000000000000000002","to":"0x0000000000b3f879cb30fe243b4dfee438691c04","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x64f0","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[2],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x127fc","input":"0x","to":"0xb8dd3e1af4b59f165179804b3f0718a1bfc7a2bc","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[2,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"address":"0xb8dd3e1af4b59f165179804b3f0718a1bfc7a2bc","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[2,0,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x10ddb","input":"0x","to":"0x81691822f1f580c537d93dbd6d78270956d0de16","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[2,1],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"call"},{"action":{"address":"0x81691822f1f580c537d93dbd6d78270956d0de16","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[2,1,0],"transactionHash":"0xd02e8d5701c9b748be7a23ff20419941754ef655370a7b26fbba909d6f4bf5db","transactionPosition":13,"type":"suicide"},{"action":{"from":"0xd37ddb7d080bc8d11845df7af597fe85971ea475","callType":"call","gas":"0xe6d9c","input":"0x5995c406000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000290000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000fb17afe43e41a9c0","to":"0x3911c614be43ac656d818092236be68e413d2708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8ed9a","output":"0xffffffffffffffffffffffffffffffffffffffffffffffff90fa4a62c4e00000"},"subtraces":2,"traceAddress":[],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x3911c614be43ac656d818092236be68e413d2708","callType":"call","gas":"0xe086b","input":"0x7a2a04560000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000000fb17afe43e41a9c0","to":"0x818e6fecd516ecc3849daf6845e3ec868087b755","value":"0x6f05b59d3b200000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x74ba6","output":"0x000000000000000000000000000000000000000000000007ea8efc00bffa4490"},"subtraces":3,"traceAddress":[0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x818e6fecd516ecc3849daf6845e3ec868087b755","callType":"call","gas":"0xdc1b5","input":"0x70a082310000000000000000000000003911c614be43ac656d818092236be68e413d2708","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x00000000000000000000000000000000000000000000003293e889d53adf6345"},"subtraces":2,"traceAddress":[0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0xd7ad4","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0xd71c8","input":"0x70a082310000000000000000000000003911c614be43ac656d818092236be68e413d2708","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x00000000000000000000000000000000000000000000003293e889d53adf6345"},"subtraces":0,"traceAddress":[0,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x818e6fecd516ecc3849daf6845e3ec868087b755","callType":"call","gas":"0xd7cff","input":"0x088322ef0000000000000000000000003911c614be43ac656d818092236be68e413d2708000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000003911c614be43ac656d818092236be68e413d27080000000000000000000000000000000000000000204fce5e3e25026110000000000000000000000000000000000000000000000000000000fb17afe43e41a9c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000","to":"0x65bf64ff5f51272f729bdcd7acfb00677ced86cd","value":"0x6f05b59d3b200000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6b05e","output":"0x000000000000000000000000000000000000000000000007ea8efc00bffa4490"},"subtraces":6,"traceAddress":[0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x65bf64ff5f51272f729bdcd7acfb00677ced86cd","callType":"call","gas":"0xcf08b","input":"0x7cd44272000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000000000000000009899c4","to":"0x63825c174ab367968ec60f061753d3bbd36a0d8f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x10c08","output":"0x000000000000000000000000000000000000000000000000e857d6344f6ce6e5"},"subtraces":3,"traceAddress":[0,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x63825c174ab367968ec60f061753d3bbd36a0d8f","callType":"call","gas":"0xcac22","input":"0xb8e9c22e0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000009899c400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000006f05b59d3b200000","to":"0x798abda6cc246d0edba912092a2a3dbd3d11191b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xb460","output":"0x000000000000000000000000000000000000000000000000e857d6344f6ce6e5"},"subtraces":0,"traceAddress":[0,1,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x63825c174ab367968ec60f061753d3bbd36a0d8f","callType":"call","gas":"0xbecaf","input":"0x70a0823100000000000000000000000063825c174ab367968ec60f061753d3bbd36a0d8f","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x00000000000000000000000000000000000000000000001ebb3b10d36a602ce0"},"subtraces":2,"traceAddress":[0,1,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0xbad22","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,0,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0xba416","input":"0x70a0823100000000000000000000000063825c174ab367968ec60f061753d3bbd36a0d8f","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x00000000000000000000000000000000000000000000001ebb3b10d36a602ce0"},"subtraces":0,"traceAddress":[0,1,0,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x63825c174ab367968ec60f061753d3bbd36a0d8f","callType":"call","gas":"0xbc01f","input":"0xa58092b7000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862","to":"0xdfc85c08d5e5924ab49750e006cf8a826ffb7b13","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xac3","output":"0x000000000000000000000000000000000000000000000001227efc162aa87ea8"},"subtraces":0,"traceAddress":[0,1,0,2],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x65bf64ff5f51272f729bdcd7acfb00677ced86cd","callType":"call","gas":"0xbe02d","input":"0x7cd44272000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000000000000000009899c4","to":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x15243","output":"0x000000000000000000000000000000000000000000000000f8c5ea7f1873216d"},"subtraces":4,"traceAddress":[0,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0xb9ff0","input":"0xb8e9c22e0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000009899c400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000006f05b59d3b200000","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc1b5","output":"0x000000000000000000000000000000000000000000000000f8c5ea7f1873216d"},"subtraces":0,"traceAddress":[0,1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0xad63a","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,1,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0xa9b07","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0xa91fe","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,1,1,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0xaaec1","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":2,"traceAddress":[0,1,1,2],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0xa742c","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,1,2,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0xa6b20","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":0,"traceAddress":[0,1,1,2,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0xa88db","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2176","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":2,"traceAddress":[0,1,1,3],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0xa4edd","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,1,3,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0xa45cb","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7e4","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":0,"traceAddress":[0,1,1,3,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x65bf64ff5f51272f729bdcd7acfb00677ced86cd","callType":"call","gas":"0xa8aac","input":"0x7cd44272000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000000000000000009899c4","to":"0x31e085afd48a1d6e51cc193153d625e8f0514c7f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xdc50","output":"0x000000000000000000000000000000000000000000000000fd51df8017ff4892"},"subtraces":3,"traceAddress":[0,1,2],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x31e085afd48a1d6e51cc193153d625e8f0514c7f","callType":"call","gas":"0xa46a3","input":"0xcd7724c30000000000000000000000000000000000000000000000006f05b59d3b200000","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000007ea8efc00bffa44923b20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,1,2,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0xa191e","input":"0xcd7724c30000000000000000000000000000000000000000000000006f05b59d3b200000","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000007ea8efc00bffa4492"},"subtraces":1,"traceAddress":[0,1,2,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x9de56","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032d6f97e6221030d039c"},"subtraces":2,"traceAddress":[0,1,2,0,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x9a703","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,2,0,0,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x99df6","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032d6f97e6221030d039c"},"subtraces":0,"traceAddress":[0,1,2,0,0,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x31e085afd48a1d6e51cc193153d625e8f0514c7f","callType":"call","gas":"0x9f99b","input":"0x95b68fe7000000000000000000000000000000000000000000000007ea8efc00bffa4492","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3d22","output":"0x0000000000000000000000000000000000000000000000006e3923d338634006bffa449200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,1,2,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x9cd4a","input":"0x95b68fe7000000000000000000000000000000000000000000000007ea8efc00bffa4492","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3890","output":"0x0000000000000000000000000000000000000000000000006e3923d338634006"},"subtraces":1,"traceAddress":[0,1,2,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x99378","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032d6f97e6221030d039c"},"subtraces":2,"traceAddress":[0,1,2,1,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x95d50","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,2,1,0,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x95444","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032d6f97e6221030d039c"},"subtraces":0,"traceAddress":[0,1,2,1,0,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x31e085afd48a1d6e51cc193153d625e8f0514c7f","callType":"call","gas":"0x9a7f8","input":"0x70a0823100000000000000000000000031e085afd48a1d6e51cc193153d625e8f0514c7f","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x000000000000000000000000000000000000000000000000006b05dab53e75bf"},"subtraces":2,"traceAddress":[0,1,2,2],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x9717e","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,2,2,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x96872","input":"0x70a0823100000000000000000000000031e085afd48a1d6e51cc193153d625e8f0514c7f","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x000000000000000000000000000000000000000000000000006b05dab53e75bf"},"subtraces":0,"traceAddress":[0,1,2,2,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x65bf64ff5f51272f729bdcd7acfb00677ced86cd","callType":"call","gas":"0x97dde","input":"0x6cf69811000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000065bf64ff5f51272f729bdcd7acfb00677ced86cd000000000000000000000000000000000000000000000000fd51df8017ff48920000000000000000000000000000000000000000000000000000000000000001","to":"0x31e085afd48a1d6e51cc193153d625e8f0514c7f","value":"0x6f05b59d3b200000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f8f4","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,3],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x31e085afd48a1d6e51cc193153d625e8f0514c7f","callType":"call","gas":"0x91a63","input":"0xf39b5b9b00000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x6f05b59d3b200000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x10675","output":"0x000000000000000000000000000000000000000000000007ea8efc00bffa44920000000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,1,3,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x8f18c","input":"0xf39b5b9b00000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x6f05b59d3b200000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x101e0","output":"0x000000000000000000000000000000000000000000000007ea8efc00bffa4492"},"subtraces":2,"traceAddress":[0,1,3,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x8bcd6","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032d6f97e6221030d039c"},"subtraces":2,"traceAddress":[0,1,3,0,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x88a09","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,3,0,0,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x880fc","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032d6f97e6221030d039c"},"subtraces":0,"traceAddress":[0,1,3,0,0,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"call","gas":"0x885a2","input":"0xa9059cbb00000000000000000000000031e085afd48a1d6e51cc193153d625e8f0514c7f000000000000000000000000000000000000000000000007ea8efc00bffa4492","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xb0bd","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,3,0,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x853b1","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,3,0,0,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x84a9f","input":"0xa9059cbb00000000000000000000000031e085afd48a1d6e51cc193153d625e8f0514c7f000000000000000000000000000000000000000000000007ea8efc00bffa4492","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x972b","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,3,0,0,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x7e35d","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[0,1,3,0,0,1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x7d3cb","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af00000000000000000000000031e085afd48a1d6e51cc193153d625e8f0514c7f000000000000000000000000000000000000000000000007ea8efc00bffa4492","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[0,1,3,0,0,1,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x7a4eb","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[0,1,3,0,0,1,1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x7767d","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[0,1,3,0,0,1,1,1,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x76d74","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[0,1,3,0,0,1,1,1,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x31e085afd48a1d6e51cc193153d625e8f0514c7f","callType":"call","gas":"0x810d2","input":"0xa9059cbb00000000000000000000000065bf64ff5f51272f729bdcd7acfb00677ced86cd000000000000000000000000000000000000000000000007ea8efc00bffa4490","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xa055","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,3,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x7e0b5","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,3,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x7d7a2","input":"0xa9059cbb00000000000000000000000065bf64ff5f51272f729bdcd7acfb00677ced86cd000000000000000000000000000000000000000000000007ea8efc00bffa4490","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x86c3","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,3,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x78252","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[0,1,3,1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x772c0","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000031e085afd48a1d6e51cc193153d625e8f0514c7f00000000000000000000000065bf64ff5f51272f729bdcd7acfb00677ced86cd000000000000000000000000000000000000000000000007ea8efc00bffa4490","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[0,1,3,1,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x74564","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[0,1,3,1,1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x71874","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[0,1,3,1,1,1,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x70f6b","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[0,1,3,1,1,1,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x65bf64ff5f51272f729bdcd7acfb00677ced86cd","callType":"call","gas":"0x7846e","input":"0xa9059cbb0000000000000000000000003911c614be43ac656d818092236be68e413d2708000000000000000000000000000000000000000000000007ea8efc00bffa4490","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xa055","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,4],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x75682","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,4,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x74d70","input":"0xa9059cbb0000000000000000000000003911c614be43ac656d818092236be68e413d2708000000000000000000000000000000000000000000000007ea8efc00bffa4490","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x86c3","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1,4,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x6fa49","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[0,1,4,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x6eab7","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000065bf64ff5f51272f729bdcd7acfb00677ced86cd0000000000000000000000003911c614be43ac656d818092236be68e413d2708000000000000000000000000000000000000000000000007ea8efc00bffa4490","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[0,1,4,1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x6bf7b","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[0,1,4,1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x694a3","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[0,1,4,1,1,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x68b9a","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[0,1,4,1,1,0,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x65bf64ff5f51272f729bdcd7acfb00677ced86cd","callType":"call","gas":"0x6db02","input":"0xfd062d3b0000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000031e085afd48a1d6e51cc193153d625e8f0514c7f0000000000000000000000000000000000000000000000000000000000000000","to":"0x8007aa43792a392b221dc091bdb2191e5ff626d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1427","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0,1,5],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x818e6fecd516ecc3849daf6845e3ec868087b755","callType":"call","gas":"0x6dbad","input":"0x70a082310000000000000000000000003911c614be43ac656d818092236be68e413d2708","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x00000000000000000000000000000000000000000000003a7e7785d5fad9a7d5"},"subtraces":2,"traceAddress":[0,2],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x6b064","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,2,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x6a758","input":"0x70a082310000000000000000000000003911c614be43ac656d818092236be68e413d2708","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x00000000000000000000000000000000000000000000003a7e7785d5fad9a7d5"},"subtraces":0,"traceAddress":[0,2,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x3911c614be43ac656d818092236be68e413d2708","callType":"call","gas":"0x6cf5f","input":"0xd8ccd0f3000000000000000000000000000000000000000000000000000000000000000c","to":"0x0000000000b3f879cb30fe243b4dfee438691c04","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x16a3a","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":12,"traceAddress":[1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x65ec8","input":"0x","to":"0xe9ec1820ba5ffbe186064f20e190fc3d08594862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0xe9ec1820ba5ffbe186064f20e190fc3d08594862","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,0,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x644a7","input":"0x","to":"0x7d04c5fb83e984fbe70ff2acfe79068220158fab","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,1],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x7d04c5fb83e984fbe70ff2acfe79068220158fab","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,1,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x62a86","input":"0x","to":"0x24e99caa4df2f3ca7b75eb540ce38d4c4cab45a6","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,2],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x24e99caa4df2f3ca7b75eb540ce38d4c4cab45a6","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,2,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x61065","input":"0x","to":"0xfaa49affd3d02f159a37d5351ef18cd0f020b11e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,3],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0xfaa49affd3d02f159a37d5351ef18cd0f020b11e","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,3,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x5f644","input":"0x","to":"0x9f332090993192eb0cefc859911e3c4e9f828cdd","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,4],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x9f332090993192eb0cefc859911e3c4e9f828cdd","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,4,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x5dc23","input":"0x","to":"0x1a2d667d9fda17c6d899b6b15be51388c8ec1f64","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,5],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x1a2d667d9fda17c6d899b6b15be51388c8ec1f64","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,5,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x5c202","input":"0x","to":"0x9e94fbe4bcb3eda4b80d6e3853858f5363c1c324","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,6],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x9e94fbe4bcb3eda4b80d6e3853858f5363c1c324","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,6,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x5a7e1","input":"0x","to":"0x70368a6f4aa72cf1ae9b9246bca9c4090b55d2b3","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,7],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x70368a6f4aa72cf1ae9b9246bca9c4090b55d2b3","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,7,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x58dc0","input":"0x","to":"0x9231afb009461ab09be81155921ec85911e85900","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,8],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x9231afb009461ab09be81155921ec85911e85900","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,8,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x5739f","input":"0x","to":"0x2647de5003d33fa71fc7e3d4e224241633c924d4","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,9],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x2647de5003d33fa71fc7e3d4e224241633c924d4","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,9,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x5597e","input":"0x","to":"0x514e922f1d72c7869bbeaddab851cc935a3f2e83","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,10],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x514e922f1d72c7869bbeaddab851cc935a3f2e83","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,10,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0x0000000000b3f879cb30fe243b4dfee438691c04","callType":"call","gas":"0x53f5d","input":"0x","to":"0x2272b29bc39d731c9a91646bf4a31ec502a83377","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[1,11],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"call"},{"action":{"address":"0x2272b29bc39d731c9a91646bf4a31ec502a83377","refundAddress":"0x0000000000b3f879cb30fe243b4dfee438691c04","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[1,11,0],"transactionHash":"0xf93ca443d412e13f92a81b051b6d7a9bd5b7d91eebd92f17cf27955b4ca8d2f0","transactionPosition":14,"type":"suicide"},{"action":{"from":"0xb3f5130e287e6611323ad263e37ce763d4f129e8","callType":"call","gas":"0x5d6fe","input":"0x18178358","to":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x455be","output":"0x"},"subtraces":11,"traceAddress":[],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"staticcall","gas":"0x5b953","input":"0xa7a1ed72","to":"0x81fe72b5a8d1a857d176c3e7d5bd2679a9b85763","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x514","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"staticcall","gas":"0x5ae3a","input":"0xa7a1ed72","to":"0xb4eb54af9cc7882df0121d26c5b97e802915abe6","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x514","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"staticcall","gas":"0x5a321","input":"0xa7a1ed72","to":"0xf185d0682d50819263941e5f4eacc763cc5c6c42","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8cf","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[2],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x59436","input":"0x1504460f4554482d41000000000000000000000000000000000000000000000000000000","to":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4892","output":"0x"},"subtraces":2,"traceAddress":[3],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","callType":"call","gas":"0x573b0","input":"0x59e02dd7","to":"0x81fe72b5a8d1a857d176c3e7d5bd2679a9b85763","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x827","output":"0x00000000000000000000000000000000000000000000000b1a72d0d12f8200000000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[3,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","callType":"call","gas":"0x55921","input":"0x1a0b287e4554482d4100000000000000000000000000000000000000000000000000000073706f74000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b934c160485f112062aaaaaa","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1cbb","output":"0x"},"subtraces":0,"traceAddress":[3,1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x546c1","input":"0x1504460f4241542d41000000000000000000000000000000000000000000000000000000","to":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4892","output":"0x"},"subtraces":2,"traceAddress":[4],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","callType":"call","gas":"0x52771","input":"0x59e02dd7","to":"0xb4eb54af9cc7882df0121d26c5b97e802915abe6","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x827","output":"0x00000000000000000000000000000000000000000000000002978366c689fe000000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[4,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","callType":"call","gas":"0x50ce2","input":"0x1a0b287e4241542d4100000000000000000000000000000000000000000000000000000073706f740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066fda630d838ce74480000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1cbb","output":"0x"},"subtraces":0,"traceAddress":[4,1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x4f94b","input":"0x1504460f574254432d410000000000000000000000000000000000000000000000000000","to":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c4b","output":"0x"},"subtraces":2,"traceAddress":[5],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","callType":"call","gas":"0x4db31","input":"0x59e02dd7","to":"0xf185d0682d50819263941e5f4eacc763cc5c6c42","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xbe0","output":"0x0000000000000000000000000000000000000000000001dde8c5f084d6f300000000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[5,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x65c79fcb50ca1594b025960e539ed7a9a6d434a3","callType":"call","gas":"0x4bcf8","input":"0x1a0b287e574254432d41000000000000000000000000000000000000000000000000000073706f7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a2e687f73a8d2c0867eaaaaaa","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1cbb","output":"0x"},"subtraces":0,"traceAddress":[5,1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x4a82c","input":"0x44e2a5a84554482d41000000000000000000000000000000000000000000000000000000","to":"0x19c0976f590d67707e62397c87829d896dc0f1f1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x9b0f","output":"0x0000000000000000000000000000000000000000034bb9384ae3d95e01ca27e6"},"subtraces":2,"traceAddress":[6],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x487b8","input":"0xd9638d364554482d41000000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x11f2","output":"0x0000000000000000000000000000000000000000004eee20a815dabe2dbb8e260000000000000000000000000000000000000000034bb9384ae3d95e01ca27e60000000000000000000000000000000000000001b934c160485f112062aaaaaa0000000000000000000140bb54f701de409cabf6d868654244c00000000000000000000000000000000000000380d4bd8a8678c1bb542c80deb4800000000000"},"subtraces":0,"traceAddress":[6,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x45343","input":"0xb65337df4554482d41000000000000000000000000000000000000000000000000000000000000000000000000000000a950524441892a31ebddf91d3ceefa04bf4544660000000000000000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3284","output":"0x"},"subtraces":0,"traceAddress":[6,1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x40984","input":"0x44e2a5a84241542d41000000000000000000000000000000000000000000000000000000","to":"0x19c0976f590d67707e62397c87829d896dc0f1f1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x9aa6","output":"0x0000000000000000000000000000000000000000034bb935e2b9a1b05943e409"},"subtraces":2,"traceAddress":[7],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x3eb8b","input":"0xd9638d364241542d41000000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x11f2","output":"0x0000000000000000000000000000000000000000000059ebc6a339776f7ef62e0000000000000000000000000000000000000000034bb935e2b9a1b05943e40900000000000000000000000000000000000000000066fda630d838ce74480000000000000000000000000804aeec933f2803eab2f89c35bb41b80000000000000000000000000000000000000380d4bd8a8678c1bb542c80deb4800000000000"},"subtraces":0,"traceAddress":[7,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x3b77d","input":"0xb65337df4241542d41000000000000000000000000000000000000000000000000000000000000000000000000000000a950524441892a31ebddf91d3ceefa04bf4544660000000000000000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3284","output":"0x"},"subtraces":0,"traceAddress":[7,1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x36b43","input":"0x44e2a5a8555344432d410000000000000000000000000000000000000000000000000000","to":"0x19c0976f590d67707e62397c87829d896dc0f1f1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x9aa6","output":"0x00000000000000000000000000000000000000000348fbfc410137c56f3c5727"},"subtraces":2,"traceAddress":[8],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x34fc3","input":"0xd9638d36555344432d410000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x11f2","output":"0x0000000000000000000000000000000000000000000954dff787c02d1736f29b00000000000000000000000000000000000000000348fbfc410137c56f3c5727000000000000000000000000000000000000000002b15132852dc032c15555550000000000000000000035748e292afa601a1ca924116635b6200000000000000000000000000000000000000380d4bd8a8678c1bb542c80deb4800000000000"},"subtraces":0,"traceAddress":[8,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x31bb5","input":"0xb65337df555344432d410000000000000000000000000000000000000000000000000000000000000000000000000000a950524441892a31ebddf91d3ceefa04bf4544660000000000000000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3284","output":"0x"},"subtraces":0,"traceAddress":[8,1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x2cd02","input":"0x44e2a5a8574254432d410000000000000000000000000000000000000000000000000000","to":"0x19c0976f590d67707e62397c87829d896dc0f1f1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xcc2c","output":"0x0000000000000000000000000000000000000000033b370003fc44a68dad476d"},"subtraces":2,"traceAddress":[9],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x2b3fb","input":"0xd9638d36574254432d410000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x11f2","output":"0x000000000000000000000000000000000000000000000ef534ac4f1f786bda940000000000000000000000000000000000000000033b36e097df5a7483c77b25000000000000000000000000000000000000004a2e687f73a8d2c0867eaaaaaa000000000000000000001aba4714957d300d0e549208b31adb100000000000000000000000000000000000000380d4bd8a8678c1bb542c80deb4800000000000"},"subtraces":0,"traceAddress":[9,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x19c0976f590d67707e62397c87829d896dc0f1f1","callType":"call","gas":"0x27fed","input":"0xb65337df574254432d410000000000000000000000000000000000000000000000000000000000000000000000000000a950524441892a31ebddf91d3ceefa04bf45446600000000000000000000000000000000000000000000001f6c1cea3209e5cc48","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x640a","output":"0x"},"subtraces":0,"traceAddress":[9,1],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0xe4a37b878919ed3b3a63a9b0666a2a95b83ad7c2","callType":"call","gas":"0x1fe22","input":"0x9f678cca","to":"0x197e90f9fad81970ba7976f33cbd77088e5d7cf7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x84d2","output":"0x0000000000000000000000000000000000000000034a13ac9ed2cf6900e592bb"},"subtraces":1,"traceAddress":[10],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x197e90f9fad81970ba7976f33cbd77088e5d7cf7","callType":"call","gas":"0x1b582","input":"0xf24e23eb000000000000000000000000a950524441892a31ebddf91d3ceefa04bf454466000000000000000000000000197e90f9fad81970ba7976f33cbd77088e5d7cf70000000000000000000000000000000000000000000000000000000000000000","to":"0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x31dc","output":"0x"},"subtraces":0,"traceAddress":[10,0],"transactionHash":"0x798d06f7fe18edd215c5e62c2ab939c9e5b9c9992b06a1d20c9ab3a11a0c838a","transactionPosition":15,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d474","input":"0xa9059cbb0000000000000000000000008479983ee95a0b40029e5760a6f6fb97e69a0d9d0000000000000000000000000000000000000000000002e80c0d35855f071c00","to":"0x0cf0ee63788a0849fe5297f3407f701e122cc023","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x793b","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0xf1f33059faf71ad27d84fb1d51fc0a9337ba6b911fe7f49f98e3924ce4a122c8","transactionPosition":16,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d480","input":"0xa9059cbb000000000000000000000000f9eab57a3d1562efa29cf9b08ac4d3bc050fab4c00000000000000000000000000000000000000000000a8fd9064a95bd96c0000","to":"0x6c6ee5e31d828de241282b9606c8e98ea48526e2","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x412d","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0xb58c16ece625f759729ccdde4b9b881ff71439f520c5cc0538796879e07703fe","transactionPosition":17,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d474","input":"0xa9059cbb000000000000000000000000cb496d6f2ec6dc0d2e9432953e05d5d797e4230700000000000000000000000000000000000000000001794770a5d5bcd3080000","to":"0x6c6ee5e31d828de241282b9606c8e98ea48526e2","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7bc5","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x43381d2308fa6ff46d892c62576962f02ffae5207f9685bd9dcd62a78b7802e5","transactionPosition":18,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d4b0","input":"0xa9059cbb0000000000000000000000001148f8eda5382c07f0404446233ff616191e8b9e00000000000000000000000000000000000000000000000000000000b2c07f80","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xd74263f5e789452e5bf2466fa1178541bc27f4590c41a9a76c3beb3111ebecc9","transactionPosition":19,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d4b0","input":"0xa9059cbb000000000000000000000000378caaa6d11b678fe0eacb2d5b79e8da82d14bd5000000000000000000000000000000000000000000000000000000055ac86900","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3b01cb97da9554b15cf99e1349b8e6b2fdb4b66476893f868216f39845d5b8bf","transactionPosition":20,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d4b0","input":"0xa9059cbb0000000000000000000000003edc25bfc2405475fc9c886d709054902b7333920000000000000000000000000000000000000000000000000000000008f7d660","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x22a139da7ed0521216b7911ba0b2eda361e451598d0a34c702cc2036a117e604","transactionPosition":21,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d4b0","input":"0xa9059cbb0000000000000000000000009bc2f223026c252c8ef5f7f33f00f4bee21434b800000000000000000000000000000000000000000000000000000001f58e6fff","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x5dd1842304022fdb46edd5e2460461034ce4c68d80b1c20ced890b5a7e70020f","transactionPosition":22,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d4bc","input":"0xa9059cbb0000000000000000000000001bf58dc7c7f5830e558f1ad4df1b2a0fbea007190000000000000000000000000000000000000000000000000000000002eb1200","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xced16e91bc1257a278137d2b08816f78d9a9b7e3b12d2d8274a9d34a82fc74b0","transactionPosition":23,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x2d4a4","input":"0xa9059cbb000000000000000000000000145ba13b2f21cf6e4d744deea0f7e7c99cbab81800000000000000000000000000000000000000000000000000000002cb319980","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xea489b9b259528b911c6dbecf4929f891126a9371f587878201bc73f5dbe87c0","transactionPosition":24,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x0","input":"0x","to":"0x53b7de95320b8474e4a96302a8d7056787089250","value":"0x26294be64d6dc8000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xcfc58b0b7bfaaff4c5f6862b7a03241d0db28effa24eb28a53ed0e561591e7ee","transactionPosition":25,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x0","input":"0x","to":"0xe33be44518d8041672930ebe36c2fbd68228a400","value":"0xdd2858d68f3ec00"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x2b6a4f82990ca1232041af5b1121dfc4f85bffac9b7f99ab2a769fb0e6a931c7","transactionPosition":26,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x0","input":"0x","to":"0x1f97505874067e5c926b4e40d0524d4fe0fdbc62","value":"0xb7f0ffd67ad170000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x8a0f97070085995d1b3d583b26c90305154aded6718d8c9a972728fe3613db72","transactionPosition":27,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x0","input":"0x","to":"0x2b3c1f39d056f159ccaf8f1664deed9e122939ed","value":"0x4bec6c4bc31b400"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x5ff160c2712481c985cf5f73f1c8649d0fc5e865232dd3d73f336e90ebd28d01","transactionPosition":28,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x0","input":"0x","to":"0xe60c7aee27f6f040b97903f21e189cea8bb327da","value":"0x2bbe274ccc08000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x01dec83849a9530b88e10429d251a5c3ec99c9bf3e0a3aba44267635effb4f09","transactionPosition":29,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x0","input":"0x","to":"0xd8568260b02ac977d052b8568d08a9fa020d8908","value":"0x52c5d1b1142d000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xd65ee4d9744168eb6334f3c6039705709938e6667107013c75b7e0b148096054","transactionPosition":30,"type":"call"},{"action":{"from":"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be","callType":"call","gas":"0x0","input":"0x","to":"0x3e989027c6034171fdb912d81b70fcc46eb6d1e0","value":"0x6b76a9110c8928000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x731f1eaefdb1b7f14e4eae985d7ac2146b1c9c277ed11585a33ad40501e22edc","transactionPosition":31,"type":"call"},{"action":{"from":"0xc9b63f564906435399710f254ef2595f589ce6c0","callType":"call","gas":"0x39e69","input":"0x8853b53e00000000000000000000000000000000000000000000000000000000000539fb","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2b57d","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xcb7034eb82983a209af9ceefa84470421b583daf68c3a5169622f03cd9485e29","transactionPosition":32,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x1b7f6f2cdf533719d219df1c9a4f061f64093089","value":"0x6a94d74f430000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xcb7034eb82983a209af9ceefa84470421b583daf68c3a5169622f03cd9485e29","transactionPosition":32,"type":"call"},{"action":{"from":"0x472d79579459c329168c683bf17f76deda8c4215","callType":"call","gas":"0x3523d","input":"0x8853b53e000000000000000000000000000000000000000000000000000000000005530a","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x27ae5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xdd630a072902644c6a4d92c11200d48fbf1d1ade1a0ba27e76c50a4bffc8f60c","transactionPosition":33,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x3bc29a7adf35b0a95b3caf2955240b60c9169523","value":"0x6a94d74f430000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xdd630a072902644c6a4d92c11200d48fbf1d1ade1a0ba27e76c50a4bffc8f60c","transactionPosition":33,"type":"call"},{"action":{"from":"0x6d0f95538f6f5894081f9b925a423d9057aacdcd","callType":"call","gas":"0x0","input":"0x","to":"0xd31850d76b92ecb100b5095d4e90755ca37a93f7","value":"0x3720015e35b1330"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x7f6a6bc2c4425bfcdfb871341973c7747c70bc9ec90e4271c31bc2bdaebffbf9","transactionPosition":34,"type":"call"},{"action":{"from":"0xb48e58f4f775087797254a2ce9a8df3823bbc387","callType":"call","gas":"0x3523d","input":"0x8853b53e00000000000000000000000000000000000000000000000000000000000568bb","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0x6a94d74f430000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x27ae5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xa7ed812597c67a635f5ec91cfff0f9d5e5e5c9561c78383cf9184473be2cd62d","transactionPosition":35,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x669e71e8684005929dc38cb875567a538e7233ae","value":"0x6a94d74f430000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xa7ed812597c67a635f5ec91cfff0f9d5e5e5c9561c78383cf9184473be2cd62d","transactionPosition":35,"type":"call"},{"action":{"from":"0x6924a03bb710eaf199ab6ac9f2bb148215ae9b5d","callType":"call","gas":"0xf4b2","input":"0x4f9559b100000000000000000000000000000000000000000000000000000171e08a192a","to":"0x61935cbdd02287b511119ddb11aeb42f1593b7ef","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4b08","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3a7ece20635cac75d6dccd8ff71070f5be8d7da3aa86fdabd9c5ccd5be9d78e4","transactionPosition":36,"type":"call"},{"action":{"from":"0x74f01e2e8a60970d1de4cca60e9f37cc5a5ffe22","callType":"call","gas":"0x3fb3","input":"0xa9059cbb000000000000000000000000f637eed7951bea69dd9582aeaa8ee591ad77621b0000000000000000000000000000000000000000000000000000000001c46a40","to":"0xfa0454af6544d9f2cf9551e8948b0a6c0341cf46","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3fb3","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x674f0a6bfadf88ecd11aa6ccd93fcb156f4e685918761ff14516ecb2e7148a01","transactionPosition":37,"type":"call"},{"action":{"from":"0x81594a7163a447cb1ac16ddb7f831dc1c43f9307","callType":"call","gas":"0xdb45","input":"0xa9059cbb000000000000000000000000a53e7c7cade7f71bc2489dbe40af10057df8c79a0000000000000000000000000000000000000000000000d50bb4c1f7b5280000","to":"0x7865af71cf0b288b4e7f654f4f7851eb46a2b7f8","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"error":"Reverted","result":{"gasUsed":"0x580","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x50788023e4c68edcbe07f5db3a5344d424e4ee8e5ae597ce71af7974bb4b5b1a","transactionPosition":38,"type":"call"},{"action":{"from":"0x76043f4d08e2f3f2da6be61f43b637dd7eabf586","callType":"call","gas":"0x7490c","input":"0x64887334000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000009899c400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001d4d3d7d30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e2e1e2e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000","to":"0x0559324025d6ef4a715c2e22562b90210fcfe25a","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x23ec","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x1453faf84b4b6d8ca5d8b5e955a3a5feb16d1ebc8a143d8f57d9d422653d92db","transactionPosition":39,"type":"call"},{"action":{"from":"0x5ce64e024d54eee4e6409829cf0ff8529e5da170","callType":"call","gas":"0x2c22d","input":"0x65cc3e7800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000050cd06000000000000000000000000000000000000000000000000000000000050cd060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000050cd06000000000000000000000000000000000000000000000000000000000050cd06000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000013fee1c6762af348888b4ec60bf2e7f00000000000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000ffffffffffffffffffffffffffffffff00000000000000000000000000000000013e042b099b443d3568f0e9224cd211","to":"0x6f400810b62df8e13fded51be75ff5393eaa841f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2212d","output":"0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000002e520000000000000000000000000000000000000000000000000000000000002e53"},"subtraces":6,"traceAddress":[],"transactionHash":"0x0a25a103686bac54f19bb14b7082293ce20479b71d6b425084bcbdf54a0ab7e0","transactionPosition":40,"type":"call"},{"action":{"from":"0x6f400810b62df8e13fded51be75ff5393eaa841f","callType":"delegatecall","gas":"0x2a692","input":"0xab8978b7000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000008","to":"0xed4d05496c71e71cc2a8726af1242c22108d1761","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x487","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x0a25a103686bac54f19bb14b7082293ce20479b71d6b425084bcbdf54a0ab7e0","transactionPosition":40,"type":"call"},{"action":{"from":"0x6f400810b62df8e13fded51be75ff5393eaa841f","callType":"delegatecall","gas":"0x29bca","input":"0xab8978b7000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000009","to":"0xed4d05496c71e71cc2a8726af1242c22108d1761","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x487","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x0a25a103686bac54f19bb14b7082293ce20479b71d6b425084bcbdf54a0ab7e0","transactionPosition":40,"type":"call"},{"action":{"from":"0x6f400810b62df8e13fded51be75ff5393eaa841f","callType":"delegatecall","gas":"0x1a598","input":"0x8e877a06000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000005ce64e024d54eee4e6409829cf0ff8529e5da170","to":"0xcddb32b6bb2808d5b5115daab207479ce98d2636","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x615","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[2],"transactionHash":"0x0a25a103686bac54f19bb14b7082293ce20479b71d6b425084bcbdf54a0ab7e0","transactionPosition":40,"type":"call"},{"action":{"from":"0x6f400810b62df8e13fded51be75ff5393eaa841f","callType":"delegatecall","gas":"0x1976f","input":"0xab8978b7000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000009","to":"0xed4d05496c71e71cc2a8726af1242c22108d1761","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x487","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[3],"transactionHash":"0x0a25a103686bac54f19bb14b7082293ce20479b71d6b425084bcbdf54a0ab7e0","transactionPosition":40,"type":"call"},{"action":{"from":"0x6f400810b62df8e13fded51be75ff5393eaa841f","callType":"delegatecall","gas":"0x18ca7","input":"0xab8978b7000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000008","to":"0xed4d05496c71e71cc2a8726af1242c22108d1761","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x487","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[4],"transactionHash":"0x0a25a103686bac54f19bb14b7082293ce20479b71d6b425084bcbdf54a0ab7e0","transactionPosition":40,"type":"call"},{"action":{"from":"0x6f400810b62df8e13fded51be75ff5393eaa841f","callType":"delegatecall","gas":"0xa6a1","input":"0x8e877a06000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000005ce64e024d54eee4e6409829cf0ff8529e5da170","to":"0xcddb32b6bb2808d5b5115daab207479ce98d2636","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x615","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[5],"transactionHash":"0x0a25a103686bac54f19bb14b7082293ce20479b71d6b425084bcbdf54a0ab7e0","transactionPosition":40,"type":"call"},{"action":{"from":"0xf54f1b90992c1050aa71532ad7413e77c2eca4f9","callType":"call","gas":"0x1efbc","input":"0x5e83b463000000000000000000000000000000000000000000000000000000035bdef7bc00000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000989a8bc2026127d674ce6a61df284914547d2ad8f851225ee1017d325a8b8d2e63bbe0b420e8c3be0a0494b7cdd2cde34f4e2475677fb09c54ef5c9ae3b1d1c11d3b2b3a49020a332c8e4f4d025b3e9f6b894b85a6f14edc720dbdffd2abc9f2aff0d0","to":"0xd1ceeeeee83f8bcf3bedad437202b6154e9f5405","value":"0xb1a2bc2ec50000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xde6a","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x0e4ca41d411ea42a3af4ffbbdcb71ffce2aa09492d13ac4e0ec5ea88ea3b710f","transactionPosition":41,"type":"call"},{"action":{"from":"0x73952f60df25c4389e6afcfa4ebbdfa093e54b73","callType":"call","gas":"0x1aa8c","input":"0x64887334000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000009899c300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001d2353647bebe10f7defae9cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001442c2d1d494751102206193a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x23ec","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x0496fe39d8aed83709e6d30177997e05d95a833f0cd878bc590b542732d2d70f","transactionPosition":42,"type":"call"},{"action":{"from":"0x416299aade6443e6f6e8ab67126e65a7f606eef5","callType":"call","gas":"0x7148","input":"0x","to":"0xb21abc2560443265ebbcf214919ccc2ab8989e81","value":"0x8e1bc9bf040000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xbcec5f4b1336a8119074508f4944d181485d48dab65e9f733356ada4298ac7c6","transactionPosition":43,"type":"call"},{"action":{"from":"0x416299aade6443e6f6e8ab67126e65a7f606eef5","callType":"call","gas":"0x7148","input":"0x","to":"0x226c6ed6a8c08f468cde778e9fa38e962f553348","value":"0x7c585087238000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x910a2866c1e732eae72322e72fc2d953ec15705b0e32cc080b5a46484bce6b3d","transactionPosition":44,"type":"call"},{"action":{"from":"0x70edeb01d25c06a99e45b32adcc98469f4b74a4e","callType":"call","gas":"0x4762f8","input":"0xa9059cbb0000000000000000000000006b95505dd6a02e2d78d850f4020d425f50298a47000000000000000000000000000000000000000000000000000000000522e209","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x2217351a4140cd6cedffb3da5673c943a58130387d780437b9da5bd25173ee13","transactionPosition":45,"type":"call"},{"action":{"from":"0xb50bab0ff3f28250556fd6f030911c69e0c524df","callType":"call","gas":"0xa49e","input":"0xa8a41c700000000000000000000000007be8076f4ea4a4ad08075c2508e481d6c946d12b000000000000000000000000b50bab0ff3f28250556fd6f030911c69e0c524df00000000000000000000000000000000000000000000000000000000000000000000000000000000000000005b3256965e7c3cf26e11fcaf296dfc8807c01073000000000000000000000000d1e5b0ff1287aa9f9a268759062e4ab08b9dacbe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004db7325476300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005eb043830000000000000000000000000000000000000000000000000000000000000000056201d777a6ec5bf63424ea4216272de772db6a4ec3814f6fe97e64d4d2b6400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000001bdf7171d95132f1c00fb1f60ae91f699f0691a2874d86e55020a6707deecd7e8f7de95420d379fd85aab7f6b7b0a42e9d8cafe21b3612e0d49702c6c92e87a257000000000000000000000000000000000000000000000000000000000000006423b872dd0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b50bab0ff3f28250556fd6f030911c69e0c524df3df42f803a44bee7b32c3edc043ca315723d272533e9549bdb2207c9b56e01f500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006400000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0x7be8076f4ea4a4ad08075c2508e481d6c946d12b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xa49e","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x016a36c1e760a3a14ecdb22d6619a6a5949e1f43a49823d195f40c82911b03ad","transactionPosition":46,"type":"call"},{"action":{"from":"0x2a6934c73b8554bcd8a550733622c17fac5e50c7","callType":"call","gas":"0x4c91","input":"0xa9059cbb000000000000000000000000146667322671e7de9012a5867e396829af2a1880000000000000000000000000000000000000000000000000000000000fcb9440","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x25a1a4334a0989178fc751d647e3cffe6785878d2f043d513d09b0fc8e986193","transactionPosition":47,"type":"call"},{"action":{"from":"0xf56e26f3ac2c754ebdc1c3d76563833c2d1c9cb9","callType":"call","gas":"0x4c91","input":"0xa9059cbb000000000000000000000000146667322671e7de9012a5867e396829af2a18800000000000000000000000000000000000000000000000000000000002349340","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x2d8f6ab9b9bd5aa1febc441c93ca53fc1ee94d2e99800f7878a5284d7be58901","transactionPosition":48,"type":"call"},{"action":{"from":"0xf008e2c7a7f16ac706c2e0ebd3f015d442016420","callType":"call","gas":"0x17f78","input":"0x8eb4e0ad000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000000025b87087de1534b92964f89e614a03bb900000000000000000000000000000000bfcdd19da9a843659edcc4bbf182e52e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000277485a2aed246e11fddb1bc579d3b0517585e0e0000000000000000000000001d522b2f8d880206f88c1f0aedf73102c8a210f40000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a3aab2aed0bf3cfdd9bddf4770a7f01546d5e61f000000000000000000000000a3aab2aed0bf3cfdd9bddf4770a7f01546d5e61f000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000005843424da37c0000000000000000000000000000000000000000000000000000211e322803fe000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000045d964b80000000000000000000000000000000000000000000000000000000045d964b8000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000001b00000000000000000000000000000000000000000000000000000000000000022888b269c5417771a295412ce1917b4f84274a9e8be0788adb8a35758faaa36c39c212134c7b344c03196ecd35fbed50b11ba30f20f235d44f362bd34fa38ba2000000000000000000000000000000000000000000000000000000000000000228b475c69170a4268a6b0c7123ae0e8783fb1a711e190102b1115a4c99cfc7e22115e58ade0e99b81606b946cceea3595eb43c5cb2f95f3e850fbb8de5c334d2000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001","to":"0x867ffb5a3871b500f65bdfafe0136f9667deae06","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xa154","output":"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0xbfa9ce8ae7bf37d5b1ef6c636a8e7ffbeb2b889041537e3be49503c645d0583b","transactionPosition":49,"type":"call"},{"action":{"from":"0x19a710e6c812bec3ce653c91a5deba89faf4af8d","callType":"call","gas":"0x0","input":"0x","to":"0x8298a036bcb49a89967b1eb354766ed0d5323a59","value":"0x5ee56c8fa53800"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x621bd912ab82db1eb3f7335af11f857d0c3914ee09dd4d8d5680adc0762db2a5","transactionPosition":50,"type":"call"},{"action":{"from":"0x1c0a1089003ed6796dcbe7d6b1b45f607e5fa21a","callType":"call","gas":"0x0","input":"0x","to":"0xd7b9a9b2f665849c4071ad5af77d8c76aa30fb32","value":"0xb11e56de214859"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xbcd79c42a1d3e6e6032e887946c32205936044828b9d7ff1f41721ed05f23467","transactionPosition":51,"type":"call"},{"action":{"from":"0x94b15769346efb4732ca19ed3ab104a47dac1e5c","callType":"call","gas":"0x0","input":"0x","to":"0xf674f724e23be26a40af8ef950042a99def2d796","value":"0x1e1fdd8576c2c"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x950068f658ec62f6d20131d39ea5b68c86bea8780cdcf80579eafcce3b1b0261","transactionPosition":52,"type":"call"},{"action":{"from":"0x6a3203463b0b63085779987ad6521dabae0d6aef","callType":"call","gas":"0x2183a","input":"0x3a43199f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003418c601b22f000","to":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1b0ec","output":"0x"},"subtraces":12,"traceAddress":[],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x1fefa","input":"0x0178b8bfe84f90570f13fe09f288f2411ff9cf50da611ed0c7db7f73d48053ffc974d396","to":"0x314159265dd8dbb310642f98f50c066173c1259b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x39e","output":"0x000000000000000000000000226159d592e2b063810a10ebf6dcbada94ed68b8"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x1f527","input":"0x3b3b57dee84f90570f13fe09f288f2411ff9cf50da611ed0c7db7f73d48053ffc974d396","to":"0x226159d592e2b063810a10ebf6dcbada94ed68b8","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xd7c","output":"0x000000000000000000000000723b5ef3ce4137e46027e41cc84d905dcb6a12a9"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x1e17e","input":"0x1f69565f0000000000000000000000000000000000000000000000000000000000000000","to":"0x723b5ef3ce4137e46027e41cc84d905dcb6a12a9","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x182e","output":"0x00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000125f3a59645000000000000000000000000000000000000000000000000000000000000000034554480000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[2],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x1bb42","input":"0x0178b8bfe84f90570f13fe09f288f2411ff9cf50da611ed0c7db7f73d48053ffc974d396","to":"0x314159265dd8dbb310642f98f50c066173c1259b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x39e","output":"0x000000000000000000000000226159d592e2b063810a10ebf6dcbada94ed68b8"},"subtraces":0,"traceAddress":[3],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x1b16f","input":"0x3b3b57dee84f90570f13fe09f288f2411ff9cf50da611ed0c7db7f73d48053ffc974d396","to":"0x226159d592e2b063810a10ebf6dcbada94ed68b8","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xd7c","output":"0x000000000000000000000000723b5ef3ce4137e46027e41cc84d905dcb6a12a9"},"subtraces":0,"traceAddress":[4],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x19e05","input":"0xe9cbd822","to":"0x723b5ef3ce4137e46027e41cc84d905dcb6a12a9","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x47b","output":"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},"subtraces":0,"traceAddress":[5],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x18c7a","input":"0x0178b8bfe84f90570f13fe09f288f2411ff9cf50da611ed0c7db7f73d48053ffc974d396","to":"0x314159265dd8dbb310642f98f50c066173c1259b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x39e","output":"0x000000000000000000000000226159d592e2b063810a10ebf6dcbada94ed68b8"},"subtraces":0,"traceAddress":[6],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x182a7","input":"0x3b3b57dee84f90570f13fe09f288f2411ff9cf50da611ed0c7db7f73d48053ffc974d396","to":"0x226159d592e2b063810a10ebf6dcbada94ed68b8","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xd7c","output":"0x000000000000000000000000723b5ef3ce4137e46027e41cc84d905dcb6a12a9"},"subtraces":0,"traceAddress":[7],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x16f3d","input":"0x3efec5e9","to":"0x723b5ef3ce4137e46027e41cc84d905dcb6a12a9","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1ae0","output":"0x00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000001352bddeeef0000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000125f46ce0fc200000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[8],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x10b70","input":"0x0178b8bfd0ff8bd67f6e25e4e4b010df582a36a0ee9b78e49afe6cc1cff5dd5a83040330","to":"0x314159265dd8dbb310642f98f50c066173c1259b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x39e","output":"0x000000000000000000000000226159d592e2b063810a10ebf6dcbada94ed68b8"},"subtraces":0,"traceAddress":[9],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"staticcall","gas":"0x1019d","input":"0x3b3b57ded0ff8bd67f6e25e4e4b010df582a36a0ee9b78e49afe6cc1cff5dd5a83040330","to":"0x226159d592e2b063810a10ebf6dcbada94ed68b8","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xd7c","output":"0x0000000000000000000000000839f043ece52658d99cdc9173d5b116608802d8"},"subtraces":0,"traceAddress":[10],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x70d7cab7496f3cc54686eef55f1e1f994b646c83","callType":"call","gas":"0xd40a","input":"0x1b3c96b4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003418c601b22f000","to":"0x0839f043ece52658d99cdc9173d5b116608802d8","value":"0x3418c601b22f000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6a7a","output":"0x"},"subtraces":2,"traceAddress":[11],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x0839f043ece52658d99cdc9173d5b116608802d8","callType":"call","gas":"0x8fc","input":"0x","to":"0x24f0bb6c9b2c3db66603fa0ec07ab0cf55cdd387","value":"0x840c195d03000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x562","output":"0x"},"subtraces":0,"traceAddress":[11,0],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x0839f043ece52658d99cdc9173d5b116608802d8","callType":"call","gas":"0x8fc","input":"0x","to":"0xab613544d53173e65e75a2390f7512f6fe941257","value":"0x3394b9e8552c000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5e3","output":"0x"},"subtraces":0,"traceAddress":[11,1],"transactionHash":"0x72ece08d20d67c127084416ff0ba8fbaddbf3bd040983378d37b739e64fbeb5e","transactionPosition":53,"type":"call"},{"action":{"from":"0x0ca7ad8f66ce3b1a0cd1813b3a766549e5c2fd2d","callType":"call","gas":"0x8729","input":"0xa9059cbb00000000000000000000000086f6a0c9f95369ca759aa3e963201973915ecfb20000000000000000000000000000000000000000000000000000000005f5e100","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x484c3f648f36aeb5480c38d5d695664884fa491d0d8429bb8c3930c6eb0b7e48","transactionPosition":54,"type":"call"},{"action":{"from":"0x2275a3bd558fd8f7e548715872ee73f4bf27d86b","callType":"call","gas":"0x86d59","input":"0x797eee24000000000000000000000000c838f0e08860a605cf86be78c60bcbc5396ddd32","to":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","value":"0xb1a2bc2ec50000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6682e","output":"0x"},"subtraces":2,"traceAddress":[],"transactionHash":"0x4bb255baa7b6d1f341ef1d4e4ab9c0d21a10f8122ae52e80264be4be88942b03","transactionPosition":55,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0x3d5fced04973e5337bfdcf25ef6f8aeaa4ca1a4f","value":"0x58d15e17628000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x4bb255baa7b6d1f341ef1d4e4ab9c0d21a10f8122ae52e80264be4be88942b03","transactionPosition":55,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0xc838f0e08860a605cf86be78c60bcbc5396ddd32","value":"0x58d15e17628000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[1],"transactionHash":"0x4bb255baa7b6d1f341ef1d4e4ab9c0d21a10f8122ae52e80264be4be88942b03","transactionPosition":55,"type":"call"},{"action":{"from":"0x1513ad39dafb1271fa2445cfe5988caa9e47fd31","callType":"call","gas":"0x2f9eb","input":"0xbe389d5700000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003","to":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","value":"0x16345785d8a0000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x236da","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x12acbcbe38c98d1cf5bfd8ce2825c67a8ddd683b79ebc81d6286a2b9aa9009de","transactionPosition":56,"type":"call"},{"action":{"from":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","callType":"call","gas":"0x8fc","input":"0x","to":"0x483953d9ac462ba66e89fc29ca81346dc0975b87","value":"0x16345785d8a0000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x12acbcbe38c98d1cf5bfd8ce2825c67a8ddd683b79ebc81d6286a2b9aa9009de","transactionPosition":56,"type":"call"},{"action":{"from":"0x491ea115d447b4a5560c0a993ae415443e028237","callType":"call","gas":"0x2710","input":"0x","to":"0xd5fd53e9556369599156436a4a5b3edfb7d2fea9","value":"0x58d15e176280000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x5f6dd1a2eb8c5a98be7e4a0b9ae90a3698d3386c4b1a92914166ad5c0d78da31","transactionPosition":57,"type":"call"},{"action":{"from":"0xa5dac935990ff55640138a741d0dc590ccd2f41f","callType":"call","gas":"0xf2cd","input":"0xf6838a720000000000000000000000000000000000000000000000000000000000000002","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0xb1a2bc2ec50000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xa7a8","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xd21a39a502b2d871fc434bd5161b0502052280b7e1db9e1cfb6c33882afd8266","transactionPosition":58,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0x97c0cdb5185bbe98538b7b1f4d7cca772b373030","value":"0xb1a2bc2ec50000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xd21a39a502b2d871fc434bd5161b0502052280b7e1db9e1cfb6c33882afd8266","transactionPosition":58,"type":"call"},{"action":{"from":"0x1792e608d9f1464bafe2ca45d3559e017114c43f","callType":"call","gas":"0x37bf8","input":"0x095ea7b30000000000000000000000002a0c0dbecc7e4d658f48e01e3fa353f44050c20800000000000000000000000000000000000000000000152d02c7e14af6800000","to":"0xe25b0bba01dc5630312b6a21927e578061a13f55","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5b06","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x8ad6e83ec46c4e47791422725da7bcab95c0f6c66ec9292e3904e84b0a34718a","transactionPosition":59,"type":"call"},{"action":{"from":"0x1792e608d9f1464bafe2ca45d3559e017114c43f","callType":"call","gas":"0x37bf8","input":"0x338b5dea000000000000000000000000e25b0bba01dc5630312b6a21927e578061a13f5500000000000000000000000000000000000000000000152d02c7e14af6800000","to":"0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xd831","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x2d0eee69ffa39f34bb868722a66ee3f40fdd5fed407a56988cb06dd2f456d511","transactionPosition":60,"type":"call"},{"action":{"from":"0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208","callType":"call","gas":"0x3001e","input":"0x23b872dd0000000000000000000000001792e608d9f1464bafe2ca45d3559e017114c43f0000000000000000000000002a0c0dbecc7e4d658f48e01e3fa353f44050c20800000000000000000000000000000000000000000000152d02c7e14af6800000","to":"0xe25b0bba01dc5630312b6a21927e578061a13f55","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5c72","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x2d0eee69ffa39f34bb868722a66ee3f40fdd5fed407a56988cb06dd2f456d511","transactionPosition":60,"type":"call"},{"action":{"from":"0x4ab83ae55feda3b8b046feda75e3e6c3c8a050c7","callType":"call","gas":"0xf2cd","input":"0xf6838a720000000000000000000000000000000000000000000000000000000000000002","to":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","value":"0xb1a2bc2ec50000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xa7a8","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x072c4a4e310d638b3e8a5e0764242378e6573cff2aa58c90ba1283cabb2fad50","transactionPosition":61,"type":"call"},{"action":{"from":"0xbcf935d206ca32929e1b887a07ed240f0d8ccd22","callType":"call","gas":"0x8fc","input":"0x","to":"0xf06800788b58edac380ee684e53d5ac9906ffb42","value":"0xb1a2bc2ec50000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x072c4a4e310d638b3e8a5e0764242378e6573cff2aa58c90ba1283cabb2fad50","transactionPosition":61,"type":"call"},{"action":{"from":"0x173897b71a4e43fbb4aa5bb8cdd05eb1486ccb3b","callType":"call","gas":"0x95f8","input":"0xa9059cbb0000000000000000000000005870de6392b558fc4cbf01075a8f71c568f34d0000000000000000000000000000000000000000000000000000000002d1cfef80","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x8729","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x11d823c3f4bc2ff71f6b2d22bcda5fad0b2f1ba46650c18b3c835905559f51f4","transactionPosition":62,"type":"call"},{"action":{"from":"0xd0e2c20081963550d34cc47db944e32d6885be9f","callType":"call","gas":"0x26b68","input":"0x797eee24000000000000000000000000586111d8595c3292fbf4dea8426535bfa2b00508","to":"0x5acc84a3e955bdd76467d3348077d003f00ffb97","value":"0xb1a2bc2ec50000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"error":"out of gas","result":null,"subtraces":0,"traceAddress":[],"transactionHash":"0xc40590553cf3caf158d3fb6f243505a0a3dc93ae19791b6ff51256aebfa479d3","transactionPosition":63,"type":"call"},{"action":{"from":"0x0d0707963952f2fba59dd06f2b425ace40b492fe","callType":"call","gas":"0x2b8d8","input":"0xa9059cbb0000000000000000000000005b10a4c5a51b9e4a32921abc0cecdabc96f77fa30000000000000000000000000000000000000000000000000000000023b403c0","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x110807dccc5371b4dd27c6de0efcc2e42ffc8d8788d141a542ed14942bc4fcdd","transactionPosition":64,"type":"call"},{"action":{"from":"0x0d0707963952f2fba59dd06f2b425ace40b492fe","callType":"call","gas":"0x2b8d8","input":"0xa9059cbb0000000000000000000000002a3e8b070fb0691b090e9326ae95e029a4776ce4000000000000000000000000000000000000000000000000000000009a8f90e0","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xd406de6412db8fd5c1e315069790d2fa0b16311f4d0450c92277481df311fe58","transactionPosition":65,"type":"call"},{"action":{"from":"0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0","callType":"call","gas":"0x2328","input":"0x","to":"0xb92c5df1fc2a7a7e9d4109e451d035748b22bf0b","value":"0x35572ef0279347c00"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xfbc20edf33681f86807061b3c4ec26d27c2824a5a66c634b9c1a48aba66427e6","transactionPosition":66,"type":"call"},{"action":{"from":"0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0","callType":"call","gas":"0x2328","input":"0x","to":"0x69ef9ffee7a03fd61d5ff28697b02b7219047a4a","value":"0x3a361218a510000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x7bd016ac621fd53b02ca30c5b31aec9201182bb19620e8194e2d023195cf8973","transactionPosition":67,"type":"call"},{"action":{"from":"0xf809e07870dca762b9536d61a4fbef1a17178092","callType":"call","gas":"0x1788b3","input":"0x9ef90ea20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000014800000000000000000000000000000000000000000000000000000000000000004000000000000000000000000f809e07870dca762b9536d61a4fbef1a1717809200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd50000000000000000000000000348db06344c6c60e0124004f24f46470995c31e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000000000000000000000000000000000000b600000000000000000000000000000000000000000000000000000000000000ce0000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000739a1df6725657f6a16dc2d5519dc36fd7911a120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000b0130e075bc4c00000000000000000000000000000000000000000000000000000005543df729c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000007080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd700000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a07080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aee503d3685d71400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e2d8ea558f8f74326711a6384cd1411deb79a348a74f102560692ebc33d76be371000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000015af1d78b58c4000000000000000000000000000000000000000000000000000b0130e075bc4c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ed52ccf00000000000000000000000000000000000000000000000b0130e075bc4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e54811746f1d1638c6a3d70c71e403374443beb2637928057141096f8de13c32ce672b69078507ea9b25db077c127bda5c687f4aba53f7019afb4371c2f1cf21c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000739a1df6725657f6a16dc2d5519dc36fd7911a120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000005eb04fd727080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204000000000000000000000000f809e07870dca762b9536d61a4fbef1a171780920000000000000000000000000348db06344c6c60e0124004f24f46470995c31e00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000042220e1b79a2f984a7916c3d6362cc9bd1df9acc4d58b1509536d2f33c31bc11af21215b40e6e97dbc1bdd265901e41f971e003b1f8041f9ad8c1b7123af07b58f1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000","to":"0x2a842bc64343fad4ec4a8424ba7ff3c0a70b6e55","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xd701e","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x2a842bc64343fad4ec4a8424ba7ff3c0a70b6e55","callType":"call","gas":"0x156843","input":"0xa67a6a45000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000004000000000000000000000000f809e07870dca762b9536d61a4fbef1a1717809200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd50000000000000000000000000348db06344c6c60e0124004f24f46470995c31e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000000000000000000000000000000000000b600000000000000000000000000000000000000000000000000000000000000ce0000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000739a1df6725657f6a16dc2d5519dc36fd7911a120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000b0130e075bc4c00000000000000000000000000000000000000000000000000000005543df729c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000007080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd700000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a07080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aee503d3685d71400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e2d8ea558f8f74326711a6384cd1411deb79a348a74f102560692ebc33d76be371000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000015af1d78b58c4000000000000000000000000000000000000000000000000000b0130e075bc4c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ed52ccf00000000000000000000000000000000000000000000000b0130e075bc4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e54811746f1d1638c6a3d70c71e403374443beb2637928057141096f8de13c32ce672b69078507ea9b25db077c127bda5c687f4aba53f7019afb4371c2f1cf21c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000739a1df6725657f6a16dc2d5519dc36fd7911a120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea000000000000000000000000000000000000000000000000000000000000000000","to":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xba67b","output":"0x"},"subtraces":1,"traceAddress":[0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"delegatecall","gas":"0x146570","input":"0xbd76ecfd0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000004000000000000000000000000f809e07870dca762b9536d61a4fbef1a1717809200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd50000000000000000000000000348db06344c6c60e0124004f24f46470995c31e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000000000000000000000000000000000000b600000000000000000000000000000000000000000000000000000000000000ce0000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000739a1df6725657f6a16dc2d5519dc36fd7911a120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000b0130e075bc4c00000000000000000000000000000000000000000000000000000005543df729c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000007080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd700000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a07080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aee503d3685d71400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000cd81398895bea7ad9eff273aeffc41a9d83b4dad0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e2d8ea558f8f74326711a6384cd1411deb79a348a74f102560692ebc33d76be371000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000015af1d78b58c4000000000000000000000000000000000000000000000000000b0130e075bc4c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ed52ccf00000000000000000000000000000000000000000000000b0130e075bc4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e54811746f1d1638c6a3d70c71e403374443beb2637928057141096f8de13c32ce672b69078507ea9b25db077c127bda5c687f4aba53f7019afb4371c2f1cf21c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000739a1df6725657f6a16dc2d5519dc36fd7911a120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea000000000000000000000000000000000000000000000000000000000000000000","to":"0x56e7d4520abfecf10b38368b00723d9bd3c21ee1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xaf324","output":"0x"},"subtraces":12,"traceAddress":[0,0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x139209","input":"0x41976e090000000000000000000000006b175474e89094c44da98b954eedeac495271d0f","to":"0x0fbd14718d8fab8f9f40ee5c5612b1f0717100a2","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x603","output":"0x0000000000000000000000000000000000000000000000000e052f2a238264b0"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x1362c4","input":"0xe8177dcf0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000002892abc39ab3133976e4000000000000000000000000000000000000000000004f190f492edae4f7963e8","to":"0x7538651d874b7578cf52152c9abd8f6617a38403","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xafb","output":"0x0000000000000000000000000000000000000000000000000000000060f30a2f"},"subtraces":0,"traceAddress":[0,0,1],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x130c8b","input":"0x41976e09000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","to":"0xf61ae328463cd997c7b58e7045cdc613e1cfdb69","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1566","output":"0x00000000000000000000000000000000000000000000000b1994c565f50bc000"},"subtraces":1,"traceAddress":[0,0,2],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0xf61ae328463cd997c7b58e7045cdc613e1cfdb69","callType":"staticcall","gas":"0x12b5e7","input":"0x59e02dd7","to":"0x729d19f657bd0614b4985cf1d82531c67569197b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x861","output":"0x00000000000000000000000000000000000000000000000b1994c565f50bc0000000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0,0,2,0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x12ce0a","input":"0xe8177dcf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000376f774ef6405473c4b00000000000000000000000000000000000000000000138a9b5090c291421804","to":"0x7538651d874b7578cf52152c9abd8f6617a38403","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xafb","output":"0x000000000000000000000000000000000000000000000000000000002182c1df"},"subtraces":0,"traceAddress":[0,0,3],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x1245fa","input":"0x41976e09000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","to":"0x52f1c952a48a4588f9ae615d38cfdbf8df036e60","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x276","output":"0x000000000000000000000000000000000000000c9f2c9cd04674edea40000000"},"subtraces":0,"traceAddress":[0,0,4],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0x1219fa","input":"0xe8177dcf000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000003e6735244f80000000000000000000000000000000000000000000000000000093b13d4baa2","to":"0x7538651d874b7578cf52152c9abd8f6617a38403","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xafb","output":"0x000000000000000000000000000000000000000000000000000000004fdbd1b6"},"subtraces":0,"traceAddress":[0,0,5],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"call","gas":"0x11bbfa","input":"0x8b4187130000000000000000000000002a842bc64343fad4ec4a8424ba7ff3c0a70b6e55000000000000000000000000f809e07870dca762b9536d61a4fbef1a171780920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea000000000000000000000000000000000000000000000000000000000000000000","to":"0x739a1df6725657f6a16dc2d5519dc36fd7911a12","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x38b2","output":"0x"},"subtraces":1,"traceAddress":[0,0,6],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x739a1df6725657f6a16dc2d5519dc36fd7911a12","callType":"staticcall","gas":"0x1154d5","input":"0x47d1b53c0000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003","to":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x108f","output":"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ae455fac9413407b08ac"},"subtraces":0,"traceAddress":[0,0,6,0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"call","gas":"0x11687d","input":"0x8b4187130000000000000000000000002a842bc64343fad4ec4a8424ba7ff3c0a70b6e55000000000000000000000000f809e07870dca762b9536d61a4fbef1a17178092000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000b0130e075bc4c00000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000000000000000000000000000000000000000000","to":"0xcd81398895bea7ad9eff273aeffc41a9d83b4dad","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xad07","output":"0x"},"subtraces":0,"traceAddress":[0,0,7],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"call","gas":"0x10a06d","input":"0x8b4187130000000000000000000000002a842bc64343fad4ec4a8424ba7ff3c0a70b6e550000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd50000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000007080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd7","to":"0xcd81398895bea7ad9eff273aeffc41a9d83b4dad","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7fbf","output":"0x"},"subtraces":0,"traceAddress":[0,0,8],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"call","gas":"0xfdddc","input":"0x448f7065000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000f809e07870dca762b9536d61a4fbef1a17178092000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088342980a49959120000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000008c18f0827f4691cef00000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001a07080637f93c48194e418a0cdaddaacb528ce075def3778bc361da8289362204200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000161595da4aa72cc800000000000000000000000000000000000000000000000af32ca2cfa527000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd5000000000000000000000000000000000000000000000000000000005eb04fd7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xcd81398895bea7ad9eff273aeffc41a9d83b4dad","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x11f34","output":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0f0a31a6cc4bdb"},"subtraces":1,"traceAddress":[0,0,9],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0xcd81398895bea7ad9eff273aeffc41a9d83b4dad","callType":"staticcall","gas":"0xee2c2","input":"0xc190c2ec0000000000000000000000000348db06344c6c60e0124004f24f46470995c31ef52a5469b391ab8ede78ee6011640a66b1709f89992a2b508690c6b3b761bbd50000000000000000000000000000000000000000000000000000000000000000","to":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5b1b","output":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000e05c6815b69983f"},"subtraces":1,"traceAddress":[0,0,9,0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"staticcall","gas":"0xe7705","input":"0xe8177dcf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000376f775b82e566c678a00000000000000000000000000000000000000000000138a9b514f82c4bde1db","to":"0x7538651d874b7578cf52152c9abd8f6617a38403","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xafb","output":"0x000000000000000000000000000000000000000000000000000000002182c1e5"},"subtraces":0,"traceAddress":[0,0,9,0,0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"call","gas":"0xc79c0","input":"0x448f7065000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f809e07870dca762b9536d61a4fbef1a171780920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000028bd8dfb3a3f584ecc8000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000028be3ca7cf29ee0944e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000aee503d3685d71400000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e2d8ea558f8f74326711a6384cd1411deb79a348a74f102560692ebc33d76be371000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000015af1d78b58c4000000000000000000000000000000000000000000000000000b0130e075bc4c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005543df729c0000000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ed52ccf00000000000000000000000000000000000000000000000b0130e075bc4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e54811746f1d1638c6a3d70c71e403374443beb2637928057141096f8de13c32ce672b69078507ea9b25db077c127bda5c687f4aba53f7019afb4371c2f1cf21c00000000000000000000000000000000000000000000000000000000000000","to":"0xcd81398895bea7ad9eff273aeffc41a9d83b4dad","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x810b","output":"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008aaf9a08a3c218cdc"},"subtraces":0,"traceAddress":[0,0,10],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","callType":"call","gas":"0xac0c8","input":"0x8b4187130000000000000000000000002a842bc64343fad4ec4a8424ba7ff3c0a70b6e55000000000000000000000000f809e07870dca762b9536d61a4fbef1a171780920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000024ea000000000000000000000000000000000000000000000000000000000000000000","to":"0x739a1df6725657f6a16dc2d5519dc36fd7911a12","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x38b2","output":"0x"},"subtraces":1,"traceAddress":[0,0,11],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0x739a1df6725657f6a16dc2d5519dc36fd7911a12","callType":"staticcall","gas":"0xa7590","input":"0x47d1b53c0000000000000000000000004a40e91175fa2f7dd8ae444596c7f5c98c4eac8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003","to":"0x1e0447b19bb6ecfdae1e4ae1694b0c3659614e4e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x108f","output":"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ae4dccfa728b154b74ec"},"subtraces":0,"traceAddress":[0,0,11,0],"transactionHash":"0x223b89986dd5e22e7b00bd27ce66ef72ed217ff1ea94e9feaa83c25b8468cbb5","transactionPosition":68,"type":"call"},{"action":{"from":"0xe9b93ffb2462aac3edff05c09a810d2111975103","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x592b3a7a2b16a54357832b91b66e6a3d8cbefc72e4d926aae4764b46e780701a","transactionPosition":69,"type":"call"},{"action":{"from":"0x4226a1764649271f88f5b306f9458a34a691c880","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef3ae91ee200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000041657aed72ca0b60ef","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000003931eeaef72a340e8"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xaf2caa759a5b7fba7610437592abd60bdfb0be0415b8d357eb51628c821c952e","transactionPosition":70,"type":"call"},{"action":{"from":"0x61357204b766c96ff985e33a84fd063bedc51deb","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xe946e93c297193048ad6927ed35e7ac12f408bf8aa00f5326c3eaa7406240425","transactionPosition":71,"type":"call"},{"action":{"from":"0x99911d9e3e57a7249fd18fb2bd8ae77d4313e768","callType":"call","gas":"0xd5f24","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e66d564f02017ce7bcaa6290de3091ce569a66ffcb39175a97cdd35e000000000000000000000000000000000000000000000000000000993d12b39900000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000001d9717f398792cb270000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000026b175474e89094c44da98b954eedeac495271d0f000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xf1b05e7dbe0074e5a93e37bf5d2800a4a86efd43f7f2d0227c8d9d37ff220035","transactionPosition":72,"type":"call"},{"action":{"from":"0x3b268423c727edc7420b02ade0ddf84292c37ddf","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x4dd3e3f9349c5d1cc92917035ba8c9668cb0abb05036eebab9506517fa774091","transactionPosition":73,"type":"call"},{"action":{"from":"0xce358a697c7201da5ccf3ad4a9687f20a78eaddb","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x5eeae5a92c281584791f7814bebceae8853deba48ee13ef88bb92174d13eaaf9","transactionPosition":74,"type":"call"},{"action":{"from":"0x82b1e33c6465a9bedefd4af8a2c1cfc1c874bfbe","callType":"call","gas":"0x137e6c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000001589182d58c22484e02027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x19016","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x1325be","input":"0x689c49c0000000000000000000000000000000000000000000000001589182d58c22484e02027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1851f","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x12ca89","input":"0x7cd44272000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000001589182d58c22484e00000000000000000000000000000000000000000000000000000000009899c4","to":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1513a","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":4,"traceAddress":[0,0],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x126ea2","input":"0xb8e9c22e0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000009899c40000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000001589182d58c22484e","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc421","output":"0x000000000000000000000000000000000000000000000000f88f4a02824a7a38"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x11a28b","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,0,1],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x114c27","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,1,0],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x11431d","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,0,1,1],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x117b11","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":2,"traceAddress":[0,0,2],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x11254b","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,2,0],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x111c3e","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":0,"traceAddress":[0,0,2,1],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x11552b","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2176","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":2,"traceAddress":[0,0,3],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x10fffc","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,3,0],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x10f6ea","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7e4","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":0,"traceAddress":[0,0,3,1],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x117788","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,1],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x1121d0","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,0],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x1118c7","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,1,1],"transactionHash":"0xf50905221441726cb0449470a4061e5444ca1b2a9be8acdb331eb2fa9f146fd0","transactionPosition":75,"type":"call"},{"action":{"from":"0x1d7a5070c0768420fac6dc0e674801cae922a5fb","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x8167f4d63977074f0ed048f2825d72e88fddeb3be9a1a33ecb9404f8247244d3","transactionPosition":76,"type":"call"},{"action":{"from":"0x59a5208b32e627891c389ebafc644145224006e8","callType":"call","gas":"0xa410","input":"0x","to":"0x26456336877b3e29e80319b37cc29dd2f637d256","value":"0x30e545aa03ee800"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x025a988e3e4ae6ffa01f1fa570d4a7407d218b6e87b20a0dbc06360a2715bb75","transactionPosition":77,"type":"call"},{"action":{"from":"0x59a5208b32e627891c389ebafc644145224006e8","callType":"call","gas":"0xa410","input":"0x","to":"0x825f1c61f588c9ed5a7b583e86953370266e1d8a","value":"0x1507926dd1a8000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x5d3036bf2b91bc1f5f89b9b425007ece67098e73c3a9b6cb3c34cb3d8bd08423","transactionPosition":78,"type":"call"},{"action":{"from":"0x3be8af620b816e2f44623743f8ca3ea121a3a567","callType":"call","gas":"0xd5f24","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e66d564f02017ce7bcaa6290de3091ce569a66ffcb39175a97cdd35e000000000000000000000000000000000000000000000000000000993d12b39900000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000001d9717f398792cb270000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000026b175474e89094c44da98b954eedeac495271d0f000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xa2c2efcb743e4500a2305e22093405c4f72a8bf6182697bb8932d55f7fd9a30e","transactionPosition":79,"type":"call"},{"action":{"from":"0x70324ac3630ada5ace07d9da4d3cfc842c4c90fe","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xcfec0c6b1a5bc183ac78323ca384aac94235d08abde5aa9ac8a976e111f37deb","transactionPosition":80,"type":"call"},{"action":{"from":"0x6f7f4909d351fa348227fbfc4442785d328bc57d","callType":"call","gas":"0x15027c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000001f22acd8c4a4d4408030348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862096b175474e89094c44da98b954eedeac495271d0f027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d0000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x17086","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x14a3b8","input":"0x689c49c0000000000000000000000000000000000000000000000001f22acd8c4a4d4408030348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862096b175474e89094c44da98b954eedeac495271d0f027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d0000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x16589","output":"0x"},"subtraces":4,"traceAddress":[0],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x14434c","input":"0xcd7724c3000000000000000000000000000000000000000000000001f22acd8c4a4d4408","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x0000000000000000000000000000000000000000000000236711fa5bf4e36e874a4d440800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x13edd4","input":"0xcd7724c3000000000000000000000000000000000000000000000001f22acd8c4a4d4408","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x0000000000000000000000000000000000000000000000236711fa5bf4e36e87"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x138bb9","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x132db0","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x1324a4","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x13fa02","input":"0x144a27520000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000000236711fa5bf4e36e87","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x0000000000000000000000000000000000000000000001880c708f5b9b7a6b4c"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x13dc7c","input":"0x7cd442720000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000001880c708f5b9b7a6b4c00000000000000000000000000000000000000000000000000000000009899c4","to":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xe2e7","output":"0x0000000000000000000000000000000000000000000000000011612857a32165"},"subtraces":2,"traceAddress":[0,2],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x137bca","input":"0xb8e9c22e0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000000000009899c400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001880c708f5b9b7a6b4c","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xbb63","output":"0x0000000000000000000000000000000000000000000000000011612857a32165"},"subtraces":0,"traceAddress":[0,2,0],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x12b787","input":"0x313ce567","to":"0x6b175474e89094c44da98b954eedeac495271d0f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xf0","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,2,1],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x12f653","input":"0x313ce567","to":"0x6b175474e89094c44da98b954eedeac495271d0f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xf0","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,3],"transactionHash":"0xda9114d2aca79b70d449ede4610418a11b732b43ceaa4ded763906e9630c3524","transactionPosition":81,"type":"call"},{"action":{"from":"0xde5a0c0ed89d0bade96650cf4c1c494713e8b04e","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xbcc0490e072e5a8fec809ac4351ebefecaa920da73cc4c15d22688b2654b3f47","transactionPosition":82,"type":"call"},{"action":{"from":"0x3a746b9609c95c2e0d3e1c8aec7533ff413bff52","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x07d72fcc19794cae09e2d8f53e82ba96dedf3a2ca81d818c6490bdd13251340e","transactionPosition":83,"type":"call"},{"action":{"from":"0xb001ca0c03f900aec135c86dbe969b15ba1fd947","callType":"call","gas":"0x1e2f44","input":"0x7bbdda01000a66b68a0d22d4d5c21012ec3b9855a7d71940190000000038aa0b35a984c9800100000002b5e3af16b188000003550000004f0d00004f3a0000ff","to":"0x0000000000ebbdaf01e3de2506ca1e4c08d3ceba","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x163d6","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x0000000000ebbdaf01e3de2506ca1e4c08d3ceba","callType":"delegatecall","gas":"0x1d781b","input":"0x5fa9c21c0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000002b5e3af16b188000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000355000000000000000000000000000000000000000000000000000000000000004f000000000000000000000000000000000000000000000000000000000000004f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0x4754205d582241ec8b92683d069bcb78c3ac3a4f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"error":"Reverted","result":{"gasUsed":"0xc45e","output":"0x"},"subtraces":3,"traceAddress":[0],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x0000000000ebbdaf01e3de2506ca1e4c08d3ceba","callType":"staticcall","gas":"0x1ce428","input":"0xcd7724c3000000000000000000000000000000000000000000000002b5e3af16b1880000","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x00000000000000000000000000000000000000000000003142535569e14b5cddb188000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x1c6c2d","input":"0xcd7724c3000000000000000000000000000000000000000000000002b5e3af16b1880000","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x00000000000000000000000000000000000000000000003142535569e14b5cdd"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x1be819","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x1b689f","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x1b5f92","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x0000000000ebbdaf01e3de2506ca1e4c08d3ceba","callType":"staticcall","gas":"0x1c9c63","input":"0x144a27520000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000003142535569e14b5cdd","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2f9f","output":"0x0000000000000000000000000000000000000000000001aa2298f9d39ca9cc43"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x0000000000ebbdaf01e3de2506ca1e4c08d3ceba","callType":"staticcall","gas":"0x1c6319","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000001aa2298f9d39ca9cc43","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x20e7","output":"0x000000000000000000000000000000000000000000000002142853014e1bbe24"},"subtraces":0,"traceAddress":[0,2],"transactionHash":"0xbfa874c326b17a0cf689e7e5454ba1db8c599a003e64e7b30688e57fc3415e88","transactionPosition":84,"type":"call"},{"action":{"from":"0x3613b5e5b3851cb38606e371887a172e70a4475d","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x930e05044dac203081b958cc68443a95d34cc88d42390b72f8555cf78d4151e5","transactionPosition":85,"type":"call"},{"action":{"from":"0x0ff4c51a937cbf3feb4614ffc8e7a155e68338bb","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x4b7424ac5c48ef82c30a3d0d7081c721b78867209e79a92b65216d37749298b4","transactionPosition":86,"type":"call"},{"action":{"from":"0x4c980cbfc040e075ec84a0b69f647ebd494dbb26","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xa218c0723b8a7c01e9a8e4a447770820d3f2efbe2e1d1cbffb134ccad492307b","transactionPosition":87,"type":"call"},{"action":{"from":"0x3acc31e8086d5214fe0cdd89ed27ca85b16b41bc","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x479e283b2b29606e8fbc2815d09674daae0508fcf82ccdc3a01af690417c76df","transactionPosition":88,"type":"call"},{"action":{"from":"0x5a1da353ad5a6abb318e0d0abc643c691de82afb","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xa0e59ec7e2463c23cd432eebe4709e8eadbcc049fd333bae5583b851c0a6b7d3","transactionPosition":89,"type":"call"},{"action":{"from":"0x752987ae84e7cea5bcb2d8ac44a4b4887ecdf46d","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef3ae91ee200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000041657aed72ca0b60ef","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000003931eeaef72a340e8"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x27fd5bd3a9048c3bf5b2af98e3f7b3acdbf8ce2c22fb9f3a8fe8cae4cecfabaa","transactionPosition":90,"type":"call"},{"action":{"from":"0xdfcb71687e4e5bc8f5512d76ea8e57771cf9b2b6","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x37b7da36ee7fa380d799d5e38ec63aacef75ed5d6227a626b28fc4fe33756f37","transactionPosition":91,"type":"call"},{"action":{"from":"0x3fde9ac57c37966dd79d236a85e0101788f8faae","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xc6f9000f33c4cb7302c6f32beee1e5da12701964795746aa7d9d6a77cac208c5","transactionPosition":92,"type":"call"},{"action":{"from":"0x9aaed2471edf7c2207aa956ae0a4a1472cd1f9e1","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xc8a97a89a0094dd1d36dd37f984a6672b2c8270acd0783bd3152b596404291af","transactionPosition":93,"type":"call"},{"action":{"from":"0x6a34ff34ab02a1ac389eb6579048aef573f0de81","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x44ed6ca3e23393a5ec99f481fc29f5c3c7f12fc09b3b0da893a3ace2c8858f46","transactionPosition":94,"type":"call"},{"action":{"from":"0xfe9d28da426c9c8b6d325d6674e91f9a8d0312f4","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xaccb567307a5676900866328dbbcb427a7242f3c905c03555b85964e982c5b41","transactionPosition":95,"type":"call"},{"action":{"from":"0xb001ca0b4d704e5a9f36ffb5bb576b6dd3704e37","callType":"call","gas":"0x1e2f44","input":"0x7bbdda01000a66b68a0d22d4d5c21012ec3b9855a7d71940190000000038aa0b35a984c9800100000002b5e3af16b188000003550000004f0d00004f3a0000ff","to":"0x0000000000ebbdaf01e3de2506ca1e4c08d3ceba","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"error":"Reverted","result":{"gasUsed":"0x48c","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x6e6e17af6426bb17a09e055fa32925197710d1419e8241e26a08b46500217396","transactionPosition":96,"type":"call"},{"action":{"from":"0x810e5d9e59afccf5668f633d129a2b556fbb40fb","callType":"call","gas":"0x37559","input":"0xb4f9b6c8000000000000000000000000000000000000000000000000000000000004a5f6","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1e920","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xcedcc0ad712d1fc2fe38dcad3cd2542a67c464474fddb96a76f676dfa00799ca","transactionPosition":97,"type":"call"},{"action":{"from":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","callType":"call","gas":"0x1da1c","input":"0xa9059cbb000000000000000000000000810e5d9e59afccf5668f633d129a2b556fbb40fb000000000000000000000000000000000000000000000827503c2483834a762b","to":"0x0d8775f648430679a709e98d2b0cb6250d2887ef","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3c24","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xcedcc0ad712d1fc2fe38dcad3cd2542a67c464474fddb96a76f676dfa00799ca","transactionPosition":97,"type":"call"},{"action":{"from":"0x810e5d9e59afccf5668f633d129a2b556fbb40fb","callType":"call","gas":"0x4e9d2","input":"0x1b33d4120000000000000000000000000000000000000000000006a678197fe5f87f13860000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef000000000000000000000000000000000000000000000143dac8cda38f42f6190000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000000000000000000000000","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x36332","output":"0x000000000000000000000000000000000000000000000000000000000004a5f9"},"subtraces":1,"traceAddress":[],"transactionHash":"0x934fda652fc7d036038a10df80967840c729711286b975aeb3e1658559c060b7","transactionPosition":98,"type":"call"},{"action":{"from":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","callType":"call","gas":"0x2df4f","input":"0x23b872dd000000000000000000000000810e5d9e59afccf5668f633d129a2b556fbb40fb000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d0000000000000000000000000000000000000000000006a678197fe5f87f1386","to":"0x0d8775f648430679a709e98d2b0cb6250d2887ef","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x568f","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x934fda652fc7d036038a10df80967840c729711286b975aeb3e1658559c060b7","transactionPosition":98,"type":"call"},{"action":{"from":"0x9994771e1d44ae55a4ade63ee02874c13b232731","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e3a6e35c98365067857061cb076b970f2b3483e93813c48ffa76121200000000000000000000000000000000000000000000000000000016d180815800000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000035cdb80ed14fae2bd0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x190382e274536a250b7095970c076be77c4f412fe07b4fbfbefab173e76a11bb","transactionPosition":99,"type":"call"},{"action":{"from":"0x999311b22384f887ef2bc68062212c183f6c5d3b","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x3ce1cb930163926e666fffd8ba3b920f6738ba6e94e334ac9750e411566e88b6","transactionPosition":100,"type":"call"},{"action":{"from":"0x737aa242e53ee76a38e7ca583ded1c96b7498b3e","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x691c2bb8de6ae4431eaac89dbbc6db8dad60ab0a8b32f5066497fe6daf9fd16c","transactionPosition":101,"type":"call"},{"action":{"from":"0xce1ad6686f2e5ad444b18b00ad7f9098d7252678","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x1ba864e87731318502814832bc525eaac3a51000ec13cb57c3aac6a579c0c243","transactionPosition":102,"type":"call"},{"action":{"from":"0x1d9e3b7bd5f49deba51068ac79af7fd280140640","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xd2385bd0107728dd07fb23ec3ca31972e11abbb45aeab7ddf6f4b35c861e83cd","transactionPosition":103,"type":"call"},{"action":{"from":"0xbb8739f895767d1fe8c695851612b28c7d5e3df0","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xd71b78d44205601e66d8c946957d75495ca8cdd59c28786847195174c72cb6d8","transactionPosition":104,"type":"call"},{"action":{"from":"0x32e467222cf793496e2d61c86494faa6ba9f73d6","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x87fc547ebdd2364c339d2a1f083d3fca478cfe239afb7386b3a902f69334bf6d","transactionPosition":105,"type":"call"},{"action":{"from":"0xf900e30479800845055d8cd4d939f3aa9de80fdd","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xc8f1e04342430ec53120f9971ddc3f7fe8b90cb2cda07c6c0d4e2b78c949f600","transactionPosition":106,"type":"call"},{"action":{"from":"0xf84f973ab6560a76d28aa788b8addef615fe5601","callType":"call","gas":"0x137e6c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000001589182d58c22484e02027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x19016","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x1325be","input":"0x689c49c0000000000000000000000000000000000000000000000001589182d58c22484e02027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1851f","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x12ca89","input":"0x7cd44272000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000001589182d58c22484e00000000000000000000000000000000000000000000000000000000009899c4","to":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1513a","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":4,"traceAddress":[0,0],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x126ea2","input":"0xb8e9c22e0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000009899c40000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000001589182d58c22484e","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc421","output":"0x000000000000000000000000000000000000000000000000f88f4a02824a7a38"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x11a28b","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,0,1],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x114c27","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,1,0],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x11431d","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,0,1,1],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x117b11","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":2,"traceAddress":[0,0,2],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x11254b","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,2,0],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x111c3e","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":0,"traceAddress":[0,0,2,1],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x11552b","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2176","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":2,"traceAddress":[0,0,3],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x10fffc","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,3,0],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x10f6ea","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7e4","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":0,"traceAddress":[0,0,3,1],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x117788","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,1],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x1121d0","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,0],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x1118c7","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,1,1],"transactionHash":"0xaa2b9f9b1844b7d45e6da6a6fc504a66fd7274f6940ff20f3e76f10e610c01fd","transactionPosition":107,"type":"call"},{"action":{"from":"0x3ab4c2a3d4caae59fb7343e2c75214e5ef580ad6","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef3ae91ee200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000041657aed72ca0b60ef","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000003931eeaef72a340e8"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x5fe03a576fca75ea29fb80ab6fbd69372c929a603b496e600832852604278a08","transactionPosition":108,"type":"call"},{"action":{"from":"0x4a1351523071ed88d20afd1d10cda75d1b34f4e7","callType":"call","gas":"0x15027c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000001f22acd8c4a4d4408030348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862096b175474e89094c44da98b954eedeac495271d0f027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d0000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x17086","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x14a3b8","input":"0x689c49c0000000000000000000000000000000000000000000000001f22acd8c4a4d4408030348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862096b175474e89094c44da98b954eedeac495271d0f027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d0000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x16589","output":"0x"},"subtraces":4,"traceAddress":[0],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x14434c","input":"0xcd7724c3000000000000000000000000000000000000000000000001f22acd8c4a4d4408","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x0000000000000000000000000000000000000000000000236711fa5bf4e36e874a4d440800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x13edd4","input":"0xcd7724c3000000000000000000000000000000000000000000000001f22acd8c4a4d4408","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x0000000000000000000000000000000000000000000000236711fa5bf4e36e87"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x138bb9","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x132db0","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x1324a4","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x13fa02","input":"0x144a27520000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000000236711fa5bf4e36e87","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x0000000000000000000000000000000000000000000001880c708f5b9b7a6b4c"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x13dc7c","input":"0x7cd442720000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000001880c708f5b9b7a6b4c00000000000000000000000000000000000000000000000000000000009899c4","to":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xe2e7","output":"0x0000000000000000000000000000000000000000000000000011612857a32165"},"subtraces":2,"traceAddress":[0,2],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x137bca","input":"0xb8e9c22e0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000000000009899c400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001880c708f5b9b7a6b4c","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xbb63","output":"0x0000000000000000000000000000000000000000000000000011612857a32165"},"subtraces":0,"traceAddress":[0,2,0],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x12b787","input":"0x313ce567","to":"0x6b175474e89094c44da98b954eedeac495271d0f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xf0","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,2,1],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x12f653","input":"0x313ce567","to":"0x6b175474e89094c44da98b954eedeac495271d0f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xf0","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,3],"transactionHash":"0x8fa006577fae36b5417f3dfb40933ca8ec422cd928d9610330a3e5b8b1b2f8d8","transactionPosition":109,"type":"call"},{"action":{"from":"0xd5144e4db4bfa54e3d59c9730162353b8b732930","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x32a80038ab461aafce62c23d2980410ee5b891e60e5fca118f520c874dbc2683","transactionPosition":110,"type":"call"},{"action":{"from":"0x3a711e39640b802d201391d14d5f2d3159f07957","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xb9654975869baef2561d7e196ec57e0831fbc229a5738a25e6adb55c5e2fc03f","transactionPosition":111,"type":"call"},{"action":{"from":"0x3a110eaacd247ec08fdc9f80a7df7f83543e9bc9","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xb5a60230306e70ea01118a564450b2c87355ac447b6f89a8567c2bf98acd7f09","transactionPosition":112,"type":"call"},{"action":{"from":"0x9f9518ae8d4d26ea11a6b24ab71a25e3b382cfaf","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef3ae91ee200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000041657aed72ca0b60ef","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000003931eeaef72a340e8"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x1b712a535b1f3e689a35d0aad4af60902245aeac5509f1687990fc1f4be4182c","transactionPosition":113,"type":"call"},{"action":{"from":"0x999a87f8ba580bd5631ac24c4c2319bf75d19302","callType":"call","gas":"0xd5f24","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e66d564f02017ce7bcaa6290de3091ce569a66ffcb39175a97cdd35e000000000000000000000000000000000000000000000000000000993d12b39900000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000001d9717f398792cb270000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000026b175474e89094c44da98b954eedeac495271d0f000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xf9b4848e9e1ee1dda78b4c5dbc249bc4b576d744b28ab11a33bd16be72e5e8e6","transactionPosition":114,"type":"call"},{"action":{"from":"0x95227df275141c9bbf679f695668a838a31459fc","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x4c70c5c386c3ae6bec9acc7a302d7f7fd02d9ae9016fc7acd110c3ca4024c2bb","transactionPosition":115,"type":"call"},{"action":{"from":"0x9996a6851dd22afdfda9d70e741e8dfb14a88795","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xff73a89e3646aaa39374f75c9f40a2a3c759509cc9d75217540d6aeca25e6573","transactionPosition":116,"type":"call"},{"action":{"from":"0x3accddc05b8b2c3e70c5b1583a30e6188753e985","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xbcc1a330803a1c20aaf7587b8d767d3e15b7b23bf282e8021c13631800575df3","transactionPosition":117,"type":"call"},{"action":{"from":"0x3046a9743a1b8d967f2ddb014e341b0eca41c191","callType":"call","gas":"0x137e6c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000001589182d58c22484e02027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x19016","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x1325be","input":"0x689c49c0000000000000000000000000000000000000000000000001589182d58c22484e02027a3370075a54b187d7bd5dcebf0ff2b5552d4f7d1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1851f","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x12ca89","input":"0x7cd44272000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000001589182d58c22484e00000000000000000000000000000000000000000000000000000000009899c4","to":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1513a","output":"0x0000000000000000000000000000000000000000000000000000000000000000"},"subtraces":4,"traceAddress":[0,0],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x126ea2","input":"0xb8e9c22e0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000009899c40000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000001589182d58c22484e","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc421","output":"0x000000000000000000000000000000000000000000000000f88f4a02824a7a38"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x11a28b","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,0,1],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x114c27","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,1,0],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x11431d","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,0,1,1],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x117b11","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":2,"traceAddress":[0,0,2],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x11254b","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,2,0],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x111c3e","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":0,"traceAddress":[0,0,2,1],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x11552b","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2176","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":2,"traceAddress":[0,0,3],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x10fffc","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,3,0],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x10f6ea","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7e4","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":0,"traceAddress":[0,0,3,1],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x117788","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,1],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x1121d0","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,1,0],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x1118c7","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,1,1],"transactionHash":"0x5bd9bdb4c9e746b2029a59d2d616e82164e7da13d74b8417bc3605442334e985","transactionPosition":118,"type":"call"},{"action":{"from":"0x0a66b68a0d22d4d5c21012ec3b9855a7d7194019","callType":"call","gas":"0x546b8","input":"0x1b33d41200000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000026b05123a132c0200000000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000000000000000000000000","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3c018","output":"0x000000000000000000000000000000000000000000000000000000000004a5fa"},"subtraces":1,"traceAddress":[],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","callType":"call","gas":"0x33ac1","input":"0x23b872dd0000000000000000000000000a66b68a0d22d4d5c21012ec3b9855a7d7194019000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d00000000000000000000000000000000000000000000003635c9adc5dea00000","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xb375","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x31dfc","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x314e4","input":"0x23b872dd0000000000000000000000000a66b68a0d22d4d5c21012ec3b9855a7d7194019000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d00000000000000000000000000000000000000000000003635c9adc5dea00000","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x99dd","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x2bfdc","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[0,1,0],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x2b04b","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a2935576770000000000000000000000000a66b68a0d22d4d5c21012ec3b9855a7d7194019000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d00000000000000000000000000000000000000000000003635c9adc5dea00000","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[0,1,1],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x295f9","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[0,1,1,0],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x27bc7","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[0,1,1,0,0],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x272be","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[0,1,1,0,1],"transactionHash":"0x1fb7871ac20be8bc56d0c4aecc845eaea7a7ce12429e79c98e0634ea80505202","transactionPosition":119,"type":"call"},{"action":{"from":"0x79c8dc1944ac9aa8e6a454e8a9090e74f4735f48","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x2a66330f3923bd01fa8d74c3dcd2f20302d1fd1f6a5cbe2a9411b082c1739e73","transactionPosition":120,"type":"call"},{"action":{"from":"0x999b1f61d258a7b99594d306e63acb4ec2bc33b4","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e3a6e35c98365067857061cb076b970f2b3483e93813c48ffa76121200000000000000000000000000000000000000000000000000000016d180815800000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000035cdb80ed14fae2bd0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xe6d8d1843f0d67a41c19425848dd2659aa1f6cd14ce46e3320cc7432459842df","transactionPosition":121,"type":"call"},{"action":{"from":"0x124f58b41fd43a498fe7041bc2d9d5813c4f80d7","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x3ec53a43e10aca3c0a52f84ace648ac1c95782dcba9a7f0d7461f35f459bfd3d","transactionPosition":122,"type":"call"},{"action":{"from":"0x363310db7a2efe0e07abcaca5b21c8cc9a785f84","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xcbeebc2dc161d898cac71a53eb51d888a815e7bdc4b1a2f7d9a9a36e440490a9","transactionPosition":123,"type":"call"},{"action":{"from":"0x986a50e415fc284c36a22ab77dd7c7ba9cd00f7b","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xa281bc27c095ca1e522296a341c2d2348f245c305a0e9664836581e1c898f76c","transactionPosition":124,"type":"call"},{"action":{"from":"0x8c3a0c76961d87c5b2acebb08636a98b16179a1f","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xa4a5f3842c93709ad2bd6f704b770c01f33d456076c9805cdb9b280d6ef59356","transactionPosition":125,"type":"call"},{"action":{"from":"0x0887badeb10c099e5096d108522287de44d145cb","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x86fe3294df4449f2bbc365aac0c7488239f11b2da78c05911f94bcae9115fae1","transactionPosition":126,"type":"call"},{"action":{"from":"0x999aae184fe0376b777857eea2e2ef90b42e38df","callType":"call","gas":"0xd5f24","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e66d564f02017ce7bcaa6290de3091ce569a66ffcb39175a97cdd35e000000000000000000000000000000000000000000000000000000993d12b39900000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000001d9717f398792cb270000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000026b175474e89094c44da98b954eedeac495271d0f000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xd89a83ee3403fab78d704908195b9485fcde2d79e35cefb7133bde86e86ab66b","transactionPosition":127,"type":"call"},{"action":{"from":"0x3f171f72b8c629acd21198490f8605f34c663bdf","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x01155d42c8c277efb8b8e4d6cfa97d362820b13d94003f1d1683cfc4a12b1826","transactionPosition":128,"type":"call"},{"action":{"from":"0x4e3ebc74c882ca05a9f7935d59a285c39e843ed9","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xd07c5292a047c2d942f6891adf0187cdc3549aa4b37f7c23dca1684c3988f0d4","transactionPosition":129,"type":"call"},{"action":{"from":"0x9993af09ceca2e5e1338689c24225335e128ad68","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x84d58720e1eacea568bd4d336a3ac3f8783729d5a8040a1d199244142187ef36","transactionPosition":130,"type":"call"},{"action":{"from":"0xff49432a1ea8ac6d12285099ba426d1f16f23c8d","callType":"call","gas":"0xb76fc","input":"0x000404010442289c4042289c40b1058cfdb1058cfd0000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000105f8c8a555b38000000000000000000000000000000000000000000000000000d5d2b91a310660000101000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000004a5ee00000000000000000000000000000000000000000000000fc4c16a633a9e8000","to":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x16974","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"delegatecall","gas":"0xb3d58","input":"0x42289c400000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000105f8c8a555b38000000000000000000000000000000000000000000000000000d5d2b91a31066000","to":"0x50070d8c1527926d9336b295d39c0df777fed746","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x15cc5","output":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0xb085d","input":"0x7cd44272000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000000d5d2b91a3106600000000000000000000000000000000000000000000000000000000000009899c4","to":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1533b","output":"0x000000000000000000000000000000000000000000000000f928fce4d5772dd6"},"subtraces":4,"traceAddress":[0,0],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0xacb7f","input":"0xb8e9c22e0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e86200000000000000000000000000000000000000000000000000000000009899c40000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000d5d2b91a31066000","to":"0xfb80bfa19cae9e00f28b0f7e1023109deeb10483","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc2ad","output":"0x000000000000000000000000000000000000000000000000f928fce4d5772dd6"},"subtraces":0,"traceAddress":[0,0,0],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0xa00d6","input":"0x313ce567","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1aff","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":2,"traceAddress":[0,0,1],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x9c8f9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,1,0],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x9bfef","input":"0x313ce567","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x179","output":"0x0000000000000000000000000000000000000000000000000000000000000012"},"subtraces":0,"traceAddress":[0,0,1,1],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x9d95c","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":2,"traceAddress":[0,0,2],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x9a21c","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,2,0],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x99910","input":"0x70a0823100000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x000000000000000000000000000000000000000000000010f9544cf53eee95a2"},"subtraces":0,"traceAddress":[0,0,2,1],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","callType":"call","gas":"0x9b376","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2176","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":2,"traceAddress":[0,0,3],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x97cce","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,3,0],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x973bc","input":"0xdd62ed3e00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000007a3370075a54b187d7bd5dcebf0ff2b5552d4f7d","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7e4","output":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"subtraces":0,"traceAddress":[0,0,3,1],"transactionHash":"0x752ed3e900b3c73b492a50f9d074f17ba3bd9f9849465122bc541df8c7f343e1","transactionPosition":131,"type":"call"},{"action":{"from":"0xff49432a1ea8ac6d12285099ba426d1f16f23c8d","callType":"call","gas":"0x574fe","input":"0x0102050a111ca4695f9c7a2bc751d8847155bb70250000190000000000000000002a1530c4c41db0b0b2bb646cb5eb1a67b71586670000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000003cc98e2ca4e2663fe220000000000000000000000000000000000000000000003cd49762735f0400000000000000000000000000000000000000000000000000000b092e92f5008e0000101000000000000000000006924a03bb710eaf199ab6ac9f2bb148215ae9b5d00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000000000015930d686b1c55446000000000000000000000000000000000000000000000111d0b4caa7b20c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005eb0448000000000000000000000000000000000000000000000000000000171e089c24e0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b754c7418b73877a2edff771128ae550e68d3ff104d03c38e8087c379dfd41092793b6e29399a9c47e82a195963b3df06cd4a57ff93012b9a7674d4efe1794e8f030000000000000000000000000000000000000000000000000000000000003b61baf8b75b6465884ca47590789eb9caa2dae370e08620ae203543f5bd470c00000000000000000000000000000000000000000000008c299a3e7ad4780000","to":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5f87","output":"0x"},"subtraces":6,"traceAddress":[],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"delegatecall","gas":"0x5535c","input":"0x1ca4695f0000190000000000000000002a1530c4c41db0b0b2bb646cb5eb1a67b71586670000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000003cc98e2ca4e2663fe220000000000000000000000000000000000000000000003cd49762735f0400000000000000000000000000000000000000000000000000000b092e92f5008e000","to":"0xd01bc896551f1a36a76fcc1840566bf42dee0b90","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4d0","output":"0x000000000000000000000000000000000000000000000000b092e92f5008e0000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[0],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"delegatecall","gas":"0x54ac7","input":"0x9c7a2bc70101000000000000000000006924a03bb710eaf199ab6ac9f2bb148215ae9b5d00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000000000015930d686b1c55446000000000000000000000000000000000000000000000111d0b4caa7b20c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005eb0448000000000000000000000000000000000000000000000000000000171e089c24e0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b754c7418b73877a2edff771128ae550e68d3ff104d03c38e8087c379dfd41092793b6e29399a9c47e82a195963b3df06cd4a57ff93012b9a7674d4efe1794e8f030000000000000000000000000000000000000000000000000000000000003b61baf8b75b6465884ca47590789eb9caa2dae370e08620ae203543f5bd470c00000000000000000000000000000000000000000000008c299a3e7ad4780000","to":"0xe8b62b2990057e421e1028ebe6d556cffc97dbde","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xe82","output":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[1],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"staticcall","gas":"0x52e65","input":"0xd9bfa73e0000000000000000000000006924a03bb710eaf199ab6ac9f2bb148215ae9b5d0000000000000000000000000000000000000000000000000000000000000000","to":"0x61935cbdd02287b511119ddb11aeb42f1593b7ef","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5f3","output":"0x00000000000000000000000000000000000000000000000000000171e08a192b"},"subtraces":0,"traceAddress":[1,0],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x53172","input":"0x","to":"0x8871da8147f94b7408ce4e7d48617ad7fc6dd99c","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[2],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"address":"0x8871da8147f94b7408ce4e7d48617ad7fc6dd99c","refundAddress":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[2,0],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"suicide"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x51afa","input":"0x","to":"0xf8e61bad80fbae66916c2d34c11055ffed8a096a","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[3],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x517d0","input":"0x","to":"0xd274c236158fbd0c1be6781e974b6f8181994a9f","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[4],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x514c9","input":"0x","to":"0xf1aa724288e11aeb36952a1417c6c84315e46db9","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[5],"transactionHash":"0xb9a69bc01d21e81c0ddbd52aaf77cec63e0e9c6be4e31bc10eb5839dead15616","transactionPosition":132,"type":"call"},{"action":{"from":"0x3b06761531b7738d2197dc410b284369ffb5c53a","callType":"call","gas":"0xd5f24","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e66d564f02017ce7bcaa6290de3091ce569a66ffcb39175a97cdd35e000000000000000000000000000000000000000000000000000000993d12b39900000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000001d9717f398792cb270000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000026b175474e89094c44da98b954eedeac495271d0f000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x56e0371e8993cdd99a339e93dd8e1ad749dba841e41968f65bc5e421f2ec84df","transactionPosition":133,"type":"call"},{"action":{"from":"0x99995fcbc1e11c285efa40f2a2bf50802b6403d5","callType":"call","gas":"0xd6020","input":"0x3f750d6a0000000000000000000000001ae63ee8edb457e91e86e310e93702cdf8b62a981dcc4de8e385c99557f6bee7857061cb076b970f2b3483e93813c48ffa761212000000000000000000000000000000000000000000000000000000916924d3fd00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000005ccb25a4c075f60aa0000000000000000000000011985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":"0xe9519677e6ec8d2d6bfab92a059529fea6075d37","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xc07","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0xca2e8ba2e91e59133b7b450405112dc9e18ee182d607100e08686119e126105f","transactionPosition":134,"type":"call"},{"action":{"from":"0x42add04c6bbf438b7137044727f854799d3e718a","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x1eed78b6a2017dc6a89b37b7ddb8b7d875d939b30448ebf3626716626a7fb45d","transactionPosition":135,"type":"call"},{"action":{"from":"0x5e4f7ce2607c39f4ec08355e2ea48e50f6f77bff","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xb6eeb5df0c099f9222a973a7c586a65255e8a667ff46b8fe3787fe1d693541aa","transactionPosition":136,"type":"call"},{"action":{"from":"0xa882426012032fcaff2f41d99ef607fab29fbc79","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x0b3870f4a884cd092e81d9ae40fd90e53f15ee215a4505e9af97439ca965eb17","transactionPosition":137,"type":"call"},{"action":{"from":"0xddaf206ede516b494d0b409fc106e44ee6870f91","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xc71637a554b7fd2d363df4b58ef9059e6a24ee0e5bc103ca6d95f40a757e0b83","transactionPosition":138,"type":"call"},{"action":{"from":"0x1209ed70a53a4671327be7bf19857b99b6dc3a73","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x9a264ee07af11a4f035d1481e8790f5fea080acf37f0fc60301cf3c70931af7d","transactionPosition":139,"type":"call"},{"action":{"from":"0xfa51559111642ba0718b8e8292a1638f8a01c7b1","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x11c2de01ea82f36383384ca688241fb4283ba027d36a8bcf76dfe47c5c7dacb6","transactionPosition":140,"type":"call"},{"action":{"from":"0x393cd1d2275716496e9a6baf1912a5bb2294bdb0","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xb75e5611a85d53578556b1262e04c48c030f558b7503bf5f9bb2183903eef9fb","transactionPosition":141,"type":"call"},{"action":{"from":"0x1c4a2ad39b181e60eb7b8cba37581b223ea94304","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c0000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf28ac5a90e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c3000000000000000000000000000000000000000000000005cb7ac69f8ac5a90e","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000068dc2d45171453caf2"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000068dc2d45171453caf2","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000005bb5a68a242bc565f"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0xb2adfa7e4f8b0968f8c344965d4eb23b0e221a924a8e579b175f59f2f396fcb3","transactionPosition":142,"type":"call"},{"action":{"from":"0x7009b3b5ed455e211e26012ef9fe299d521ba8b4","callType":"call","gas":"0x7496c","input":"0xc89e43612149b0f7ebf246076bdbbe98706578a0aa6c0464689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x78d5","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"delegatecall","gas":"0x72192","input":"0x689c49c00000000000000000000000000000000000000000000000039a5b5d953ae91ee2020348b04d2a05b6b604d8d5223fd1984f191ded51af1985365e9f78359a9b6ad760e32412f4a445e862090000000000000000000000000000000000000000","to":"0x2149b0f7ebf246076bdbbe98706578a0aa6c0464","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6dde","output":"0x"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6f740","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3cc5","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef3ae91ee200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[0,0],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"delegatecall","gas":"0x6d6f8","input":"0xcd7724c30000000000000000000000000000000000000000000000039a5b5d953ae91ee2","to":"0x2157a7894439191e520825fe9399ab8655e0f708","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3833","output":"0x000000000000000000000000000000000000000000000041657aed72ca0b60ef"},"subtraces":1,"traceAddress":[0,0,0],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0x48b04d2a05b6b604d8d5223fd1984f191ded51af","callType":"staticcall","gas":"0x6a938","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1f68","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":2,"traceAddress":[0,0,0,0],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x67eb9","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0,0,0,0],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x675ad","input":"0x70a0823100000000000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5dc","output":"0x0000000000000000000000000000000000000000000032cf0eef66204312bf0a"},"subtraces":0,"traceAddress":[0,0,0,0,1],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0x860bd2dba9cd475a61e6d1b45e16c365f6d78f66","callType":"staticcall","gas":"0x6add9","input":"0x144a2752000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000041657aed72ca0b60ef","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x122f","output":"0x000000000000000000000000000000000000000000000003931eeaef72a340e8"},"subtraces":0,"traceAddress":[0,1],"transactionHash":"0x22a64affb8dadf799d12dfa316c7cb97d92ef2bea17c78297767e4fb2d8a8f4c","transactionPosition":143,"type":"call"},{"action":{"from":"0xb8dbba915270da20cd82ffeebad0ef009480ea63","callType":"call","gas":"0x3e8","input":"0x","to":"0xb8dbba915270da20cd82ffeebad0ef009480ea63","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x1b861d5f7e711643692471c9653d3911277963a955ffa879ff5abddeb613323c","transactionPosition":144,"type":"call"},{"action":{"from":"0xffe1c5696d924438fba5274d7b5d8ffa29239a6f","callType":"call","gas":"0x4bf38","input":"0x00020501041ca4695f42289c4051d88471b1058cfd00001900000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000002c010f6f92ead45e02b0000000000000000000000000000000000000000000002c5d666a2546c400000000000000000000000000000000000000000000000000005c56be0e5167b80000101000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000004a5f500000000000000000000000000000000000000000000006a73c0d2a8b0ec0000","to":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x1377","output":"0x"},"subtraces":1,"traceAddress":[],"transactionHash":"0x43451dd95310ff16efd6905c05e2ac024c68f2abbee49704e70c15f73feac851","transactionPosition":145,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"delegatecall","gas":"0x49f77","input":"0x1ca4695f00001900000000000000000048b04d2a05b6b604d8d5223fd1984f191ded51af0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000000000000000000000000002c010f6f92ead45e02b0000000000000000000000000000000000000000000002c5d666a2546c400000000000000000000000000000000000000000000000000005c56be0e5167b8000","to":"0xd01bc896551f1a36a76fcc1840566bf42dee0b90","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5c8","output":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x43451dd95310ff16efd6905c05e2ac024c68f2abbee49704e70c15f73feac851","transactionPosition":145,"type":"call"},{"action":{"from":"0xffe1c5696d924438fba5274d7b5d8ffa29239a6f","callType":"call","gas":"0x575f8","input":"0x0102050a111ca4695f9c7a2bc751d8847155bb70250000190000000000000000002a1530c4c41db0b0b2bb646cb5eb1a67b71586670000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000003cc98e2ca4e2663fe220000000000000000000000000000000000000000000003cd49762735f0400000000000000000000000000000000000000000000000000000b092e92f5008e0000101000000000000000000006924a03bb710eaf199ab6ac9f2bb148215ae9b5d00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000000000015930d686b1c55446000000000000000000000000000000000000000000000111d0b4caa7b20c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005eb0448000000000000000000000000000000000000000000000000000000171e089c24e0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b754c7418b73877a2edff771128ae550e68d3ff104d03c38e8087c379dfd41092793b6e29399a9c47e82a195963b3df06cd4a57ff93012b9a7674d4efe1794e8f030000000000000000000000000000000000000000000000000000000000003b61baf8b75b6465884ca47590789eb9caa2dae370e08620ae203543f5bd470c00000000000000000000000000000000000000000000008c299a3e7ad4780000","to":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x6081","output":"0x"},"subtraces":6,"traceAddress":[],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"delegatecall","gas":"0x5535c","input":"0x1ca4695f0000190000000000000000002a1530c4c41db0b0b2bb646cb5eb1a67b71586670000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000003cc98e2ca4e2663fe220000000000000000000000000000000000000000000003cd49762735f0400000000000000000000000000000000000000000000000000000b092e92f5008e000","to":"0xd01bc896551f1a36a76fcc1840566bf42dee0b90","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4d0","output":"0x000000000000000000000000000000000000000000000000b092e92f5008e0000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":0,"traceAddress":[0],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"delegatecall","gas":"0x54ac7","input":"0x9c7a2bc70101000000000000000000006924a03bb710eaf199ab6ac9f2bb148215ae9b5d00000000000000000000000010000000000000000000000000000000000000110000000000000000000000000000000000000000000000015930d686b1c55446000000000000000000000000000000000000000000000111d0b4caa7b20c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005eb0448000000000000000000000000000000000000000000000000000000171e089c24e0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b754c7418b73877a2edff771128ae550e68d3ff104d03c38e8087c379dfd41092793b6e29399a9c47e82a195963b3df06cd4a57ff93012b9a7674d4efe1794e8f030000000000000000000000000000000000000000000000000000000000003b61baf8b75b6465884ca47590789eb9caa2dae370e08620ae203543f5bd470c00000000000000000000000000000000000000000000008c299a3e7ad4780000","to":"0xe8b62b2990057e421e1028ebe6d556cffc97dbde","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xe82","output":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"subtraces":1,"traceAddress":[1],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"staticcall","gas":"0x52e65","input":"0xd9bfa73e0000000000000000000000006924a03bb710eaf199ab6ac9f2bb148215ae9b5d0000000000000000000000000000000000000000000000000000000000000000","to":"0x61935cbdd02287b511119ddb11aeb42f1593b7ef","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5f3","output":"0x00000000000000000000000000000000000000000000000000000171e08a192b"},"subtraces":0,"traceAddress":[1,0],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x53172","input":"0x","to":"0x3d4ce41938778dc05ec7825ae602a5a24945f97b","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x139e","output":"0x"},"subtraces":1,"traceAddress":[2],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"address":"0x3d4ce41938778dc05ec7825ae602a5a24945f97b","refundAddress":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","balance":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[2,0],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"suicide"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x51afa","input":"0x","to":"0x1dc29d35fda5dedf37e15fb4e2b8362576461d92","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[3],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x517d0","input":"0x","to":"0xa72a103b15f49dae9a475df61b5dee02dd31a3fe","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[4],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"from":"0x693c188e40f760ecf00d2946ef45260b84fbc43e","callType":"call","gas":"0x514c9","input":"0x","to":"0x84642eece26faafcafad905e143c1f58b2ad2886","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[5],"transactionHash":"0x24310c0677ba99121071329c1d93e1763dea91394f150a266b90230d4cebfec8","transactionPosition":146,"type":"call"},{"action":{"from":"0x33bcb5d1d479d214bfbef7fac8b28672baa28155","callType":"call","gas":"0x546b8","input":"0x1b33d4120000000000000000000000000000000000000000000000330ee9a227eff516730000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862000000000000000000000000000000000000000000000002e69907944af1d246000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000000","to":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3c018","output":"0x000000000000000000000000000000000000000000000000000000000004a5fb"},"subtraces":1,"traceAddress":[],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0x794e6e91555438afc3ccf1c5076a74f42133d08d","callType":"call","gas":"0x33ac1","input":"0x23b872dd00000000000000000000000033bcb5d1d479d214bfbef7fac8b28672baa28155000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d0000000000000000000000000000000000000000000000330ee9a227eff51673","to":"0x1985365e9f78359a9b6ad760e32412f4a445e862","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0xb375","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x31dfc","input":"0xf39ec1f752657075746174696f6e546f6b656e0000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x0000000000000000000000006c114b96b7a0e679c2594e3884f11526797e43d1"},"subtraces":0,"traceAddress":[0,0],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"delegatecall","gas":"0x314e4","input":"0x23b872dd00000000000000000000000033bcb5d1d479d214bfbef7fac8b28672baa28155000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d0000000000000000000000000000000000000000000000330ee9a227eff51673","to":"0x6c114b96b7a0e679c2594e3884f11526797e43d1","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x99dd","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":2,"traceAddress":[0,1],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x2bfdc","input":"0x4e94c829","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x558","output":"0x00000000000000000000000075228dce4d82566d93068a8d5d49435216551599"},"subtraces":0,"traceAddress":[0,1,0],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0x1985365e9f78359a9b6ad760e32412f4a445e862","callType":"call","gas":"0x2b04b","input":"0xec37a6e4000000000000000000000000e991247b78f937d7b69cfc00f1a487a29355767700000000000000000000000033bcb5d1d479d214bfbef7fac8b28672baa28155000000000000000000000000794e6e91555438afc3ccf1c5076a74f42133d08d0000000000000000000000000000000000000000000000330ee9a227eff51673","to":"0x75228dce4d82566d93068a8d5d49435216551599","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x3f6e","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":1,"traceAddress":[0,1,1],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0x75228dce4d82566d93068a8d5d49435216551599","callType":"call","gas":"0x295f9","input":"0xb80907f2","to":"0xe991247b78f937d7b69cfc00f1a487a293557677","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x2159","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":2,"traceAddress":[0,1,1,0],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"call","gas":"0x27bc7","input":"0xf39ec1f7556e697665727365000000000000000000000000000000000000000000000000","to":"0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x5fe","output":"0x000000000000000000000000fbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff"},"subtraces":0,"traceAddress":[0,1,1,0,0],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0xe991247b78f937d7b69cfc00f1a487a293557677","callType":"delegatecall","gas":"0x272be","input":"0xb80907f2","to":"0xfbcd5e4dbf9e95ce56d55cb3a4fd72415ca400ff","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7d3","output":"0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862"},"subtraces":0,"traceAddress":[0,1,1,0,1],"transactionHash":"0x4bf7c1a7b037359c9108548617a0d639f1fa470398b7b1cb31b82fe9c4f91c11","transactionPosition":147,"type":"call"},{"action":{"from":"0x087ae01fadb886dfe9dbf6326ec9832385fde8c8","callType":"call","gas":"0x7aa0","input":"0xa9059cbb000000000000000000000000888d4574347ac5b0abd55dd6a65d2474d15e2ff900000000000000000000000000000000000000000000000000000057c6f37a00","to":"0xd7cc16500d0b0ac3d0ba156a584865a43b0b0050","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x7667","output":"0x0000000000000000000000000000000000000000000000000000000000000001"},"subtraces":0,"traceAddress":[],"transactionHash":"0x25a3db2279afa746e985b448addec081b672afba393b281220e88893f2a6bafe","transactionPosition":148,"type":"call"},{"action":{"from":"0x15cc50db8def84056481abf543af82d6c3b6c283","callType":"call","gas":"0x0","input":"0x","to":"0xd7b9a9b2f665849c4071ad5af77d8c76aa30fb32","value":"0xb0ad745770686e"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x2daf4eabb6eefea2b7c4808bd9de167d496d40a0f2a428219c79a51e056e5fbd","transactionPosition":149,"type":"call"},{"action":{"from":"0x275b2e7d27703b580089e51b42d1e9d52c0cec62","callType":"call","gas":"0x0","input":"0x","to":"0xd7b9a9b2f665849c4071ad5af77d8c76aa30fb32","value":"0xb0fceb2e445dd6"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x0","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x1fe189bb9d615de38e7cf7db8a66f90ec57983bede41811efbbf1847399ec7fd","transactionPosition":150,"type":"call"},{"action":{"from":"0x467e75ee63b075527e244270944294779937b5d1","callType":"call","gas":"0x4c91","input":"0xa9059cbb0000000000000000000000008534d9e97726cb6ef7d05b6a3cb5277b1371210f00000000000000000000000000000000000000000000000000000000355058e0","to":"0xdac17f958d2ee523a2206206994597c13d831ec7","value":"0x0"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":{"gasUsed":"0x4c91","output":"0x"},"subtraces":0,"traceAddress":[],"transactionHash":"0x4de78232012235f42280e16ce8e86426856484fb7dcb1dbf35a4e7a0a4697b4c","transactionPosition":151,"type":"call"},{"action":{"author":"0xea674fdde714fd979de3edf0f56aa9716b898ec8","rewardType":"block","value":"0x1bc16d674ec80000"},"blockHash":"0x68b59db6b13dbb824c9e793de55bed4b58715a53fce881f0f375a213fd5a16ad","blockNumber":10000836,"result":null,"subtraces":0,"traceAddress":[],"type":"reward"}]} diff --git a/tests/cachedrpc/e360d22f455d5643eb11bfc4ac4f374ed3e2bde073c8b999766a988aeb8e5e50 b/tests/cachedrpc/e360d22f455d5643eb11bfc4ac4f374ed3e2bde073c8b999766a988aeb8e5e50 new file mode 100644 index 00000000..26acae6d --- /dev/null +++ b/tests/cachedrpc/e360d22f455d5643eb11bfc4ac4f374ed3e2bde073c8b999766a988aeb8e5e50 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9","contractCreator":"0x51f22ac850d29c879367a77d241734acb276b815","txHash":"0xfd5f0c65fdea26d0b94362532554d4c6cb4935b198d75e1cc07c7df4bfd8d1ad","blockNumber":"10926829","timestamp":"1600970788","contractFactory":"","creationBytecode":"0x608060405234801561001057600080fd5b506109bb806100206000396000f3fe6080604052600436106100705760003560e01c80638f2839701161004e5780638f2839701461015e578063cf7a1d7714610191578063d1f5789414610250578063f851a4401461030657610070565b80633659cfe61461007a5780634f1ef286146100ad5780635c60da1b1461012d575b61007861031b565b005b34801561008657600080fd5b506100786004803603602081101561009d57600080fd5b50356001600160a01b0316610335565b610078600480360360408110156100c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ee57600080fd5b82018360208201111561010057600080fd5b8035906020019184600183028401116401000000008311171561012257600080fd5b50909250905061036f565b34801561013957600080fd5b5061014261041c565b604080516001600160a01b039092168252519081900360200190f35b34801561016a57600080fd5b506100786004803603602081101561018157600080fd5b50356001600160a01b0316610459565b610078600480360360608110156101a757600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101db57600080fd5b8201836020820111156101ed57600080fd5b8035906020019184600183028401116401000000008311171561020f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610513945050505050565b6100786004803603604081101561026657600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610599945050505050565b34801561031257600080fd5b506101426106d9565b610323610704565b61033361032e61070c565b610731565b565b61033d610755565b6001600160a01b0316336001600160a01b031614156103645761035f8161077a565b61036c565b61036c61031b565b50565b610377610755565b6001600160a01b0316336001600160a01b0316141561040f576103998361077a565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146103f6576040519150601f19603f3d011682016040523d82523d6000602084013e6103fb565b606091505b505090508061040957600080fd5b50610417565b61041761031b565b505050565b6000610426610755565b6001600160a01b0316336001600160a01b0316141561044e5761044761070c565b9050610456565b61045661031b565b90565b610461610755565b6001600160a01b0316336001600160a01b03161415610364576001600160a01b0381166104bf5760405162461bcd60e51b81526004018080602001828103825260368152602001806109156036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104e8610755565b604080516001600160a01b03928316815291841660208301528051918290030190a161035f816107ba565b600061051d61070c565b6001600160a01b03161461053057600080fd5b61053a8382610599565b604080517232b4b8189c9b1b97383937bc3c9730b236b4b760691b815290519081900360130190207fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036000199091011461059057fe5b610417826107ba565b60006105a361070c565b6001600160a01b0316146105b657600080fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6000199091011461061657fe5b61061f826107de565b8051156106d5576000826001600160a01b0316826040518082805190602001908083835b602083106106625780518252601f199092019160209182019101610643565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146106c2576040519150601f19603f3d011682016040523d82523d6000602084013e6106c7565b606091505b505090508061041757600080fd5b5050565b60006106e3610755565b6001600160a01b0316336001600160a01b0316141561044e57610447610755565b610333610846565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610750573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610783816107de565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6107e7816108a6565b6108225760405162461bcd60e51b815260040180806020018281038252603b81526020018061094b603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b61084e610755565b6001600160a01b0316336001600160a01b0316141561089e5760405162461bcd60e51b81526004018080602001828103825260328152602001806108e36032913960400191505060405180910390fd5b610333610333565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906108da57508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a264697066735822122015ad4f558453503f6a69b059ae32eae69d5d5581a73fa01a8cc186d278650c8a64736f6c634300060a0033"}]} \ No newline at end of file diff --git a/tests/cachedrpc/e45acceaf8f99b753b803836b16da01d115198f3850d4e872242137a615d8f9f b/tests/cachedrpc/e45acceaf8f99b753b803836b16da01d115198f3850d4e872242137a615d8f9f new file mode 100644 index 00000000..d1e20261 --- /dev/null +++ b/tests/cachedrpc/e45acceaf8f99b753b803836b16da01d115198f3850d4e872242137a615d8f9f @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x8412ebf45bac1b340bbe8f318b928c466c4e39ca","contractCreator":"0xa448833bece66fd8803ac0c390936c79b5fd6edf","txHash":"0xb2422dcabd2a5dfec6ed9f9f227df5f95cebe42544b338d33a4e631a40decc66","blockNumber":"11465576","timestamp":"1608140486","contractFactory":"","creationBytecode":"0x608060405234801561001057600080fd5b50604051611c31380380611c318339818101604052604081101561003357600080fd5b5080516020909101516202a30081101561007e5760405162461bcd60e51b8152600401808060200182810382526037815260200180611bc26037913960400191505060405180910390fd5b62278d008111156100c05760405162461bcd60e51b8152600401808060200182810382526038815260200180611bf96038913960400191505060405180910390fd5b600080546001600160a01b039093166001600160a01b031990931692909217909155600255611ace806100f46000396000f3fe6080604052600436106100d25760003560e01c80636a42b8f81161007f578063c1a287e211610059578063c1a287e21461063f578063e177246e14610654578063f2b065371461067e578063f851a440146106bc576100d2565b80636a42b8f8146106005780637d645fab14610615578063b1b43ae51461062a576100d2565b80633a66f901116100b05780633a66f901146102f25780634dd18bf514610462578063591fcdfe146104a2576100d2565b80630825f38f146100d75780630e18b6811461029d57806326782247146102b4575b600080fd5b610228600480360360a08110156100ed57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561012a57600080fd5b82018360208201111561013c57600080fd5b8035906020019184600183028401116401000000008311171561015e57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156101b157600080fd5b8201836020820111156101c357600080fd5b803590602001918460018302840111640100000000831117156101e557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506106d1915050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026257818101518382015260200161024a565b50505050905090810190601f16801561028f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102a957600080fd5b506102b2610d4f565b005b3480156102c057600080fd5b506102c9610e37565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102fe57600080fd5b50610450600480360360a081101561031557600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561035257600080fd5b82018360208201111561036457600080fd5b8035906020019184600183028401116401000000008311171561038657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103d957600080fd5b8201836020820111156103eb57600080fd5b8035906020019184600183028401116401000000008311171561040d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610e53915050565b60408051918252519081900360200190f35b34801561046e57600080fd5b506102b26004803603602081101561048557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111cc565b3480156104ae57600080fd5b506102b2600480360360a08110156104c557600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561050257600080fd5b82018360208201111561051457600080fd5b8035906020019184600183028401116401000000008311171561053657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561058957600080fd5b82018360208201111561059b57600080fd5b803590602001918460018302840111640100000000831117156105bd57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611299915050565b34801561060c57600080fd5b5061045061159d565b34801561062157600080fd5b506104506115a3565b34801561063657600080fd5b506104506115aa565b34801561064b57600080fd5b506104506115b1565b34801561066057600080fd5b506102b26004803603602081101561067757600080fd5b50356115b8565b34801561068a57600080fd5b506106a8600480360360208110156106a157600080fd5b50356116fb565b604080519115158252519081900360200190f35b3480156106c857600080fd5b506102c9611710565b60005460609073ffffffffffffffffffffffffffffffffffffffff163314610744576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806117ac6038913960400191505060405180910390fd5b60008686868686604051602001808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156107cd5781810151838201526020016107b5565b50505050905090810190601f1680156107fa5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b8381101561082d578181015183820152602001610815565b50505050905090810190601f16801561085a5780820380516001836020036101000a031916815260200191505b50604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815281516020928301206000818152600390935291205490995060ff1697506109039650505050505050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d8152602001806118ff603d913960400191505060405180910390fd5b8261090c61172c565b1015610963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604581526020018061184e6045913960600191505060405180910390fd5b610976836212750063ffffffff61173016565b61097e61172c565b11156109d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061181b6033913960400191505060405180910390fd5b600081815260036020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690558451606090610a19575083610aee565b85805190602001208560405160200180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260040182805190602001908083835b60208310610ab657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610a79565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290505b600060608973ffffffffffffffffffffffffffffffffffffffff1689846040518082805190602001908083835b60208310610b5857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610b1b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610bba576040519150601f19603f3d011682016040523d82523d6000602084013e610bbf565b606091505b509150915081610c1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d8152602001806119e2603d913960400191505060405180910390fd5b8973ffffffffffffffffffffffffffffffffffffffff16847fa560e3198060a2f10670c1ec5b403077ea6ae93ca8de1c32b451dc1a943cd6e78b8b8b8b604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610ca4578181015183820152602001610c8c565b50505050905090810190601f168015610cd15780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610d04578181015183820152602001610cec565b50505050905090810190601f168015610d315780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a39998505050505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610dbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061193c6038913960400191505060405180910390fd5b60008054337fffffffffffffffffffffffff0000000000000000000000000000000000000000918216178083556001805490921690915560405173ffffffffffffffffffffffffffffffffffffffff909116917f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c91a2565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6000805473ffffffffffffffffffffffffffffffffffffffff163314610ec4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806119ac6036913960400191505060405180910390fd5b610ede600254610ed261172c565b9063ffffffff61173016565b821015610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526049815260200180611a1f6049913960600191505060405180910390fd5b60008686868686604051602001808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610fbf578181015183820152602001610fa7565b50505050905090810190601f168015610fec5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b8381101561101f578181015183820152602001611007565b50505050905090810190601f16801561104c5780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060016003600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508673ffffffffffffffffffffffffffffffffffffffff16817f76e2796dc3a81d57b0e8504b647febcbeeb5f4af818e164f11eef8131a6a763f88888888604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b8381101561112457818101518382015260200161110c565b50505050905090810190601f1680156111515780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b8381101561118457818101518382015260200161116c565b50505050905090810190601f1680156111b15780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a39695505050505050565b333014611224576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806119746038913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117918290556040519116907f69d78e38a01985fbb1462961809b4b2d65531bc93b2b94037f3334b82ca4a75690600090a250565b60005473ffffffffffffffffffffffffffffffffffffffff163314611309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806117e46037913960400191505060405180910390fd5b60008585858585604051602001808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b8381101561139257818101518382015260200161137a565b50505050905090810190601f1680156113bf5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156113f25781810151838201526020016113da565b50505050905090810190601f16801561141f5780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060006003600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508573ffffffffffffffffffffffffffffffffffffffff16817f2fffc091a501fd91bfbff27141450d3acb40fb8e6d8382b243ec7a812a3aaf8787878787604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156114f75781810151838201526020016114df565b50505050905090810190601f1680156115245780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b8381101561155757818101518382015260200161153f565b50505050905090810190601f1680156115845780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a3505050505050565b60025481565b62278d0081565b6202a30081565b6212750081565b333014611610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180611a686031913960400191505060405180910390fd5b6202a30081101561166c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806118936034913960400191505060405180910390fd5b62278d008111156116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806118c76038913960400191505060405180910390fd5b600281905560405181907f948b1f6a42ee138b7e34058ba85a37f716d55ff25ff05a763f15bed6a04c8d2c90600090a250565b60036020526000908152604090205460ff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b4290565b6000828201838110156117a457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a63616e63656c5472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206973207374616c652e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774207375727061737365642074696d65206c6f636b2e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d75737420657863656564206d696e696d756d2064656c61792e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d757374206e6f7420657863656564206d6178696d756d2064656c61792e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774206265656e207175657565642e54696d656c6f636b3a3a61636365707441646d696e3a2043616c6c206d75737420636f6d652066726f6d2070656e64696e6741646d696e2e54696d656c6f636b3a3a73657450656e64696e6741646d696e3a2043616c6c206d75737420636f6d652066726f6d2054696d656c6f636b2e54696d656c6f636b3a3a71756575655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e20657865637574696f6e2072657665727465642e54696d656c6f636b3a3a71756575655472616e73616374696f6e3a20457374696d6174656420657865637574696f6e20626c6f636b206d75737420736174697366792064656c61792e54696d656c6f636b3a3a73657444656c61793a2043616c6c206d75737420636f6d652066726f6d2054696d656c6f636b2ea2646970667358221220e54d4462330e91b001afa1952ea1544aa4176298038a1ce9f288491c5a99180264736f6c634300060b003354696d656c6f636b3a3a636f6e7374727563746f723a2044656c6179206d75737420657863656564206d696e696d756d2064656c61792e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d757374206e6f7420657863656564206d6178696d756d2064656c61792e000000000000000000000000510b35338c8e3b53f12aa109c38995acd9127ae0000000000000000000000000000000000000000000000000000000000002a300"}]} \ No newline at end of file diff --git a/tests/cachedrpc/e77bb97e6e79a8a8e7892cc1bc6899afaa43d39b9c8256d242eaf8a2acfcbf5a b/tests/cachedrpc/e77bb97e6e79a8a8e7892cc1bc6899afaa43d39b9c8256d242eaf8a2acfcbf5a new file mode 100644 index 00000000..49a198e7 --- /dev/null +++ b/tests/cachedrpc/e77bb97e6e79a8a8e7892cc1bc6899afaa43d39b9c8256d242eaf8a2acfcbf5a @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2","contractCreator":"0x00daa9a2d88bed5a29a6ca93e0b7d860cd1d403f","txHash":"0x5c9b0f9c6c32d2690771169ec62dd648fef7bce3d45fe8a6505d99fdcbade27a","blockNumber":"4620855","timestamp":"1511634257","contractFactory":"0x731c6f8c754fa404cfcc2ed8035ef79262f65702","creationBytecode":"0x"}]} \ No newline at end of file diff --git a/tests/cachedrpc/e89c0c1faf3e1b44a00663abd5b5ad114903331387b48aa7faaa53881a94f2d0 b/tests/cachedrpc/e89c0c1faf3e1b44a00663abd5b5ad114903331387b48aa7faaa53881a94f2d0 new file mode 100644 index 00000000..a997e698 --- /dev/null +++ b/tests/cachedrpc/e89c0c1faf3e1b44a00663abd5b5ad114903331387b48aa7faaa53881a94f2d0 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"{{\r\n \"language\": \"Solidity\",\r\n \"sources\": {\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v2/FiatTokenV2_2.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { EIP712Domain } from \\\"./EIP712Domain.sol\\\"; // solhint-disable-line no-unused-import\\nimport { Blacklistable } from \\\"../v1/Blacklistable.sol\\\"; // solhint-disable-line no-unused-import\\nimport { FiatTokenV1 } from \\\"../v1/FiatTokenV1.sol\\\"; // solhint-disable-line no-unused-import\\nimport { FiatTokenV2 } from \\\"./FiatTokenV2.sol\\\"; // solhint-disable-line no-unused-import\\nimport { FiatTokenV2_1 } from \\\"./FiatTokenV2_1.sol\\\";\\nimport { EIP712 } from \\\"../util/EIP712.sol\\\";\\n\\n// solhint-disable func-name-mixedcase\\n\\n/**\\n * @title FiatToken V2.2\\n * @notice ERC20 Token backed by fiat reserves, version 2.2\\n */\\ncontract FiatTokenV2_2 is FiatTokenV2_1 {\\n /**\\n * @notice Initialize v2.2\\n * @param accountsToBlacklist A list of accounts to migrate from the old blacklist\\n * @param newSymbol New token symbol\\n * data structure to the new blacklist data structure.\\n */\\n function initializeV2_2(\\n address[] calldata accountsToBlacklist,\\n string calldata newSymbol\\n ) external {\\n // solhint-disable-next-line reason-string\\n require(_initializedVersion == 2);\\n\\n // Update fiat token symbol\\n symbol = newSymbol;\\n\\n // Add previously blacklisted accounts to the new blacklist data structure\\n // and remove them from the old blacklist data structure.\\n for (uint256 i = 0; i < accountsToBlacklist.length; i++) {\\n require(\\n _deprecatedBlacklisted[accountsToBlacklist[i]],\\n \\\"FiatTokenV2_2: Blacklisting previously unblacklisted account!\\\"\\n );\\n _blacklist(accountsToBlacklist[i]);\\n delete _deprecatedBlacklisted[accountsToBlacklist[i]];\\n }\\n _blacklist(address(this));\\n delete _deprecatedBlacklisted[address(this)];\\n\\n _initializedVersion = 3;\\n }\\n\\n /**\\n * @dev Internal function to get the current chain id.\\n * @return The current chain id.\\n */\\n function _chainId() internal virtual view returns (uint256) {\\n uint256 chainId;\\n assembly {\\n chainId := chainid()\\n }\\n return chainId;\\n }\\n\\n /**\\n * @inheritdoc EIP712Domain\\n */\\n function _domainSeparator() internal override view returns (bytes32) {\\n return EIP712.makeDomainSeparator(name, \\\"2\\\", _chainId());\\n }\\n\\n /**\\n * @notice Update allowance with a signed permit\\n * @dev EOA wallet signatures should be packed in the order of r, s, v.\\n * @param owner Token owner's address (Authorizer)\\n * @param spender Spender's address\\n * @param value Amount of allowance\\n * @param deadline The time at which the signature expires (unix time), or max uint256 value to signal no expiration\\n * @param signature Signature bytes signed by an EOA wallet or a contract wallet\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n bytes memory signature\\n ) external whenNotPaused {\\n _permit(owner, spender, value, deadline, signature);\\n }\\n\\n /**\\n * @notice Execute a transfer with a signed authorization\\n * @dev EOA wallet signatures should be packed in the order of r, s, v.\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param signature Signature bytes signed by an EOA wallet or a contract wallet\\n */\\n function transferWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n bytes memory signature\\n ) external whenNotPaused notBlacklisted(from) notBlacklisted(to) {\\n _transferWithAuthorization(\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce,\\n signature\\n );\\n }\\n\\n /**\\n * @notice Receive a transfer with a signed authorization from the payer\\n * @dev This has an additional check to ensure that the payee's address\\n * matches the caller of this function to prevent front-running attacks.\\n * EOA wallet signatures should be packed in the order of r, s, v.\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param signature Signature bytes signed by an EOA wallet or a contract wallet\\n */\\n function receiveWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n bytes memory signature\\n ) external whenNotPaused notBlacklisted(from) notBlacklisted(to) {\\n _receiveWithAuthorization(\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce,\\n signature\\n );\\n }\\n\\n /**\\n * @notice Attempt to cancel an authorization\\n * @dev Works only if the authorization is not yet used.\\n * EOA wallet signatures should be packed in the order of r, s, v.\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n * @param signature Signature bytes signed by an EOA wallet or a contract wallet\\n */\\n function cancelAuthorization(\\n address authorizer,\\n bytes32 nonce,\\n bytes memory signature\\n ) external whenNotPaused {\\n _cancelAuthorization(authorizer, nonce, signature);\\n }\\n\\n /**\\n * @dev Helper method that sets the blacklist state of an account on balanceAndBlacklistStates.\\n * If _shouldBlacklist is true, we apply a (1 << 255) bitmask with an OR operation on the\\n * account's balanceAndBlacklistState. This flips the high bit for the account to 1,\\n * indicating that the account is blacklisted.\\n *\\n * If _shouldBlacklist if false, we reset the account's balanceAndBlacklistStates to their\\n * balances. This clears the high bit for the account, indicating that the account is unblacklisted.\\n * @param _account The address of the account.\\n * @param _shouldBlacklist True if the account should be blacklisted, false if the account should be unblacklisted.\\n */\\n function _setBlacklistState(address _account, bool _shouldBlacklist)\\n internal\\n override\\n {\\n balanceAndBlacklistStates[_account] = _shouldBlacklist\\n ? balanceAndBlacklistStates[_account] | (1 << 255)\\n : _balanceOf(_account);\\n }\\n\\n /**\\n * @dev Helper method that sets the balance of an account on balanceAndBlacklistStates.\\n * Since balances are stored in the last 255 bits of the balanceAndBlacklistStates value,\\n * we need to ensure that the updated balance does not exceed (2^255 - 1).\\n * Since blacklisted accounts' balances cannot be updated, the method will also\\n * revert if the account is blacklisted\\n * @param _account The address of the account.\\n * @param _balance The new fiat token balance of the account (max: (2^255 - 1)).\\n */\\n function _setBalance(address _account, uint256 _balance) internal override {\\n require(\\n _balance <= ((1 << 255) - 1),\\n \\\"FiatTokenV2_2: Balance exceeds (2^255 - 1)\\\"\\n );\\n require(\\n !_isBlacklisted(_account),\\n \\\"FiatTokenV2_2: Account is blacklisted\\\"\\n );\\n\\n balanceAndBlacklistStates[_account] = _balance;\\n }\\n\\n /**\\n * @inheritdoc Blacklistable\\n */\\n function _isBlacklisted(address _account)\\n internal\\n override\\n view\\n returns (bool)\\n {\\n return balanceAndBlacklistStates[_account] >> 255 == 1;\\n }\\n\\n /**\\n * @dev Helper method to obtain the balance of an account. Since balances\\n * are stored in the last 255 bits of the balanceAndBlacklistStates value,\\n * we apply a ((1 << 255) - 1) bit bitmask with an AND operation on the\\n * balanceAndBlacklistState to obtain the balance.\\n * @param _account The address of the account.\\n * @return The fiat token balance of the account.\\n */\\n function _balanceOf(address _account)\\n internal\\n override\\n view\\n returns (uint256)\\n {\\n return balanceAndBlacklistStates[_account] & ((1 << 255) - 1);\\n }\\n\\n /**\\n * @inheritdoc FiatTokenV1\\n */\\n function approve(address spender, uint256 value)\\n external\\n override\\n whenNotPaused\\n returns (bool)\\n {\\n _approve(msg.sender, spender, value);\\n return true;\\n }\\n\\n /**\\n * @inheritdoc FiatTokenV2\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external override whenNotPaused {\\n _permit(owner, spender, value, deadline, v, r, s);\\n }\\n\\n /**\\n * @inheritdoc FiatTokenV2\\n */\\n function increaseAllowance(address spender, uint256 increment)\\n external\\n override\\n whenNotPaused\\n returns (bool)\\n {\\n _increaseAllowance(msg.sender, spender, increment);\\n return true;\\n }\\n\\n /**\\n * @inheritdoc FiatTokenV2\\n */\\n function decreaseAllowance(address spender, uint256 decrement)\\n external\\n override\\n whenNotPaused\\n returns (bool)\\n {\\n _decreaseAllowance(msg.sender, spender, decrement);\\n return true;\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/utils/Address.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.2 <0.8.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n // solhint-disable-next-line no-inline-assembly\\n assembly { size := extcodesize(account) }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\\n (bool success, ) = recipient.call{ value: amount }(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain`call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n // solhint-disable-next-line avoid-low-level-calls\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return _verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using SafeMath for uint256;\\n using Address for address;\\n\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n // solhint-disable-next-line max-line-length\\n require((value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).add(value);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 newAllowance = token.allowance(address(this), spender).sub(value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n if (returndata.length > 0) { // Return data is optional\\n // solhint-disable-next-line max-line-length\\n require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n }\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/token/ERC20/IERC20.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\"\r\n },\r\n \"@openzeppelin/contracts/math/SafeMath.sol\": {\r\n \"content\": \"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.6.0 <0.8.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n *\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n *\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n if (a == 0) return 0;\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b > 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {trySub}.\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b <= a, errorMessage);\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryDiv}.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting with custom message when dividing by zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryMod}.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\n require(b > 0, errorMessage);\\n return a % b;\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v2/FiatTokenV2_1.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { FiatTokenV2 } from \\\"./FiatTokenV2.sol\\\";\\n\\n// solhint-disable func-name-mixedcase\\n\\n/**\\n * @title FiatToken V2.1\\n * @notice ERC20 Token backed by fiat reserves, version 2.1\\n */\\ncontract FiatTokenV2_1 is FiatTokenV2 {\\n /**\\n * @notice Initialize v2.1\\n * @param lostAndFound The address to which the locked funds are sent\\n */\\n function initializeV2_1(address lostAndFound) external {\\n // solhint-disable-next-line reason-string\\n require(_initializedVersion == 1);\\n\\n uint256 lockedAmount = _balanceOf(address(this));\\n if (lockedAmount > 0) {\\n _transfer(address(this), lostAndFound, lockedAmount);\\n }\\n _blacklist(address(this));\\n\\n _initializedVersion = 2;\\n }\\n\\n /**\\n * @notice Version string for the EIP712 domain separator\\n * @return Version string\\n */\\n function version() external pure returns (string memory) {\\n return \\\"2\\\";\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v2/FiatTokenV2.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { FiatTokenV1_1 } from \\\"../v1.1/FiatTokenV1_1.sol\\\";\\nimport { EIP712 } from \\\"../util/EIP712.sol\\\";\\nimport { EIP3009 } from \\\"./EIP3009.sol\\\";\\nimport { EIP2612 } from \\\"./EIP2612.sol\\\";\\n\\n/**\\n * @title FiatToken V2\\n * @notice ERC20 Token backed by fiat reserves, version 2\\n */\\ncontract FiatTokenV2 is FiatTokenV1_1, EIP3009, EIP2612 {\\n uint8 internal _initializedVersion;\\n\\n /**\\n * @notice Initialize v2\\n * @param newName New token name\\n */\\n function initializeV2(string calldata newName) external {\\n // solhint-disable-next-line reason-string\\n require(initialized && _initializedVersion == 0);\\n name = newName;\\n _DEPRECATED_CACHED_DOMAIN_SEPARATOR = EIP712.makeDomainSeparator(\\n newName,\\n \\\"2\\\"\\n );\\n _initializedVersion = 1;\\n }\\n\\n /**\\n * @notice Increase the allowance by a given increment\\n * @param spender Spender's address\\n * @param increment Amount of increase in allowance\\n * @return True if successful\\n */\\n function increaseAllowance(address spender, uint256 increment)\\n external\\n virtual\\n whenNotPaused\\n notBlacklisted(msg.sender)\\n notBlacklisted(spender)\\n returns (bool)\\n {\\n _increaseAllowance(msg.sender, spender, increment);\\n return true;\\n }\\n\\n /**\\n * @notice Decrease the allowance by a given decrement\\n * @param spender Spender's address\\n * @param decrement Amount of decrease in allowance\\n * @return True if successful\\n */\\n function decreaseAllowance(address spender, uint256 decrement)\\n external\\n virtual\\n whenNotPaused\\n notBlacklisted(msg.sender)\\n notBlacklisted(spender)\\n returns (bool)\\n {\\n _decreaseAllowance(msg.sender, spender, decrement);\\n return true;\\n }\\n\\n /**\\n * @notice Execute a transfer with a signed authorization\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function transferWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external whenNotPaused notBlacklisted(from) notBlacklisted(to) {\\n _transferWithAuthorization(\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce,\\n v,\\n r,\\n s\\n );\\n }\\n\\n /**\\n * @notice Receive a transfer with a signed authorization from the payer\\n * @dev This has an additional check to ensure that the payee's address\\n * matches the caller of this function to prevent front-running attacks.\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function receiveWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external whenNotPaused notBlacklisted(from) notBlacklisted(to) {\\n _receiveWithAuthorization(\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce,\\n v,\\n r,\\n s\\n );\\n }\\n\\n /**\\n * @notice Attempt to cancel an authorization\\n * @dev Works only if the authorization is not yet used.\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function cancelAuthorization(\\n address authorizer,\\n bytes32 nonce,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external whenNotPaused {\\n _cancelAuthorization(authorizer, nonce, v, r, s);\\n }\\n\\n /**\\n * @notice Update allowance with a signed permit\\n * @param owner Token owner's address (Authorizer)\\n * @param spender Spender's address\\n * @param value Amount of allowance\\n * @param deadline The time at which the signature expires (unix time), or max uint256 value to signal no expiration\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n )\\n external\\n virtual\\n whenNotPaused\\n notBlacklisted(owner)\\n notBlacklisted(spender)\\n {\\n _permit(owner, spender, value, deadline, v, r, s);\\n }\\n\\n /**\\n * @dev Internal function to increase the allowance by a given increment\\n * @param owner Token owner's address\\n * @param spender Spender's address\\n * @param increment Amount of increase\\n */\\n function _increaseAllowance(\\n address owner,\\n address spender,\\n uint256 increment\\n ) internal override {\\n _approve(owner, spender, allowed[owner][spender].add(increment));\\n }\\n\\n /**\\n * @dev Internal function to decrease the allowance by a given decrement\\n * @param owner Token owner's address\\n * @param spender Spender's address\\n * @param decrement Amount of decrease\\n */\\n function _decreaseAllowance(\\n address owner,\\n address spender,\\n uint256 decrement\\n ) internal override {\\n _approve(\\n owner,\\n spender,\\n allowed[owner][spender].sub(\\n decrement,\\n \\\"ERC20: decreased allowance below zero\\\"\\n )\\n );\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v2/EIP712Domain.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\n// solhint-disable func-name-mixedcase\\n\\n/**\\n * @title EIP712 Domain\\n */\\ncontract EIP712Domain {\\n // was originally DOMAIN_SEPARATOR\\n // but that has been moved to a method so we can override it in V2_2+\\n bytes32 internal _DEPRECATED_CACHED_DOMAIN_SEPARATOR;\\n\\n /**\\n * @notice Get the EIP712 Domain Separator.\\n * @return The bytes32 EIP712 domain separator.\\n */\\n function DOMAIN_SEPARATOR() external view returns (bytes32) {\\n return _domainSeparator();\\n }\\n\\n /**\\n * @dev Internal method to get the EIP712 Domain Separator.\\n * @return The bytes32 EIP712 domain separator.\\n */\\n function _domainSeparator() internal virtual view returns (bytes32) {\\n return _DEPRECATED_CACHED_DOMAIN_SEPARATOR;\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v2/EIP3009.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { AbstractFiatTokenV2 } from \\\"./AbstractFiatTokenV2.sol\\\";\\nimport { EIP712Domain } from \\\"./EIP712Domain.sol\\\";\\nimport { SignatureChecker } from \\\"../util/SignatureChecker.sol\\\";\\nimport { MessageHashUtils } from \\\"../util/MessageHashUtils.sol\\\";\\n\\n/**\\n * @title EIP-3009\\n * @notice Provide internal implementation for gas-abstracted transfers\\n * @dev Contracts that inherit from this must wrap these with publicly\\n * accessible functions, optionally adding modifiers where necessary\\n */\\nabstract contract EIP3009 is AbstractFiatTokenV2, EIP712Domain {\\n // keccak256(\\\"TransferWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)\\\")\\n bytes32\\n public constant TRANSFER_WITH_AUTHORIZATION_TYPEHASH = 0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267;\\n\\n // keccak256(\\\"ReceiveWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)\\\")\\n bytes32\\n public constant RECEIVE_WITH_AUTHORIZATION_TYPEHASH = 0xd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8;\\n\\n // keccak256(\\\"CancelAuthorization(address authorizer,bytes32 nonce)\\\")\\n bytes32\\n public constant CANCEL_AUTHORIZATION_TYPEHASH = 0x158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a1597429;\\n\\n /**\\n * @dev authorizer address => nonce => bool (true if nonce is used)\\n */\\n mapping(address => mapping(bytes32 => bool)) private _authorizationStates;\\n\\n event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce);\\n event AuthorizationCanceled(\\n address indexed authorizer,\\n bytes32 indexed nonce\\n );\\n\\n /**\\n * @notice Returns the state of an authorization\\n * @dev Nonces are randomly generated 32-byte data unique to the\\n * authorizer's address\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n * @return True if the nonce is used\\n */\\n function authorizationState(address authorizer, bytes32 nonce)\\n external\\n view\\n returns (bool)\\n {\\n return _authorizationStates[authorizer][nonce];\\n }\\n\\n /**\\n * @notice Execute a transfer with a signed authorization\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function _transferWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal {\\n _transferWithAuthorization(\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce,\\n abi.encodePacked(r, s, v)\\n );\\n }\\n\\n /**\\n * @notice Execute a transfer with a signed authorization\\n * @dev EOA wallet signatures should be packed in the order of r, s, v.\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param signature Signature byte array produced by an EOA wallet or a contract wallet\\n */\\n function _transferWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n bytes memory signature\\n ) internal {\\n _requireValidAuthorization(from, nonce, validAfter, validBefore);\\n _requireValidSignature(\\n from,\\n keccak256(\\n abi.encode(\\n TRANSFER_WITH_AUTHORIZATION_TYPEHASH,\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce\\n )\\n ),\\n signature\\n );\\n\\n _markAuthorizationAsUsed(from, nonce);\\n _transfer(from, to, value);\\n }\\n\\n /**\\n * @notice Receive a transfer with a signed authorization from the payer\\n * @dev This has an additional check to ensure that the payee's address\\n * matches the caller of this function to prevent front-running attacks.\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function _receiveWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal {\\n _receiveWithAuthorization(\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce,\\n abi.encodePacked(r, s, v)\\n );\\n }\\n\\n /**\\n * @notice Receive a transfer with a signed authorization from the payer\\n * @dev This has an additional check to ensure that the payee's address\\n * matches the caller of this function to prevent front-running attacks.\\n * EOA wallet signatures should be packed in the order of r, s, v.\\n * @param from Payer's address (Authorizer)\\n * @param to Payee's address\\n * @param value Amount to be transferred\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n * @param nonce Unique nonce\\n * @param signature Signature byte array produced by an EOA wallet or a contract wallet\\n */\\n function _receiveWithAuthorization(\\n address from,\\n address to,\\n uint256 value,\\n uint256 validAfter,\\n uint256 validBefore,\\n bytes32 nonce,\\n bytes memory signature\\n ) internal {\\n require(to == msg.sender, \\\"FiatTokenV2: caller must be the payee\\\");\\n _requireValidAuthorization(from, nonce, validAfter, validBefore);\\n _requireValidSignature(\\n from,\\n keccak256(\\n abi.encode(\\n RECEIVE_WITH_AUTHORIZATION_TYPEHASH,\\n from,\\n to,\\n value,\\n validAfter,\\n validBefore,\\n nonce\\n )\\n ),\\n signature\\n );\\n\\n _markAuthorizationAsUsed(from, nonce);\\n _transfer(from, to, value);\\n }\\n\\n /**\\n * @notice Attempt to cancel an authorization\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function _cancelAuthorization(\\n address authorizer,\\n bytes32 nonce,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal {\\n _cancelAuthorization(authorizer, nonce, abi.encodePacked(r, s, v));\\n }\\n\\n /**\\n * @notice Attempt to cancel an authorization\\n * @dev EOA wallet signatures should be packed in the order of r, s, v.\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n * @param signature Signature byte array produced by an EOA wallet or a contract wallet\\n */\\n function _cancelAuthorization(\\n address authorizer,\\n bytes32 nonce,\\n bytes memory signature\\n ) internal {\\n _requireUnusedAuthorization(authorizer, nonce);\\n _requireValidSignature(\\n authorizer,\\n keccak256(\\n abi.encode(CANCEL_AUTHORIZATION_TYPEHASH, authorizer, nonce)\\n ),\\n signature\\n );\\n\\n _authorizationStates[authorizer][nonce] = true;\\n emit AuthorizationCanceled(authorizer, nonce);\\n }\\n\\n /**\\n * @notice Validates that signature against input data struct\\n * @param signer Signer's address\\n * @param dataHash Hash of encoded data struct\\n * @param signature Signature byte array produced by an EOA wallet or a contract wallet\\n */\\n function _requireValidSignature(\\n address signer,\\n bytes32 dataHash,\\n bytes memory signature\\n ) private view {\\n require(\\n SignatureChecker.isValidSignatureNow(\\n signer,\\n MessageHashUtils.toTypedDataHash(_domainSeparator(), dataHash),\\n signature\\n ),\\n \\\"FiatTokenV2: invalid signature\\\"\\n );\\n }\\n\\n /**\\n * @notice Check that an authorization is unused\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n */\\n function _requireUnusedAuthorization(address authorizer, bytes32 nonce)\\n private\\n view\\n {\\n require(\\n !_authorizationStates[authorizer][nonce],\\n \\\"FiatTokenV2: authorization is used or canceled\\\"\\n );\\n }\\n\\n /**\\n * @notice Check that authorization is valid\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n * @param validAfter The time after which this is valid (unix time)\\n * @param validBefore The time before which this is valid (unix time)\\n */\\n function _requireValidAuthorization(\\n address authorizer,\\n bytes32 nonce,\\n uint256 validAfter,\\n uint256 validBefore\\n ) private view {\\n require(\\n now > validAfter,\\n \\\"FiatTokenV2: authorization is not yet valid\\\"\\n );\\n require(now < validBefore, \\\"FiatTokenV2: authorization is expired\\\");\\n _requireUnusedAuthorization(authorizer, nonce);\\n }\\n\\n /**\\n * @notice Mark an authorization as used\\n * @param authorizer Authorizer's address\\n * @param nonce Nonce of the authorization\\n */\\n function _markAuthorizationAsUsed(address authorizer, bytes32 nonce)\\n private\\n {\\n _authorizationStates[authorizer][nonce] = true;\\n emit AuthorizationUsed(authorizer, nonce);\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v2/EIP2612.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { AbstractFiatTokenV2 } from \\\"./AbstractFiatTokenV2.sol\\\";\\nimport { EIP712Domain } from \\\"./EIP712Domain.sol\\\";\\nimport { MessageHashUtils } from \\\"../util/MessageHashUtils.sol\\\";\\nimport { SignatureChecker } from \\\"../util/SignatureChecker.sol\\\";\\n\\n/**\\n * @title EIP-2612\\n * @notice Provide internal implementation for gas-abstracted approvals\\n */\\nabstract contract EIP2612 is AbstractFiatTokenV2, EIP712Domain {\\n // keccak256(\\\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\\\")\\n bytes32\\n public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;\\n\\n mapping(address => uint256) private _permitNonces;\\n\\n /**\\n * @notice Nonces for permit\\n * @param owner Token owner's address (Authorizer)\\n * @return Next nonce\\n */\\n function nonces(address owner) external view returns (uint256) {\\n return _permitNonces[owner];\\n }\\n\\n /**\\n * @notice Verify a signed approval permit and execute if valid\\n * @param owner Token owner's address (Authorizer)\\n * @param spender Spender's address\\n * @param value Amount of allowance\\n * @param deadline The time at which the signature expires (unix time), or max uint256 value to signal no expiration\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n */\\n function _permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal {\\n _permit(owner, spender, value, deadline, abi.encodePacked(r, s, v));\\n }\\n\\n /**\\n * @notice Verify a signed approval permit and execute if valid\\n * @dev EOA wallet signatures should be packed in the order of r, s, v.\\n * @param owner Token owner's address (Authorizer)\\n * @param spender Spender's address\\n * @param value Amount of allowance\\n * @param deadline The time at which the signature expires (unix time), or max uint256 value to signal no expiration\\n * @param signature Signature byte array signed by an EOA wallet or a contract wallet\\n */\\n function _permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n bytes memory signature\\n ) internal {\\n require(\\n deadline == type(uint256).max || deadline >= now,\\n \\\"FiatTokenV2: permit is expired\\\"\\n );\\n\\n bytes32 typedDataHash = MessageHashUtils.toTypedDataHash(\\n _domainSeparator(),\\n keccak256(\\n abi.encode(\\n PERMIT_TYPEHASH,\\n owner,\\n spender,\\n value,\\n _permitNonces[owner]++,\\n deadline\\n )\\n )\\n );\\n require(\\n SignatureChecker.isValidSignatureNow(\\n owner,\\n typedDataHash,\\n signature\\n ),\\n \\\"EIP2612: invalid signature\\\"\\n );\\n\\n _approve(owner, spender, value);\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v2/AbstractFiatTokenV2.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { AbstractFiatTokenV1 } from \\\"../v1/AbstractFiatTokenV1.sol\\\";\\n\\nabstract contract AbstractFiatTokenV2 is AbstractFiatTokenV1 {\\n function _increaseAllowance(\\n address owner,\\n address spender,\\n uint256 increment\\n ) internal virtual;\\n\\n function _decreaseAllowance(\\n address owner,\\n address spender,\\n uint256 decrement\\n ) internal virtual;\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v1/Pausable.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: MIT\\n *\\n * Copyright (c) 2016 Smart Contract Solutions, Inc.\\n * Copyright (c) 2018-2020 CENTRE SECZ\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n * SOFTWARE.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { Ownable } from \\\"./Ownable.sol\\\";\\n\\n/**\\n * @notice Base contract which allows children to implement an emergency stop\\n * mechanism\\n * @dev Forked from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/feb665136c0dae9912e08397c1a21c4af3651ef3/contracts/lifecycle/Pausable.sol\\n * Modifications:\\n * 1. Added pauser role, switched pause/unpause to be onlyPauser (6/14/2018)\\n * 2. Removed whenNotPause/whenPaused from pause/unpause (6/14/2018)\\n * 3. Removed whenPaused (6/14/2018)\\n * 4. Switches ownable library to use ZeppelinOS (7/12/18)\\n * 5. Remove constructor (7/13/18)\\n * 6. Reformat, conform to Solidity 0.6 syntax and add error messages (5/13/20)\\n * 7. Make public functions external (5/27/20)\\n */\\ncontract Pausable is Ownable {\\n event Pause();\\n event Unpause();\\n event PauserChanged(address indexed newAddress);\\n\\n address public pauser;\\n bool public paused = false;\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is not paused.\\n */\\n modifier whenNotPaused() {\\n require(!paused, \\\"Pausable: paused\\\");\\n _;\\n }\\n\\n /**\\n * @dev throws if called by any account other than the pauser\\n */\\n modifier onlyPauser() {\\n require(msg.sender == pauser, \\\"Pausable: caller is not the pauser\\\");\\n _;\\n }\\n\\n /**\\n * @dev called by the owner to pause, triggers stopped state\\n */\\n function pause() external onlyPauser {\\n paused = true;\\n emit Pause();\\n }\\n\\n /**\\n * @dev called by the owner to unpause, returns to normal state\\n */\\n function unpause() external onlyPauser {\\n paused = false;\\n emit Unpause();\\n }\\n\\n /**\\n * @notice Updates the pauser address.\\n * @param _newPauser The address of the new pauser.\\n */\\n function updatePauser(address _newPauser) external onlyOwner {\\n require(\\n _newPauser != address(0),\\n \\\"Pausable: new pauser is the zero address\\\"\\n );\\n pauser = _newPauser;\\n emit PauserChanged(pauser);\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v1/Ownable.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: MIT\\n *\\n * Copyright (c) 2018 zOS Global Limited.\\n * Copyright (c) 2018-2020 CENTRE SECZ\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n * SOFTWARE.\\n */\\n\\npragma solidity 0.6.12;\\n\\n/**\\n * @notice The Ownable contract has an owner address, and provides basic\\n * authorization control functions\\n * @dev Forked from https://github.com/OpenZeppelin/openzeppelin-labs/blob/3887ab77b8adafba4a26ace002f3a684c1a3388b/upgradeability_ownership/contracts/ownership/Ownable.sol\\n * Modifications:\\n * 1. Consolidate OwnableStorage into this contract (7/13/18)\\n * 2. Reformat, conform to Solidity 0.6 syntax, and add error messages (5/13/20)\\n * 3. Make public functions external (5/27/20)\\n */\\ncontract Ownable {\\n // Owner of the contract\\n address private _owner;\\n\\n /**\\n * @dev Event to show ownership has been transferred\\n * @param previousOwner representing the address of the previous owner\\n * @param newOwner representing the address of the new owner\\n */\\n event OwnershipTransferred(address previousOwner, address newOwner);\\n\\n /**\\n * @dev The constructor sets the original owner of the contract to the sender account.\\n */\\n constructor() public {\\n setOwner(msg.sender);\\n }\\n\\n /**\\n * @dev Tells the address of the owner\\n * @return the address of the owner\\n */\\n function owner() external view returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Sets a new owner address\\n */\\n function setOwner(address newOwner) internal {\\n _owner = newOwner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(msg.sender == _owner, \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\\n * @param newOwner The address to transfer ownership to.\\n */\\n function transferOwnership(address newOwner) external onlyOwner {\\n require(\\n newOwner != address(0),\\n \\\"Ownable: new owner is the zero address\\\"\\n );\\n emit OwnershipTransferred(_owner, newOwner);\\n setOwner(newOwner);\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v1/FiatTokenV1.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { SafeMath } from \\\"@openzeppelin/contracts/math/SafeMath.sol\\\";\\nimport { AbstractFiatTokenV1 } from \\\"./AbstractFiatTokenV1.sol\\\";\\nimport { Ownable } from \\\"./Ownable.sol\\\";\\nimport { Pausable } from \\\"./Pausable.sol\\\";\\nimport { Blacklistable } from \\\"./Blacklistable.sol\\\";\\n\\n/**\\n * @title FiatToken\\n * @dev ERC20 Token backed by fiat reserves\\n */\\ncontract FiatTokenV1 is AbstractFiatTokenV1, Ownable, Pausable, Blacklistable {\\n using SafeMath for uint256;\\n\\n string public name;\\n string public symbol;\\n uint8 public decimals;\\n string public currency;\\n address public masterMinter;\\n bool internal initialized;\\n\\n /// @dev A mapping that stores the balance and blacklist states for a given address.\\n /// The first bit defines whether the address is blacklisted (1 if blacklisted, 0 otherwise).\\n /// The last 255 bits define the balance for the address.\\n mapping(address => uint256) internal balanceAndBlacklistStates;\\n mapping(address => mapping(address => uint256)) internal allowed;\\n uint256 internal totalSupply_ = 0;\\n mapping(address => bool) internal minters;\\n mapping(address => uint256) internal minterAllowed;\\n\\n event Mint(address indexed minter, address indexed to, uint256 amount);\\n event Burn(address indexed burner, uint256 amount);\\n event MinterConfigured(address indexed minter, uint256 minterAllowedAmount);\\n event MinterRemoved(address indexed oldMinter);\\n event MasterMinterChanged(address indexed newMasterMinter);\\n\\n /**\\n * @notice Initializes the fiat token contract.\\n * @param tokenName The name of the fiat token.\\n * @param tokenSymbol The symbol of the fiat token.\\n * @param tokenCurrency The fiat currency that the token represents.\\n * @param tokenDecimals The number of decimals that the token uses.\\n * @param newMasterMinter The masterMinter address for the fiat token.\\n * @param newPauser The pauser address for the fiat token.\\n * @param newBlacklister The blacklister address for the fiat token.\\n * @param newOwner The owner of the fiat token.\\n */\\n function initialize(\\n string memory tokenName,\\n string memory tokenSymbol,\\n string memory tokenCurrency,\\n uint8 tokenDecimals,\\n address newMasterMinter,\\n address newPauser,\\n address newBlacklister,\\n address newOwner\\n ) public {\\n require(!initialized, \\\"FiatToken: contract is already initialized\\\");\\n require(\\n newMasterMinter != address(0),\\n \\\"FiatToken: new masterMinter is the zero address\\\"\\n );\\n require(\\n newPauser != address(0),\\n \\\"FiatToken: new pauser is the zero address\\\"\\n );\\n require(\\n newBlacklister != address(0),\\n \\\"FiatToken: new blacklister is the zero address\\\"\\n );\\n require(\\n newOwner != address(0),\\n \\\"FiatToken: new owner is the zero address\\\"\\n );\\n\\n name = tokenName;\\n symbol = tokenSymbol;\\n currency = tokenCurrency;\\n decimals = tokenDecimals;\\n masterMinter = newMasterMinter;\\n pauser = newPauser;\\n blacklister = newBlacklister;\\n setOwner(newOwner);\\n initialized = true;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than a minter.\\n */\\n modifier onlyMinters() {\\n require(minters[msg.sender], \\\"FiatToken: caller is not a minter\\\");\\n _;\\n }\\n\\n /**\\n * @notice Mints fiat tokens to an address.\\n * @param _to The address that will receive the minted tokens.\\n * @param _amount The amount of tokens to mint. Must be less than or equal\\n * to the minterAllowance of the caller.\\n * @return True if the operation was successful.\\n */\\n function mint(address _to, uint256 _amount)\\n external\\n whenNotPaused\\n onlyMinters\\n notBlacklisted(msg.sender)\\n notBlacklisted(_to)\\n returns (bool)\\n {\\n require(_to != address(0), \\\"FiatToken: mint to the zero address\\\");\\n require(_amount > 0, \\\"FiatToken: mint amount not greater than 0\\\");\\n\\n uint256 mintingAllowedAmount = minterAllowed[msg.sender];\\n require(\\n _amount <= mintingAllowedAmount,\\n \\\"FiatToken: mint amount exceeds minterAllowance\\\"\\n );\\n\\n totalSupply_ = totalSupply_.add(_amount);\\n _setBalance(_to, _balanceOf(_to).add(_amount));\\n minterAllowed[msg.sender] = mintingAllowedAmount.sub(_amount);\\n emit Mint(msg.sender, _to, _amount);\\n emit Transfer(address(0), _to, _amount);\\n return true;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the masterMinter\\n */\\n modifier onlyMasterMinter() {\\n require(\\n msg.sender == masterMinter,\\n \\\"FiatToken: caller is not the masterMinter\\\"\\n );\\n _;\\n }\\n\\n /**\\n * @notice Gets the minter allowance for an account.\\n * @param minter The address to check.\\n * @return The remaining minter allowance for the account.\\n */\\n function minterAllowance(address minter) external view returns (uint256) {\\n return minterAllowed[minter];\\n }\\n\\n /**\\n * @notice Checks if an account is a minter.\\n * @param account The address to check.\\n * @return True if the account is a minter, false if the account is not a minter.\\n */\\n function isMinter(address account) external view returns (bool) {\\n return minters[account];\\n }\\n\\n /**\\n * @notice Gets the remaining amount of fiat tokens a spender is allowed to transfer on\\n * behalf of the token owner.\\n * @param owner The token owner's address.\\n * @param spender The spender's address.\\n * @return The remaining allowance.\\n */\\n function allowance(address owner, address spender)\\n external\\n override\\n view\\n returns (uint256)\\n {\\n return allowed[owner][spender];\\n }\\n\\n /**\\n * @notice Gets the totalSupply of the fiat token.\\n * @return The totalSupply of the fiat token.\\n */\\n function totalSupply() external override view returns (uint256) {\\n return totalSupply_;\\n }\\n\\n /**\\n * @notice Gets the fiat token balance of an account.\\n * @param account The address to check.\\n * @return balance The fiat token balance of the account.\\n */\\n function balanceOf(address account)\\n external\\n override\\n view\\n returns (uint256)\\n {\\n return _balanceOf(account);\\n }\\n\\n /**\\n * @notice Sets a fiat token allowance for a spender to spend on behalf of the caller.\\n * @param spender The spender's address.\\n * @param value The allowance amount.\\n * @return True if the operation was successful.\\n */\\n function approve(address spender, uint256 value)\\n external\\n virtual\\n override\\n whenNotPaused\\n notBlacklisted(msg.sender)\\n notBlacklisted(spender)\\n returns (bool)\\n {\\n _approve(msg.sender, spender, value);\\n return true;\\n }\\n\\n /**\\n * @dev Internal function to set allowance.\\n * @param owner Token owner's address.\\n * @param spender Spender's address.\\n * @param value Allowance amount.\\n */\\n function _approve(\\n address owner,\\n address spender,\\n uint256 value\\n ) internal override {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n allowed[owner][spender] = value;\\n emit Approval(owner, spender, value);\\n }\\n\\n /**\\n * @notice Transfers tokens from an address to another by spending the caller's allowance.\\n * @dev The caller must have some fiat token allowance on the payer's tokens.\\n * @param from Payer's address.\\n * @param to Payee's address.\\n * @param value Transfer amount.\\n * @return True if the operation was successful.\\n */\\n function transferFrom(\\n address from,\\n address to,\\n uint256 value\\n )\\n external\\n override\\n whenNotPaused\\n notBlacklisted(msg.sender)\\n notBlacklisted(from)\\n notBlacklisted(to)\\n returns (bool)\\n {\\n require(\\n value <= allowed[from][msg.sender],\\n \\\"ERC20: transfer amount exceeds allowance\\\"\\n );\\n _transfer(from, to, value);\\n allowed[from][msg.sender] = allowed[from][msg.sender].sub(value);\\n return true;\\n }\\n\\n /**\\n * @notice Transfers tokens from the caller.\\n * @param to Payee's address.\\n * @param value Transfer amount.\\n * @return True if the operation was successful.\\n */\\n function transfer(address to, uint256 value)\\n external\\n override\\n whenNotPaused\\n notBlacklisted(msg.sender)\\n notBlacklisted(to)\\n returns (bool)\\n {\\n _transfer(msg.sender, to, value);\\n return true;\\n }\\n\\n /**\\n * @dev Internal function to process transfers.\\n * @param from Payer's address.\\n * @param to Payee's address.\\n * @param value Transfer amount.\\n */\\n function _transfer(\\n address from,\\n address to,\\n uint256 value\\n ) internal override {\\n require(from != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(to != address(0), \\\"ERC20: transfer to the zero address\\\");\\n require(\\n value <= _balanceOf(from),\\n \\\"ERC20: transfer amount exceeds balance\\\"\\n );\\n\\n _setBalance(from, _balanceOf(from).sub(value));\\n _setBalance(to, _balanceOf(to).add(value));\\n emit Transfer(from, to, value);\\n }\\n\\n /**\\n * @notice Adds or updates a new minter with a mint allowance.\\n * @param minter The address of the minter.\\n * @param minterAllowedAmount The minting amount allowed for the minter.\\n * @return True if the operation was successful.\\n */\\n function configureMinter(address minter, uint256 minterAllowedAmount)\\n external\\n whenNotPaused\\n onlyMasterMinter\\n returns (bool)\\n {\\n minters[minter] = true;\\n minterAllowed[minter] = minterAllowedAmount;\\n emit MinterConfigured(minter, minterAllowedAmount);\\n return true;\\n }\\n\\n /**\\n * @notice Removes a minter.\\n * @param minter The address of the minter to remove.\\n * @return True if the operation was successful.\\n */\\n function removeMinter(address minter)\\n external\\n onlyMasterMinter\\n returns (bool)\\n {\\n minters[minter] = false;\\n minterAllowed[minter] = 0;\\n emit MinterRemoved(minter);\\n return true;\\n }\\n\\n /**\\n * @notice Allows a minter to burn some of its own tokens.\\n * @dev The caller must be a minter, must not be blacklisted, and the amount to burn\\n * should be less than or equal to the account's balance.\\n * @param _amount the amount of tokens to be burned.\\n */\\n function burn(uint256 _amount)\\n external\\n whenNotPaused\\n onlyMinters\\n notBlacklisted(msg.sender)\\n {\\n uint256 balance = _balanceOf(msg.sender);\\n require(_amount > 0, \\\"FiatToken: burn amount not greater than 0\\\");\\n require(balance >= _amount, \\\"FiatToken: burn amount exceeds balance\\\");\\n\\n totalSupply_ = totalSupply_.sub(_amount);\\n _setBalance(msg.sender, balance.sub(_amount));\\n emit Burn(msg.sender, _amount);\\n emit Transfer(msg.sender, address(0), _amount);\\n }\\n\\n /**\\n * @notice Updates the master minter address.\\n * @param _newMasterMinter The address of the new master minter.\\n */\\n function updateMasterMinter(address _newMasterMinter) external onlyOwner {\\n require(\\n _newMasterMinter != address(0),\\n \\\"FiatToken: new masterMinter is the zero address\\\"\\n );\\n masterMinter = _newMasterMinter;\\n emit MasterMinterChanged(masterMinter);\\n }\\n\\n /**\\n * @inheritdoc Blacklistable\\n */\\n function _blacklist(address _account) internal override {\\n _setBlacklistState(_account, true);\\n }\\n\\n /**\\n * @inheritdoc Blacklistable\\n */\\n function _unBlacklist(address _account) internal override {\\n _setBlacklistState(_account, false);\\n }\\n\\n /**\\n * @dev Helper method that sets the blacklist state of an account.\\n * @param _account The address of the account.\\n * @param _shouldBlacklist True if the account should be blacklisted, false if the account should be unblacklisted.\\n */\\n function _setBlacklistState(address _account, bool _shouldBlacklist)\\n internal\\n virtual\\n {\\n _deprecatedBlacklisted[_account] = _shouldBlacklist;\\n }\\n\\n /**\\n * @dev Helper method that sets the balance of an account.\\n * @param _account The address of the account.\\n * @param _balance The new fiat token balance of the account.\\n */\\n function _setBalance(address _account, uint256 _balance) internal virtual {\\n balanceAndBlacklistStates[_account] = _balance;\\n }\\n\\n /**\\n * @inheritdoc Blacklistable\\n */\\n function _isBlacklisted(address _account)\\n internal\\n virtual\\n override\\n view\\n returns (bool)\\n {\\n return _deprecatedBlacklisted[_account];\\n }\\n\\n /**\\n * @dev Helper method to obtain the balance of an account.\\n * @param _account The address of the account.\\n * @return The fiat token balance of the account.\\n */\\n function _balanceOf(address _account)\\n internal\\n virtual\\n view\\n returns (uint256)\\n {\\n return balanceAndBlacklistStates[_account];\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v1/Blacklistable.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { Ownable } from \\\"./Ownable.sol\\\";\\n\\n/**\\n * @title Blacklistable Token\\n * @dev Allows accounts to be blacklisted by a \\\"blacklister\\\" role\\n */\\nabstract contract Blacklistable is Ownable {\\n address public blacklister;\\n mapping(address => bool) internal _deprecatedBlacklisted;\\n\\n event Blacklisted(address indexed _account);\\n event UnBlacklisted(address indexed _account);\\n event BlacklisterChanged(address indexed newBlacklister);\\n\\n /**\\n * @dev Throws if called by any account other than the blacklister.\\n */\\n modifier onlyBlacklister() {\\n require(\\n msg.sender == blacklister,\\n \\\"Blacklistable: caller is not the blacklister\\\"\\n );\\n _;\\n }\\n\\n /**\\n * @dev Throws if argument account is blacklisted.\\n * @param _account The address to check.\\n */\\n modifier notBlacklisted(address _account) {\\n require(\\n !_isBlacklisted(_account),\\n \\\"Blacklistable: account is blacklisted\\\"\\n );\\n _;\\n }\\n\\n /**\\n * @notice Checks if account is blacklisted.\\n * @param _account The address to check.\\n * @return True if the account is blacklisted, false if the account is not blacklisted.\\n */\\n function isBlacklisted(address _account) external view returns (bool) {\\n return _isBlacklisted(_account);\\n }\\n\\n /**\\n * @notice Adds account to blacklist.\\n * @param _account The address to blacklist.\\n */\\n function blacklist(address _account) external onlyBlacklister {\\n _blacklist(_account);\\n emit Blacklisted(_account);\\n }\\n\\n /**\\n * @notice Removes account from blacklist.\\n * @param _account The address to remove from the blacklist.\\n */\\n function unBlacklist(address _account) external onlyBlacklister {\\n _unBlacklist(_account);\\n emit UnBlacklisted(_account);\\n }\\n\\n /**\\n * @notice Updates the blacklister address.\\n * @param _newBlacklister The address of the new blacklister.\\n */\\n function updateBlacklister(address _newBlacklister) external onlyOwner {\\n require(\\n _newBlacklister != address(0),\\n \\\"Blacklistable: new blacklister is the zero address\\\"\\n );\\n blacklister = _newBlacklister;\\n emit BlacklisterChanged(blacklister);\\n }\\n\\n /**\\n * @dev Checks if account is blacklisted.\\n * @param _account The address to check.\\n * @return true if the account is blacklisted, false otherwise.\\n */\\n function _isBlacklisted(address _account)\\n internal\\n virtual\\n view\\n returns (bool);\\n\\n /**\\n * @dev Helper method that blacklists an account.\\n * @param _account The address to blacklist.\\n */\\n function _blacklist(address _account) internal virtual;\\n\\n /**\\n * @dev Helper method that unblacklists an account.\\n * @param _account The address to unblacklist.\\n */\\n function _unBlacklist(address _account) internal virtual;\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v1/AbstractFiatTokenV1.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { IERC20 } from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\nabstract contract AbstractFiatTokenV1 is IERC20 {\\n function _approve(\\n address owner,\\n address spender,\\n uint256 value\\n ) internal virtual;\\n\\n function _transfer(\\n address from,\\n address to,\\n uint256 value\\n ) internal virtual;\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v1.1/Rescuable.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { Ownable } from \\\"../v1/Ownable.sol\\\";\\nimport { IERC20 } from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport { SafeERC20 } from \\\"@openzeppelin/contracts/token/ERC20/SafeERC20.sol\\\";\\n\\ncontract Rescuable is Ownable {\\n using SafeERC20 for IERC20;\\n\\n address private _rescuer;\\n\\n event RescuerChanged(address indexed newRescuer);\\n\\n /**\\n * @notice Returns current rescuer\\n * @return Rescuer's address\\n */\\n function rescuer() external view returns (address) {\\n return _rescuer;\\n }\\n\\n /**\\n * @notice Revert if called by any account other than the rescuer.\\n */\\n modifier onlyRescuer() {\\n require(msg.sender == _rescuer, \\\"Rescuable: caller is not the rescuer\\\");\\n _;\\n }\\n\\n /**\\n * @notice Rescue ERC20 tokens locked up in this contract.\\n * @param tokenContract ERC20 token contract address\\n * @param to Recipient address\\n * @param amount Amount to withdraw\\n */\\n function rescueERC20(\\n IERC20 tokenContract,\\n address to,\\n uint256 amount\\n ) external onlyRescuer {\\n tokenContract.safeTransfer(to, amount);\\n }\\n\\n /**\\n * @notice Updates the rescuer address.\\n * @param newRescuer The address of the new rescuer.\\n */\\n function updateRescuer(address newRescuer) external onlyOwner {\\n require(\\n newRescuer != address(0),\\n \\\"Rescuable: new rescuer is the zero address\\\"\\n );\\n _rescuer = newRescuer;\\n emit RescuerChanged(newRescuer);\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/v1.1/FiatTokenV1_1.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { FiatTokenV1 } from \\\"../v1/FiatTokenV1.sol\\\";\\nimport { Rescuable } from \\\"./Rescuable.sol\\\";\\n\\n/**\\n * @title FiatTokenV1_1\\n * @dev ERC20 Token backed by fiat reserves\\n */\\ncontract FiatTokenV1_1 is FiatTokenV1, Rescuable {\\n\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/util/SignatureChecker.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\nimport { ECRecover } from \\\"./ECRecover.sol\\\";\\nimport { IERC1271 } from \\\"../interface/IERC1271.sol\\\";\\n\\n/**\\n * @dev Signature verification helper that can be used instead of `ECRecover.recover` to seamlessly support both ECDSA\\n * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets.\\n *\\n * Adapted from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/21bb89ef5bfc789b9333eb05e3ba2b7b284ac77c/contracts/utils/cryptography/SignatureChecker.sol\\n */\\nlibrary SignatureChecker {\\n /**\\n * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the\\n * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECRecover.recover`.\\n * @param signer Address of the claimed signer\\n * @param digest Keccak-256 hash digest of the signed message\\n * @param signature Signature byte array associated with hash\\n */\\n function isValidSignatureNow(\\n address signer,\\n bytes32 digest,\\n bytes memory signature\\n ) external view returns (bool) {\\n if (!isContract(signer)) {\\n return ECRecover.recover(digest, signature) == signer;\\n }\\n return isValidERC1271SignatureNow(signer, digest, signature);\\n }\\n\\n /**\\n * @dev Checks if a signature is valid for a given signer and data hash. The signature is validated\\n * against the signer smart contract using ERC1271.\\n * @param signer Address of the claimed signer\\n * @param digest Keccak-256 hash digest of the signed message\\n * @param signature Signature byte array associated with hash\\n *\\n * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\\n * change through time. It could return true at block N and false at block N+1 (or the opposite).\\n */\\n function isValidERC1271SignatureNow(\\n address signer,\\n bytes32 digest,\\n bytes memory signature\\n ) internal view returns (bool) {\\n (bool success, bytes memory result) = signer.staticcall(\\n abi.encodeWithSelector(\\n IERC1271.isValidSignature.selector,\\n digest,\\n signature\\n )\\n );\\n return (success &&\\n result.length >= 32 &&\\n abi.decode(result, (bytes32)) ==\\n bytes32(IERC1271.isValidSignature.selector));\\n }\\n\\n /**\\n * @dev Checks if the input address is a smart contract.\\n */\\n function isContract(address addr) internal view returns (bool) {\\n uint256 size;\\n assembly {\\n size := extcodesize(addr)\\n }\\n return size > 0;\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/util/MessageHashUtils.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\n/**\\n * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\\n *\\n * The library provides methods for generating a hash of a message that conforms to the\\n * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\\n * specifications.\\n */\\nlibrary MessageHashUtils {\\n /**\\n * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).\\n * Adapted from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/21bb89ef5bfc789b9333eb05e3ba2b7b284ac77c/contracts/utils/cryptography/MessageHashUtils.sol\\n *\\n * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\\n * `\\\\x19\\\\x01` and hashing the result. It corresponds to the hash signed by the\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\\n *\\n * @param domainSeparator Domain separator\\n * @param structHash Hashed EIP-712 data struct\\n * @return digest The keccak256 digest of an EIP-712 typed data\\n */\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash)\\n internal\\n pure\\n returns (bytes32 digest)\\n {\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, \\\"\\\\x19\\\\x01\\\")\\n mstore(add(ptr, 0x02), domainSeparator)\\n mstore(add(ptr, 0x22), structHash)\\n digest := keccak256(ptr, 0x42)\\n }\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/util/EIP712.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\n/**\\n * @title EIP712\\n * @notice A library that provides EIP712 helper functions\\n */\\nlibrary EIP712 {\\n /**\\n * @notice Make EIP712 domain separator\\n * @param name Contract name\\n * @param version Contract version\\n * @param chainId Blockchain ID\\n * @return Domain separator\\n */\\n function makeDomainSeparator(\\n string memory name,\\n string memory version,\\n uint256 chainId\\n ) internal view returns (bytes32) {\\n return\\n keccak256(\\n abi.encode(\\n // keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\")\\n 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f,\\n keccak256(bytes(name)),\\n keccak256(bytes(version)),\\n chainId,\\n address(this)\\n )\\n );\\n }\\n\\n /**\\n * @notice Make EIP712 domain separator\\n * @param name Contract name\\n * @param version Contract version\\n * @return Domain separator\\n */\\n function makeDomainSeparator(string memory name, string memory version)\\n internal\\n view\\n returns (bytes32)\\n {\\n uint256 chainId;\\n assembly {\\n chainId := chainid()\\n }\\n return makeDomainSeparator(name, version, chainId);\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/util/ECRecover.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\n/**\\n * @title ECRecover\\n * @notice A library that provides a safe ECDSA recovery function\\n */\\nlibrary ECRecover {\\n /**\\n * @notice Recover signer's address from a signed message\\n * @dev Adapted from: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/65e4ffde586ec89af3b7e9140bdc9235d1254853/contracts/cryptography/ECDSA.sol\\n * Modifications: Accept v, r, and s as separate arguments\\n * @param digest Keccak-256 hash digest of the signed message\\n * @param v v of the signature\\n * @param r r of the signature\\n * @param s s of the signature\\n * @return Signer address\\n */\\n function recover(\\n bytes32 digest,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address) {\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (\\n uint256(s) >\\n 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0\\n ) {\\n revert(\\\"ECRecover: invalid signature 's' value\\\");\\n }\\n\\n if (v != 27 && v != 28) {\\n revert(\\\"ECRecover: invalid signature 'v' value\\\");\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n address signer = ecrecover(digest, v, r, s);\\n require(signer != address(0), \\\"ECRecover: invalid signature\\\");\\n\\n return signer;\\n }\\n\\n /**\\n * @notice Recover signer's address from a signed message\\n * @dev Adapted from: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/0053ee040a7ff1dbc39691c9e67a69f564930a88/contracts/utils/cryptography/ECDSA.sol\\n * @param digest Keccak-256 hash digest of the signed message\\n * @param signature Signature byte array associated with hash\\n * @return Signer address\\n */\\n function recover(bytes32 digest, bytes memory signature)\\n internal\\n pure\\n returns (address)\\n {\\n require(signature.length == 65, \\\"ECRecover: invalid signature length\\\");\\n\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n /// @solidity memory-safe-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n return recover(digest, v, r, s);\\n }\\n}\\n\"\r\n },\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/interface/IERC1271.sol\": {\r\n \"content\": \"/**\\n * SPDX-License-Identifier: Apache-2.0\\n *\\n * Copyright (c) 2023, Circle Internet Financial, LLC.\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n */\\n\\npragma solidity 0.6.12;\\n\\n/**\\n * @dev Interface of the ERC1271 standard signature validation method for\\n * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].\\n */\\ninterface IERC1271 {\\n /**\\n * @dev Should return whether the signature provided is valid for the provided data\\n * @param hash Hash of the data to be signed\\n * @param signature Signature byte array associated with the provided data hash\\n * @return magicValue bytes4 magic value 0x1626ba7e when function passes\\n */\\n function isValidSignature(bytes32 hash, bytes memory signature)\\n external\\n view\\n returns (bytes4 magicValue);\\n}\\n\"\r\n }\r\n },\r\n \"settings\": {\r\n \"remappings\": [],\r\n \"optimizer\": {\r\n \"enabled\": true,\r\n \"runs\": 10000000\r\n },\r\n \"evmVersion\": \"istanbul\",\r\n \"libraries\": {\r\n \"/Users/aloysius.chan/Repositories/circlefin/stablecoin-evm-private-eurc-mainnet-eth/contracts/util/SignatureChecker.sol\": {\r\n \"SignatureChecker\": \"0x800C32EaA2a6c93cF4CB51794450ED77fBfbB172\"\r\n }\r\n },\r\n \"outputSelection\": {\r\n \"*\": {\r\n \"*\": [\r\n \"evm.bytecode\",\r\n \"evm.deployedBytecode\",\r\n \"devdoc\",\r\n \"userdoc\",\r\n \"metadata\",\r\n \"abi\"\r\n ]\r\n }\r\n }\r\n }\r\n}}","ABI":"[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"}],\"name\":\"AuthorizationCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"}],\"name\":\"AuthorizationUsed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"Blacklisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newBlacklister\",\"type\":\"address\"}],\"name\":\"BlacklisterChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"burner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newMasterMinter\",\"type\":\"address\"}],\"name\":\"MasterMinterChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minterAllowedAmount\",\"type\":\"uint256\"}],\"name\":\"MinterConfigured\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldMinter\",\"type\":\"address\"}],\"name\":\"MinterRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"PauserChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newRescuer\",\"type\":\"address\"}],\"name\":\"RescuerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"UnBlacklisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CANCEL_AUTHORIZATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RECEIVE_WITH_AUTHORIZATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_WITH_AUTHORIZATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"}],\"name\":\"authorizationState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"blacklist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blacklister\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"cancelAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"cancelAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minterAllowedAmount\",\"type\":\"uint256\"}],\"name\":\"configureMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currency\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"increment\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenSymbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenCurrency\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"tokenDecimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"newMasterMinter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newPauser\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newBlacklister\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newName\",\"type\":\"string\"}],\"name\":\"initializeV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"lostAndFound\",\"type\":\"address\"}],\"name\":\"initializeV2_1\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accountsToBlacklist\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"newSymbol\",\"type\":\"string\"}],\"name\":\"initializeV2_2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isBlacklisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"masterMinter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"minterAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauser\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validBefore\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"receiveWithAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validBefore\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"receiveWithAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"removeMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"tokenContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rescuer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validBefore\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"transferWithAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validBefore\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"nonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"transferWithAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"unBlacklist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newBlacklister\",\"type\":\"address\"}],\"name\":\"updateBlacklister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newMasterMinter\",\"type\":\"address\"}],\"name\":\"updateMasterMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newPauser\",\"type\":\"address\"}],\"name\":\"updatePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newRescuer\",\"type\":\"address\"}],\"name\":\"updateRescuer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]","ContractName":"FiatTokenV2_2","CompilerVersion":"v0.6.12+commit.27d51765","CompilerType":"solc-j","OptimizationUsed":"1","Runs":"10000000","ConstructorArguments":"","EVMVersion":"istanbul","Library":"","LicenseType":"","Proxy":"1","Implementation":"0x800c32eaa2a6c93cf4cb51794450ed77fbfbb172","SwarmSource":"","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/ecd900f6f6634075742118a82eb75817f08e2220c7aed067453ae1074ca7c3d3 b/tests/cachedrpc/ecd900f6f6634075742118a82eb75817f08e2220c7aed067453ae1074ca7c3d3 new file mode 100644 index 00000000..86618242 --- /dev/null +++ b/tests/cachedrpc/ecd900f6f6634075742118a82eb75817f08e2220c7aed067453ae1074ca7c3d3 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0xbafa44efe7901e04e39dad13167d089c559c1138","contractCreator":"0x4600d3b12c39af925c2c07c487d31d17c1e32a35","txHash":"0xe4b76b498e85ca562decc2c3def0f0df289bc8f4019a28d8247c79337e580f4d","blockNumber":"15686046","timestamp":"1665022895","contractFactory":"","creationBytecode":"0x60e06040523480156200001157600080fd5b50604051620034723803806200347283398101604081905262000034916200017b565b828282826001600160a01b038116620000935760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f74206265203000000000000000604482015260640160405180910390fd5b600080546001600160a01b0319166001600160a01b03831690811782556040805192835260208301919091527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a150600480546001600160a01b0319166001600160a01b03841617905560036200011482826200033b565b505060016005555050506001600160a01b03948516608052505090821660a0521660c0526000600681905560075562000407565b80516001600160a01b03811681146200016057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c087890312156200019557600080fd5b620001a08762000148565b95506020620001b181890162000148565b9550620001c16040890162000148565b9450620001d16060890162000148565b9350620001e16080890162000148565b60a08901519093506001600160401b0380821115620001ff57600080fd5b818a0191508a601f8301126200021457600080fd5b81518181111562000229576200022962000165565b604051601f8201601f19908116603f0116810190838211818310171562000254576200025462000165565b816040528281528d868487010111156200026d57600080fd5b600093505b8284101562000291578484018601518185018701529285019262000272565b60008684830101528096505050505050509295509295509295565b600181811c90821680620002c157607f821691505b602082108103620002e257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033657600081815260208120601f850160051c81016020861015620003115750805b601f850160051c820191505b8181101562000332578281556001016200031d565b5050505b505050565b81516001600160401b0381111562000357576200035762000165565b6200036f81620003688454620002ac565b84620002e8565b602080601f831160018114620003a757600084156200038e5750858301515b600019600386901b1c1916600185901b17855562000332565b600085815260208120601f198616915b82811015620003d857888601518255948401946001909101908401620003b7565b5085821015620003f75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516130186200045a6000396000818161025a01528181611345015261140901526000818161053f015281816107b501526113730152600081816106b90152610b0801526130186000f3fe6080604052600436106102135760003560e01c8063a3f3498011610118578063bdacb303116100a0578063d32867d01161006f578063d32867d014610650578063dc6663c714610667578063e77df36614610687578063e94ad65b146106a7578063f63a1711146106db57600080fd5b8063bdacb303146105c2578063bfda0c8c146105e2578063c3d31487146105f5578063cdcedf401461061557600080fd5b8063b5d89627116100e7578063b5d89627146104ce578063b5e5e64c146104fe578063b6d24f1814610513578063ba947f271461052d578063bc9944f91461056157600080fd5b8063a3f3498014610464578063aa6fa83c14610479578063ae6e83bf14610499578063b507fb00146104b957600080fd5b80634dcd45471161019b5780635d593f8d1161016a5780635d593f8d146103e457806379ba5097146103f95780638980f11f1461040e5780638da5cb5b1461042e5780638e69d7ad1461044e57600080fd5b80634dcd45471461039357806353a47bb7146103a657806357c59b04146103c65780635bcb2fc6146103dc57600080fd5b806335b5d534116101e257806335b5d534146102e85780633683c2041461030857806336bf3325146103285780633f8380b6146103535780634b9b90c51461037357600080fd5b80631627540c146102285780631c568db614610248578063206583ac1461029957806326839f17146102c857600080fd5b3661022357610221336106fb565b005b600080fd5b34801561023457600080fd5b5061022161024336600461265a565b6108a7565b34801561025457600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102a557600080fd5b506009546102b890610100900460ff1681565b6040519015158152602001610290565b3480156102d457600080fd5b506102216102e336600461267e565b61096e565b3480156102f457600080fd5b50610221610303366004612697565b610c1f565b34801561031457600080fd5b5061022161032336600461275c565b611009565b34801561033457600080fd5b506103456801bc16d674ec80000081565b604051908152602001610290565b34801561035f57600080fd5b5061022161036e366004612799565b6110d4565b34801561037f57600080fd5b5061022161038e3660046127c5565b611264565b6103456103a136600461265a565b611323565b3480156103b257600080fd5b5060015461027c906001600160a01b031681565b3480156103d257600080fd5b5061034560065481565b6102216114d0565b3480156103f057600080fd5b50600254610345565b34801561040557600080fd5b506102216114db565b34801561041a57600080fd5b50610221610429366004612799565b6115c5565b34801561043a57600080fd5b5060005461027c906001600160a01b031681565b34801561045a57600080fd5b5061034560075481565b34801561047057600080fd5b5061022161170e565b34801561048557600080fd5b5061022161049436600461267e565b611784565b3480156104a557600080fd5b506102216104b436600461267e565b61184b565b3480156104c557600080fd5b50610221611921565b3480156104da57600080fd5b506104ee6104e936600461267e565b6119ae565b6040516102909493929190612850565b34801561050a57600080fd5b50610221611bbc565b34801561051f57600080fd5b506009546102b89060ff1681565b34801561053957600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561056d57600080fd5b506105b561057c36600461289b565b60408051606080820183528082526020820152600091810191909152506040805160608101825293845260208401929092529082015290565b6040516102909190612908565b3480156105ce57600080fd5b506102216105dd36600461265a565b611c53565b6102216105f036600461265a565b611d2e565b34801561060157600080fd5b5061022161061036600461267e565b611d37565b34801561062157600080fd5b506102b861063036600461275c565b805160208183018101805160088252928201919093012091525460ff1681565b34801561065c57600080fd5b50610345620f424081565b34801561067357600080fd5b5060045461027c906001600160a01b031681565b34801561069357600080fd5b506102216106a2366004612966565b611e3c565b3480156106b357600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106e757600080fd5b506102216106f6366004612996565b6121fe565b610703612286565b60095460ff161561074e5760405162461bcd60e51b815260206004820152601060248201526f14dd589b5a5d081a5cc81c185d5cd95960821b60448201526064015b60405180910390fd5b346000036107905760405162461bcd60e51b815260206004820152600f60248201526e043616e6e6f74207375626d6974203608c1b6044820152606401610745565b604051631a895faf60e21b81526001600160a01b0382811660048301523460248301527f00000000000000000000000000000000000000000000000000000000000000001690636a257ebc90604401600060405180830381600087803b1580156107f957600080fd5b505af115801561080d573d6000803e3d6000fd5b50505050600060065460001461085357620f42406006543461082f9190612a21565b6108399190612a40565b9050806007600082825461084d9190612a62565b90915550505b60408051348152602081018390526001600160a01b0384169133917f29b3e86ecfd94a32218997c40b051e650e4fd8c97fc7a4d266be3f7c61c5205b910160405180910390a3506108a46001600555565b50565b6000546001600160a01b031633146109195760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b6064820152608401610745565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b610976612286565b600954610100900460ff16156109ce5760405162461bcd60e51b815260206004820152601860248201527f4465706f736974696e67204554482069732070617573656400000000000000006044820152606401610745565b60006801bc16d674ec800000600754476109e89190612a75565b6109f29190612a40565b905060008111610a445760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f7567682045544820696e20636f6e74726163740000000000006044820152606401610745565b806000839003610a55575080610a60565b82821115610a605750815b60005b81811015610c1257600080600080610a796122df565b9350935093509350600884604051610a919190612a88565b9081526040519081900360200190205460ff1615610af15760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f7220616c72656164792068617320333220455448000000006044820152606401610745565b6040516304512a2360e31b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906322895118906801bc16d674ec80000090610b4e908890889088908890600401612850565b6000604051808303818588803b158015610b6757600080fd5b505af1158015610b7b573d6000803e3d6000fd5b50505050506001600885604051610b929190612a88565b908152604051908190036020018120805492151560ff1990931692909217909155610bbe908590612a88565b60405180910390207f4d312bd9aebc53f5bfad5cc169f41e65030288ef6b769786d43998abfb69a25084604051610bf59190612aa4565b60405180910390a25050505080610c0b90612ab7565b9050610a63565b5050506108a46001600555565b6004546001600160a01b0316331480610c4257506000546001600160a01b031633145b610c5e5760405162461bcd60e51b815260040161074590612ad0565b600060028381548110610c7357610c73612aff565b9060005260206000209060030201604051806060016040529081600082018054610c9c90612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc890612b15565b8015610d155780601f10610cea57610100808354040283529160200191610d15565b820191906000526020600020905b815481529060010190602001808311610cf857829003601f168201915b50505050508152602001600182018054610d2e90612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5a90612b15565b8015610da75780601f10610d7c57610100808354040283529160200191610da7565b820191906000526020600020905b815481529060010190602001808311610d8a57829003601f168201915b505050505081526020016002820154815250509050600060028381548110610dd157610dd1612aff565b9060005260206000209060030201604051806060016040529081600082018054610dfa90612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2690612b15565b8015610e735780601f10610e4857610100808354040283529160200191610e73565b820191906000526020600020905b815481529060010190602001808311610e5657829003601f168201915b50505050508152602001600182018054610e8c90612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb890612b15565b8015610f055780601f10610eda57610100808354040283529160200191610f05565b820191906000526020600020905b815481529060010190602001808311610ee857829003601f168201915b5050505050815260200160028201548152505090508160028481548110610f2e57610f2e612aff565b600091825260209091208251600390920201908190610f4d9082612bb3565b5060208201516001820190610f629082612bb3565b50604082015181600201559050508060028581548110610f8457610f84612aff565b600091825260209091208251600390920201908190610fa39082612bb3565b5060208201516001820190610fb89082612bb3565b506040918201516002909101558251825191517f03f1d229173cc08c7c85f7dcd914724184489590489ed1d27b31afb31013506192610ffb929188908890612c6d565b60405180910390a150505050565b6004546001600160a01b031633148061102c57506000546001600160a01b031633145b6110485760405162461bcd60e51b815260040161074590612ad0565b600254156110985760405162461bcd60e51b815260206004820152601b60248201527f436c6561722076616c696461746f7220617272617920666972737400000000006044820152606401610745565b60036110a48282612bb3565b507f8ba040512c1273086ac3dc9e59c32b9fc104064d6df4c3747fec10e029bc3fba816040516109639190612aa4565b6004546001600160a01b03163314806110f757506000546001600160a01b031633145b6111135760405162461bcd60e51b815260040161074590612ad0565b6007548111156111715760405162461bcd60e51b815260206004820152602360248201527f4e6f7420656e6f756768207769746868656c642045544820696e20636f6e74726044820152621858dd60ea1b6064820152608401610745565b80600760008282546111839190612a75565b90915550506040516000906001600160a01b0384169083908381818185875af1925050503d80600081146111d3576040519150601f19603f3d011682016040523d82523d6000602084013e6111d8565b606091505b505090508061121c5760405162461bcd60e51b815260206004820152601060248201526f24b73b30b634b2103a3930b739b332b960811b6044820152606401610745565b826001600160a01b03167f60b677b352dc4c2f8482a85e1557d78515c38e3f3671be950a8357db6f563b9b8360405161125791815260200190565b60405180910390a2505050565b6004546001600160a01b031633148061128757506000546001600160a01b031633145b6112a35760405162461bcd60e51b815260040161074590612ad0565b6002805460018101825560009190915281906003027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace016112e48282612daf565b507f56fee40578122d6872c25c03569653f7c3535363d7c04df91aa93806113b50c190506113128280612ca6565b600360405161096393929190612e9c565b600061132e306106fb565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301523460248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b3906044016020604051808303816000875af11580156113bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e09190612f56565b50604051636e553f6560e01b81523460048201526001600160a01b0383811660248301526000917f000000000000000000000000000000000000000000000000000000000000000090911690636e553f65906044016020604051808303816000875af1158015611454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114789190612f73565b9050600081116114ca5760405162461bcd60e51b815260206004820152601760248201527f4e6f2073667278455448207761732072657475726e65640000000000000000006044820152606401610745565b92915050565b6114d9336106fb565b565b6001546001600160a01b031633146115535760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b6064820152608401610745565b600054600154604080516001600160a01b0393841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6004546001600160a01b03163314806115e857506000546001600160a01b031633145b6116045760405162461bcd60e51b815260040161074590612ad0565b60005460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015611657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167b9190612f56565b6116c75760405162461bcd60e51b815260206004820152601d60248201527f7265636f76657245524332303a205472616e73666572206661696c65640000006044820152606401610745565b604080516001600160a01b0384168152602081018390527f2178cd1256ad9200080414ad733212aa6401e6a74954264b7654e671db074f5691015b60405180910390a15050565b6004546001600160a01b031633148061173157506000546001600160a01b031633145b61174d5760405162461bcd60e51b815260040161074590612ad0565b6117596002600061259f565b6040517fbf5f94bdb8a562775e85a1990f734d669663e8de3b240d56ec4b1f71ca66b00790600090a1565b6004546001600160a01b03163314806117a757506000546001600160a01b031633145b6117c35760405162461bcd60e51b815260040161074590612ad0565b620f42408111156118165760405162461bcd60e51b815260206004820152601960248201527f526174696f2063616e6e6f7420737572706173732031303025000000000000006044820152606401610745565b60068190556040518181527f9d9f4a1fa43ffde666e23300e98e21e37dccd7f33bb238071f5341a53f346f9390602001610963565b6004546001600160a01b031633148061186e57506000546001600160a01b031633145b61188a5760405162461bcd60e51b815260040161074590612ad0565b60005b818110156118f05760028054806118a6576118a6612f8c565b600082815260208120600019909201916003830201906118c682826125c0565b6118d46001830160006125c0565b5060006002919091015590556118e981612ab7565b905061188d565b506040518181527f03ed6e686bcf321d69427b429b8e18745c96afc0ba4e6c7eb1f3aefaff088cf390602001610963565b6004546001600160a01b031633148061194457506000546001600160a01b031633145b6119605760405162461bcd60e51b815260040161074590612ad0565b6009805460ff8082161560ff1990921682179092556040519116151581527f4aff1af3f32e78f88c86566e6b50fe05d6ba3d9c7374e042ac17e5191c5fac56906020015b60405180910390a1565b6060806060600080600286815481106119c9576119c9612aff565b90600052602060002090600302016040518060600160405290816000820180546119f290612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1e90612b15565b8015611a6b5780601f10611a4057610100808354040283529160200191611a6b565b820191906000526020600020905b815481529060010190602001808311611a4e57829003601f168201915b50505050508152602001600182018054611a8490612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab090612b15565b8015611afd5780601f10611ad257610100808354040283529160200191611afd565b820191906000526020600020905b815481529060010190602001808311611ae057829003601f168201915b5050505050815260200160028201548152505090508060000151945060038054611b2690612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5290612b15565b8015611b9f5780601f10611b7457610100808354040283529160200191611b9f565b820191906000526020600020905b815481529060010190602001808311611b8257829003601f168201915b505050505093508060200151925080604001519150509193509193565b6004546001600160a01b0316331480611bdf57506000546001600160a01b031633145b611bfb5760405162461bcd60e51b815260040161074590612ad0565b6009805460ff610100808304821615810261ff001990931692909217928390556040517fcead0025c428cc6485390ecd2b3213d7a3d44d3f190a3b880ba9025521365706936119a49390049091161515815260200190565b6004546001600160a01b0316331480611c7657506000546001600160a01b031633145b611c925760405162461bcd60e51b815260040161074590612ad0565b6001600160a01b038116611ce05760405162461bcd60e51b815260206004820152601560248201527416995c9bc81859191c995cdcc819195d1958dd1959605a1b6044820152606401610745565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527ff02fdf7b40fb25784d39342249bbb15cee2bc0288f75ded1cf8ad2e63d4d91aa90602001610963565b6108a4816106fb565b6004546001600160a01b0316331480611d5a57506000546001600160a01b031633145b611d765760405162461bcd60e51b815260040161074590612ad0565b600080546040516001600160a01b039091169083908381818185875af1925050503d8060008114611dc3576040519150601f19603f3d011682016040523d82523d6000602084013e611dc8565b606091505b5050905080611e0c5760405162461bcd60e51b815260206004820152601060248201526f24b73b30b634b2103a3930b739b332b960811b6044820152606401610745565b6040518281527f040130779a9eeca4469ba7b0c5223a65f424ea2a23f9b9ee336afd7905ef68b490602001611702565b6004546001600160a01b0316331480611e5f57506000546001600160a01b031633145b611e7b5760405162461bcd60e51b815260040161074590612ad0565b600060028381548110611e9057611e90612aff565b90600052602060002090600302016000018054611eac90612b15565b80601f0160208091040260200160405190810160405280929190818152602001828054611ed890612b15565b8015611f255780601f10611efa57610100808354040283529160200191611f25565b820191906000526020600020905b815481529060010190602001808311611f0857829003601f168201915b505050505090508115611f9757600254611f4790849061030390600190612a75565b6002805480611f5857611f58612f8c565b60008281526020812060001990920191600383020190611f7882826125c0565b611f866001830160006125c0565b6002820160009055505090556121be565b60006002805480602002602001604051908101604052809291908181526020016000905b8282101561211b5783829060005260206000209060030201604051806060016040529081600082018054611fee90612b15565b80601f016020809104026020016040519081016040528092919081815260200182805461201a90612b15565b80156120675780601f1061203c57610100808354040283529160200191612067565b820191906000526020600020905b81548152906001019060200180831161204a57829003601f168201915b5050505050815260200160018201805461208090612b15565b80601f01602080910402602001604051908101604052809291908181526020018280546120ac90612b15565b80156120f95780601f106120ce576101008083540402835291602001916120f9565b820191906000526020600020905b8154815290600101906020018083116120dc57829003601f168201915b5050505050815260200160028201548152505081526020019060010190611fbb565b5050505090506002600061212f919061259f565b60005b81518110156121bb578481146121ab57600282828151811061215657612156612aff565b602090810291909101810151825460018101845560009384529190922082516003909202019081906121889082612bb3565b506020820151600182019061219d9082612bb3565b506040820151816002015550505b6121b481612ab7565b9050612132565b50505b7f0d69d6651f1449a1038428f2773f275a39ef104c76bf46970cdffdbbe1496c518184846040516121f193929190612fa2565b60405180910390a1505050565b6004546001600160a01b031633148061222157506000546001600160a01b031633145b61223d5760405162461bcd60e51b815260040161074590612ad0565b8060005b818110156122805761227084848381811061225e5761225e612aff565b905060200281019061038e9190612fcc565b61227981612ab7565b9050612241565b50505050565b6002600554036122d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610745565b6002600555565b60608060606000806122f060025490565b9050806000036123425760405162461bcd60e51b815260206004820152601860248201527f56616c696461746f7220737461636b20697320656d70747900000000000000006044820152606401610745565b60006002612351600184612a75565b8154811061236157612361612aff565b906000526020600020906003020160405180606001604052908160008201805461238a90612b15565b80601f01602080910402602001604051908101604052809291908181526020018280546123b690612b15565b80156124035780601f106123d857610100808354040283529160200191612403565b820191906000526020600020905b8154815290600101906020018083116123e657829003601f168201915b5050505050815260200160018201805461241c90612b15565b80601f016020809104026020016040519081016040528092919081815260200182805461244890612b15565b80156124955780601f1061246a57610100808354040283529160200191612495565b820191906000526020600020905b81548152906001019060200180831161247857829003601f168201915b50505050508152602001600282015481525050905060028054806124bb576124bb612f8c565b600082815260208120600019909201916003830201906124db82826125c0565b6124e96001830160006125c0565b600282016000905550509055806000015195506003805461250990612b15565b80601f016020809104026020016040519081016040528092919081815260200182805461253590612b15565b80156125825780601f1061255757610100808354040283529160200191612582565b820191906000526020600020905b81548152906001019060200180831161256557829003601f168201915b505050505094508060200151935080604001519250505090919293565b50805460008255600302906000526020600020908101906108a491906125fa565b5080546125cc90612b15565b6000825580601f106125dc575050565b601f0160209004906000526020600020908101906108a49190612630565b8082111561262c57600061260e82826125c0565b61261c6001830160006125c0565b50600060028201556003016125fa565b5090565b5b8082111561262c5760008155600101612631565b6001600160a01b03811681146108a457600080fd5b60006020828403121561266c57600080fd5b813561267781612645565b9392505050565b60006020828403121561269057600080fd5b5035919050565b600080604083850312156126aa57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126126e057600080fd5b813567ffffffffffffffff808211156126fb576126fb6126b9565b604051601f8301601f19908116603f01168101908282118183101715612723576127236126b9565b8160405283815286602085880101111561273c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561276e57600080fd5b813567ffffffffffffffff81111561278557600080fd5b612791848285016126cf565b949350505050565b600080604083850312156127ac57600080fd5b82356127b781612645565b946020939093013593505050565b6000602082840312156127d757600080fd5b813567ffffffffffffffff8111156127ee57600080fd5b82016060818503121561267757600080fd5b60005b8381101561281b578181015183820152602001612803565b50506000910152565b6000815180845261283c816020860160208601612800565b601f01601f19169290920160200192915050565b6080815260006128636080830187612824565b82810360208401526128758187612824565b905082810360408401526128898186612824565b91505082606083015295945050505050565b6000806000606084860312156128b057600080fd5b833567ffffffffffffffff808211156128c857600080fd5b6128d4878388016126cf565b945060208601359150808211156128ea57600080fd5b506128f7868287016126cf565b925050604084013590509250925092565b6020815260008251606060208401526129246080840182612824565b90506020840151601f198483030160408501526129418282612824565b915050604084015160608401528091505092915050565b80151581146108a457600080fd5b6000806040838503121561297957600080fd5b82359150602083013561298b81612958565b809150509250929050565b600080602083850312156129a957600080fd5b823567ffffffffffffffff808211156129c157600080fd5b818501915085601f8301126129d557600080fd5b8135818111156129e457600080fd5b8660208260051b85010111156129f957600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612a3b57612a3b612a0b565b500290565b600082612a5d57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156114ca576114ca612a0b565b818103818111156114ca576114ca612a0b565b60008251612a9a818460208701612800565b9190910192915050565b6020815260006126776020830184612824565b600060018201612ac957612ac9612a0b565b5060010190565b6020808252601590820152744e6f74206f776e6572206f722074696d656c6f636b60581b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600181811c90821680612b2957607f821691505b602082108103612b4957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115612b9957600081815260208120601f850160051c81016020861015612b765750805b601f850160051c820191505b81811015612b9557828155600101612b82565b5050505b505050565b600019600383901b1c191660019190911b1790565b815167ffffffffffffffff811115612bcd57612bcd6126b9565b612be181612bdb8454612b15565b84612b4f565b602080601f831160018114612c105760008415612bfe5750858301515b612c088582612b9e565b865550612b95565b600085815260208120601f198616915b82811015612c3f57888601518255948401946001909101908401612c20565b5085821015612c5d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608081526000612c806080830187612824565b8281036020840152612c928187612824565b604084019590955250506060015292915050565b6000808335601e19843603018112612cbd57600080fd5b83018035915067ffffffffffffffff821115612cd857600080fd5b602001915036819003821315612ced57600080fd5b9250929050565b67ffffffffffffffff831115612d0c57612d0c6126b9565b612d2083612d1a8354612b15565b83612b4f565b6000601f841160018114612d4e5760008515612d3c5750838201355b612d468682612b9e565b845550612da8565b600083815260209020601f19861690835b82811015612d7f5786850135825560209485019460019092019101612d5f565b5086821015612d9c5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b612db98283612ca6565b67ffffffffffffffff811115612dd157612dd16126b9565b612de581612ddf8554612b15565b85612b4f565b6000601f821160018114612e135760008315612e015750838201355b612e0b8482612b9e565b865550612e6d565b600085815260209020601f19841690835b82811015612e445786850135825560209485019460019092019101612e24565b5084821015612e615760001960f88660031b161c19848701351681555b505060018360011b0185555b50505050612e7e6020830183612ca6565b612e8c818360018601612cf4565b5050604082013560028201555050565b60408152826040820152828460608301376000606084830101526000601f19601f850116820160206060848303018185015260008554612edb81612b15565b8060608601526080600180841660008114612efd5760018114612f1757612f45565b60ff1985168884015283151560051b880183019550612f45565b8a6000528660002060005b85811015612f3d5781548a8201860152908301908801612f22565b890184019650505b50939b9a5050505050505050505050565b600060208284031215612f6857600080fd5b815161267781612958565b600060208284031215612f8557600080fd5b5051919050565b634e487b7160e01b600052603160045260246000fd5b606081526000612fb56060830186612824565b602083019490945250901515604090910152919050565b60008235605e19833603018112612a9a57600080fdfea26469706673582212201949e249f47d5b13c9d780365e79bd871f01ab1b94020f1f47096d1d9871857e64736f6c6343000810003300000000000000000000000000000000219ab540356cbb839cbe05303d7705fa0000000000000000000000005e8422345238f34275888049021821e8e08caa1f000000000000000000000000ac3e018457b222d93114458476f3e3416abbe38f000000000000000000000000b1748c79709f4ba2dd82834b8c82d4a505003f270000000000000000000000008412ebf45bac1b340bbe8f318b928c466c4e39ca00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020010000000000000000000000b1748c79709f4ba2dd82834b8c82d4a505003f27"}]} \ No newline at end of file diff --git a/tests/cachedrpc/f1556bf6a0ad7f9eb4a590082a8aa13470b6458f915560da786665beebdbee66 b/tests/cachedrpc/f1556bf6a0ad7f9eb4a590082a8aa13470b6458f915560da786665beebdbee66 new file mode 100644 index 00000000..31e614f2 --- /dev/null +++ b/tests/cachedrpc/f1556bf6a0ad7f9eb4a590082a8aa13470b6458f915560da786665beebdbee66 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x8306300ffd616049fd7e4b0354a64da835c1a81c","contractCreator":"0xf4e1d185666a624099298fcc42c50ba662dc7e52","txHash":"0x4bbf972b4ccbf4c8a6df49c2565459f04ea5833e0383c3a16f8225400d7839b8","blockNumber":"15691435","timestamp":"1665087971","contractFactory":"0xa6b71e26c5e0845f74c812102ca7114b6a896ab2","creationBytecode":"0x608060405234801561001057600080fd5b506040516101e63803806101e68339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806101c46022913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505060ab806101196000396000f3fe608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea2646970667358221220d1429297349653a4918076d650332de1a1068c5f3e07c5c82360c277770b955264736f6c63430007060033496e76616c69642073696e676c65746f6e20616464726573732070726f7669646564000000000000000000000000d9db270c1b5e3bd161e8c8503c55ceabee709552"}]} \ No newline at end of file diff --git a/tests/cachedrpc/f7054fdc93df2a6599673f23ed593afea62ab9fc96acdbca5821906f90f32067 b/tests/cachedrpc/f7054fdc93df2a6599673f23ed593afea62ab9fc96acdbca5821906f90f32067 new file mode 100644 index 00000000..3e6c4b48 --- /dev/null +++ b/tests/cachedrpc/f7054fdc93df2a6599673f23ed593afea62ab9fc96acdbca5821906f90f32067 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"contractAddress":"0x514910771af9ca656af840dff83e8264ecf986ca","contractCreator":"0xf55037738604fddfc4043d12f25124e94d7d1780","txHash":"0x5488510df045770efbff57f25d0c6d2c1404d58c1199b21eb8dc5072b22d91d7","blockNumber":"4281611","timestamp":"1505597189","contractFactory":"","creationBytecode":"0x6060604052341561000f57600080fd5b5b600160a060020a03331660009081526001602052604090206b033b2e3c9fd0803ce800000090555b5b610c51806100486000396000f300606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100bc578063095ea7b31461014757806318160ddd1461017d57806323b872dd146101a2578063313ce567146101de5780634000aea014610207578063661884631461028057806370a08231146102b657806395d89b41146102e7578063a9059cbb14610372578063d73dd623146103a8578063dd62ed3e146103de575b600080fd5b34156100c757600080fd5b6100cf610415565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015257600080fd5b610169600160a060020a036004351660243561044c565b604051901515815260200160405180910390f35b341561018857600080fd5b610190610499565b60405190815260200160405180910390f35b34156101ad57600080fd5b610169600160a060020a03600435811690602435166044356104a9565b604051901515815260200160405180910390f35b34156101e957600080fd5b6101f16104f8565b60405160ff909116815260200160405180910390f35b341561021257600080fd5b61016960048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506104fd95505050505050565b604051901515815260200160405180910390f35b341561028b57600080fd5b610169600160a060020a036004351660243561054c565b604051901515815260200160405180910390f35b34156102c157600080fd5b610190600160a060020a0360043516610648565b60405190815260200160405180910390f35b34156102f257600080fd5b6100cf610667565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037d57600080fd5b610169600160a060020a036004351660243561069e565b604051901515815260200160405180910390f35b34156103b357600080fd5b610169600160a060020a03600435166024356106eb565b604051901515815260200160405180910390f35b34156103e957600080fd5b610190600160a060020a0360043581169060243516610790565b60405190815260200160405180910390f35b60408051908101604052600f81527f436861696e4c696e6b20546f6b656e0000000000000000000000000000000000602082015281565b600082600160a060020a03811615801590610479575030600160a060020a031681600160a060020a031614155b151561048457600080fd5b61048e84846107bd565b91505b5b5092915050565b6b033b2e3c9fd0803ce800000081565b600082600160a060020a038116158015906104d6575030600160a060020a031681600160a060020a031614155b15156104e157600080fd5b6104ec85858561082a565b91505b5b509392505050565b601281565b600083600160a060020a0381161580159061052a575030600160a060020a031681600160a060020a031614155b151561053557600080fd5b6104ec85858561093c565b91505b5b509392505050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156105a957600160a060020a0333811660009081526002602090815260408083209388168352929052908120556105e0565b6105b9818463ffffffff610a2316565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600191505b5092915050565b600160a060020a0381166000908152600160205260409020545b919050565b60408051908101604052600481527f4c494e4b00000000000000000000000000000000000000000000000000000000602082015281565b600082600160a060020a038116158015906106cb575030600160a060020a031681600160a060020a031614155b15156106d657600080fd5b61048e8484610a3a565b91505b5b5092915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610723908363ffffffff610afa16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a35060015b92915050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b600160a060020a03808416600081815260026020908152604080832033909516835293815283822054928252600190529182205461086e908463ffffffff610a2316565b600160a060020a0380871660009081526001602052604080822093909355908616815220546108a3908463ffffffff610afa16565b600160a060020a0385166000908152600160205260409020556108cc818463ffffffff610a2316565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b60006109488484610a3a565b5083600160a060020a031633600160a060020a03167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16858560405182815260406020820181815290820183818151815260200191508051906020019080838360005b838110156109c35780820151818401525b6020016109aa565b50505050905090810190601f1680156109f05780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3610a0784610b14565b15610a1757610a17848484610b23565b5b5060015b9392505050565b600082821115610a2f57fe5b508082035b92915050565b600160a060020a033316600090815260016020526040812054610a63908363ffffffff610a2316565b600160a060020a033381166000908152600160205260408082209390935590851681522054610a98908363ffffffff610afa16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b600082820183811015610b0957fe5b8091505b5092915050565b6000813b908111905b50919050565b82600160a060020a03811663a4c0ed363385856040518463ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610bbd5780820151818401525b602001610ba4565b50505050905090810190601f168015610bea5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b1515610c0a57600080fd5b6102c65a03f11515610c1b57600080fd5b5050505b505050505600a165627a7a72305820c5f438ff94e5ddaf2058efa0019e246c636c37a622e04bb67827c7374acad8d60029"}]} \ No newline at end of file diff --git a/tests/cachedrpc/f85423962629c30e3e3fb5009538d506d22952419b7579b620ae8770fdd93a93 b/tests/cachedrpc/f85423962629c30e3e3fb5009538d506d22952419b7579b620ae8770fdd93a93 new file mode 100644 index 00000000..4996333d --- /dev/null +++ b/tests/cachedrpc/f85423962629c30e3e3fb5009538d506d22952419b7579b620ae8770fdd93a93 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"// Sources flattened with hardhat v2.0.2 https://hardhat.org\r\n\r\n// File @openzeppelin/contracts/GSN/Context.sol@v3.3.0-solc-0.7\r\n\r\n// SPDX-License-Identifier: MIT\r\n\r\npragma solidity ^0.7.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v3.3.0-solc-0.7\r\n\r\npragma solidity ^0.7.0;\r\n\r\n/**\r\n * @dev Interface of the ERC20 standard as defined in the EIP.\r\n */\r\ninterface IERC20 {\r\n /**\r\n * @dev Returns the amount of tokens in existence.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns the amount of tokens owned by `account`.\r\n */\r\n function balanceOf(address account) external view returns (uint256);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transfer(address recipient, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Returns the remaining number of tokens that `spender` will be\r\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\r\n * zero by default.\r\n *\r\n * This value changes when {approve} or {transferFrom} are called.\r\n */\r\n function allowance(address owner, address spender) external view returns (uint256);\r\n\r\n /**\r\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\r\n * that someone may use both the old and the new allowance by unfortunate\r\n * transaction ordering. One possible solution to mitigate this race\r\n * condition is to first reduce the spender's allowance to 0 and set the\r\n * desired value afterwards:\r\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address spender, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\r\n * allowance mechanism. `amount` is then deducted from the caller's\r\n * allowance.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\r\n * another (`to`).\r\n *\r\n * Note that `value` may be zero.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n\r\n /**\r\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\r\n * a call to {approve}. `value` is the new allowance.\r\n */\r\n event Approval(address indexed owner, address indexed spender, uint256 value);\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/math/SafeMath.sol@v3.3.0-solc-0.7\r\n\r\npragma solidity ^0.7.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return sub(a, b, \"SafeMath: subtraction overflow\");\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n uint256 c = a - b;\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) {\r\n return 0;\r\n }\r\n\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers. Reverts on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return div(a, b, \"SafeMath: division by zero\");\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n uint256 c = a / b;\r\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * Reverts when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return mod(a, b, \"SafeMath: modulo by zero\");\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * Reverts with custom message when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b != 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/token/ERC20/ERC20.sol@v3.3.0-solc-0.7\r\n\r\npragma solidity ^0.7.0;\r\n\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC20} interface.\r\n *\r\n * This implementation is agnostic to the way tokens are created. This means\r\n * that a supply mechanism has to be added in a derived contract using {_mint}.\r\n * For a generic mechanism see {ERC20PresetMinterPauser}.\r\n *\r\n * TIP: For a detailed writeup see our guide\r\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\r\n * to implement supply mechanisms].\r\n *\r\n * We have followed general OpenZeppelin guidelines: functions revert instead\r\n * of returning `false` on failure. This behavior is nonetheless conventional\r\n * and does not conflict with the expectations of ERC20 applications.\r\n *\r\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\r\n * This allows applications to reconstruct the allowance for all accounts just\r\n * by listening to said events. Other implementations of the EIP may not emit\r\n * these events, as it isn't required by the specification.\r\n *\r\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\r\n * functions have been added to mitigate the well-known issues around setting\r\n * allowances. See {IERC20-approve}.\r\n */\r\ncontract ERC20 is Context, IERC20 {\r\n using SafeMath for uint256;\r\n\r\n mapping (address => uint256) private _balances;\r\n\r\n mapping (address => mapping (address => uint256)) private _allowances;\r\n\r\n uint256 private _totalSupply;\r\n\r\n string private _name;\r\n string private _symbol;\r\n uint8 private _decimals;\r\n\r\n /**\r\n * @dev Sets the values for {name} and {symbol}, initializes {decimals} with\r\n * a default value of 18.\r\n *\r\n * To select a different value for {decimals}, use {_setupDecimals}.\r\n *\r\n * All three of these values are immutable: they can only be set once during\r\n * construction.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n _decimals = 18;\r\n }\r\n\r\n /**\r\n * @dev Returns the name of the token.\r\n */\r\n function name() public view returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev Returns the symbol of the token, usually a shorter version of the\r\n * name.\r\n */\r\n function symbol() public view returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of decimals used to get its user representation.\r\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\r\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\r\n *\r\n * Tokens usually opt for a value of 18, imitating the relationship between\r\n * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\r\n * called.\r\n *\r\n * NOTE: This information is only used for _display_ purposes: it in\r\n * no way affects any of the arithmetic of the contract, including\r\n * {IERC20-balanceOf} and {IERC20-transfer}.\r\n */\r\n function decimals() public view returns (uint8) {\r\n return _decimals;\r\n }\r\n\r\n /**\r\n * @dev See {IERC20-totalSupply}.\r\n */\r\n function totalSupply() public view override returns (uint256) {\r\n return _totalSupply;\r\n }\r\n\r\n /**\r\n * @dev See {IERC20-balanceOf}.\r\n */\r\n function balanceOf(address account) public view override returns (uint256) {\r\n return _balances[account];\r\n }\r\n\r\n /**\r\n * @dev See {IERC20-transfer}.\r\n *\r\n * Requirements:\r\n *\r\n * - `recipient` cannot be the zero address.\r\n * - the caller must have a balance of at least `amount`.\r\n */\r\n function transfer(address recipient, uint256 amount) public virtual override returns (bool) {\r\n _transfer(_msgSender(), recipient, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev See {IERC20-allowance}.\r\n */\r\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\r\n return _allowances[owner][spender];\r\n }\r\n\r\n /**\r\n * @dev See {IERC20-approve}.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n */\r\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\r\n _approve(_msgSender(), spender, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev See {IERC20-transferFrom}.\r\n *\r\n * Emits an {Approval} event indicating the updated allowance. This is not\r\n * required by the EIP. See the note at the beginning of {ERC20}.\r\n *\r\n * Requirements:\r\n *\r\n * - `sender` and `recipient` cannot be the zero address.\r\n * - `sender` must have a balance of at least `amount`.\r\n * - the caller must have allowance for ``sender``'s tokens of at least\r\n * `amount`.\r\n */\r\n function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {\r\n _transfer(sender, recipient, amount);\r\n _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, \"ERC20: transfer amount exceeds allowance\"));\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Atomically increases the allowance granted to `spender` by the caller.\r\n *\r\n * This is an alternative to {approve} that can be used as a mitigation for\r\n * problems described in {IERC20-approve}.\r\n *\r\n * Emits an {Approval} event indicating the updated allowance.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n */\r\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\r\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\r\n *\r\n * This is an alternative to {approve} that can be used as a mitigation for\r\n * problems described in {IERC20-approve}.\r\n *\r\n * Emits an {Approval} event indicating the updated allowance.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n * - `spender` must have allowance for the caller of at least\r\n * `subtractedValue`.\r\n */\r\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\r\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, \"ERC20: decreased allowance below zero\"));\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Moves tokens `amount` from `sender` to `recipient`.\r\n *\r\n * This is internal function is equivalent to {transfer}, and can be used to\r\n * e.g. implement automatic token fees, slashing mechanisms, etc.\r\n *\r\n * Emits a {Transfer} event.\r\n *\r\n * Requirements:\r\n *\r\n * - `sender` cannot be the zero address.\r\n * - `recipient` cannot be the zero address.\r\n * - `sender` must have a balance of at least `amount`.\r\n */\r\n function _transfer(address sender, address recipient, uint256 amount) internal virtual {\r\n require(sender != address(0), \"ERC20: transfer from the zero address\");\r\n require(recipient != address(0), \"ERC20: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(sender, recipient, amount);\r\n\r\n _balances[sender] = _balances[sender].sub(amount, \"ERC20: transfer amount exceeds balance\");\r\n _balances[recipient] = _balances[recipient].add(amount);\r\n emit Transfer(sender, recipient, amount);\r\n }\r\n\r\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\r\n * the total supply.\r\n *\r\n * Emits a {Transfer} event with `from` set to the zero address.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n */\r\n function _mint(address account, uint256 amount) internal virtual {\r\n require(account != address(0), \"ERC20: mint to the zero address\");\r\n\r\n _beforeTokenTransfer(address(0), account, amount);\r\n\r\n _totalSupply = _totalSupply.add(amount);\r\n _balances[account] = _balances[account].add(amount);\r\n emit Transfer(address(0), account, amount);\r\n }\r\n\r\n /**\r\n * @dev Destroys `amount` tokens from `account`, reducing the\r\n * total supply.\r\n *\r\n * Emits a {Transfer} event with `to` set to the zero address.\r\n *\r\n * Requirements:\r\n *\r\n * - `account` cannot be the zero address.\r\n * - `account` must have at least `amount` tokens.\r\n */\r\n function _burn(address account, uint256 amount) internal virtual {\r\n require(account != address(0), \"ERC20: burn from the zero address\");\r\n\r\n _beforeTokenTransfer(account, address(0), amount);\r\n\r\n _balances[account] = _balances[account].sub(amount, \"ERC20: burn amount exceeds balance\");\r\n _totalSupply = _totalSupply.sub(amount);\r\n emit Transfer(account, address(0), amount);\r\n }\r\n\r\n /**\r\n * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\r\n *\r\n * This internal function is equivalent to `approve`, and can be used to\r\n * e.g. set automatic allowances for certain subsystems, etc.\r\n *\r\n * Emits an {Approval} event.\r\n *\r\n * Requirements:\r\n *\r\n * - `owner` cannot be the zero address.\r\n * - `spender` cannot be the zero address.\r\n */\r\n function _approve(address owner, address spender, uint256 amount) internal virtual {\r\n require(owner != address(0), \"ERC20: approve from the zero address\");\r\n require(spender != address(0), \"ERC20: approve to the zero address\");\r\n\r\n _allowances[owner][spender] = amount;\r\n emit Approval(owner, spender, amount);\r\n }\r\n\r\n /**\r\n * @dev Sets {decimals} to a value other than the default one of 18.\r\n *\r\n * WARNING: This function should only be called from the constructor. Most\r\n * applications that interact with token contracts will not expect\r\n * {decimals} to ever change, and may work incorrectly if it does.\r\n */\r\n function _setupDecimals(uint8 decimals_) internal {\r\n _decimals = decimals_;\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any transfer of tokens. This includes\r\n * minting and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\r\n * will be to transferred to `to`.\r\n * - when `from` is zero, `amount` tokens will be minted for `to`.\r\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\r\n * - `from` and `to` are never both zero.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/token/ERC20/ERC20Burnable.sol@v3.3.0-solc-0.7\r\n\r\npragma solidity ^0.7.0;\r\n\r\n\r\n/**\r\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\r\n * tokens and those that they have an allowance for, in a way that can be\r\n * recognized off-chain (via event analysis).\r\n */\r\nabstract contract ERC20Burnable is Context, ERC20 {\r\n using SafeMath for uint256;\r\n\r\n /**\r\n * @dev Destroys `amount` tokens from the caller.\r\n *\r\n * See {ERC20-_burn}.\r\n */\r\n function burn(uint256 amount) public virtual {\r\n _burn(_msgSender(), amount);\r\n }\r\n\r\n /**\r\n * @dev Destroys `amount` tokens from `account`, deducting from the caller's\r\n * allowance.\r\n *\r\n * See {ERC20-_burn} and {ERC20-allowance}.\r\n *\r\n * Requirements:\r\n *\r\n * - the caller must have allowance for ``accounts``'s tokens of at least\r\n * `amount`.\r\n */\r\n function burnFrom(address account, uint256 amount) public virtual {\r\n uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, \"ERC20: burn amount exceeds allowance\");\r\n\r\n _approve(account, _msgSender(), decreasedAllowance);\r\n _burn(account, amount);\r\n }\r\n}\r\n\r\n\r\n// File @openzeppelin/contracts/cryptography/ECDSA.sol@v3.3.0-solc-0.7\r\n\r\npragma solidity ^0.7.0;\r\n\r\n/**\r\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\r\n *\r\n * These functions can be used to verify that a message was signed by the holder\r\n * of the private keys of a given address.\r\n */\r\nlibrary ECDSA {\r\n /**\r\n * @dev Returns the address that signed a hashed message (`hash`) with\r\n * `signature`. This address can then be used for verification purposes.\r\n *\r\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\r\n * this function rejects them by requiring the `s` value to be in the lower\r\n * half order, and the `v` value to be either 27 or 28.\r\n *\r\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\r\n * verification to be secure: it is possible to craft signatures that\r\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\r\n * this is by receiving a hash of the original message (which may otherwise\r\n * be too long), and then calling {toEthSignedMessageHash} on it.\r\n */\r\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\r\n // Check the signature length\r\n if (signature.length != 65) {\r\n revert(\"ECDSA: invalid signature length\");\r\n }\r\n\r\n // Divide the signature in r, s and v variables\r\n bytes32 r;\r\n bytes32 s;\r\n uint8 v;\r\n\r\n // ecrecover takes the signature parameters, and the only way to get them\r\n // currently is to use assembly.\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n r := mload(add(signature, 0x20))\r\n s := mload(add(signature, 0x40))\r\n v := byte(0, mload(add(signature, 0x60)))\r\n }\r\n\r\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\r\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\r\n // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most\r\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\r\n //\r\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\r\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\r\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\r\n // these malleable signatures as well.\r\n require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, \"ECDSA: invalid signature 's' value\");\r\n require(v == 27 || v == 28, \"ECDSA: invalid signature 'v' value\");\r\n\r\n // If the signature is valid (and not malleable), return the signer address\r\n address signer = ecrecover(hash, v, r, s);\r\n require(signer != address(0), \"ECDSA: invalid signature\");\r\n\r\n return signer;\r\n }\r\n\r\n /**\r\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\r\n * replicates the behavior of the\r\n * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]\r\n * JSON-RPC method.\r\n *\r\n * See {recover}.\r\n */\r\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\r\n // 32 is the length in bytes of hash,\r\n // enforced by the type signature above\r\n return keccak256(abi.encodePacked(\"\\x19Ethereum Signed Message:\\n32\", hash));\r\n }\r\n}\r\n\r\n\r\n// File contracts/governance/Governed.sol\r\n\r\npragma solidity ^0.7.3;\r\n\r\n/**\r\n * @title Graph Governance contract\r\n * @dev All contracts that will be owned by a Governor entity should extend this contract.\r\n */\r\ncontract Governed {\r\n // -- State --\r\n\r\n address public governor;\r\n address public pendingGovernor;\r\n\r\n // -- Events --\r\n\r\n event NewPendingOwnership(address indexed from, address indexed to);\r\n event NewOwnership(address indexed from, address indexed to);\r\n\r\n /**\r\n * @dev Check if the caller is the governor.\r\n */\r\n modifier onlyGovernor {\r\n require(msg.sender == governor, \"Only Governor can call\");\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Initialize the governor to the contract caller.\r\n */\r\n function _initialize(address _initGovernor) internal {\r\n governor = _initGovernor;\r\n }\r\n\r\n /**\r\n * @dev Admin function to begin change of governor. The `_newGovernor` must call\r\n * `acceptOwnership` to finalize the transfer.\r\n * @param _newGovernor Address of new `governor`\r\n */\r\n function transferOwnership(address _newGovernor) external onlyGovernor {\r\n require(_newGovernor != address(0), \"Governor must be set\");\r\n\r\n address oldPendingGovernor = pendingGovernor;\r\n pendingGovernor = _newGovernor;\r\n\r\n emit NewPendingOwnership(oldPendingGovernor, pendingGovernor);\r\n }\r\n\r\n /**\r\n * @dev Admin function for pending governor to accept role and update governor.\r\n * This function must called by the pending governor.\r\n */\r\n function acceptOwnership() external {\r\n require(\r\n pendingGovernor != address(0) && msg.sender == pendingGovernor,\r\n \"Caller must be pending governor\"\r\n );\r\n\r\n address oldGovernor = governor;\r\n address oldPendingGovernor = pendingGovernor;\r\n\r\n governor = pendingGovernor;\r\n pendingGovernor = address(0);\r\n\r\n emit NewOwnership(oldGovernor, governor);\r\n emit NewPendingOwnership(oldPendingGovernor, pendingGovernor);\r\n }\r\n}\r\n\r\n\r\n// File contracts/token/GraphToken.sol\r\n\r\npragma solidity ^0.7.3;\r\n\r\n\r\n\r\n\r\n/**\r\n * @title GraphToken contract\r\n * @dev This is the implementation of the ERC20 Graph Token.\r\n * The implementation exposes a Permit() function to allow for a spender to send a signed message\r\n * and approve funds to a spender following EIP2612 to make integration with other contracts easier.\r\n *\r\n * The token is initially owned by the deployer address that can mint tokens to create the initial\r\n * distribution. For convenience, an initial supply can be passed in the constructor that will be\r\n * assigned to the deployer.\r\n *\r\n * The governor can add the RewardsManager contract to mint indexing rewards.\r\n *\r\n */\r\ncontract GraphToken is Governed, ERC20, ERC20Burnable {\r\n using SafeMath for uint256;\r\n\r\n // -- EIP712 --\r\n // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md#definition-of-domainseparator\r\n\r\n bytes32 private constant DOMAIN_TYPE_HASH = keccak256(\r\n \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract,bytes32 salt)\"\r\n );\r\n bytes32 private constant DOMAIN_NAME_HASH = keccak256(\"Graph Token\");\r\n bytes32 private constant DOMAIN_VERSION_HASH = keccak256(\"0\");\r\n bytes32\r\n private constant DOMAIN_SALT = 0x51f3d585afe6dfeb2af01bba0889a36c1db03beec88c6a4d0c53817069026afa; // Randomly generated salt\r\n bytes32 private constant PERMIT_TYPEHASH = keccak256(\r\n \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\"\r\n );\r\n\r\n // -- State --\r\n\r\n bytes32 private DOMAIN_SEPARATOR;\r\n mapping(address => bool) private _minters;\r\n mapping(address => uint256) public nonces;\r\n\r\n // -- Events --\r\n\r\n event MinterAdded(address indexed account);\r\n event MinterRemoved(address indexed account);\r\n\r\n modifier onlyMinter() {\r\n require(isMinter(msg.sender), \"Only minter can call\");\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Graph Token Contract Constructor.\r\n * @param _initialSupply Initial supply of GRT\r\n */\r\n constructor(uint256 _initialSupply) ERC20(\"Graph Token\", \"GRT\") {\r\n Governed._initialize(msg.sender);\r\n\r\n // The Governor has the initial supply of tokens\r\n _mint(msg.sender, _initialSupply);\r\n\r\n // The Governor is the default minter\r\n _addMinter(msg.sender);\r\n\r\n // EIP-712 domain separator\r\n DOMAIN_SEPARATOR = keccak256(\r\n abi.encode(\r\n DOMAIN_TYPE_HASH,\r\n DOMAIN_NAME_HASH,\r\n DOMAIN_VERSION_HASH,\r\n _getChainID(),\r\n address(this),\r\n DOMAIN_SALT\r\n )\r\n );\r\n }\r\n\r\n /**\r\n * @dev Approve token allowance by validating a message signed by the holder.\r\n * @param _owner Address of the token holder\r\n * @param _spender Address of the approved spender\r\n * @param _value Amount of tokens to approve the spender\r\n * @param _deadline Expiration time of the signed permit\r\n * @param _v Signature version\r\n * @param _r Signature r value\r\n * @param _s Signature s value\r\n */\r\n function permit(\r\n address _owner,\r\n address _spender,\r\n uint256 _value,\r\n uint256 _deadline,\r\n uint8 _v,\r\n bytes32 _r,\r\n bytes32 _s\r\n ) external {\r\n bytes32 digest = keccak256(\r\n abi.encodePacked(\r\n \"\\x19\\x01\",\r\n DOMAIN_SEPARATOR,\r\n keccak256(\r\n abi.encode(\r\n PERMIT_TYPEHASH,\r\n _owner,\r\n _spender,\r\n _value,\r\n nonces[_owner],\r\n _deadline\r\n )\r\n )\r\n )\r\n );\r\n nonces[_owner] = nonces[_owner].add(1);\r\n\r\n address recoveredAddress = ECDSA.recover(digest, abi.encodePacked(_r, _s, _v));\r\n require(_owner == recoveredAddress, \"GRT: invalid permit\");\r\n require(_deadline == 0 || block.timestamp <= _deadline, \"GRT: expired permit\");\r\n\r\n _approve(_owner, _spender, _value);\r\n }\r\n\r\n /**\r\n * @dev Add a new minter.\r\n * @param _account Address of the minter\r\n */\r\n function addMinter(address _account) external onlyGovernor {\r\n _addMinter(_account);\r\n }\r\n\r\n /**\r\n * @dev Remove a minter.\r\n * @param _account Address of the minter\r\n */\r\n function removeMinter(address _account) external onlyGovernor {\r\n _removeMinter(_account);\r\n }\r\n\r\n /**\r\n * @dev Renounce to be a minter.\r\n */\r\n function renounceMinter() external {\r\n _removeMinter(msg.sender);\r\n }\r\n\r\n /**\r\n * @dev Mint new tokens.\r\n * @param _to Address to send the newly minted tokens\r\n * @param _amount Amount of tokens to mint\r\n */\r\n function mint(address _to, uint256 _amount) external onlyMinter {\r\n _mint(_to, _amount);\r\n }\r\n\r\n /**\r\n * @dev Return if the `_account` is a minter or not.\r\n * @param _account Address to check\r\n * @return True if the `_account` is minter\r\n */\r\n function isMinter(address _account) public view returns (bool) {\r\n return _minters[_account];\r\n }\r\n\r\n /**\r\n * @dev Add a new minter.\r\n * @param _account Address of the minter\r\n */\r\n function _addMinter(address _account) private {\r\n _minters[_account] = true;\r\n emit MinterAdded(_account);\r\n }\r\n\r\n /**\r\n * @dev Remove a minter.\r\n * @param _account Address of the minter\r\n */\r\n function _removeMinter(address _account) private {\r\n _minters[_account] = false;\r\n emit MinterRemoved(_account);\r\n }\r\n\r\n /**\r\n * @dev Get the running network chain ID.\r\n * @return The chain ID\r\n */\r\n function _getChainID() private pure returns (uint256) {\r\n uint256 id;\r\n assembly {\r\n id := chainid()\r\n }\r\n return id;\r\n }\r\n}","ABI":"[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_initialSupply\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"MinterAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"MinterRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"NewOwnership\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"NewPendingOwnership\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingGovernor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"_v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"_r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"removeMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGovernor\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"GraphToken","CompilerVersion":"v0.7.4+commit.3f05b770","CompilerType":"solc","OptimizationUsed":"1","Runs":"200","ConstructorArguments":"0000000000000000000000000000000000000000204fce5e3e25026110000000","EVMVersion":"Default","Library":"","LicenseType":"MIT","Proxy":"0","Implementation":"","SwarmSource":"ipfs://28978c229b51c3a9489101e8096301e85866fa63b6ccbd95d247e376d1f54076","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/f8cb9421eaf2c2c00ea32fbccbfc1feab0e058b17efb8b4a5f4f42d3938ce5c8 b/tests/cachedrpc/f8cb9421eaf2c2c00ea32fbccbfc1feab0e058b17efb8b4a5f4f42d3938ce5c8 new file mode 100644 index 00000000..2350c133 --- /dev/null +++ b/tests/cachedrpc/f8cb9421eaf2c2c00ea32fbccbfc1feab0e058b17efb8b4a5f4f42d3938ce5c8 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"/**\r\n *Submitted for verification at Etherscan.io on 2019-08-02\r\n*/\r\n\r\n// File: contracts\\open-zeppelin-contracts\\token\\ERC20\\IERC20.sol\r\n\r\npragma solidity ^0.5.0;\r\n\r\n/**\r\n * @dev Interface of the ERC20 standard as defined in the EIP. Does not include\r\n * the optional functions; to access them see `ERC20Detailed`.\r\n */\r\ninterface IERC20 {\r\n /**\r\n * @dev Returns the amount of tokens in existence.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns the amount of tokens owned by `account`.\r\n */\r\n function balanceOf(address account) external view returns (uint256);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a `Transfer` event.\r\n */\r\n function transfer(address recipient, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Returns the remaining number of tokens that `spender` will be\r\n * allowed to spend on behalf of `owner` through `transferFrom`. This is\r\n * zero by default.\r\n *\r\n * This value changes when `approve` or `transferFrom` are called.\r\n */\r\n function allowance(address owner, address spender) external view returns (uint256);\r\n\r\n /**\r\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * > Beware that changing an allowance with this method brings the risk\r\n * that someone may use both the old and the new allowance by unfortunate\r\n * transaction ordering. One possible solution to mitigate this race\r\n * condition is to first reduce the spender's allowance to 0 and set the\r\n * desired value afterwards:\r\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n *\r\n * Emits an `Approval` event.\r\n */\r\n function approve(address spender, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\r\n * allowance mechanism. `amount` is then deducted from the caller's\r\n * allowance.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a `Transfer` event.\r\n */\r\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\r\n * another (`to`).\r\n *\r\n * Note that `value` may be zero.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n\r\n /**\r\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\r\n * a call to `approve`. `value` is the new allowance.\r\n */\r\n event Approval(address indexed owner, address indexed spender, uint256 value);\r\n}\r\n\r\n// File: contracts\\open-zeppelin-contracts\\math\\SafeMath.sol\r\n\r\npragma solidity ^0.5.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n uint256 c = a - b;\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\r\n if (a == 0) {\r\n return 0;\r\n }\r\n\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers. Reverts on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n // Solidity only automatically asserts when dividing by 0\r\n require(b > 0, \"SafeMath: division by zero\");\r\n uint256 c = a / b;\r\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * Reverts when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b != 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: contracts\\open-zeppelin-contracts\\token\\ERC20\\ERC20.sol\r\n\r\npragma solidity ^0.5.0;\r\n\r\n\r\n\r\n/**\r\n * @dev Implementation of the `IERC20` interface.\r\n *\r\n * This implementation is agnostic to the way tokens are created. This means\r\n * that a supply mechanism has to be added in a derived contract using `_mint`.\r\n * For a generic mechanism see `ERC20Mintable`.\r\n *\r\n * *For a detailed writeup see our guide [How to implement supply\r\n * mechanisms](https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226).*\r\n *\r\n * We have followed general OpenZeppelin guidelines: functions revert instead\r\n * of returning `false` on failure. This behavior is nonetheless conventional\r\n * and does not conflict with the expectations of ERC20 applications.\r\n *\r\n * Additionally, an `Approval` event is emitted on calls to `transferFrom`.\r\n * This allows applications to reconstruct the allowance for all accounts just\r\n * by listening to said events. Other implementations of the EIP may not emit\r\n * these events, as it isn't required by the specification.\r\n *\r\n * Finally, the non-standard `decreaseAllowance` and `increaseAllowance`\r\n * functions have been added to mitigate the well-known issues around setting\r\n * allowances. See `IERC20.approve`.\r\n */\r\ncontract ERC20 is IERC20 {\r\n using SafeMath for uint256;\r\n\r\n mapping (address => uint256) private _balances;\r\n\r\n mapping (address => mapping (address => uint256)) private _allowances;\r\n\r\n uint256 private _totalSupply;\r\n\r\n /**\r\n * @dev See `IERC20.totalSupply`.\r\n */\r\n function totalSupply() public view returns (uint256) {\r\n return _totalSupply;\r\n }\r\n\r\n /**\r\n * @dev See `IERC20.balanceOf`.\r\n */\r\n function balanceOf(address account) public view returns (uint256) {\r\n return _balances[account];\r\n }\r\n\r\n /**\r\n * @dev See `IERC20.transfer`.\r\n *\r\n * Requirements:\r\n *\r\n * - `recipient` cannot be the zero address.\r\n * - the caller must have a balance of at least `amount`.\r\n */\r\n function transfer(address recipient, uint256 amount) public returns (bool) {\r\n _transfer(msg.sender, recipient, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev See `IERC20.allowance`.\r\n */\r\n function allowance(address owner, address spender) public view returns (uint256) {\r\n return _allowances[owner][spender];\r\n }\r\n\r\n /**\r\n * @dev See `IERC20.approve`.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n */\r\n function approve(address spender, uint256 value) public returns (bool) {\r\n _approve(msg.sender, spender, value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev See `IERC20.transferFrom`.\r\n *\r\n * Emits an `Approval` event indicating the updated allowance. This is not\r\n * required by the EIP. See the note at the beginning of `ERC20`;\r\n *\r\n * Requirements:\r\n * - `sender` and `recipient` cannot be the zero address.\r\n * - `sender` must have a balance of at least `value`.\r\n * - the caller must have allowance for `sender`'s tokens of at least\r\n * `amount`.\r\n */\r\n function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {\r\n _transfer(sender, recipient, amount);\r\n _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount));\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Atomically increases the allowance granted to `spender` by the caller.\r\n *\r\n * This is an alternative to `approve` that can be used as a mitigation for\r\n * problems described in `IERC20.approve`.\r\n *\r\n * Emits an `Approval` event indicating the updated allowance.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n */\r\n function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {\r\n _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\r\n *\r\n * This is an alternative to `approve` that can be used as a mitigation for\r\n * problems described in `IERC20.approve`.\r\n *\r\n * Emits an `Approval` event indicating the updated allowance.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n * - `spender` must have allowance for the caller of at least\r\n * `subtractedValue`.\r\n */\r\n function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {\r\n _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue));\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Moves tokens `amount` from `sender` to `recipient`.\r\n *\r\n * This is internal function is equivalent to `transfer`, and can be used to\r\n * e.g. implement automatic token fees, slashing mechanisms, etc.\r\n *\r\n * Emits a `Transfer` event.\r\n *\r\n * Requirements:\r\n *\r\n * - `sender` cannot be the zero address.\r\n * - `recipient` cannot be the zero address.\r\n * - `sender` must have a balance of at least `amount`.\r\n */\r\n function _transfer(address sender, address recipient, uint256 amount) internal {\r\n require(sender != address(0), \"ERC20: transfer from the zero address\");\r\n require(recipient != address(0), \"ERC20: transfer to the zero address\");\r\n\r\n _balances[sender] = _balances[sender].sub(amount);\r\n _balances[recipient] = _balances[recipient].add(amount);\r\n emit Transfer(sender, recipient, amount);\r\n }\r\n\r\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\r\n * the total supply.\r\n *\r\n * Emits a `Transfer` event with `from` set to the zero address.\r\n *\r\n * Requirements\r\n *\r\n * - `to` cannot be the zero address.\r\n */\r\n function _mint(address account, uint256 amount) internal {\r\n require(account != address(0), \"ERC20: mint to the zero address\");\r\n\r\n _totalSupply = _totalSupply.add(amount);\r\n _balances[account] = _balances[account].add(amount);\r\n emit Transfer(address(0), account, amount);\r\n }\r\n\r\n /**\r\n * @dev Destroys `amount` tokens from `account`, reducing the\r\n * total supply.\r\n *\r\n * Emits a `Transfer` event with `to` set to the zero address.\r\n *\r\n * Requirements\r\n *\r\n * - `account` cannot be the zero address.\r\n * - `account` must have at least `amount` tokens.\r\n */\r\n function _burn(address account, uint256 value) internal {\r\n require(account != address(0), \"ERC20: burn from the zero address\");\r\n\r\n _totalSupply = _totalSupply.sub(value);\r\n _balances[account] = _balances[account].sub(value);\r\n emit Transfer(account, address(0), value);\r\n }\r\n\r\n /**\r\n * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.\r\n *\r\n * This is internal function is equivalent to `approve`, and can be used to\r\n * e.g. set automatic allowances for certain subsystems, etc.\r\n *\r\n * Emits an `Approval` event.\r\n *\r\n * Requirements:\r\n *\r\n * - `owner` cannot be the zero address.\r\n * - `spender` cannot be the zero address.\r\n */\r\n function _approve(address owner, address spender, uint256 value) internal {\r\n require(owner != address(0), \"ERC20: approve from the zero address\");\r\n require(spender != address(0), \"ERC20: approve to the zero address\");\r\n\r\n _allowances[owner][spender] = value;\r\n emit Approval(owner, spender, value);\r\n }\r\n\r\n /**\r\n * @dev Destoys `amount` tokens from `account`.`amount` is then deducted\r\n * from the caller's allowance.\r\n *\r\n * See `_burn` and `_approve`.\r\n */\r\n function _burnFrom(address account, uint256 amount) internal {\r\n _burn(account, amount);\r\n _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount));\r\n }\r\n}\r\n\r\n// File: contracts\\ERC20\\TokenMintERC20Token.sol\r\n\r\npragma solidity ^0.5.0;\r\n\r\n\r\n/**\r\n * @title TokenMintERC20Token\r\n * @author TokenMint (visit https://tokenmint.io)\r\n *\r\n * @dev Standard ERC20 token with burning and optional functions implemented.\r\n * For full specification of ERC-20 standard see:\r\n * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md\r\n */\r\ncontract TokenMintERC20Token is ERC20 {\r\n\r\n string private _name;\r\n string private _symbol;\r\n uint8 private _decimals;\r\n\r\n /**\r\n * @dev Constructor.\r\n * @param name name of the token\r\n * @param symbol symbol of the token, 3-4 chars is recommended\r\n * @param decimals number of decimal places of one token unit, 18 is widely used\r\n * @param totalSupply total supply of tokens in lowest units (depending on decimals)\r\n * @param tokenOwnerAddress address that gets 100% of token supply\r\n */\r\n constructor(string memory name, string memory symbol, uint8 decimals, uint256 totalSupply, address payable feeReceiver, address tokenOwnerAddress) public payable {\r\n _name = name;\r\n _symbol = symbol;\r\n _decimals = decimals;\r\n\r\n // set tokenOwnerAddress as owner of all tokens\r\n _mint(tokenOwnerAddress, totalSupply);\r\n\r\n // pay the service fee for contract deployment\r\n feeReceiver.transfer(msg.value);\r\n }\r\n\r\n /**\r\n * @dev Burns a specific amount of tokens.\r\n * @param value The amount of lowest token units to be burned.\r\n */\r\n function burn(uint256 value) public {\r\n _burn(msg.sender, value);\r\n }\r\n\r\n // optional functions from ERC20 stardard\r\n\r\n /**\r\n * @return the name of the token.\r\n */\r\n function name() public view returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @return the symbol of the token.\r\n */\r\n function symbol() public view returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @return the number of decimals of the token.\r\n */\r\n function decimals() public view returns (uint8) {\r\n return _decimals;\r\n }\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"sender\",\"type\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"recipient\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"symbol\",\"type\":\"string\"},{\"name\":\"decimals\",\"type\":\"uint8\"},{\"name\":\"totalSupply\",\"type\":\"uint256\"},{\"name\":\"feeReceiver\",\"type\":\"address\"},{\"name\":\"tokenOwnerAddress\",\"type\":\"address\"}],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]","ContractName":"TokenMintERC20Token","CompilerVersion":"v0.5.0+commit.1d4f565a","CompilerType":"solc","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000314dc6448d9338c15b0a000000000000000000000000000000006603cb70464ca51481d4edbb3b927f66f53f4f42000000000000000000000000b8f226ddb7bc672e27dffb67e4adabfa8c0dfa080000000000000000000000000000000000000000000000000000000000000009534849424120494e55000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045348494200000000000000000000000000000000000000000000000000000000","EVMVersion":"Default","Library":"","LicenseType":"None","Proxy":"0","Implementation":"","SwarmSource":"bzzr://e20d925751f78a8e97575d042cae5a0688546f17e3e28665288efb94861651f1","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/cachedrpc/feb4c941e8d50d4510b939ca73720932f9154cbae32d97ef45973433b70cb211 b/tests/cachedrpc/feb4c941e8d50d4510b939ca73720932f9154cbae32d97ef45973433b70cb211 new file mode 100644 index 00000000..219c2f0d --- /dev/null +++ b/tests/cachedrpc/feb4c941e8d50d4510b939ca73720932f9154cbae32d97ef45973433b70cb211 @@ -0,0 +1 @@ +{"jsonrpc":"2.0","id":1,"result":{"storage":{"0x09116d88e0c1c602d909aae5944a7d78f164b0231e9b18cd9f2bf6ca972b3745":{"key":"0x87a55b2f2394f18cd05749d804b8ae231d0e434754a83d485e78c750e0ed2d5e","value":"0x0000000000000000000000000000000000000000000000000000000000000001"},"0x170747e6e6f6fd76a116d41224f5d8bbb1a2b651d93184581018a3cf53d61e8b":{"key":"0x309d92492c7f635f58f756695c94812586abca8aee21131e72d98c0b96a8da75","value":"0x0000000000000000000000000000000000000000000000001bc4fae5f38e8000"},"0x1beee830d858d43027609b2a9d1527b1514e9b3514f6d46247cf596bcfc82256":{"key":"0x2e5f5c3bedace7e62d4f21d2b388961c19652bdcc31bf8c333febe1363dcd391","value":"0x0000000000000000000000000000000000000000000000000000000000000001"},"0x405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace":{"key":"0x0000000000000000000000000000000000000000000000000000000000000002","value":"0x0000000000000000000000000000000000000000000000001bc4fae5f38e8000"},"0x410c2796757c1866e144712b649ab035b22d7295530f125d2b7bc17fa7b793b5":{"key":"0xc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8","value":"0x000000000000000000000000bafa44efe7901e04e39dad13167d089c559c1138"},"0x6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af":{"key":"0x0000000000000000000000000000000000000000000000000000000000000009","value":"0x0000000000000000000000008412ebf45bac1b340bbe8f318b928c466c4e39ca"},"0x8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b":{"key":"0x0000000000000000000000000000000000000000000000000000000000000004","value":"0x667278455448000000000000000000000000000000000000000000000000000c"},"0xa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688":{"key":"0x0000000000000000000000000000000000000000000000000000000000000007","value":"0x0000000000000000000000008306300ffd616049fd7e4b0354a64da835c1a81c"},"0xc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b":{"key":"0x0000000000000000000000000000000000000000000000000000000000000003","value":"0x4672617820457468657200000000000000000000000000000000000000000014"},"0xc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8":{"key":"0x000000000000000000000000000000000000000000000000000000000000000a","value":"0x0000000000000000000000000000000000000000000000000000000000000001"}},"nextKey":null}} diff --git a/tests/cachedrpc/fff070bfa17f65e252c70fe59940f1382880ef2e3a762817419b5916459f3539 b/tests/cachedrpc/fff070bfa17f65e252c70fe59940f1382880ef2e3a762817419b5916459f3539 new file mode 100644 index 00000000..42741f70 --- /dev/null +++ b/tests/cachedrpc/fff070bfa17f65e252c70fe59940f1382880ef2e3a762817419b5916459f3539 @@ -0,0 +1 @@ +{"status":"1","message":"OK","result":[{"SourceCode":"pragma solidity ^0.4.21;\r\n\r\n/**\r\n * @title ERC20Basic\r\n * @dev Simpler version of ERC20 interface\r\n * @dev see https://github.com/ethereum/EIPs/issues/179\r\n */\r\ncontract ERC20Basic {\r\n function totalSupply() public view returns (uint256);\r\n function balanceOf(address who) public view returns (uint256);\r\n function transfer(address to, uint256 value) public returns (bool);\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n}\r\n\r\n/**\r\n * @title SafeMath\r\n * @dev Math operations with safety checks that throw on error\r\n */\r\nlibrary SafeMath {\r\n\r\n /**\r\n * @dev Multiplies two numbers, throws on overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) {\r\n return 0;\r\n }\r\n uint256 c = a * b;\r\n assert(c / a == b);\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Integer division of two numbers, truncating the quotient.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n // assert(b > 0); // Solidity automatically throws when dividing by 0\r\n uint256 c = a / b;\r\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n assert(b <= a);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Adds two numbers, throws on overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n assert(c >= a);\r\n return c;\r\n }\r\n}\r\n\r\n/**\r\n * @title Basic token\r\n * @dev Basic version of StandardToken, with no allowances.\r\n */\r\ncontract BasicToken is ERC20Basic {\r\n using SafeMath for uint256;\r\n\r\n mapping(address => uint256) balances;\r\n\r\n uint256 totalSupply_ = 45467000000000000000000000;\r\n\r\n /**\r\n * @dev total number of tokens in existence\r\n */\r\n function totalSupply() public view returns (uint256) {\r\n return totalSupply_;\r\n }\r\n\r\n /**\r\n * @dev transfer token for a specified address\r\n * @param _to The address to transfer to.\r\n * @param _value The amount to be transferred.\r\n */\r\n function transfer(address _to, uint256 _value) public returns (bool) {\r\n require(_to != address(0));\r\n require(_value <= balances[msg.sender]);\r\n\r\n // SafeMath.sub will throw if there is not enough balance.\r\n balances[msg.sender] = balances[msg.sender].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n emit Transfer(msg.sender, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Gets the balance of the specified address.\r\n * @param _owner The address to query the the balance of.\r\n * @return An uint256 representing the amount owned by the passed address.\r\n */\r\n function balanceOf(address _owner) public view returns (uint256 balance) {\r\n return balances[_owner];\r\n }\r\n\r\n}\r\n\r\n/**\r\n * @title ERC20 interface\r\n * @dev see https://github.com/ethereum/EIPs/issues/20\r\n */\r\ncontract ERC20 is ERC20Basic {\r\n function allowance(address owner, address spender) public view returns (uint256);\r\n function transferFrom(address from, address to, uint256 value) public returns (bool);\r\n function approve(address spender, uint256 value) public returns (bool);\r\n event Approval(address indexed owner, address indexed spender, uint256 value);\r\n}\r\n\r\n/**\r\n * @title Standard ERC20 token\r\n *\r\n * @dev Implementation of the basic standard token.\r\n * @dev https://github.com/ethereum/EIPs/issues/20\r\n * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol\r\n */\r\ncontract StandardToken is ERC20, BasicToken {\r\n\r\n // Name of the token\r\n string constant public name = \"Quant\";\r\n // Token abbreviation\r\n string constant public symbol = \"QNT\";\r\n // Decimal places\r\n uint8 constant public decimals = 18;\r\n // Zeros after the point\r\n uint256 constant public DECIMAL_ZEROS = 1000000000000000000;\r\n\r\n mapping (address => mapping (address => uint256)) internal allowed;\r\n\r\n address public crowdsale;\r\n\r\n modifier onlyCrowdsale() {\r\n require(msg.sender == crowdsale);\r\n _;\r\n }\r\n\r\n function StandardToken(address _crowdsale) public {\r\n require(_crowdsale != address(0));\r\n crowdsale = _crowdsale;\r\n }\r\n\r\n function mint(address _address, uint256 _value) public onlyCrowdsale {\r\n balances[_address] = balances[_address].add(_value);\r\n emit Transfer(0, _address, _value);\r\n }\r\n\r\n /**\r\n * @dev Transfer tokens from one address to another\r\n * @param _from address The address which you want to send tokens from\r\n * @param _to address The address which you want to transfer to\r\n * @param _value uint256 the amount of tokens to be transferred\r\n */\r\n function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {\r\n require(_to != address(0));\r\n require(_value <= balances[_from]);\r\n require(_value <= allowed[_from][msg.sender]);\r\n\r\n balances[_from] = balances[_from].sub(_value);\r\n balances[_to] = balances[_to].add(_value);\r\n allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);\r\n emit Transfer(_from, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\r\n *\r\n * Beware that changing an allowance with this method brings the risk that someone may use both the old\r\n * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this\r\n * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:\r\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n * @param _spender The address which will spend the funds.\r\n * @param _value The amount of tokens to be spent.\r\n */\r\n function approve(address _spender, uint256 _value) public returns (bool) {\r\n allowed[msg.sender][_spender] = _value;\r\n emit Approval(msg.sender, _spender, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Function to check the amount of tokens that an owner allowed to a spender.\r\n * @param _owner address The address which owns the funds.\r\n * @param _spender address The address which will spend the funds.\r\n * @return A uint256 specifying the amount of tokens still available for the spender.\r\n */\r\n function allowance(address _owner, address _spender) public view returns (uint256) {\r\n return allowed[_owner][_spender];\r\n }\r\n\r\n /**\r\n * @dev Increase the amount of tokens that an owner allowed to a spender.\r\n *\r\n * approve should be called when allowed[_spender] == 0. To increment\r\n * allowed value is better to use this function to avoid 2 calls (and wait until\r\n * the first transaction is mined)\r\n * From MonolithDAO Token.sol\r\n * @param _spender The address which will spend the funds.\r\n * @param _addedValue The amount of tokens to increase the allowance by.\r\n */\r\n function increaseApproval(address _spender, uint _addedValue) public returns (bool) {\r\n allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);\r\n emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Decrease the amount of tokens that an owner allowed to a spender.\r\n *\r\n * approve should be called when allowed[_spender] == 0. To decrement\r\n * allowed value is better to use this function to avoid 2 calls (and wait until\r\n * the first transaction is mined)\r\n * From MonolithDAO Token.sol\r\n * @param _spender The address which will spend the funds.\r\n * @param _subtractedValue The amount of tokens to decrease the allowance by.\r\n */\r\n function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {\r\n uint oldValue = allowed[msg.sender][_spender];\r\n if (_subtractedValue > oldValue) {\r\n allowed[msg.sender][_spender] = 0;\r\n } else {\r\n allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);\r\n }\r\n emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\r\n return true;\r\n }\r\n\r\n}","ABI":"[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_address\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"DECIMAL_ZEROS\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseApproval\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"crowdsale\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseApproval\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_crowdsale\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]","ContractName":"StandardToken","CompilerVersion":"v0.4.21+commit.dfe3193c","CompilerType":"solc","OptimizationUsed":"0","Runs":"200","ConstructorArguments":"000000000000000000000000398e41ac3d5972b4bac2320cd130c7a25ca446f7","EVMVersion":"Default","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":"bzzr://4bce3a4b997483544b2195001c91d3290db7fa036a3de40d15ccfd8aa892139d","SimilarMatch":""}]} \ No newline at end of file diff --git a/tests/ci_tests.sh b/tests/ci_tests.sh index 95f65e46..87e9fb72 100755 --- a/tests/ci_tests.sh +++ b/tests/ci_tests.sh @@ -14,7 +14,7 @@ if [ "$REBUILD_CACHE" = "1" ]; then echo "Rebuilding Cache" cargo run --bin cached_proxy -- -d tests/cachedrpc -u $RPC_MAINNET & cargo run --bin cached_proxy -- -d tests/cachedrpc -p 5001 -u "https://eth.blockscout.com" & - cargo run --bin cached_proxy -- -d tests/cachedrpc -p 5002 -u "https://api.etherscan.io/api" & + cargo run --bin cached_proxy -- -d tests/cachedrpc -p 5002 -u "https://api.etherscan.io/v2/api" & else echo "Using Cache" cargo run --bin cached_proxy -- -d tests/cachedrpc -p 5001 & diff --git a/tests/config.json b/tests/config.json index 7defae37..586d28f2 100644 --- a/tests/config.json +++ b/tests/config.json @@ -4,10 +4,14 @@ "1337": "http://127.0.0.1:8546", "31337": "http://127.0.0.1:8546" }, - "etherscan_api_key": { "1": "$ETHERSCAN_API_KEY"}, - "blockscout_api_key": { "1": "$BLOCKSCOUT_API_KEY"}, - "etherscan_test_api_url": "http://127.0.0.1:5002", - "blockscout_test_api_url": "http://127.0.0.1:5001", + "etherscan_global": { + "api_url": "http://127.0.0.1:5002", + "api_key": "$ETHERSCAN_API_KEY" + }, + "blockscout_global": { + "api_url": "http://127.0.0.1:5001", + "api_key": "$BLOCKSCOUT_API_KEY" + }, "dvf_storage": "/tmp/dvfs/", "trusted_signers": [ "$SIGNER_ADDRESS"