diff --git a/catalog/001-Create Nevermined dApp/yarn.lock b/catalog/001-Create Nevermined dApp/yarn.lock index 4fc9eeb..aed7108 100644 --- a/catalog/001-Create Nevermined dApp/yarn.lock +++ b/catalog/001-Create Nevermined dApp/yarn.lock @@ -1248,7 +1248,7 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@ethereumjs/common@^2.4.0", "@ethereumjs/common@^2.5.0", "@ethereumjs/common@^2.6.4": +"@ethereumjs/common@^2.4.0", "@ethereumjs/common@^2.6.4": version "2.6.5" resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.6.5.tgz#0a75a22a046272579d91919cb12d84f2756e8d30" integrity sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA== @@ -1256,7 +1256,7 @@ crc-32 "^1.2.0" ethereumjs-util "^7.1.5" -"@ethereumjs/tx@^3.3.0", "@ethereumjs/tx@^3.3.2": +"@ethereumjs/tx@^3.3.0": version "3.5.2" resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.5.2.tgz#197b9b6299582ad84f9527ca961466fce2296c1c" integrity sha512-gQDNJWKrSDGu2w7w0PzVXVBNMzb7wwdDOmOqczmhNjqFxFuIbhVJDwiGEnxFNC2/b8ifcZzY7MLcluizohRzNw== @@ -2168,11 +2168,6 @@ resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.20.tgz#11a657875de6008622d53f56e063a6347c51a6dd" integrity sha512-kVaO5aEFZb33nPMTZBxiPEkY+slxiPtqC7QX8f9B3eGOMBvEfuMfxp9DSTTCsRJPumPKjrge4yagyssO4q6qzQ== -"@sindresorhus/is@^0.14.0": - version "0.14.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" - integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== - "@sinonjs/commons@^1.7.0": version "1.8.3" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" @@ -2308,13 +2303,6 @@ big.js "^6.1.1" ethers "^5.5.3" -"@szmarczak/http-timer@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" - integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== - dependencies: - defer-to-connect "^1.0.1" - "@testing-library/dom@^8.0.0": version "8.16.0" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.16.0.tgz#d6fc50250aed17b1035ca1bd64655e342db3936a" @@ -2651,7 +2639,7 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== -"@types/node@^12.0.0", "@types/node@^12.12.6": +"@types/node@^12.0.0": version "12.20.55" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== @@ -3837,7 +3825,7 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base-x@^3.0.2, base-x@^3.0.8: +base-x@^3.0.2: version "3.0.9" resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== @@ -3891,7 +3879,7 @@ big.js@^6.1.1: resolved "https://registry.yarnpkg.com/big.js/-/big.js-6.2.1.tgz#7205ce763efb17c2e41f26f121c420c6a7c2744f" integrity sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ== -bignumber.js@^9.0.0, bignumber.js@^9.0.2: +bignumber.js@^9.0.2: version "9.0.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.2.tgz#71c6c6bed38de64e24a65ebe16cfcf23ae693673" integrity sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw== @@ -3921,17 +3909,12 @@ blob-util@^2.0.2: resolved "https://registry.yarnpkg.com/blob-util/-/blob-util-2.0.2.tgz#3b4e3c281111bb7f11128518006cdc60b403a1eb" integrity sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ== -bluebird@3.7.2, bluebird@^3.5.0, bluebird@^3.5.5, bluebird@^3.7.2: +bluebird@3.7.2, bluebird@^3.5.5, bluebird@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -bn.js@4.11.6: - version "4.11.6" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" - integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== - -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.6, bn.js@^4.11.8, bn.js@^4.11.9: +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== @@ -3941,7 +3924,7 @@ bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.2.0, bn.js@^5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.20.0, body-parser@^1.16.0: +body-parser@1.20.0: version "1.20.0" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.0.tgz#3de69bd89011c11573d7bfee6a64f11b6bd27cc5" integrity sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg== @@ -4157,17 +4140,12 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-to-arraybuffer@^0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz#6064a40fa76eb43c723aba9ef8f6e1216d10511a" - integrity sha512-3dthu5CYiVB1DEJp61FtApNnNndTckcqe4pFcLdvHtrpG+kcyekCJKg4MRiDcFW7A6AODnXB9U4dwQiCW5kzJQ== - buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== -buffer@^5.0.5, buffer@^5.5.0, buffer@^5.6.0: +buffer@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -4175,13 +4153,6 @@ buffer@^5.0.5, buffer@^5.5.0, buffer@^5.6.0: base64-js "^1.3.1" ieee754 "^1.1.13" -bufferutil@^4.0.1: - version "4.0.6" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.6.tgz#ebd6c67c7922a0e902f053e5d8be5ec850e48433" - integrity sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw== - dependencies: - node-gyp-build "^4.3.0" - builtin-modules@^3.1.0: version "3.3.0" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" @@ -4202,19 +4173,6 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -cacheable-request@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" - integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^3.0.0" - lowercase-keys "^2.0.0" - normalize-url "^4.1.0" - responselike "^1.0.2" - cachedir@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8" @@ -4425,11 +4383,6 @@ checkpoint-store@^1.1.0: optionalDependencies: fsevents "~2.3.2" -chownr@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - chrome-remote-interface@^0.27.1: version "0.27.2" resolved "https://registry.yarnpkg.com/chrome-remote-interface/-/chrome-remote-interface-0.27.2.tgz#e5605605f092b7ef8575d95304e004039c9d0ab9" @@ -4453,17 +4406,6 @@ ci-info@^3.2.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.2.tgz#6d2967ffa407466481c6c90b6e16b3098f080128" integrity sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg== -cids@^0.7.1: - version "0.7.5" - resolved "https://registry.yarnpkg.com/cids/-/cids-0.7.5.tgz#60a08138a99bfb69b6be4ceb63bfef7a396b28b2" - integrity sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA== - dependencies: - buffer "^5.5.0" - class-is "^1.1.0" - multibase "~0.6.0" - multicodec "^1.0.0" - multihashes "~0.4.15" - cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -4482,11 +4424,6 @@ cjs-module-lexer@^1.0.0: resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== -class-is@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/class-is/-/class-is-1.1.0.tgz#9d3c0fba0440d211d843cec3dedfa48055005825" - integrity sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw== - classnames@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.1.tgz#dfcfa3891e306ec1dad105d0e88f4417b8535e8e" @@ -4573,13 +4510,6 @@ clone-regexp@^1.0.0: is-regexp "^1.0.0" is-supported-regexp-flag "^1.0.0" -clone-response@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" - integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== - dependencies: - mimic-response "^1.0.0" - clone@^2.0.0, clone@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" @@ -4774,15 +4704,6 @@ content-disposition@0.5.4: dependencies: safe-buffer "5.2.1" -content-hash@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/content-hash/-/content-hash-2.5.2.tgz#bbc2655e7c21f14fd3bfc7b7d4bfe6e454c9e211" - integrity sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw== - dependencies: - cids "^0.7.1" - multicodec "^0.5.5" - multihashes "^0.4.15" - content-type@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" @@ -4805,11 +4726,6 @@ cookie@0.5.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== -cookiejar@^2.1.1: - version "2.1.3" - resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.3.tgz#fc7a6216e408e74414b90230050842dacda75acc" - integrity sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ== - core-js-compat@^3.21.0, core-js-compat@^3.22.1: version "3.23.5" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.23.5.tgz#11edce2f1c4f69a96d30ce77c805ce118909cd5b" @@ -4838,14 +4754,6 @@ core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cors@^2.8.1: - version "2.8.5" - resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" - integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== - dependencies: - object-assign "^4" - vary "^1" - cosmiconfig@^3.0.1, cosmiconfig@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-3.1.0.tgz#640a94bf9847f321800403cd273af60665c73397" @@ -4965,7 +4873,7 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -crypto-browserify@3.12.0, crypto-browserify@^3.12.0: +crypto-browserify@^3.12.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== @@ -5323,14 +5231,6 @@ cypress@^9.1.1: untildify "^4.0.0" yauzl "^2.10.0" -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - damerau-levenshtein@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" @@ -5362,7 +5262,7 @@ dayjs@^1.10.4: resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.4.tgz#3b3c10ca378140d8917e06ebc13a4922af4f433e" integrity sha512-Zj/lPM5hOvQ1Bf7uAvewDaUcsJoI6JmNqmHhHl3nyumwe0XHwt8sWdOVAPACJzCebL8gQCi+K49w7iKWnGwX9g== -debug@2.6.9, debug@^2.2.0, debug@^2.6.0, debug@^2.6.9: +debug@2.6.9, debug@^2.6.0, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -5413,13 +5313,6 @@ decode-uri-component@^0.2.0: resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== -decompress-response@^3.2.0, decompress-response@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA== - dependencies: - mimic-response "^1.0.0" - dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" @@ -5447,11 +5340,6 @@ default-gateway@^6.0.3: dependencies: execa "^5.0.0" -defer-to-connect@^1.0.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" - integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== - deferred-leveldown@~1.2.1: version "1.2.2" resolved "https://registry.yarnpkg.com/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz#3acd2e0b75d1669924bc0a4b642851131173e1eb" @@ -5772,7 +5660,7 @@ electron-to-chromium@^1.3.30, electron-to-chromium@^1.4.188: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.196.tgz#e18cdc5c1c2c2ebf78da237d0c374cc3b244d4cb" integrity sha512-uxMa/Dt7PQsLBVXwH+t6JvpHJnrsYBaxWKi/J6HE+/nBtoHENhwBoNkgkm226/Kfxeg0z1eMQLBRPPKcDH8xWA== -elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4: +elliptic@6.5.4, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== @@ -5928,37 +5816,11 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.61" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.61.tgz#311de37949ef86b6b0dcea894d1ffedb909d3269" - integrity sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - next-tick "^1.1.0" - -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - es6-object-assign@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" integrity sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw== -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -6357,14 +6219,6 @@ eth-block-tracker@^4.4.2: pify "^3.0.0" safe-event-emitter "^1.0.1" -eth-ens-namehash@2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz#229ac46eca86d52e0c991e7cb2aef83ff0f68bcf" - integrity sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw== - dependencies: - idna-uts46-hx "^2.3.1" - js-sha3 "^0.5.7" - eth-json-rpc-filters@^4.2.1: version "4.2.2" resolved "https://registry.yarnpkg.com/eth-json-rpc-filters/-/eth-json-rpc-filters-4.2.2.tgz#eb35e1dfe9357ace8a8908e7daee80b2cd60a10d" @@ -6404,27 +6258,6 @@ eth-json-rpc-middleware@^6.0.0: pify "^3.0.0" safe-event-emitter "^1.0.1" -eth-lib@0.2.8: - version "0.2.8" - resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.2.8.tgz#b194058bef4b220ad12ea497431d6cb6aa0623c8" - integrity sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw== - dependencies: - bn.js "^4.11.6" - elliptic "^6.4.0" - xhr-request-promise "^0.1.2" - -eth-lib@^0.1.26: - version "0.1.29" - resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.1.29.tgz#0c11f5060d42da9f931eab6199084734f4dbd1d9" - integrity sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ== - dependencies: - bn.js "^4.11.6" - elliptic "^6.4.0" - nano-json-stream-parser "^0.1.2" - servify "^0.1.12" - ws "^3.0.0" - xhr-request-promise "^0.1.2" - eth-query@^2.1.0, eth-query@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/eth-query/-/eth-query-2.1.2.tgz#d6741d9000106b51510c72db92d6365456a6da5e" @@ -6455,13 +6288,6 @@ eth-sig-util@^1.4.2: ethereumjs-abi "git+https://github.com/ethereumjs/ethereumjs-abi.git" ethereumjs-util "^5.1.1" -ethereum-bloom-filters@^1.0.6: - version "1.0.10" - resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" - integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== - dependencies: - js-sha3 "^0.8.0" - ethereum-common@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/ethereum-common/-/ethereum-common-0.2.0.tgz#13bf966131cce1eeade62a1b434249bb4cb120ca" @@ -6601,7 +6427,7 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1: ethjs-util "0.1.6" rlp "^2.2.3" -ethereumjs-util@^7.0.10, ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.5: +ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.5: version "7.1.5" resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== @@ -6679,14 +6505,6 @@ ethers@^5.5.3, ethers@^5.6.5, ethers@^5.6.9: "@ethersproject/web" "5.6.1" "@ethersproject/wordlists" "5.6.1" -ethjs-unit@0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" - integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== - dependencies: - bn.js "4.11.6" - number-to-bn "1.7.0" - ethjs-util@0.1.6, ethjs-util@^0.1.3, ethjs-util@^0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/ethjs-util/-/ethjs-util-0.1.6.tgz#f308b62f185f9fe6237132fb2a9818866a5cd536" @@ -6713,11 +6531,6 @@ eventemitter2@^6.4.3: resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.6.tgz#92d56569cc147a4d9b9da9e942e89b20ce236b0a" integrity sha512-OHqo4wbHX5VbvlbB6o6eDwhYmiTjrpWACjF8Pmof/GTD6rdBNdZFNck3xlhqOiQFGCOoq3uzHvA0cQpFHIGVAQ== -eventemitter3@4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384" - integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ== - eventemitter3@^4.0.0: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -6835,7 +6648,7 @@ expect@^27.5.1: jest-matcher-utils "^27.5.1" jest-message-util "^27.5.1" -express@^4.14.0, express@^4.17.3: +express@^4.17.3: version "4.18.1" resolved "https://registry.yarnpkg.com/express/-/express-4.18.1.tgz#7797de8b9c72c857b9cd0e14a5eea80666267caf" integrity sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q== @@ -6872,13 +6685,6 @@ express@^4.14.0, express@^4.17.3: utils-merge "1.0.1" vary "~1.1.2" -ext@^1.1.2: - version "1.6.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52" - integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg== - dependencies: - type "^2.5.0" - extend@^3.0.0, extend@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" @@ -7293,15 +7099,6 @@ fs-extra@^10.0.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" - integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-extra@^9.0.0, fs-extra@^9.0.1, fs-extra@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" @@ -7312,13 +7109,6 @@ fs-extra@^9.0.0, fs-extra@^9.0.1, fs-extra@^9.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-minipass@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - fs-monkey@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.3.tgz#ae3ac92d53bb328efe0e9a1d9541f6ad8d48e2d3" @@ -7403,7 +7193,7 @@ get-stream@^3.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" integrity sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ== -get-stream@^4.0.0, get-stream@^4.1.0: +get-stream@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== @@ -7598,23 +7388,6 @@ gonzales-pe@^4.0.3: dependencies: minimist "^1.2.5" -got@9.6.0: - version "9.6.0" - resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" - integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== - dependencies: - "@sindresorhus/is" "^0.14.0" - "@szmarczak/http-timer" "^1.1.2" - cacheable-request "^6.0.0" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^4.1.0" - lowercase-keys "^1.0.1" - mimic-response "^1.0.1" - p-cancelable "^1.0.0" - to-readable-stream "^1.0.0" - url-parse-lax "^3.0.0" - got@^6.7.1: version "6.7.1" resolved "https://registry.yarnpkg.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" @@ -7632,26 +7405,6 @@ got@^6.7.1: unzip-response "^2.0.1" url-parse-lax "^1.0.0" -got@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/got/-/got-7.1.0.tgz#05450fd84094e6bbea56f451a43a9c289166385a" - integrity sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw== - dependencies: - decompress-response "^3.2.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-plain-obj "^1.1.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - p-cancelable "^0.3.0" - p-timeout "^1.1.1" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - url-parse-lax "^1.0.0" - url-to-options "^1.0.1" - graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" @@ -7735,23 +7488,11 @@ has-property-descriptors@^1.0.0: dependencies: get-intrinsic "^1.1.1" -has-symbol-support-x@^1.4.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz#1409f98bc00247da45da67cee0a36f282ff26455" - integrity sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw== - has-symbols@^1.0.1, has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== -has-to-string-tag-x@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz#a045ab383d7b4b2012a00148ab0aa5f290044d4d" - integrity sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw== - dependencies: - has-symbol-support-x "^1.4.1" - has-tostringtag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" @@ -7885,11 +7626,6 @@ htmlparser2@^6.1.0: domutils "^2.5.2" entities "^2.0.0" -http-cache-semantics@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== - http-deceiver@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" @@ -7916,11 +7652,6 @@ http-errors@~1.6.2: setprototypeof "1.1.0" statuses ">= 1.4.0 < 2" -http-https@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/http-https/-/http-https-1.0.0.tgz#2f908dd5f1db4068c058cd6e6d4ce392c913389b" - integrity sha512-o0PWwVCSp3O0wS6FvNr6xfBCHgt0m1tvPLFOCc2iFDKTRAXhB7m8klDf7ErowFH8POa6dVdGatKU5I1YYwzUyg== - http-parser-js@>=0.5.1: version "0.5.8" resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" @@ -8027,13 +7758,6 @@ identity-obj-proxy@^3.0.0: dependencies: harmony-reflect "^1.4.6" -idna-uts46-hx@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz#a1dc5c4df37eee522bf66d969cc980e00e8711f9" - integrity sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA== - dependencies: - punycode "2.1.0" - ieee754@^1.1.13: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" @@ -8469,11 +8193,6 @@ is-obj@^2.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-object@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" - integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA== - is-path-inside@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" @@ -8706,14 +8425,6 @@ istanbul-reports@^3.1.3: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -isurl@^1.0.0-alpha5: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" - integrity sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w== - dependencies: - has-to-string-tag-x "^1.2.0" - is-object "^1.0.1" - jake@^10.8.5: version "10.8.5" resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" @@ -9266,16 +8977,11 @@ js-file-download@^0.4.12: resolved "https://registry.yarnpkg.com/js-file-download/-/js-file-download-0.4.12.tgz#10c70ef362559a5b23cdbdc3bd6f399c3d91d821" integrity sha512-rML+NkoD08p5Dllpjo0ffy4jRHeY6Zsapvr/W86N7E0yuzAO6qa5X9+xog6zQNlH102J7IXljNY2FtS6Lj3ucg== -js-sha3@0.8.0, js-sha3@^0.8.0: +js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== -js-sha3@^0.5.7: - version "0.5.7" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" - integrity sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -9344,11 +9050,6 @@ jsesc@~0.5.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== -json-buffer@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" - integrity sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ== - json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -9437,13 +9138,6 @@ jsonc-parser@^3.0.0: resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.1.0.tgz#73b8f0e5c940b83d03476bc2e51a20ef0932615d" integrity sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg== -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== - optionalDependencies: - graceful-fs "^4.1.6" - jsonfile@^6.0.1: version "6.1.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" @@ -9533,13 +9227,6 @@ keccak@^3.0.0: node-gyp-build "^4.2.0" readable-stream "^3.6.0" -keyv@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" - integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== - dependencies: - json-buffer "3.0.0" - kind-of@^3.0.2: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -9905,16 +9592,11 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" -lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: +lowercase-keys@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== -lowercase-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" - integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== - lru-cache@^4.0.1: version "4.1.5" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" @@ -10188,7 +9870,7 @@ mime-types@2.1.18: dependencies: mime-db "~1.33.0" -mime-types@^2.1.12, mime-types@^2.1.16, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: +mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== @@ -10205,11 +9887,6 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -mimic-response@^1.0.0, mimic-response@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - min-document@^2.19.0: version "2.19.0" resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" @@ -10283,45 +9960,13 @@ minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== -minipass@^2.6.0, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - -mkdirp-promise@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1" - integrity sha512-Hepn5kb1lJPtVW84RFT40YG1OddBNTOVUZR2bzQUHc+Z03en8/3uX0+060JDhcEzyO08HmipsN9DcnFMxhIL9w== - dependencies: - mkdirp "*" - -mkdirp@*: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5, mkdirp@~0.5.1: +mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1: version "0.5.6" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== dependencies: minimist "^1.2.6" -mock-fs@^4.1.0: - version "4.14.0" - resolved "https://registry.yarnpkg.com/mock-fs/-/mock-fs-4.14.0.tgz#ce5124d2c601421255985e6e94da80a7357b1b18" - integrity sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw== - ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -10337,22 +9982,6 @@ ms@2.1.3, ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -multibase@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/multibase/-/multibase-0.7.0.tgz#1adfc1c50abe05eefeb5091ac0c2728d6b84581b" - integrity sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg== - dependencies: - base-x "^3.0.8" - buffer "^5.5.0" - -multibase@~0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/multibase/-/multibase-0.6.1.tgz#b76df6298536cc17b9f6a6db53ec88f85f8cc12b" - integrity sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw== - dependencies: - base-x "^3.0.8" - buffer "^5.5.0" - multicast-dns@^7.2.5: version "7.2.5" resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" @@ -10361,35 +9990,6 @@ multicast-dns@^7.2.5: dns-packet "^5.2.2" thunky "^1.0.2" -multicodec@^0.5.5: - version "0.5.7" - resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-0.5.7.tgz#1fb3f9dd866a10a55d226e194abba2dcc1ee9ffd" - integrity sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA== - dependencies: - varint "^5.0.0" - -multicodec@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-1.0.4.tgz#46ac064657c40380c28367c90304d8ed175a714f" - integrity sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg== - dependencies: - buffer "^5.6.0" - varint "^5.0.0" - -multihashes@^0.4.15, multihashes@~0.4.15: - version "0.4.21" - resolved "https://registry.yarnpkg.com/multihashes/-/multihashes-0.4.21.tgz#dc02d525579f334a7909ade8a122dabb58ccfcb5" - integrity sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw== - dependencies: - buffer "^5.5.0" - multibase "^0.7.0" - varint "^5.0.0" - -nano-json-stream-parser@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz#0cc8f6d0e2b622b479c40d499c46d64b755c6f5f" - integrity sha512-9MqxMH/BSJC7dnLsEMPyfN5Dvoo49IsPFYMcHw3Bcfc2kN0lpHRBSzlMSVx4HGyJ7s9B31CyBTVehWJoQ8Ctew== - nanoid@^3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" @@ -10410,11 +10010,6 @@ neo-async@^2.6.2: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== - nice-try@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" @@ -10459,7 +10054,7 @@ node-forge@^1: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== -node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: +node-gyp-build@^4.2.0: version "4.5.0" resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== @@ -10539,11 +10134,6 @@ normalize-url@1.9.1: query-string "^4.1.0" sort-keys "^1.0.0" -normalize-url@^4.1.0: - version "4.5.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" - integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== - normalize-url@^6.0.1: version "6.1.0" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" @@ -10582,14 +10172,6 @@ num2fraction@^1.2.2: resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" integrity sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg== -number-to-bn@1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" - integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== - dependencies: - bn.js "4.11.6" - strip-hex-prefix "1.0.0" - nwsapi@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.1.tgz#10a9f268fbf4c461249ebcfe38e359aa36e2577c" @@ -10600,7 +10182,7 @@ oauth-sign@~0.9.0: resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== -object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: +object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== @@ -10696,13 +10278,6 @@ object.values@^1.1.0, object.values@^1.1.5: define-properties "^1.1.3" es-abstract "^1.19.1" -oboe@2.1.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/oboe/-/oboe-2.1.5.tgz#5554284c543a2266d7a38f17e073821fbde393cd" - integrity sha512-zRFWiF+FoicxEs3jNI/WYUrVEgA7DeET/InK0XQuudGHRg8iIob3cNPrJTKaz4004uaA9Pbe+Dwa8iluhjLZWA== - dependencies: - http-https "^1.0.0" - obuf@^1.0.0, obuf@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" @@ -10777,16 +10352,6 @@ ospath@^1.2.2: resolved "https://registry.yarnpkg.com/ospath/-/ospath-1.2.2.tgz#1276639774a3f8ef2572f7fe4280e0ea4550c07b" integrity sha512-o6E5qJV5zkAbIDNhGSIlyOhScKXgQrSRMilfph0clDfM0nEnBOlKlH4sWDmG95BW/CvwNz0vmm7dJVtU2KlMiA== -p-cancelable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.3.0.tgz#b9e123800bcebb7ac13a479be195b507b98d30fa" - integrity sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw== - -p-cancelable@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" - integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -10856,13 +10421,6 @@ p-retry@^4.5.0: "@types/retry" "0.12.0" retry "^0.13.1" -p-timeout@^1.1.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-1.2.1.tgz#5eb3b353b7fce99f101a1038880bb054ebbea386" - integrity sha512-gb0ryzr+K2qFqFv6qi3khoeqMZF/+ajxQipEF6NteZVnvz9tzdsfAVj3lYtn1gAXvH5lfLwfxEII799gt/mRIA== - dependencies: - p-finally "^1.0.0" - p-try@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" @@ -11833,11 +11391,6 @@ prepend-http@^1.0.0, prepend-http@^1.0.1: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha512-PhmXi5XmoyKw1Un4E+opM2KcsJInDvKyuOumcjjw3waw86ZNjHwVUOOWLc4bCzLdcKNaWBH9e99sbWzDQsVaYg== -prepend-http@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" - integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA== - preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" @@ -12043,11 +11596,6 @@ punycode@1.3.2: resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== -punycode@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" - integrity sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA== - punycode@^1.3.2: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" @@ -12083,15 +11631,6 @@ query-string@^4.1.0: object-assign "^4.1.0" strict-uri-encode "^1.0.0" -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - querystring@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" @@ -12658,7 +12197,7 @@ request-progress@^3.0.0: dependencies: throttleit "^1.0.0" -request@^2.79.0, request@^2.85.0: +request@^2.85.0: version "2.88.2" resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== @@ -12767,13 +12306,6 @@ resolve@^2.0.0-next.3: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -responselike@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" - integrity sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ== - dependencies: - lowercase-keys "^1.0.0" - restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -12867,7 +12399,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -13145,17 +12677,6 @@ serve@^13.0.2: serve-handler "6.1.3" update-check "1.5.2" -servify@^0.1.12: - version "0.1.12" - resolved "https://registry.yarnpkg.com/servify/-/servify-0.1.12.tgz#142ab7bee1f1d033b66d0707086085b17c06db95" - integrity sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw== - dependencies: - body-parser "^1.16.0" - cors "^2.8.1" - express "^4.14.0" - request "^2.79.0" - xhr "^2.3.3" - set-immediate-shim@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" @@ -13243,20 +12764,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -simple-concat@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.1.tgz#f46976082ba35c2263f1c8ab5edfe26c41c9552f" - integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== - -simple-get@^2.7.0: - version "2.8.2" - resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.2.tgz#5708fb0919d440657326cd5fe7d2599d07705019" - integrity sha512-Ijd/rV5o+mSBBs4F/x9oDPtTx9Zb6X9brmnXvMW4J7IR15ngi9q5xxqWBKU744jTZiaXtxaPL7uHG6vtN8kUkw== - dependencies: - decompress-response "^3.3.0" - once "^1.3.1" - simple-concat "^1.0.0" - simple-mime@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/simple-mime/-/simple-mime-0.1.0.tgz#95f517c4f466d7cff561a71fc9dab2596ea9ef2e" @@ -13926,23 +13433,6 @@ svgo@^2.7.0: picocolors "^1.0.0" stable "^0.1.8" -swarm-js@^0.1.40: - version "0.1.40" - resolved "https://registry.yarnpkg.com/swarm-js/-/swarm-js-0.1.40.tgz#b1bc7b6dcc76061f6c772203e004c11997e06b99" - integrity sha512-yqiOCEoA4/IShXkY3WKwP5PvZhmoOOD8clsKA7EEcRILMkTEYHCQ21HDCAcVpmIxZq4LyZvWeRJ6quIyHk1caA== - dependencies: - bluebird "^3.5.0" - buffer "^5.0.5" - eth-lib "^0.1.26" - fs-extra "^4.0.2" - got "^7.1.0" - mime-types "^2.1.16" - mkdirp-promise "^5.0.1" - mock-fs "^4.1.0" - setimmediate "^1.0.5" - tar "^4.0.2" - xhr-request "^1.0.1" - symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" @@ -14014,19 +13504,6 @@ tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0: resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== -tar@^4.0.2: - version "4.4.19" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" - integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== - dependencies: - chownr "^1.1.4" - fs-minipass "^1.2.7" - minipass "^2.9.0" - minizlib "^1.3.3" - mkdirp "^0.5.5" - safe-buffer "^5.2.1" - yallist "^3.1.1" - temp-dir@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" @@ -14137,7 +13614,7 @@ thunky@^1.0.2: resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== -timed-out@^4.0.0, timed-out@^4.0.1: +timed-out@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA== @@ -14168,11 +13645,6 @@ to-fast-properties@^2.0.0: resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== -to-readable-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" - integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -14349,16 +13821,6 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/type/-/type-2.6.0.tgz#3ca6099af5981d36ca86b78442973694278a219f" - integrity sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ== - typedarray-to-buffer@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" @@ -14392,11 +13854,6 @@ typescript@^4.5.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== -ultron@~1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" - integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og== - unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" @@ -14512,7 +13969,7 @@ unist-util-visit@^1.1.0: dependencies: unist-util-visit-parents "^2.0.0" -universalify@^0.1.0, universalify@^0.1.2: +universalify@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== @@ -14593,23 +14050,6 @@ url-parse-lax@^1.0.0: dependencies: prepend-http "^1.0.1" -url-parse-lax@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" - integrity sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ== - dependencies: - prepend-http "^2.0.0" - -url-set-query@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/url-set-query/-/url-set-query-1.0.0.tgz#016e8cfd7c20ee05cafe7795e892bd0702faa339" - integrity sha512-3AChu4NiXquPfeckE5R5cGdiHCMWJx1dwCWOmWIL4KHAziJNOFIYJlpGFeKDvwLPHovZRCxK3cYlwzqI9Vp+Gg== - -url-to-options@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" - integrity sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A== - url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -14618,14 +14058,7 @@ url@^0.11.0: punycode "1.3.2" querystring "0.2.0" -utf-8-validate@^5.0.2: - version "5.0.9" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.9.tgz#ba16a822fbeedff1a58918f2a6a6b36387493ea3" - integrity sha512-Yek7dAy0v3Kl0orwMlvi7TPtiCNrdfHNd7Gcc/pLq4BLXqfAmd0J7OWMizUQnTTJsyjKn02mU7anqwfmUP4J8Q== - dependencies: - node-gyp-build "^4.3.0" - -utf8@3.0.0, utf8@^3.0.0: +utf8@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== @@ -14667,11 +14100,6 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== -uuid@3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" - integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== - uuid@^3.0.1, uuid@^3.3.2, uuid@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" @@ -14704,12 +14132,7 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" -varint@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/varint/-/varint-5.0.2.tgz#5b47f8a947eb668b848e034dcfa87d0ff8a7f7a4" - integrity sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow== - -vary@^1, vary@~1.1.2: +vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== @@ -14824,173 +14247,6 @@ web-vitals@^2.1.2: resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-2.1.4.tgz#76563175a475a5e835264d373704f9dde718290c" integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== -web3-bzz@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.7.4.tgz#9419e606e38a9777443d4ce40506ebd796e06075" - integrity sha512-w9zRhyEqTK/yi0LGRHjZMcPCfP24LBjYXI/9YxFw9VqsIZ9/G0CRCnUt12lUx0A56LRAMpF7iQ8eA73aBcO29Q== - dependencies: - "@types/node" "^12.12.6" - got "9.6.0" - swarm-js "^0.1.40" - -web3-core-helpers@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.7.4.tgz#f8f808928560d3e64e0c8d7bdd163aa4766bcf40" - integrity sha512-F8PH11qIkE/LpK4/h1fF/lGYgt4B6doeMi8rukeV/s4ivseZHHslv1L6aaijLX/g/j4PsFmR42byynBI/MIzFg== - dependencies: - web3-eth-iban "1.7.4" - web3-utils "1.7.4" - -web3-core-method@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.7.4.tgz#3873c6405e1a0a8a1efc1d7b28de8b7550b00c15" - integrity sha512-56K7pq+8lZRkxJyzf5MHQPI9/VL3IJLoy4L/+q8HRdZJ3CkB1DkXYaXGU2PeylG1GosGiSzgIfu1ljqS7CP9xQ== - dependencies: - "@ethersproject/transactions" "^5.6.2" - web3-core-helpers "1.7.4" - web3-core-promievent "1.7.4" - web3-core-subscriptions "1.7.4" - web3-utils "1.7.4" - -web3-core-promievent@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.7.4.tgz#80a75633fdfe21fbaae2f1e38950edb2f134868c" - integrity sha512-o4uxwXKDldN7ER7VUvDfWsqTx9nQSP1aDssi1XYXeYC2xJbVo0n+z6ryKtmcoWoRdRj7uSpVzal3nEmlr480mA== - dependencies: - eventemitter3 "4.0.4" - -web3-core-requestmanager@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.7.4.tgz#2dc8a526dab8183dca3fef54658621801b1d0469" - integrity sha512-IuXdAm65BQtPL4aI6LZJJOrKAs0SM5IK2Cqo2/lMNvVMT9Kssq6qOk68Uf7EBDH0rPuINi+ReLP+uH+0g3AnPA== - dependencies: - util "^0.12.0" - web3-core-helpers "1.7.4" - web3-providers-http "1.7.4" - web3-providers-ipc "1.7.4" - web3-providers-ws "1.7.4" - -web3-core-subscriptions@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.7.4.tgz#cfbd3fa71081a8c8c6f1a64577a1a80c5bd9826f" - integrity sha512-VJvKWaXRyxk2nFWumOR94ut9xvjzMrRtS38c4qj8WBIRSsugrZr5lqUwgndtj0qx4F+50JhnU++QEqUEAtKm3g== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.7.4" - -web3-core@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.7.4.tgz#943fff99134baedafa7c65b4a0bbd424748429ff" - integrity sha512-L0DCPlIh9bgIED37tYbe7bsWrddoXYc897ANGvTJ6MFkSNGiMwDkTLWSgYd9Mf8qu8b4iuPqXZHMwIo4atoh7Q== - dependencies: - "@types/bn.js" "^5.1.0" - "@types/node" "^12.12.6" - bignumber.js "^9.0.0" - web3-core-helpers "1.7.4" - web3-core-method "1.7.4" - web3-core-requestmanager "1.7.4" - web3-utils "1.7.4" - -web3-eth-abi@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.7.4.tgz#3fee967bafd67f06b99ceaddc47ab0970f2a614a" - integrity sha512-eMZr8zgTbqyL9MCTCAvb67RbVyN5ZX7DvA0jbLOqRWCiw+KlJKTGnymKO6jPE8n5yjk4w01e165Qb11hTDwHgg== - dependencies: - "@ethersproject/abi" "^5.6.3" - web3-utils "1.7.4" - -web3-eth-accounts@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.7.4.tgz#7a24a4dfe947f7e9d1bae678529e591aa146167a" - integrity sha512-Y9vYLRKP7VU7Cgq6wG1jFaG2k3/eIuiTKAG8RAuQnb6Cd9k5BRqTm5uPIiSo0AP/u11jDomZ8j7+WEgkU9+Btw== - dependencies: - "@ethereumjs/common" "^2.5.0" - "@ethereumjs/tx" "^3.3.2" - crypto-browserify "3.12.0" - eth-lib "0.2.8" - ethereumjs-util "^7.0.10" - scrypt-js "^3.0.1" - uuid "3.3.2" - web3-core "1.7.4" - web3-core-helpers "1.7.4" - web3-core-method "1.7.4" - web3-utils "1.7.4" - -web3-eth-contract@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.7.4.tgz#e5761cfb43d453f57be4777b2e5e7e1082078ff7" - integrity sha512-ZgSZMDVI1pE9uMQpK0T0HDT2oewHcfTCv0osEqf5qyn5KrcQDg1GT96/+S0dfqZ4HKj4lzS5O0rFyQiLPQ8LzQ== - dependencies: - "@types/bn.js" "^5.1.0" - web3-core "1.7.4" - web3-core-helpers "1.7.4" - web3-core-method "1.7.4" - web3-core-promievent "1.7.4" - web3-core-subscriptions "1.7.4" - web3-eth-abi "1.7.4" - web3-utils "1.7.4" - -web3-eth-ens@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.7.4.tgz#346720305379c0a539e226141a9602f1da7bc0c8" - integrity sha512-Gw5CVU1+bFXP5RVXTCqJOmHn71X2ghNk9VcEH+9PchLr0PrKbHTA3hySpsPco1WJAyK4t8SNQVlNr3+bJ6/WZA== - dependencies: - content-hash "^2.5.2" - eth-ens-namehash "2.0.8" - web3-core "1.7.4" - web3-core-helpers "1.7.4" - web3-core-promievent "1.7.4" - web3-eth-abi "1.7.4" - web3-eth-contract "1.7.4" - web3-utils "1.7.4" - -web3-eth-iban@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.7.4.tgz#711fb2547fdf0f988060027331b2b6c430505753" - integrity sha512-XyrsgWlZQMv5gRcjXMsNvAoCRvV5wN7YCfFV5+tHUCqN8g9T/o4XUS20vDWD0k4HNiAcWGFqT1nrls02MGZ08w== - dependencies: - bn.js "^5.2.1" - web3-utils "1.7.4" - -web3-eth-personal@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.7.4.tgz#22c399794cb828a75703df8bb4b3c1331b471546" - integrity sha512-O10C1Hln5wvLQsDhlhmV58RhXo+GPZ5+W76frSsyIrkJWLtYQTCr5WxHtRC9sMD1idXLqODKKgI2DL+7xeZ0/g== - dependencies: - "@types/node" "^12.12.6" - web3-core "1.7.4" - web3-core-helpers "1.7.4" - web3-core-method "1.7.4" - web3-net "1.7.4" - web3-utils "1.7.4" - -web3-eth@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.7.4.tgz#a7c1d3ccdbba4de4a82df7e3c4db716e4a944bf2" - integrity sha512-JG0tTMv0Ijj039emXNHi07jLb0OiWSA9O24MRSk5vToTQyDNXihdF2oyq85LfHuF690lXZaAXrjhtLNlYqb7Ug== - dependencies: - web3-core "1.7.4" - web3-core-helpers "1.7.4" - web3-core-method "1.7.4" - web3-core-subscriptions "1.7.4" - web3-eth-abi "1.7.4" - web3-eth-accounts "1.7.4" - web3-eth-contract "1.7.4" - web3-eth-ens "1.7.4" - web3-eth-iban "1.7.4" - web3-eth-personal "1.7.4" - web3-net "1.7.4" - web3-utils "1.7.4" - -web3-net@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.7.4.tgz#3153dfd3423262dd6fbec7aae5467202c4cad431" - integrity sha512-d2Gj+DIARHvwIdmxFQ4PwAAXZVxYCR2lET0cxz4KXbE5Og3DNjJi+MoPkX+WqoUXqimu/EOd4Cd+7gefqVAFDg== - dependencies: - web3-core "1.7.4" - web3-core-method "1.7.4" - web3-utils "1.7.4" - web3-provider-engine@16.0.3: version "16.0.3" resolved "https://registry.yarnpkg.com/web3-provider-engine/-/web3-provider-engine-16.0.3.tgz#8ff93edf3a8da2f70d7f85c5116028c06a0d9f07" @@ -15019,67 +14275,6 @@ web3-provider-engine@16.0.3: xhr "^2.2.0" xtend "^4.0.1" -web3-providers-http@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.7.4.tgz#8209cdcb115db5ccae1f550d1c4e3005e7538d02" - integrity sha512-AU+/S+49rcogUER99TlhW+UBMk0N2DxvN54CJ2pK7alc2TQ7+cprNPLHJu4KREe8ndV0fT6JtWUfOMyTvl+FRA== - dependencies: - web3-core-helpers "1.7.4" - xhr2-cookies "1.1.0" - -web3-providers-ipc@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.7.4.tgz#02e85e99e48f432c9d34cee7d786c3685ec9fcfa" - integrity sha512-jhArOZ235dZy8fS8090t60nTxbd1ap92ibQw5xIrAQ9m7LcZKNfmLAQUVsD+3dTFvadRMi6z1vCO7zRi84gWHw== - dependencies: - oboe "2.1.5" - web3-core-helpers "1.7.4" - -web3-providers-ws@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.7.4.tgz#6e60bcefb456f569a3e766e386d7807a96f90595" - integrity sha512-g72X77nrcHMFU8hRzQJzfgi/072n8dHwRCoTw+WQrGp+XCQ71fsk2qIu3Tp+nlp5BPn8bRudQbPblVm2uT4myQ== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.7.4" - websocket "^1.0.32" - -web3-shh@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.7.4.tgz#bee91cce2737c529fd347274010b548b6ea060f1" - integrity sha512-mlSZxSYcMkuMCxqhTYnZkUdahZ11h+bBv/8TlkXp/IHpEe4/Gg+KAbmfudakq3EzG/04z70XQmPgWcUPrsEJ+A== - dependencies: - web3-core "1.7.4" - web3-core-method "1.7.4" - web3-core-subscriptions "1.7.4" - web3-net "1.7.4" - -web3-utils@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.7.4.tgz#eb6fa3706b058602747228234453811bbee017f5" - integrity sha512-acBdm6Evd0TEZRnChM/MCvGsMwYKmSh7OaUfNf5OKG0CIeGWD/6gqLOWIwmwSnre/2WrA1nKGId5uW2e5EfluA== - dependencies: - bn.js "^5.2.1" - ethereum-bloom-filters "^1.0.6" - ethereumjs-util "^7.1.0" - ethjs-unit "0.1.6" - number-to-bn "1.7.0" - randombytes "^2.1.0" - utf8 "3.0.0" - -web3@^1.6.1: - version "1.7.4" - resolved "https://registry.yarnpkg.com/web3/-/web3-1.7.4.tgz#00c9aef8e13ade92fd773d845fff250535828e93" - integrity sha512-iFGK5jO32vnXM/ASaJBaI0+gVR6uHozvYdxkdhaeOCD6HIQ4iIXadbO2atVpE9oc/H8l2MovJ4LtPhG7lIBN8A== - dependencies: - web3-bzz "1.7.4" - web3-core "1.7.4" - web3-eth "1.7.4" - web3-eth-personal "1.7.4" - web3-net "1.7.4" - web3-shh "1.7.4" - web3-utils "1.7.4" - webextension-polyfill-ts@^0.22.0: version "0.22.0" resolved "https://registry.yarnpkg.com/webextension-polyfill-ts/-/webextension-polyfill-ts-0.22.0.tgz#86cfd7bab4d9d779d98c8340983f4b691b2343f3" @@ -15264,18 +14459,6 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== -websocket@^1.0.32: - version "1.0.34" - resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.34.tgz#2bdc2602c08bf2c82253b730655c0ef7dcab3111" - integrity sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ== - dependencies: - bufferutil "^4.0.1" - debug "^2.2.0" - es5-ext "^0.10.50" - typedarray-to-buffer "^3.1.5" - utf-8-validate "^5.0.2" - yaeti "^0.0.6" - whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" @@ -15615,15 +14798,6 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@^3.0.0: - version "3.3.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" - integrity sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA== - dependencies: - async-limiter "~1.0.0" - safe-buffer "~5.1.0" - ultron "~1.1.0" - ws@^5.1.1: version "5.2.3" resolved "https://registry.yarnpkg.com/ws/-/ws-5.2.3.tgz#05541053414921bc29c63bee14b8b0dd50b07b3d" @@ -15658,34 +14832,7 @@ xdg-basedir@^3.0.0: resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" integrity sha512-1Dly4xqlulvPD3fZUQJLY+FUIeqN3N2MM3uqe4rCJftAvOjFa3jFGfctOgluGx4ahPbUCsZkmJILiP0Vi4T6lQ== -xhr-request-promise@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz#2d5f4b16d8c6c893be97f1a62b0ed4cf3ca5f96c" - integrity sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg== - dependencies: - xhr-request "^1.1.0" - -xhr-request@^1.0.1, xhr-request@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/xhr-request/-/xhr-request-1.1.0.tgz#f4a7c1868b9f198723444d82dcae317643f2e2ed" - integrity sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA== - dependencies: - buffer-to-arraybuffer "^0.0.5" - object-assign "^4.1.1" - query-string "^5.0.1" - simple-get "^2.7.0" - timed-out "^4.0.1" - url-set-query "^1.0.0" - xhr "^2.0.4" - -xhr2-cookies@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz#7d77449d0999197f155cb73b23df72505ed89d48" - integrity sha512-hjXUA6q+jl/bd8ADHcVfFsSPIf+tyLIjuO9TwJC9WI6JP2zKcS7C+p56I9kCLLsaCiNT035iYvEUUzdEFj/8+g== - dependencies: - cookiejar "^2.1.1" - -xhr@^2.0.4, xhr@^2.2.0, xhr@^2.3.3: +xhr@^2.2.0: version "2.6.0" resolved "https://registry.yarnpkg.com/xhr/-/xhr-2.6.0.tgz#b69d4395e792b4173d6b7df077f0fc5e4e2b249d" integrity sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA== @@ -15722,21 +14869,11 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yaeti@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/yaeti/-/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577" - integrity sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug== - yallist@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A== -yallist@^3.0.0, yallist@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" diff --git a/subscriptions/002-Web_Access/.eslintrc.json b/subscriptions/002-Web_Access/.eslintrc.json new file mode 100644 index 0000000..bffb357 --- /dev/null +++ b/subscriptions/002-Web_Access/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/subscriptions/002-Web_Access/.gitignore b/subscriptions/002-Web_Access/.gitignore new file mode 100644 index 0000000..8f322f0 --- /dev/null +++ b/subscriptions/002-Web_Access/.gitignore @@ -0,0 +1,35 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/subscriptions/002-Web_Access/README.md b/subscriptions/002-Web_Access/README.md new file mode 100644 index 0000000..f4da3c4 --- /dev/null +++ b/subscriptions/002-Web_Access/README.md @@ -0,0 +1,34 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +# or +pnpm dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. + +This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/subscriptions/002-Web_Access/next.config.js b/subscriptions/002-Web_Access/next.config.js new file mode 100644 index 0000000..767719f --- /dev/null +++ b/subscriptions/002-Web_Access/next.config.js @@ -0,0 +1,4 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = {} + +module.exports = nextConfig diff --git a/subscriptions/002-Web_Access/package-lock.json b/subscriptions/002-Web_Access/package-lock.json new file mode 100644 index 0000000..ae30faa --- /dev/null +++ b/subscriptions/002-Web_Access/package-lock.json @@ -0,0 +1,4163 @@ +{ + "name": "nvm-subscription", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "nvm-subscription", + "version": "0.1.0", + "dependencies": { + "@types/node": "20.3.3", + "@types/react": "18.2.14", + "@types/react-dom": "18.2.6", + "autoprefixer": "10.4.14", + "eslint": "8.44.0", + "eslint-config-next": "13.4.8", + "next": "13.4.8", + "postcss": "8.4.24", + "react": "18.2.0", + "react-dom": "18.2.0", + "tailwindcss": "3.3.2", + "typescript": "5.1.6" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@babel/runtime": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz", + "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==", + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", + "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", + "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + }, + "node_modules/@next/env": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/env/-/env-13.4.8.tgz", + "integrity": "sha512-twuSf1klb3k9wXI7IZhbZGtFCWvGD4wXTY2rmvzIgVhXhs7ISThrbNyutBx3jWIL8Y/Hk9+woytFz5QsgtcRKQ==" + }, + "node_modules/@next/eslint-plugin-next": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-13.4.8.tgz", + "integrity": "sha512-cmfVHpxWjjcETFt2WHnoFU6EmY69QcPJRlRNAooQlNe53Ke90vg1Ci/dkPffryJZaxxiRziP9bQrV8lDVCn3Fw==", + "dependencies": { + "glob": "7.1.7" + } + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.8.tgz", + "integrity": "sha512-MSFplVM4dTWOuKAUv0XR9gY7AWtMSBu9os9f+kp+s5rWhM1I2CdR3obFttd6366nS/W/VZxbPM5oEIdlIa46zA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.8.tgz", + "integrity": "sha512-Reox+UXgonon9P0WNDE6w85DGtyBqGitl/ryznOvn6TvfxEaZIpTgeu3ZrJLU9dHSMhiK7YAM793mE/Zii2/Qw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.8.tgz", + "integrity": "sha512-kdyzYvAYtqQVgzIKNN7e1rLU8aZv86FDSRqPlOkKZlvqudvTO0iohuTPmnEEDlECeBM6qRPShNffotDcU/R2KA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.8.tgz", + "integrity": "sha512-oWxx4yRkUGcR81XwbI+T0zhZ3bDF6V1aVLpG+C7hSG50ULpV8gC39UxVO22/bv93ZlcfMY4zl8xkz9Klct6dpQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.8.tgz", + "integrity": "sha512-anhtvuO6eE9YRhYnaEGTfbpH3L5gT/9qPFcNoi6xS432r/4DAtpJY8kNktqkTVevVIC/pVumqO8tV59PR3zbNg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.8.tgz", + "integrity": "sha512-aR+J4wWfNgH1DwCCBNjan7Iumx0lLtn+2/rEYuhIrYLY4vnxqSVGz9u3fXcgUwo6Q9LT8NFkaqK1vPprdq+BXg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.8.tgz", + "integrity": "sha512-OWBKIrJwQBTqrat0xhxEB/jcsjJR3+diD9nc/Y8F1mRdQzsn4bPsomgJyuqPVZs6Lz3K18qdIkvywmfSq75SsQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-ia32-msvc": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.8.tgz", + "integrity": "sha512-agiPWGjUndXGTOn4ChbKipQXRA6/UPkywAWIkx7BhgGv48TiJfHTK6MGfBoL9tS6B4mtW39++uy0wFPnfD0JWg==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-x64-msvc": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.8.tgz", + "integrity": "sha512-UIRKoByVKbuR6SnFG4JM8EMFlJrfEGuUQ1ihxzEleWcNwRMMiVaCj1KyqfTOW8VTQhJ0u8P1Ngg6q1RwnIBTtw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@pkgr/utils": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.1.tgz", + "integrity": "sha512-JOqwkgFEyi+OROIyq7l4Jy28h/WwhDnG/cPkXG2Z1iFbubB6jsHW1NDvmyOzTBxHr3yg68YGirmh1JUgMqa+9w==", + "dependencies": { + "cross-spawn": "^7.0.3", + "fast-glob": "^3.2.12", + "is-glob": "^4.0.3", + "open": "^9.1.0", + "picocolors": "^1.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/@rushstack/eslint-patch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.3.2.tgz", + "integrity": "sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==" + }, + "node_modules/@swc/helpers": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz", + "integrity": "sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" + }, + "node_modules/@types/node": { + "version": "20.3.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.3.tgz", + "integrity": "sha512-wheIYdr4NYML61AjC8MKj/2jrR/kDQri/CIpVoZwldwhnIrD/j9jIU5bJ8yBKuB2VhpFV7Ab6G2XkBjv9r9Zzw==" + }, + "node_modules/@types/prop-types": { + "version": "15.7.5", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", + "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" + }, + "node_modules/@types/react": { + "version": "18.2.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.14.tgz", + "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", + "dependencies": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.2.6", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.6.tgz", + "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", + "dependencies": { + "@types/react": "*" + } + }, + "node_modules/@types/scheduler": { + "version": "0.16.3", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", + "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==" + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.61.0.tgz", + "integrity": "sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg==", + "dependencies": { + "@typescript-eslint/scope-manager": "5.61.0", + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/typescript-estree": "5.61.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", + "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", + "dependencies": { + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/visitor-keys": "5.61.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", + "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", + "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", + "dependencies": { + "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/visitor-keys": "5.61.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.61.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", + "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", + "dependencies": { + "@typescript-eslint/types": "5.61.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/acorn": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/aria-query": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", + "dependencies": { + "dequal": "^2.0.3" + } + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-includes": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", + "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "get-intrinsic": "^1.1.3", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", + "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", + "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.tosorted": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz", + "integrity": "sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0", + "get-intrinsic": "^1.1.3" + } + }, + "node_modules/ast-types-flow": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", + "integrity": "sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==" + }, + "node_modules/autoprefixer": { + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "dependencies": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axe-core": { + "version": "4.7.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.2.tgz", + "integrity": "sha512-zIURGIS1E1Q4pcrMjp+nnEh+16G56eG/MUllJH8yEvw7asDo7Ac9uhC9KIH5jzpITueEZolfYglnCGIuSBz39g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/axobject-query": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz", + "integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==", + "dependencies": { + "dequal": "^2.0.3" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/big-integer": { + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/bplist-parser": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", + "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==", + "dependencies": { + "big-integer": "^1.6.44" + }, + "engines": { + "node": ">= 5.10.0" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.21.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", + "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bundle-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", + "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==", + "dependencies": { + "run-applescript": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001512", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz", + "integrity": "sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/client-only": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", + "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==" + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + }, + "node_modules/damerau-levenshtein": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", + "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==" + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "node_modules/default-browser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz", + "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==", + "dependencies": { + "bundle-name": "^3.0.0", + "default-browser-id": "^3.0.0", + "execa": "^7.1.1", + "titleize": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz", + "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==", + "dependencies": { + "bplist-parser": "^0.2.0", + "untildify": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==" + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.450", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz", + "integrity": "sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw==" + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/enhanced-resolve": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/es-abstract": { + "version": "1.21.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", + "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.0", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.4.3", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.9" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dependencies": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", + "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dependencies": { + "has": "^1.0.3" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", + "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.1.0", + "@eslint/js": "8.44.0", + "@humanwhocodes/config-array": "^0.11.10", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.0", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.6.0", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-next": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-13.4.8.tgz", + "integrity": "sha512-2hE0b6lHuhtHBX8VgEXi8v4G8PVrPUBMOSLCTq8qtcQ2qQOX7+uBOLK2kU4FD2qDZzyXNlhmuH+WLT5ptY4XLA==", + "dependencies": { + "@next/eslint-plugin-next": "13.4.8", + "@rushstack/eslint-patch": "^1.1.3", + "@typescript-eslint/parser": "^5.42.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-import-resolver-typescript": "^3.5.2", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-jsx-a11y": "^6.5.1", + "eslint-plugin-react": "^7.31.7", + "eslint-plugin-react-hooks": "^4.5.0" + }, + "peerDependencies": { + "eslint": "^7.23.0 || ^8.0.0", + "typescript": ">=3.3.1" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", + "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.11.0", + "resolve": "^1.22.1" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-import-resolver-typescript": { + "version": "3.5.5", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.5.tgz", + "integrity": "sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==", + "dependencies": { + "debug": "^4.3.4", + "enhanced-resolve": "^5.12.0", + "eslint-module-utils": "^2.7.4", + "get-tsconfig": "^4.5.0", + "globby": "^13.1.3", + "is-core-module": "^2.11.0", + "is-glob": "^4.0.3", + "synckit": "^0.8.5" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts" + }, + "peerDependencies": { + "eslint": "*", + "eslint-plugin-import": "*" + } + }, + "node_modules/eslint-import-resolver-typescript/node_modules/globby": { + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.1.tgz", + "integrity": "sha512-DPCBxctI7dN4EeIqjW2KGqgdcUMbrhJ9AzON+PlxCtvppWhubTLD4+a0GFxiym14ZvacUydTPjLPc2DlKz7EIg==", + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-import-resolver-typescript/node_modules/slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", + "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.27.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", + "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "array.prototype.flatmap": "^1.3.1", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.7", + "eslint-module-utils": "^2.7.4", + "has": "^1.0.3", + "is-core-module": "^2.11.0", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.values": "^1.1.6", + "resolve": "^1.22.1", + "semver": "^6.3.0", + "tsconfig-paths": "^3.14.1" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-plugin-jsx-a11y": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.7.1.tgz", + "integrity": "sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==", + "dependencies": { + "@babel/runtime": "^7.20.7", + "aria-query": "^5.1.3", + "array-includes": "^3.1.6", + "array.prototype.flatmap": "^1.3.1", + "ast-types-flow": "^0.0.7", + "axe-core": "^4.6.2", + "axobject-query": "^3.1.1", + "damerau-levenshtein": "^1.0.8", + "emoji-regex": "^9.2.2", + "has": "^1.0.3", + "jsx-ast-utils": "^3.3.3", + "language-tags": "=1.0.5", + "minimatch": "^3.1.2", + "object.entries": "^1.1.6", + "object.fromentries": "^2.0.6", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=4.0" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + } + }, + "node_modules/eslint-plugin-jsx-a11y/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-plugin-react": { + "version": "7.32.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz", + "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flatmap": "^1.3.1", + "array.prototype.tosorted": "^1.1.1", + "doctrine": "^2.1.0", + "estraverse": "^5.3.0", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.6", + "object.fromentries": "^2.0.6", + "object.hasown": "^1.1.2", + "object.values": "^1.1.6", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.4", + "semver": "^6.3.0", + "string.prototype.matchall": "^4.0.8" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/resolve": { + "version": "2.0.0-next.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz", + "integrity": "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==", + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/eslint-plugin-react/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.0.tgz", + "integrity": "sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==", + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/execa": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", + "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": "^14.18.0 || ^16.14.0 || >=18.0.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-glob": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/function.prototype.name": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", + "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0", + "functions-have-names": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-tsconfig": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.6.2.tgz", + "integrity": "sha512-E5XrT4CbbXcXWy+1jChlZmrmCwd5KGx502kDCXJJ7y898TtWW9FwoG5HfOLVRKmlmDGkWN2HM9Ho+/Y8F0sJDg==", + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, + "node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + }, + "node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==" + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/human-signals": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", + "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dependencies": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-wsl/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "node_modules/jiti": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.19.1.tgz", + "integrity": "sha512-oVhqoRDaBXf7sjkll95LHVS6Myyyb1zaunVwk4Z0+WPSW4gjS0pl01zYKHScTuyEhQsFxV5L4DR5r+YqSyqyyg==", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" + }, + "node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/jsx-ast-utils": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", + "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/language-subtag-registry": { + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", + "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==" + }, + "node_modules/language-tags": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz", + "integrity": "sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==", + "dependencies": { + "language-subtag-registry": "~0.3.2" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" + }, + "node_modules/next": { + "version": "13.4.8", + "resolved": "https://registry.npmjs.org/next/-/next-13.4.8.tgz", + "integrity": "sha512-lxUjndYKjZHGK3CWeN2RI+/6ni6EUvjiqGWXAYPxUfGIdFGQ5XoisrqAJ/dF74aP27buAfs8MKIbIMMdxjqSBg==", + "dependencies": { + "@next/env": "13.4.8", + "@swc/helpers": "0.5.1", + "busboy": "1.6.0", + "caniuse-lite": "^1.0.30001406", + "postcss": "8.4.14", + "styled-jsx": "5.1.1", + "watchpack": "2.4.0", + "zod": "3.21.4" + }, + "bin": { + "next": "dist/bin/next" + }, + "engines": { + "node": ">=16.8.0" + }, + "optionalDependencies": { + "@next/swc-darwin-arm64": "13.4.8", + "@next/swc-darwin-x64": "13.4.8", + "@next/swc-linux-arm64-gnu": "13.4.8", + "@next/swc-linux-arm64-musl": "13.4.8", + "@next/swc-linux-x64-gnu": "13.4.8", + "@next/swc-linux-x64-musl": "13.4.8", + "@next/swc-win32-arm64-msvc": "13.4.8", + "@next/swc-win32-ia32-msvc": "13.4.8", + "@next/swc-win32-x64-msvc": "13.4.8" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.1.0", + "fibers": ">= 3.1.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.3.0" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "fibers": { + "optional": true + }, + "sass": { + "optional": true + } + } + }, + "node_modules/next/node_modules/postcss": { + "version": "8.4.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", + "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], + "dependencies": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/node-releases": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", + "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.entries": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", + "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", + "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.hasown": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", + "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", + "dependencies": { + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", + "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz", + "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==", + "dependencies": { + "default-browser": "^4.0.0", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss": { + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", + "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", + "dependencies": { + "lilconfig": "^2.0.5", + "yaml": "^2.1.1" + }, + "engines": { + "node": ">= 14" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/react": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + }, + "peerDependencies": { + "react": "^18.2.0" + } + }, + "node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/run-applescript": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", + "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/run-applescript/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/run-applescript/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/run-applescript/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/run-applescript/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/string.prototype.matchall": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz", + "integrity": "sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "get-intrinsic": "^1.1.3", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.3", + "regexp.prototype.flags": "^1.4.3", + "side-channel": "^1.0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", + "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", + "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/styled-jsx": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz", + "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==", + "dependencies": { + "client-only": "0.0.1" + }, + "engines": { + "node": ">= 12.0.0" + }, + "peerDependencies": { + "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/sucrase": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz", + "integrity": "sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/synckit": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.5.tgz", + "integrity": "sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==", + "dependencies": { + "@pkgr/utils": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/tailwindcss": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz", + "integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "postcss-value-parser": "^4.2.0", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/titleize": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz", + "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==" + }, + "node_modules/tsconfig-paths": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", + "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tslib": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typescript": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/watchpack": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", + "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yaml": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", + "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", + "engines": { + "node": ">= 14" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "3.21.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz", + "integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/subscriptions/002-Web_Access/package.json b/subscriptions/002-Web_Access/package.json new file mode 100644 index 0000000..7639d92 --- /dev/null +++ b/subscriptions/002-Web_Access/package.json @@ -0,0 +1,29 @@ +{ + "name": "nvm-subscription", + "version": "0.1.0", + "private": true, + "scripts": { + "clean": "rm -rf .next/", + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "@nevermined-io/catalog": "1.8.0", + "@nevermined-io/providers": "1.8.0", + "viem": "~1.2.9", + "@types/node": "20.3.3", + "@types/react": "18.2.14", + "@types/react-dom": "18.2.6", + "autoprefixer": "10.4.14", + "eslint": "8.44.0", + "eslint-config-next": "13.4.8", + "next": "13.4.8", + "postcss": "8.4.24", + "react": "18.2.0", + "react-dom": "18.2.0", + "tailwindcss": "3.3.2", + "typescript": "5.1.6" + } +} diff --git a/subscriptions/002-Web_Access/postcss.config.js b/subscriptions/002-Web_Access/postcss.config.js new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/subscriptions/002-Web_Access/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/subscriptions/002-Web_Access/public/contracts/AaveBorrowCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AaveBorrowCondition.geth-localnet.json new file mode 100644 index 0000000..0a0502c --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AaveBorrowCondition.geth-localnet.json @@ -0,0 +1,408 @@ +{ + "name": "AaveBorrowCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_assetToBorrow", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6460cf12" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_assetToBorrow", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x509acc87" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610f7f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c806315c87f85146100e057806316279055146101085780631ce191851461012c578063485cc9551461014c578063509acc8714610161578063572b6c05146101745780635ced058e146101875780635ea3ab85146101a55780636460cf12146101b85780636fd902e1146101cb578063715018a6146101d157806382c947b7146101d95780638da5cb5b146101f3578063ab9de230146101fb578063cb4e57e814610203578063ce1b815f14610243578063f2fde38b1461024b575b600080fd5b6100f5600080516020610f2a83398151915281565b6040519081526020015b60405180910390f35b61011c610116366004610b45565b3b151590565b60405190151581526020016100ff565b61013f61013a366004610b69565b61025e565b6040516100ff9190610ba4565b61015f61015a366004610bb2565b610399565b005b6100f561016f366004610beb565b610518565b61011c610182366004610b45565b610582565b610198610195366004610b69565b90565b6040516100ff9190610c3d565b6100f56101b3366004610c67565b6105a7565b61013f6101c6366004610d24565b6105f6565b436100f5565b61015f610799565b6100f56101e7366004610b45565b6001600160a01b031690565b6101986107ad565b6101986107bc565b6100f5610211366004610d80565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b610198610851565b61015f610259366004610b45565b6108dc565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156102a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cc9190610da2565b61031d5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610350908590600390600401610dc4565b6020604051808303816000875af115801561036f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103939190610dd8565b92915050565b600054610100900460ff16158080156103b95750600054600160ff909116105b806103d35750303b1580156103d3575060005460ff166001145b6104365760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610314565b6000805460ff191660011790558015610459576000805461ff0019166101001790555b6001600160a01b0382166104a15760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610314565b6104a9610955565b6104b2836108dc565b606580546001600160a01b0319166001600160a01b0384161790558015610513576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60408051600080516020610f2a83398151915260208201529081018690526001600160a01b0380861660608301528416608082015260a0810183905260c0810182905260009060e00160405160208183030381529060405280519060200120905095945050505050565b600061058c610851565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156105ef578381815181106105c8576105c8610df9565b6020026020010151826105db9190610e25565b9150806105e781610e38565b9150506105ad565b5092915050565b6000846001600160a01b03811663eaf6e483610610610984565b6040518263ffffffff1660e01b815260040161062c9190610c3d565b602060405180830381865afa158015610649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066d9190610da2565b6106a95760405162461bcd60e51b815260206004820152600d60248201526c27b7363c903137b93937bbb2b960991b6044820152606401610314565b806001600160a01b031663d028053986866106c2610984565b60405160e085901b6001600160e01b03191681526001600160a01b0393841660048201526024810192909252909116604482015260648101869052608401600060405180830381600087803b15801561071a57600080fd5b505af115801561072e573d6000803e3d6000fd5b505050506000610745896102118a8a8a8a8a610518565b905060006107898260028b6040518060400160405280601381526020017220b0bb32a137b93937bba1b7b73234ba34b7b760691b815250610784610984565b61098e565b93505050505b9695505050505050565b6107a1610a0a565b6107ab6000610a79565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166107d55750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084c9190610e51565b905090565b60008061085c6107bc565b90506001600160a01b03811661087457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d69190610e51565b91505090565b6108e4610a0a565b6001600160a01b0381166109495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610314565b61095281610a79565b50565b600054610100900460ff1661097c5760405162461bcd60e51b815260040161031490610e6e565b6107ab610acb565b600061084c610b02565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae81906109c79089908890889088908c90600401610eb9565b6020604051808303816000875af11580156109e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078f9190610dd8565b610a12610984565b6001600160a01b0316610a236107ad565b6001600160a01b0316146107ab5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610314565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610af25760405162461bcd60e51b815260040161031490610e6e565b6107ab610afd610984565b610a79565b600060143610801590610b195750610b1933610582565b15610b2b575060131936013560601c90565b503390565b6001600160a01b038116811461095257600080fd5b600060208284031215610b5757600080fd5b8135610b6281610b30565b9392505050565b600060208284031215610b7b57600080fd5b5035919050565b60048110610ba057634e487b7160e01b600052602160045260246000fd5b9052565b602081016103938284610b82565b60008060408385031215610bc557600080fd5b8235610bd081610b30565b91506020830135610be081610b30565b809150509250929050565b600080600080600060a08688031215610c0357600080fd5b853594506020860135610c1581610b30565b93506040860135610c2581610b30565b94979396509394606081013594506080013592915050565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610c7a57600080fd5b82356001600160401b0380821115610c9157600080fd5b818501915085601f830112610ca557600080fd5b813581811115610cb757610cb7610c51565b8060051b604051601f19603f83011681018181108582111715610cdc57610cdc610c51565b604052918252848201925083810185019188831115610cfa57600080fd5b938501935b82851015610d1857843584529385019392850192610cff565b98975050505050505050565b60008060008060008060c08789031215610d3d57600080fd5b86359550602087013594506040870135610d5681610b30565b93506060870135610d6681610b30565b9598949750929560808101359460a0909101359350915050565b60008060408385031215610d9357600080fd5b50508035926020909101359150565b600060208284031215610db457600080fd5b81518015158114610b6257600080fd5b82815260408101610b626020830184610b82565b600060208284031215610dea57600080fd5b815160048110610b6257600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561039357610393610e0f565b600060018201610e4a57610e4a610e0f565b5060010190565b600060208284031215610e6357600080fd5b8151610b6281610b30565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b81811015610ef35787810183015185820160c001528201610ed7565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b038416606083015261078f6080830184610b8256fea08c5292c5532882f1d3627a2580087a25c377ce2c5868a0ead0a29462b2c60ca2646970667358221220c7235103dd2adc6be3d5b11165a8a48c49226e87c8ea36323c0fa77c9814d41e64736f6c63430008110033", + "address": "0x5B1eE0B69f0e2789A0758E220F1B2f95D9F3a710", + "implementation": "0x5B1eE0B69f0e2789A0758E220F1B2f95D9F3a710", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AaveCollateralDepositCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AaveCollateralDepositCondition.geth-localnet.json new file mode 100644 index 0000000..f7f1c1f --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AaveCollateralDepositCondition.geth-localnet.json @@ -0,0 +1,428 @@ +{ + "name": "AaveCollateralDepositCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_collateralAsset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_collateralAmount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_delegatedAsset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_delegatedAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "payable", + "type": "function", + "signature": "0x4163b466" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_collateralAsset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_collateralAmount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_delegatedAsset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_delegatedAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x924c53cc" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611544806100206000396000f3fe6080604052600436106100ce5760003560e01c806315c87f85146100d357806316279055146101085780631ce19185146101395780634163b46614610166578063485cc95514610179578063572b6c051461019b5780635ced058e146101bb5780635ea3ab85146101f15780636fd902e114610211578063715018a61461022457806382c947b7146102395780638da5cb5b14610260578063924c53cc14610275578063ab9de23014610295578063cb4e57e8146102aa578063ce1b815f146102f7578063f2fde38b1461030c575b600080fd5b3480156100df57600080fd5b506100f56000805160206114ef83398151915281565b6040519081526020015b60405180910390f35b34801561011457600080fd5b5061012961012336600461108f565b3b151590565b60405190151581526020016100ff565b34801561014557600080fd5b506101596101543660046110ac565b61032c565b6040516100ff91906110e7565b6101596101743660046110f5565b610467565b34801561018557600080fd5b5061019961019436600461116f565b610736565b005b3480156101a757600080fd5b506101296101b636600461108f565b6108bc565b3480156101c757600080fd5b506101d96101d63660046110ac565b90565b6040516001600160a01b0390911681526020016100ff565b3480156101fd57600080fd5b506100f561020c3660046111be565b6108e1565b34801561021d57600080fd5b50436100f5565b34801561023057600080fd5b50610199610930565b34801561024557600080fd5b506100f561025436600461108f565b6001600160a01b031690565b34801561026c57600080fd5b506101d9610944565b34801561028157600080fd5b506100f561029036600461126f565b610953565b3480156102a157600080fd5b506101d96109d0565b3480156102b657600080fd5b506100f56102c53660046112e0565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b34801561030357600080fd5b506101d9610a65565b34801561031857600080fd5b5061019961032736600461108f565b610af0565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039a9190611302565b6103eb5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e469061041e908590600390600401611324565b6020604051808303816000875af115801561043d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104619190611338565b92915050565b6000610471610b69565b60008790508860001c816001600160a01b031663c6bc51826040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611359565b1461054c5760405162461bcd60e51b815260206004820152603a60248201527f546865206e667420746f6b656e206c6f636b656420696e20746865207661756c6044820152793a103237b2b9903737ba1036b0ba31b4103a3434b9903234b21760311b60648201526084016103e2565b346000036105745786610572610560610bc2565b6001600160a01b03831690848a610bcc565b505b6040516311f9fbc960e21b81526001600160a01b038881166004830152602482018890528216906347e7ef249034906044016000604051808303818588803b1580156105bf57600080fd5b505af11580156105d3573d6000803e3d6000fd5b5050505050806001600160a01b031663c9368149826001600160a01b0316637df1f1b96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610625573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106499190611372565b6040516001600160e01b031960e084901b1681526001600160a01b03918216600482015260248101889052908816604482015260648101869052608401600060405180830381600087803b1580156106a057600080fd5b505af11580156106b4573d6000803e3d6000fd5b5050505060006106cd8b6102c58c8c8c8c8c8c8c610953565b9050600061071b8260028d6040518060400160405280601e81526020017f41617665436f6c6c61746572616c4465706f736974436f6e646974696f6e0000815250610716610bc2565b610c2c565b935050505061072a6001606655565b98975050505050505050565b600054610100900460ff16158080156107565750600054600160ff909116105b80610777575061076530610cb2565b158015610777575060005460ff166001145b6107da5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103e2565b6000805460ff1916600117905580156107fd576000805461ff0019166101001790555b6001600160a01b0382166108455760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103e2565b61084d610cc1565b61085683610af0565b606580546001600160a01b0319166001600160a01b03841617905580156108b7576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60006108c6610a65565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b8351811015610929578381815181106109025761090261138f565b60200260200101518261091591906113bb565b915080610921816113ce565b9150506108e7565b5092915050565b610938610cf0565b6109426000610d5f565b565b6033546001600160a01b031690565b604080516000805160206114ef83398151915260208201529081018890526001600160a01b038088166060830152808716608083015260a08201869052841660c082015260e08101839052610100810182905260009061012001604051602081830303815290604052805190602001209050979650505050505050565b6065546000906001600160a01b03166109e95750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a609190611372565b905090565b600080610a706109d0565b90506001600160a01b038116610a8857600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aea9190611372565b91505090565b610af8610cf0565b6001600160a01b038116610b5d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103e2565b610b6681610d5f565b50565b600260665403610bbb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103e2565b6002606655565b6000610a60610db1565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610c26908590610ddf565b50505050565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610c659089908890889088908c90600401611437565b6020604051808303816000875af1158015610c84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca89190611338565b9695505050505050565b6001600160a01b03163b151590565b600054610100900460ff16610ce85760405162461bcd60e51b81526004016103e290611474565b610942610eb1565b610cf8610bc2565b6001600160a01b0316610d09610944565b6001600160a01b0316146109425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103e2565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060143610801590610dc85750610dc8336108bc565b15610dda575060131936013560601c90565b503390565b6000610e34826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ee89092919063ffffffff16565b8051909150156108b75780806020019051810190610e529190611302565b6108b75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103e2565b600054610100900460ff16610ed85760405162461bcd60e51b81526004016103e290611474565b610942610ee3610bc2565b610d5f565b6060610ef78484600085610f01565b90505b9392505050565b606082471015610f625760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103e2565b600080866001600160a01b03168587604051610f7e91906114bf565b60006040518083038185875af1925050503d8060008114610fbb576040519150601f19603f3d011682016040523d82523d6000602084013e610fc0565b606091505b5091509150610fd187838387610fde565b925050505b949350505050565b6060831561104b57825160000361104457610ff885610cb2565b6110445760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103e2565b5081610fd6565b610fd683838151156110605781518083602001fd5b8060405162461bcd60e51b81526004016103e291906114db565b6001600160a01b0381168114610b6657600080fd5b6000602082840312156110a157600080fd5b8135610efa8161107a565b6000602082840312156110be57600080fd5b5035919050565b600481106110e357634e487b7160e01b600052602160045260246000fd5b9052565b6020810161046182846110c5565b600080600080600080600080610100898b03121561111257600080fd5b8835975060208901359650604089013561112b8161107a565b9550606089013561113b8161107a565b94506080890135935060a08901356111528161107a565b979a969950949793969295929450505060c08201359160e0013590565b6000806040838503121561118257600080fd5b823561118d8161107a565b9150602083013561119d8161107a565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156111d157600080fd5b82356001600160401b03808211156111e857600080fd5b818501915085601f8301126111fc57600080fd5b81358181111561120e5761120e6111a8565b8060051b604051601f19603f83011681018181108582111715611233576112336111a8565b60405291825284820192508381018501918883111561125157600080fd5b938501935b8285101561072a57843584529385019392850192611256565b600080600080600080600060e0888a03121561128a57600080fd5b87359650602088013561129c8161107a565b955060408801356112ac8161107a565b94506060880135935060808801356112c38161107a565b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156112f357600080fd5b50508035926020909101359150565b60006020828403121561131457600080fd5b81518015158114610efa57600080fd5b82815260408101610efa60208301846110c5565b60006020828403121561134a57600080fd5b815160048110610efa57600080fd5b60006020828403121561136b57600080fd5b5051919050565b60006020828403121561138457600080fd5b8151610efa8161107a565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610461576104616113a5565b6000600182016113e0576113e06113a5565b5060010190565b60005b838110156114025781810151838201526020016113ea565b50506000910152565b600081518084526114238160208601602086016113e7565b601f01601f19169290920160200192915050565b85815284602082015260a06040820152600061145660a083018661140b565b6001600160a01b03851660608401529050610ca860808301846110c5565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600082516114d18184602087016113e7565b9190910192915050565b602081526000610efa602083018461140b56fef44ccc8e92d3af6fad1b9a4cc07a50ddcf9f01115cfca46a6d7d4ca2416a6f8ca2646970667358221220d2aa7a27bdc89546f38eb1d0c94a6a745980f4e2c1e6df647a0c109e693f2d3464736f6c63430008110033", + "address": "0xB773D7389AF806560782c998E780AFC663ED1a05", + "implementation": "0xB773D7389AF806560782c998E780AFC663ED1a05", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AaveCollateralWithdrawCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AaveCollateralWithdrawCondition.geth-localnet.json new file mode 100644 index 0000000..552854e --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AaveCollateralWithdrawCondition.geth-localnet.json @@ -0,0 +1,388 @@ +{ + "name": "AaveCollateralWithdrawCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_collateralAsset", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "payable", + "type": "function", + "signature": "0x70457337" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_collateralAsset", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xf7bebc88" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506112c1806100206000396000f3fe6080604052600436106100ce5760003560e01c806315c87f85146100d357806316279055146101085780631ce1918514610139578063485cc95514610166578063572b6c05146101885780635ced058e146101a85780635ea3ab85146101d35780636fd902e1146101f35780637045733714610206578063715018a61461021957806382c947b71461022e5780638da5cb5b14610255578063ab9de2301461026a578063cb4e57e81461027f578063ce1b815f146102cc578063f2fde38b146102e1578063f7bebc8814610301575b600080fd5b3480156100df57600080fd5b506100f560008051602061126c83398151915281565b6040519081526020015b60405180910390f35b34801561011457600080fd5b50610129610123366004610e23565b3b151590565b60405190151581526020016100ff565b34801561014557600080fd5b50610159610154366004610e40565b610321565b6040516100ff9190610e91565b34801561017257600080fd5b50610186610181366004610e9f565b61045c565b005b34801561019457600080fd5b506101296101a3366004610e23565b6105db565b3480156101b457600080fd5b506101c66101c3366004610e40565b90565b6040516100ff9190610ed8565b3480156101df57600080fd5b506100f56101ee366004610f02565b610600565b3480156101ff57600080fd5b50436100f5565b610159610214366004610fbf565b61064f565b34801561022557600080fd5b506101866109b9565b34801561023a57600080fd5b506100f5610249366004610e23565b6001600160a01b031690565b34801561026157600080fd5b506101c66109cd565b34801561027657600080fd5b506101c66109dc565b34801561028b57600080fd5b506100f561029a366004611009565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b3480156102d857600080fd5b506101c6610a71565b3480156102ed57600080fd5b506101866102fc366004610e23565b610afc565b34801561030d57600080fd5b506100f561031c36600461102b565b610b75565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa15801561036b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038f919061106d565b6103e05760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e469061041390859060039060040161108f565b6020604051808303816000875af1158015610432573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045691906110b7565b92915050565b600054610100900460ff161580801561047c5750600054600160ff909116105b806104965750303b158015610496575060005460ff166001145b6104f95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103d7565b6000805460ff19166001179055801561051c576000805461ff0019166101001790555b6001600160a01b0382166105645760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103d7565b61056c610bd0565b61057583610afc565b606580546001600160a01b0319166001600160a01b03841617905580156105d6576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60006105e5610a71565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561064857838181518110610621576106216110d2565b60200260200101518261063491906110fe565b91508061064081611111565b915050610606565b5092915050565b6000610659610bff565b826001600160a01b03811663709b8961610671610c58565b6040518263ffffffff1660e01b815260040161068d9190610ed8565b602060405180830381865afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce919061106d565b6107085760405162461bcd60e51b815260206004820152600b60248201526a27b7363c903632b73232b960a91b60448201526064016103d7565b600080606560009054906101000a90046001600160a01b03166001600160a01b0316632934a0ee846001600160a01b031663c765b8e26040518163ffffffff1660e01b8152600401602060405180830381865afa15801561076d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610791919061112a565b6040518263ffffffff1660e01b81526004016107af91815260200190565b60a060405180830381865afa1580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f09190611143565b50929450909250600291506108029050565b81600381111561081457610814610e59565b1461086f5760405162461bcd60e51b815260206004820152602560248201527f526570617920436f6e646974696f6e206e6565647320746f2062652046756c666044820152641a5b1b195960da1b60648201526084016103d7565b826001600160a01b031663679c4de186856001600160a01b031663bcead63e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e19190611193565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401600060405180830381600087803b15801561092957600080fd5b505af115801561093d573d6000803e3d6000fd5b5050505060006109528961029a8a8a8a610b75565b905060006109a08260028b6040518060400160405280601f81526020017f41617665436f6c6c61746572616c5769746864726177436f6e646974696f6e0081525061099b610c58565b610c62565b955050505050506109b16001606655565b949350505050565b6109c1610ce8565b6109cb6000610d57565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166109f55750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6c9190611193565b905090565b600080610a7c6109dc565b90506001600160a01b038116610a9457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af69190611193565b91505090565b610b04610ce8565b6001600160a01b038116610b695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d7565b610b7281610d57565b50565b6040805160008051602061126c83398151915260208201529081018490526001600160a01b0380841660608301528216608082015260009060a0016040516020818303038152906040528051906020012090505b9392505050565b600054610100900460ff16610bf75760405162461bcd60e51b81526004016103d7906111b0565b6109cb610da9565b600260665403610c515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103d7565b6002606655565b6000610a6c610de0565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610c9b9089908890889088908c906004016111fb565b6020604051808303816000875af1158015610cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cde91906110b7565b9695505050505050565b610cf0610c58565b6001600160a01b0316610d016109cd565b6001600160a01b0316146109cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103d7565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610dd05760405162461bcd60e51b81526004016103d7906111b0565b6109cb610ddb610c58565b610d57565b600060143610801590610df75750610df7336105db565b15610e09575060131936013560601c90565b503390565b6001600160a01b0381168114610b7257600080fd5b600060208284031215610e3557600080fd5b8135610bc981610e0e565b600060208284031215610e5257600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60048110610e8d57634e487b7160e01b600052602160045260246000fd5b9052565b602081016104568284610e6f565b60008060408385031215610eb257600080fd5b8235610ebd81610e0e565b91506020830135610ecd81610e0e565b809150509250929050565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610f1557600080fd5b82356001600160401b0380821115610f2c57600080fd5b818501915085601f830112610f4057600080fd5b813581811115610f5257610f52610eec565b8060051b604051601f19603f83011681018181108582111715610f7757610f77610eec565b604052918252848201925083810185019188831115610f9557600080fd5b938501935b82851015610fb357843584529385019392850192610f9a565b98975050505050505050565b60008060008060808587031215610fd557600080fd5b84359350602085013592506040850135610fee81610e0e565b91506060850135610ffe81610e0e565b939692955090935050565b6000806040838503121561101c57600080fd5b50508035926020909101359150565b60008060006060848603121561104057600080fd5b83359250602084013561105281610e0e565b9150604084013561106281610e0e565b809150509250925092565b60006020828403121561107f57600080fd5b81518015158114610bc957600080fd5b82815260408101610bc96020830184610e6f565b8051600481106110b257600080fd5b919050565b6000602082840312156110c957600080fd5b610bc9826110a3565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610456576104566110e8565b600060018201611123576111236110e8565b5060010190565b60006020828403121561113c57600080fd5b5051919050565b600080600080600060a0868803121561115b57600080fd5b855161116681610e0e565b9450611174602087016110a3565b6040870151606088015160809098015196999198509695945092505050565b6000602082840312156111a557600080fd5b8151610bc981610e0e565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b818110156112355787810183015185820160c001528201611219565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610cde6080830184610e6f56feb862fd8b3cfd8de2573921377aa850f87e20369faed56b30213c873595f77affa26469706673582212200e819ac90c169e2aaf6a26f529994a8844a85f21760c230765bc902397f8561164736f6c63430008110033", + "address": "0xBC45829a257D7E41924bb3638257bFA52591A3Cb", + "implementation": "0xBC45829a257D7E41924bb3638257bFA52591A3Cb", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AaveCreditTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AaveCreditTemplate.geth-localnet.json new file mode 100644 index 0000000..cc280fc --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AaveCreditTemplate.geth-localnet.json @@ -0,0 +1,827 @@ +{ + "name": "AaveCreditTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_creator", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_lender", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_borrower", + "type": "address" + } + ], + "name": "VaultCreated", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_vaultLibrary", + "type": "address" + } + ], + "name": "changeCreditVaultLibrary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2a06455d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lendingPool", + "type": "address" + }, + { + "internalType": "address", + "name": "_dataProvider", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_agreementFee", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_treasuryAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_lender", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x84713d09" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + } + ], + "name": "createVaultAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8443559" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_lendingPool", + "type": "address" + }, + { + "internalType": "address", + "name": "_dataProvider", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_agreementFee", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_treasuryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_borrower", + "type": "address" + }, + { + "internalType": "address", + "name": "_lender", + "type": "address" + } + ], + "name": "deployVault", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa49aa01d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + } + ], + "name": "getVaultForAgreement", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16190a78" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftLockConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_depositConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_borrowConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_repayConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_withdrawCollateralAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_vaultLibrary", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf5e95acb" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newFee", + "type": "uint256" + } + ], + "name": "updateNVMFee", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x89bccc8d" + }, + { + "inputs": [], + "name": "vaultLibrary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xeb0a8b91" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612293806100206000396000f3fe6080604052600436106101265760003560e01c806316190a781461012b578063162790551461017e5780632a06455d146101af5780632e166f3e146101d15780634183e72b146101f1578063572b6c05146102115780635ced058e146102315780635ea3ab851461024f5780636104ff1a1461027d5780636fd902e1146102905780636ff015ae146102a3578063715018a6146102e957806382c947b7146102fe57806384713d091461032557806389bccc8d146103455780638da5cb5b1461036557806391a169bf1461037a578063a49aa01d1461039c578063ab9de230146103bc578063ce1b815f146103d1578063eb0a8b91146103e6578063f2fde38b14610406578063f5e95acb14610426578063f844355914610446578063f8fe107014610466575b600080fd5b34801561013757600080fd5b506101616101463660046114b2565b6000908152607060205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561018a57600080fd5b5061019f6101993660046114fd565b3b151590565b6040519015158152602001610175565b3480156101bb57600080fd5b506101cf6101ca3660046114fd565b610479565b005b3480156101dd57600080fd5b506101cf6101ec3660046115f5565b6104a3565b3480156101fd57600080fd5b506101cf61020c366004611690565b61054a565b34801561021d57600080fd5b5061019f61022c3660046114fd565b61056d565b34801561023d57600080fd5b5061016161024c3660046114b2565b90565b34801561025b57600080fd5b5061026f61026a36600461173e565b610592565b604051908152602001610175565b6101cf61028b3660046117de565b6105e1565b34801561029c57600080fd5b504361026f565b3480156102af57600080fd5b506102c36102be3660046114b2565b6106fd565b604080516001600160a01b03948516815293909216602084015290820152606001610175565b3480156102f557600080fd5b506101cf610874565b34801561030a57600080fd5b5061026f6103193660046114fd565b6001600160a01b031690565b34801561033157600080fd5b506101cf6103403660046118ef565b610888565b34801561035157600080fd5b506101cf6103603660046114b2565b6109ed565b34801561037157600080fd5b506101616109fa565b34801561038657600080fd5b5061038f610a09565b6040516101759190611a34565b3480156103a857600080fd5b506101616103b7366004611a47565b610a6b565b3480156103c857600080fd5b50610161610b48565b3480156103dd57600080fd5b50610161610bdd565b3480156103f257600080fd5b50607254610161906001600160a01b031681565b34801561041257600080fd5b506101cf6104213660046114fd565b610c68565b34801561043257600080fd5b506101cf610441366004611ad4565b610ce6565b34801561045257600080fd5b506101cf610461366004611690565b611092565b6101cf610474366004611b90565b611109565b610481611136565b607280546001600160a01b0319166001600160a01b0392909216919091179055565b6066546001600160a01b031663955d0c2a866104bd6111a5565b6040516020016104ce929190611ca9565b60405160208183030381529060405280519060200120866104ed610a09565b8787876040518763ffffffff1660e01b815260040161051196959493929190611cf0565b600060405180830381600087803b15801561052b57600080fd5b505af115801561053f573d6000803e3d6000fd5b505050505050505050565b61055786868686866104a3565b6105658686858585896111af565b505050505050565b6000610577610bdd565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156105da578381815181106105b3576105b3611d56565b6020026020010151826105c69190611d82565b9150806105d281611d95565b915050610598565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e61060e6111a5565b60405160200161061f929190611ca9565b6040516020818303038152906040528051906020012081526020018d8152602001610648610a09565b81526020018c81526020018b81526020018a81526020016106676111a5565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b81526004016106bf9190611dae565b6000604051808303818588803b1580156106d857600080fd5b505af11580156106ec573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561075e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107829190611ed4565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916107c69160040190815260200190565b600060405180830381865afa1580156107e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261080b9190810190611fe9565b50508151969950909750509315935061084492505050578160008151811061083557610835611d56565b60200260200101519450610848565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61087c611136565b610886600061127b565b565b6072546071546000916001600160a01b0316906363003882908d908d908d908d8d6108b16111a5565b8a60656040518a63ffffffff1660e01b81526004016108d8999897969594939291906120c1565b6020604051808303816000875af11580156108f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091b9190611ed4565b90508080607060008f61092c6111a5565b60405160200161093d929190611ca9565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555061098d6111a5565b6001600160a01b0316816001600160a01b031660008051602061223e833981519152856109b86111a5565b6040516109c6929190612160565b60405180910390a36109de8d8888888861020c6111a5565b50505050505050505050505050565b6109f5611136565b607155565b6033546001600160a01b031690565b60606065805480602002602001604051908101604052809291908181526020018280548015610a6157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610a43575b5050505050905090565b6072546071546040516331801c4160e11b815260009283926001600160a01b0390911691636300388291610ab3918d918d918d91908d908d908d908d906065906004016120c1565b6020604051808303816000875af1158015610ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af69190611ed4565b905080610b016111a5565b6001600160a01b0316816001600160a01b031660008051602061223e8339815191528688604051610b33929190612160565b60405180910390a39998505050505050505050565b6066546000906001600160a01b0316610b615750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd89190611ed4565b905090565b600080610be8610b48565b90506001600160a01b038116610c0057600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c629190611ed4565b91505090565b610c70611136565b6001600160a01b038116610cda5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610ce38161127b565b50565b600054610100900460ff1615808015610d065750600054600160ff909116105b80610d205750303b158015610d20575060005460ff166001145b610d835760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610cd1565b6000805460ff191660011790558015610da6576000805461ff0019166101001790555b6001600160a01b038a1615801590610dc657506001600160a01b03891615155b8015610dda57506001600160a01b03881615155b8015610dee57506001600160a01b03871615155b8015610e0257506001600160a01b03861615155b8015610e1657506001600160a01b03851615155b8015610e2a57506001600160a01b03831615155b8015610e3e57506001600160a01b03841615155b610e7c5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610cd1565b610e846112cd565b610e8d8a610c68565b606680546001600160a01b03808c166001600160a01b0319928316811790935560728054918616919092161790556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190611ed4565b606980546001600160a01b03199081166001600160a01b0393841617909155606a805482168b8416908117909155606b805483168b8516178155606c805484168b8616178155606d805485168b8716178155606f805486168b8816178155606e805487168b8916178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c791820180548b1690991790985595548154808901835587018054918b16918a1691909117905593548454808801865586018054918a16918916919091179055915483548087018555850180549189169188169190911790555482548086018455840180549188169187169190911790555481549384019091559101805491909316911617905560026071558015611086576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b8060706000886110a06111a5565b6040516020016110b1929190611ca9565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610565868686868661020c6111a5565b61111b8b8b8b8b8b8a8a8a8a8a6105e1565b6111298b8b8a8a8a8e6111af565b5050505050505050505050565b61113e6111a5565b6001600160a01b031661114f6109fa565b6001600160a01b0316146108865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd1565b6000610bd86112fc565b6000866111ba6111a5565b6040516020016111cb929190611ca9565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be348989898861124e8f8261132a565b8f6112576111a5565b60405161126a979695949392919061217a565b60405180910390a450505050505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166112f45760405162461bcd60e51b8152600401610cd1906121f2565b61088661147b565b60006014361080159061131357506113133361056d565b15611325575060131936013560601c90565b503390565b60606000836113376111a5565b604051602001611348929190611ca9565b604051602081830303815290604052805190602001209050600083516001600160401b0381111561137b5761137b611521565b6040519080825280602002602001820160405280156113a4578160200160208202803683370190505b50905060005b81518110156114705782606582815481106113c7576113c7611d56565b9060005260206000200160009054906101000a90046001600160a01b03168683815181106113f7576113f7611d56565b602002602001015160405160200161142b939291909283526001600160a01b03919091166020830152604082015260600190565b6040516020818303038152906040528051906020012082828151811061145357611453611d56565b60209081029190910101528061146881611d95565b9150506113aa565b509150505b92915050565b600054610100900460ff166114a25760405162461bcd60e51b8152600401610cd1906121f2565b6108866114ad6111a5565b61127b565b6000602082840312156114c457600080fd5b5035919050565b6001600160a01b03169052565b6001600160a01b0381168114610ce357600080fd5b80356114f8816114d8565b919050565b60006020828403121561150f57600080fd5b813561151a816114d8565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561155f5761155f611521565b604052919050565b60006001600160401b0382111561158057611580611521565b5060051b60200190565b600082601f83011261159b57600080fd5b813560206115b06115ab83611567565b611537565b82815260059290921b840181019181810190868411156115cf57600080fd5b8286015b848110156115ea57803583529183019183016115d3565b509695505050505050565b600080600080600060a0868803121561160d57600080fd5b853594506020860135935060408601356001600160401b038082111561163257600080fd5b61163e89838a0161158a565b9450606088013591508082111561165457600080fd5b61166089838a0161158a565b9350608088013591508082111561167657600080fd5b506116838882890161158a565b9150509295509295909350565b60008060008060008060c087890312156116a957600080fd5b863595506020870135945060408701356001600160401b03808211156116ce57600080fd5b6116da8a838b0161158a565b955060608901359150808211156116f057600080fd5b6116fc8a838b0161158a565b9450608089013591508082111561171257600080fd5b5061171f89828a0161158a565b92505060a0870135611730816114d8565b809150509295509295509295565b60006020828403121561175057600080fd5b81356001600160401b0381111561176657600080fd5b6117728482850161158a565b949350505050565b600082601f83011261178b57600080fd5b8135602061179b6115ab83611567565b82815260059290921b840181019181810190868411156117ba57600080fd5b8286015b848110156115ea5780356117d1816114d8565b83529183019183016117be565b6000806000806000806000806000806101408b8d0312156117fe57600080fd5b8a35995060208b0135985060408b01356001600160401b038082111561182357600080fd5b61182f8e838f0161158a565b995060608d013591508082111561184557600080fd5b6118518e838f0161158a565b985060808d013591508082111561186757600080fd5b6118738e838f0161158a565b975060a08d0135965061188860c08e016114ed565b955061189660e08e016114ed565b94506101008d01359150808211156118ad57600080fd5b6118b98e838f0161158a565b93506101208d01359150808211156118d057600080fd5b506118dd8d828e0161177a565b9150509295989b9194979a5092959850565b60008060008060008060008060008060006101608c8e03121561191157600080fd5b8b359a5061192160208d016114ed565b995061192f60408d016114ed565b985061193d60608d016114ed565b975060808c0135965061195260a08d016114ed565b955060c08c013594506001600160401b0360e08d013581101561197457600080fd5b6119848e60e08f01358f0161158a565b9450806101008e0135111561199857600080fd5b6119a98e6101008f01358f0161158a565b9350806101208e013511156119bd57600080fd5b506119cf8d6101208e01358e0161158a565b91506119de6101408d016114ed565b90509295989b509295989b9093969950565b600081518084526020808501945080840160005b83811015611a295781516001600160a01b031687529582019590820190600101611a04565b509495945050505050565b60208152600061151a60208301846119f0565b600080600080600080600060e0888a031215611a6257600080fd5b8735611a6d816114d8565b96506020880135611a7d816114d8565b95506040880135611a8d816114d8565b9450606088013593506080880135611aa4816114d8565b925060a0880135611ab4816114d8565b915060c0880135611ac4816114d8565b8091505092959891949750929550565b60008060008060008060008060006101208a8c031215611af357600080fd5b8935611afe816114d8565b985060208a0135611b0e816114d8565b975060408a0135611b1e816114d8565b965060608a0135611b2e816114d8565b955060808a0135611b3e816114d8565b945060a08a0135611b4e816114d8565b935060c08a0135611b5e816114d8565b925060e08a0135611b6e816114d8565b91506101008a0135611b7f816114d8565b809150509295985092959850929598565b60008060008060008060008060008060006101608c8e031215611bb257600080fd5b8b359a5060208c013599506001600160401b0360408d0135811015611bd657600080fd5b611be68e60408f01358f0161158a565b99508060608e01351115611bf957600080fd5b611c098e60608f01358f0161158a565b98508060808e01351115611c1c57600080fd5b611c2c8e60808f01358f0161158a565b9750611c3a60a08e016114ed565b965060c08d01359550611c4f60e08e016114ed565b9450611c5e6101008e016114ed565b9350806101208e01351115611c7257600080fd5b611c838e6101208f01358f0161158a565b9250806101408e01351115611c9757600080fd5b506119de8d6101408e01358e0161177a565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b83811015611a2957815187529582019590820190600101611cd4565b86815285602082015260c060408201526000611d0f60c08301876119f0565b8281036060840152611d218187611cc0565b90508281036080840152611d358186611cc0565b905082810360a0840152611d498185611cc0565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561147557611475611d6c565b600060018201611da757611da7611d6c565b5060010190565b60208152815160208201526020820151604082015260006040830151610180806060850152611de16101a08501836119f0565b91506060850151601f1980868503016080870152611dff8483611cc0565b935060808701519150808685030160a0870152611e1c8483611cc0565b935060a08701519150808685030160c0870152611e398483611cc0565b935060c08701519150611e4f60e08701836114cb565b60e0870151610100878101919091528701519150610120611e72818801846114cb565b8701519150610140611e86878201846114cb565b80880151925050610160818786030181880152611ea38584611cc0565b908801518782039092018488015293509050611ebf83826119f0565b9695505050505050565b80516114f8816114d8565b600060208284031215611ee657600080fd5b815161151a816114d8565b600082601f830112611f0257600080fd5b81516001600160401b03811115611f1b57611f1b611521565b6020611f2f601f8301601f19168201611537565b8281528582848701011115611f4357600080fd5b60005b83811015611f61578581018301518282018401528201611f46565b506000928101909101919091529392505050565b600082601f830112611f8657600080fd5b81516020611f966115ab83611567565b82815260059290921b84018101918181019086841115611fb557600080fd5b8286015b848110156115ea578051611fcc816114d8565b8352918301918301611fb9565b805180151581146114f857600080fd5b60008060008060008060008060006101208a8c03121561200857600080fd5b6120118a611ec9565b60208b015160408c0151919a5098506001600160401b038082111561203557600080fd5b6120418d838e01611ef1565b985061204f60608d01611ec9565b975060808c0151965060a08c015191508082111561206c57600080fd5b6120788d838e01611f75565b955060c08c0151945060e08c015191508082111561209557600080fd5b506120a28c828d01611ef1565b9250506120b26101008b01611fd9565b90509295985092959850929598565b600061012080830160018060a01b03808e1685526020818e1681870152818d1660408701528b60608701528a6080870152818a1660a087015281891660c087015281881660e0870152836101008701528293508654808452610140870194508760005281600020935060005b8181101561214b57845484168652948201946001948501940161212d565b50939f9e505050505050505050505050505050565b6001600160a01b0392831681529116602082015260400190565b87815260e06020820152600061219360e0830189611cc0565b82810360408401526121a58189611cc0565b905082810360608401526121b98188611cc0565b905082810360808401526121cd8187611cc0565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fe65f3b3eb308975062edaa844d30896caad06d8482fdb020b3e1557f17f5a76c7a26469706673582212203a87922f4f0ce808c53a4fb21af4e8212aeaaea333312db14976343cc7c339d964736f6c63430008110033", + "address": "0x5535177d8159E447B1F0f07733e6FC5FeF0abb2F", + "implementation": "0x5535177d8159E447B1F0f07733e6FC5FeF0abb2F", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AaveCreditVault.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AaveCreditVault.geth-localnet.json new file mode 100644 index 0000000..2974884 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AaveCreditVault.geth-localnet.json @@ -0,0 +1,864 @@ +{ + "name": "AaveCreditVault", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "BORROWER_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x0e7b949e" + }, + { + "inputs": [], + "name": "CONDITION_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x0e1d0fa2" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "LENDER_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x00abafe1" + }, + { + "inputs": [], + "name": "agreementFee", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x3f1ae6f6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_borrower", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "approveBorrower", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc9368149" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_assetToBorrow", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_delgatee", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "borrow", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd0280539" + }, + { + "inputs": [], + "name": "borrower", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x7df1f1b9" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_lendingPool", + "type": "address" + }, + { + "internalType": "address", + "name": "_dataProvider", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nvmFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_agreementFee", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_treasuryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_borrower", + "type": "address" + }, + { + "internalType": "address", + "name": "_lender", + "type": "address" + }, + { + "internalType": "address[]", + "name": "_conditions", + "type": "address[]" + } + ], + "name": "createClone", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x63003882" + }, + { + "inputs": [], + "name": "dataProvider", + "outputs": [ + { + "internalType": "contract IProtocolDataProvider", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xb334ed86" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_borrower", + "type": "address" + }, + { + "internalType": "address", + "name": "_asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "delegatedAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x9487fa78" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_collateralAsset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "deposit", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x47e7ef24" + }, + { + "inputs": [], + "name": "getActualCreditDebt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xebe5891e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_asset", + "type": "address" + } + ], + "name": "getAssetPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xb3596f07" + }, + { + "inputs": [], + "name": "getBorrowedAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xd6dc867a" + }, + { + "inputs": [], + "name": "getCreditAssetDebt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x0bd81960" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTotalActualDebt", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xd0396bec" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_lendingPool", + "type": "address" + }, + { + "internalType": "address", + "name": "_dataProvider", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nvmFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_agreementFee", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_treasuryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_borrower", + "type": "address" + }, + { + "internalType": "address", + "name": "_lender", + "type": "address" + }, + { + "internalType": "address[]", + "name": "_conditions", + "type": "address[]" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd9852c5a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "isBorrower", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xeaf6e483" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "isLender", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x709b8961" + }, + { + "inputs": [], + "name": "lender", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xbcead63e" + }, + { + "inputs": [], + "name": "lendingPool", + "outputs": [ + { + "internalType": "contract ILendingPool", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa59a9973" + }, + { + "inputs": [], + "name": "nftId", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc6bc5182" + }, + { + "inputs": [], + "name": "nvmFee", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8eba97aa" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "onERC721Received", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x150b7a02" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_repayConditionId", + "type": "bytes32" + } + ], + "name": "repay", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc183495b" + }, + { + "inputs": [], + "name": "repayConditionId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc765b8e2" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_repayConditionId", + "type": "bytes32" + } + ], + "name": "setRepayConditionId", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x23ef1e79" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "transferNFT", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x9036c050" + }, + { + "inputs": [], + "name": "treasuryAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc5f956af" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "contract IWETHGateway", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x3fc8cef3" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_asset", + "type": "address" + }, + { + "internalType": "address", + "name": "_delegator", + "type": "address" + } + ], + "name": "withdrawCollateral", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x679c4de1" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612867806100206000396000f3fe6080604052600436106101b45760003560e01c8062abafe1146101b957806301ffc9a7146101ee5780630bd819601461021e5780630e1d0fa2146102335780630e7b949e14610255578063150b7a021461027757806323ef1e79146102b0578063248a9ca3146102d25780632f2ff15d146102f257806336568abe146103125780633f1ae6f6146103325780633fc8cef31461034857806347e7ef24146103755780636300388214610388578063679c4de1146103a8578063709b8961146103c85780637df1f1b9146103e85780638eba97aa146104085780639036c0501461041e57806391d148541461043e5780639487fa781461045e578063a217fddf1461047e578063a59a997314610493578063b334ed86146104b3578063b3596f07146104d3578063bcead63e146104f3578063c183495b14610513578063c5f956af14610533578063c6bc518214610553578063c765b8e214610569578063c93681491461057f578063d02805391461059f578063d0396bec146105bf578063d547741f146105d4578063d6dc867a146105f4578063d9852c5a14610609578063eaf6e48314610629578063ebe5891e14610649575b600080fd5b3480156101c557600080fd5b506101db60008051602061281283398151915281565b6040519081526020015b60405180910390f35b3480156101fa57600080fd5b5061020e610209366004611ed6565b61065e565b60405190151581526020016101e5565b34801561022a57600080fd5b506101db610695565b34801561023f57600080fd5b506101db6000805160206127f283398151915281565b34801561026157600080fd5b506101db6000805160206127d283398151915281565b34801561028357600080fd5b50610297610292366004611f5b565b61083c565b6040516001600160e01b031990911681526020016101e5565b3480156102bc57600080fd5b506102d06102cb36600461201e565b6108b7565b005b3480156102de57600080fd5b506101db6102ed36600461201e565b6108f0565b3480156102fe57600080fd5b506102d061030d366004612037565b610905565b34801561031e57600080fd5b506102d061032d366004612037565b610926565b34801561033e57600080fd5b506101db60d15481565b34801561035457600080fd5b5060cb54610368906001600160a01b031681565b6040516101e59190612067565b6102d061038336600461207b565b6109a4565b34801561039457600080fd5b506103686103a33660046120a7565b610a3d565b3480156103b457600080fd5b506102d06103c33660046121e1565b610aff565b3480156103d457600080fd5b5061020e6103e336600461220f565b610c85565b3480156103f457600080fd5b5060d354610368906001600160a01b031681565b34801561041457600080fd5b506101db60d05481565b34801561042a57600080fd5b506102d0610439366004612037565b610c9f565b34801561044a57600080fd5b5061020e610459366004612037565b610dea565b34801561046a57600080fd5b506101db61047936600461222c565b610e15565b34801561048a57600080fd5b506101db600081565b34801561049f57600080fd5b5060c954610368906001600160a01b031681565b3480156104bf57600080fd5b5060ca54610368906001600160a01b031681565b3480156104df57600080fd5b506101db6104ee36600461220f565b610f21565b3480156104ff57600080fd5b5060d454610368906001600160a01b031681565b34801561051f57600080fd5b506102d061052e36600461226d565b610f93565b34801561053f57600080fd5b5060d254610368906001600160a01b031681565b34801561055f57600080fd5b506101db60d65481565b34801561057557600080fd5b506101db60d55481565b34801561058b57600080fd5b506102d061059a3660046122a2565b611120565b3480156105ab57600080fd5b506102d06105ba3660046122a2565b61124d565b3480156105cb57600080fd5b506101db61136f565b3480156105e057600080fd5b506102d06105ef366004612037565b6113d3565b34801561060057600080fd5b5060cf546101db565b34801561061557600080fd5b506102d06106243660046120a7565b6113ef565b34801561063557600080fd5b5061020e61064436600461220f565b6116f2565b34801561065557600080fd5b506101db61170c565b60006001600160e01b03198216637965db0b60e01b148061068f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60c954604051632fe4a15f60e21b815260009182916001600160a01b039091169063bf92857c906106ca903090600401612067565b60c060405180830381865afa1580156106e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070b91906122ea565b505060cd5460ce5460405163b3596f0760e01b8152949650600095506001600160a01b039182169463b3596f07945061074a9350911690600401612067565b602060405180830381865afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b9190612334565b60ca5460ce54604051633e15014160e01b81529293506000926001600160a01b0392831692633e150141926107c592911690600401612067565b61014060405180830381865afa1580156107e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610807919061235d565b50505050505050505090508181600a61082091906124ee565b61082a90856124fa565b6108349190612511565b935050505090565b60d7546000906001600160a01b0316156108925760405162461bcd60e51b815260206004820152601260248201527113919508185b1c9958591e481b1bd8dad95960721b60448201526064015b60405180910390fd5b505060d780546001600160a01b0319163317905560d65550630a85bd0160e11b919050565b6108cf6000805160206127f283398151915233610dea565b6108eb5760405162461bcd60e51b815260040161088990612533565b60d555565b60009081526097602052604090206001015490565b61090e826108f0565b6109178161178e565b610921838361179b565b505050565b6001600160a01b03811633146109965760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610889565b6109a08282611821565b5050565b6109ac611888565b346000036109c3576109be82826118e1565b610a34565b60cb5460c95460405163474cf53d60e01b81526001600160a01b0391821660048201523060248201526000604482015291169063474cf53d9034906064016000604051808303818588803b158015610a1a57600080fd5b505af1158015610a2e573d6000803e3d6000fd5b50505050505b6109a060018055565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000906001600160a01b031680610a735750305b6000610a7e8261199f565b604051636cc2962d60e11b81529091506001600160a01b0382169063d9852c5a90610abd908f908f908f908f908f908f908f908f908f9060040161255c565b600060405180830381600087803b158015610ad757600080fd5b505af1158015610aeb573d6000803e3d6000fd5b50929e9d5050505050505050505050505050565b610b176000805160206127f283398151915233610dea565b610b335760405162461bcd60e51b815260040161088990612533565b60c954604051631a4ca37b60e21b81526001600160a01b03848116600483015260001960248301528381166044830152909116906369328dec906064016020604051808303816000875af1158015610b8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb39190612334565b50600061271060d15460cf54610bc991906124fa565b610bd39190612511565b60ce54909150610bed906001600160a01b03168383611a39565b60ce546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610c1e903090600401612067565b602060405180830381865afa158015610c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5f9190612334565b60d25460ce54919250610c7f916001600160a01b03908116911683611a39565b50505050565b600061068f60008051602061281283398151915283610dea565b610cb76000805160206127f283398151915233610dea565b610cd35760405162461bcd60e51b815260040161088990612533565b8160d65414610d165760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610889565b60d75460405163095ea7b360e01b81526001600160a01b0390911690819063095ea7b390610d4a90859087906004016125f8565b600060405180830381600087803b158015610d6457600080fd5b505af1158015610d78573d6000803e3d6000fd5b5050604051632142170760e11b81523060048201526001600160a01b03858116602483015260448201879052841692506342842e0e91506064015b600060405180830381600087803b158015610dcd57600080fd5b505af1158015610de1573d6000803e3d6000fd5b50505050505050565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60ca546040516334924edb60e21b8152600091829182916001600160a01b03169063d2493b6c90610e4a908890600401612067565b606060405180830381865afa158015610e67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8b9190612611565b9250925050600084600114610ea05781610ea2565b825b604051631af5db4960e21b81523060048201526001600160a01b03898116602483015291925090821690636bd76d2490604401602060405180830381865afa158015610ef2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f169190612334565b979650505050505050565b60cd5460405163b3596f0760e01b81526000916001600160a01b03169063b3596f0790610f52908590600401612067565b602060405180830381865afa158015610f6f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068f9190612334565b610fab6000805160206127f283398151915233610dea565b610fc75760405162461bcd60e51b815260040161088990612533565b60c95460405163095ea7b360e01b81526001600160a01b038581169263095ea7b392610ffd9290911690600019906004016125f8565b6020604051808303816000875af115801561101c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611040919061265e565b5060c95460405163573ade8160e01b81526001600160a01b0385811660048301526000196024830152604482018590523060648301529091169063573ade81906084016020604051808303816000875af11580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190612334565b506110cf61170c565b156111195760405162461bcd60e51b815260206004820152601a6024820152794e6f7420656e6f75676820616d6f756e7420746f20726570617960301b6044820152606401610889565b60d5555050565b6111386000805160206127f283398151915233610dea565b6111545760405162461bcd60e51b815260040161088990612533565b60ca546040516334924edb60e21b815260009182916001600160a01b039091169063d2493b6c90611189908790600401612067565b606060405180830381865afa1580156111a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ca9190612611565b92509250506000836001146111df57816111e1565b825b604051630c04a8a160e41b81529091506001600160a01b0382169063c04a8a1090611212908a908a906004016125f8565b600060405180830381600087803b15801561122c57600080fd5b505af1158015611240573d6000803e3d6000fd5b5050505050505050505050565b6112656000805160206127f283398151915233610dea565b6112815760405162461bcd60e51b815260040161088990612533565b60cf54156112c45760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48189bdc9c9bddd95960821b6044820152606401610889565b60ce80546001600160a01b0319166001600160a01b0386811691821790925560cf85905560c95460405163a415bcad60e01b815260048101929092526024820186905260448201849052600060648301523060848301529091169063a415bcad9060a401600060405180830381600087803b15801561134257600080fd5b505af1158015611356573d6000803e3d6000fd5b50610c7f925050506001600160a01b0385168385611a39565b60008061137a610695565b9050600061271060d15460cf5461139191906124fa565b61139b9190612511565b9050600061271060d05460cf546113b291906124fa565b6113bc9190612511565b9050806113c98385612679565b6108349190612679565b6113dc826108f0565b6113e58161178e565b6109218383611821565b600054610100900460ff161580801561140f5750600054600160ff909116105b806114295750303b158015611429575060005460ff166001145b61148c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610889565b6000805460ff1916600117905580156114af576000805461ff0019166101001790555b60c980546001600160a01b03808d166001600160a01b0319928316811790935560ca80548d831690841617905560cb8054918c169190921617905560408051637f32d67f60e11b8152905163fe65acfe916004808201926020929091908290030181865afa158015611525573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611549919061268c565b60cc80546001600160a01b0319166001600160a01b0392909216918217905560408051631f94a27560e31b8152905163fca513a8916004808201926020929091908290030181865afa1580156115a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c7919061268c565b60cd80546001600160a01b03199081166001600160a01b039384161790915560d089905560d188905560d28054821688841617905560d38054821687841617905560d48054909116918516919091179055611620611a8f565b6116386000805160206127d283398151915285611afc565b61165060008051602061281283398151915284611afc565b60005b825181101561169f5761168d6000805160206127f2833981519152848381518110611680576116806126a9565b6020026020010151611afc565b80611697816126bf565b915050611653565b5080156116e6576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b600061068f6000805160206127d283398151915283610dea565b60c954604051632fe4a15f60e21b815260009182916001600160a01b039091169063bf92857c90611741903090600401612067565b60c060405180830381865afa15801561175e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178291906122ea565b50929695505050505050565b6117988133611b06565b50565b6117a58282610dea565b6109a05760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191660011790556117dd3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61182b8282610dea565b156109a05760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6002600154036118da5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610889565b6002600155565b60c95460405163095ea7b360e01b815283916001600160a01b038084169263095ea7b39261191592169086906004016125f8565b6020604051808303816000875af1158015611934573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611958919061265e565b5060c95460405163e8eda9df60e01b81526001600160a01b03858116600483015260248201859052306044830152600060648301529091169063e8eda9df90608401610db3565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611a345760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610889565b919050565b6109218363a9059cbb60e01b8484604051602401611a589291906125f8565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611b5f565b600054610100900460ff16611afa5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610889565b565b6109a0828261179b565b611b108282610dea565b6109a057611b1d81611ce6565b611b28836020611cf8565b604051602001611b399291906126fc565b60408051601f198184030181529082905262461bcd60e51b82526108899160040161276b565b611b71826001600160a01b0316611e9a565b611bbd5760405162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e7472616374006044820152606401610889565b600080836001600160a01b031683604051611bd8919061279e565b6000604051808303816000865af19150503d8060008114611c15576040519150601f19603f3d011682016040523d82523d6000602084013e611c1a565b606091505b509150915081611c6c5760405162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646044820152606401610889565b805115610c7f5780806020019051810190611c87919061265e565b610c7f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610889565b606061068f6001600160a01b03831660145b60606000611d078360026124fa565b611d12906002612679565b6001600160401b03811115611d2957611d29611f15565b6040519080825280601f01601f191660200182016040528015611d53576020820181803683370190505b509050600360fc1b81600081518110611d6e57611d6e6126a9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d9d57611d9d6126a9565b60200101906001600160f81b031916908160001a9053506000611dc18460026124fa565b611dcc906001612679565b90505b6001811115611e44576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e0057611e006126a9565b1a60f81b828281518110611e1657611e166126a9565b60200101906001600160f81b031916908160001a90535060049490941c93611e3d816127ba565b9050611dcf565b508315611e935760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610889565b9392505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611ece57508115155b949350505050565b600060208284031215611ee857600080fd5b81356001600160e01b031981168114611e9357600080fd5b6001600160a01b038116811461179857600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611f5357611f53611f15565b604052919050565b60008060008060808587031215611f7157600080fd5b8435611f7c81611f00565b9350602085810135611f8d81611f00565b93506040860135925060608601356001600160401b0380821115611fb057600080fd5b818801915088601f830112611fc457600080fd5b813581811115611fd657611fd6611f15565b611fe8601f8201601f19168501611f2b565b91508082528984828501011115611ffe57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60006020828403121561203057600080fd5b5035919050565b6000806040838503121561204a57600080fd5b82359150602083013561205c81611f00565b809150509250929050565b6001600160a01b0391909116815260200190565b6000806040838503121561208e57600080fd5b823561209981611f00565b946020939093013593505050565b60008060008060008060008060006101208a8c0312156120c657600080fd5b6120d08a35611f00565b8935985060208a01356120e281611f00565b975060408a01356120f281611f00565b965060608a0135955060808a0135945060a08a013561211081611f00565b935060c08a013561212081611f00565b925060e08a013561213081611f00565b91506101008a01356001600160401b038082111561214d57600080fd5b818c0191508c601f83011261216157600080fd5b81358181111561217357612173611f15565b8060051b915061218560208301611f2b565b81815260209284018301928101908f8411156121a057600080fd5b6020850194505b838510156121cc576121b98535611f00565b84358252602094850194909101906121a7565b80955050505050509295985092959850929598565b600080604083850312156121f457600080fd5b82356121ff81611f00565b9150602083013561205c81611f00565b60006020828403121561222157600080fd5b8135611e9381611f00565b60008060006060848603121561224157600080fd5b833561224c81611f00565b9250602084013561225c81611f00565b929592945050506040919091013590565b60008060006060848603121561228257600080fd5b833561228d81611f00565b95602085013595506040909401359392505050565b600080600080608085870312156122b857600080fd5b84356122c381611f00565b93506020850135925060408501356122da81611f00565b9396929550929360600135925050565b60008060008060008060c0878903121561230357600080fd5b865195506020870151945060408701519350606087015192506080870151915060a087015190509295509295509295565b60006020828403121561234657600080fd5b5051919050565b80518015158114611a3457600080fd5b6000806000806000806000806000806101408b8d03121561237d57600080fd5b8a51995060208b0151985060408b0151975060608b0151965060808b015195506123a960a08c0161234d565b94506123b760c08c0161234d565b93506123c560e08c0161234d565b92506123d46101008c0161234d565b91506123e36101208c0161234d565b90509295989b9194979a5092959850565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561244557816000190482111561242b5761242b6123f4565b8085161561243857918102915b93841c939080029061240f565b509250929050565b60008261245c5750600161068f565b816124695750600061068f565b816001811461247f5760028114612489576124a5565b600191505061068f565b60ff84111561249a5761249a6123f4565b50506001821b61068f565b5060208310610133831016604e8410600b84101617156124c8575081810a61068f565b6124d2838361240a565b80600019048211156124e6576124e66123f4565b029392505050565b6000611e93838361244d565b808202811582820484141761068f5761068f6123f4565b60008261252e57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600f908201526e4f6e6c7920636f6e646974696f6e7360881b604082015260600190565b6001600160a01b038a811682528981166020808401919091528982166040840152606083018990526080830188905286821660a084015285821660c084015284821660e08401526101206101008401819052845190840181905260009261014085019286810192855b818110156125e35784518416865294820194938201936001016125c5565b50939f9e505050505050505050505050505050565b6001600160a01b03929092168252602082015260400190565b60008060006060848603121561262657600080fd5b835161263181611f00565b602085015190935061264281611f00565b604085015190925061265381611f00565b809150509250925092565b60006020828403121561267057600080fd5b611e938261234d565b8082018082111561068f5761068f6123f4565b60006020828403121561269e57600080fd5b8151611e9381611f00565b634e487b7160e01b600052603260045260246000fd5b6000600182016126d1576126d16123f4565b5060010190565b60005b838110156126f35781810151838201526020016126db565b50506000910152565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161272e8160178501602088016126d8565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161275f8160288401602088016126d8565b01602801949350505050565b602081526000825180602084015261278a8160408501602087016126d8565b601f01601f19169190910160400192915050565b600082516127b08184602087016126d8565b9190910192915050565b6000816127c9576127c96123f4565b50600019019056fe2344277e405079ec07749d374ba0b5862a4e45a6a05ac889dbb4a991c6f9354dca26aeabcb0d7ce57211a08481463aeccdf93284fab89b055f08c212416f5d7ec60d7a62d8843f2b14bc63f2a5240b187980481ad8c001a3caf4916aef3f667ea26469706673582212202fc74607e108faa07f0514371f0070e58f7c7df703ad65d0547059b43b66bcdc64736f6c63430008110033", + "address": "0x0270E295834E412fAD12f1AEEc727af5c33B3A1C", + "implementation": "0x0270E295834E412fAD12f1AEEc727af5c33B3A1C", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AaveRepayCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AaveRepayCondition.geth-localnet.json new file mode 100644 index 0000000..5fd5754 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AaveRepayCondition.geth-localnet.json @@ -0,0 +1,408 @@ +{ + "name": "AaveRepayCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_assetToRepay", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amountToRepay", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6460cf12" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_assetToRepay", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amountToRepay", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_interestRateMode", + "type": "uint256" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x509acc87" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506113e1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c806315c87f85146100e057806316279055146101085780631ce191851461012c578063485cc9551461014c578063509acc8714610161578063572b6c05146101745780635ced058e146101875780635ea3ab85146101b05780636460cf12146101c35780636fd902e1146101d6578063715018a6146101dc57806382c947b7146101e45780638da5cb5b146101fe578063ab9de23014610206578063cb4e57e81461020e578063ce1b815f1461024e578063f2fde38b14610256575b600080fd5b6100f560008051602061138c83398151915281565b6040519081526020015b60405180910390f35b61011c610116366004610f47565b3b151590565b60405190151581526020016100ff565b61013f61013a366004610f64565b610269565b6040516100ff9190610fb5565b61015f61015a366004610fc3565b6103a4565b005b6100f561016f366004610ffc565b61052a565b61011c610182366004610f47565b610594565b610198610195366004610f64565b90565b6040516001600160a01b0390911681526020016100ff565b6100f56101be366004611064565b6105b9565b61013f6101d1366004611121565b610608565b436100f5565b61015f6108c8565b6100f56101f2366004610f47565b6001600160a01b031690565b6101986108dc565b6101986108eb565b6100f561021c36600461117d565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b610198610980565b61015f610264366004610f47565b610a0b565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156102b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d7919061119f565b6103285760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e469061035b9085906003906004016111c1565b6020604051808303816000875af115801561037a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039e91906111d5565b92915050565b600054610100900460ff16158080156103c45750600054600160ff909116105b806103e557506103d330610a84565b1580156103e5575060005460ff166001145b6104485760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161031f565b6000805460ff19166001179055801561046b576000805461ff0019166101001790555b6001600160a01b0382166104b35760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161031f565b6104bb610a93565b6104c483610a0b565b606580546001600160a01b0319166001600160a01b0384161790558015610525576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6040805160008051602061138c83398151915260208201529081018690526001600160a01b0380861660608301528416608082015260a0810183905260c0810182905260009060e00160405160208183030381529060405280519060200120905095945050505050565b600061059e610980565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b8351811015610601578381815181106105da576105da6111f6565b6020026020010151826105ed9190611222565b9150806105f981611235565b9150506105bf565b5092915050565b60008084905060008690506000816001600160a01b031663d0396bec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610653573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610677919061124e565b90506000826001600160a01b031663d6dc867a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dd919061124e565b90508681146107465760405162461bcd60e51b815260206004820152602f60248201527f416d6f756e7420746f207265706179206973206e6f74207468652073616d652060448201526e189bdc9c9bddd95908185b5bdd5b9d608a1b606482015260840161031f565b60006107598c61021c8d8d8d8d8d61052a565b9050600061079c8260028e6040518060400160405280601281526020017120b0bb32a932b830bca1b7b73234ba34b7b760711b815250610797610ac2565b610acc565b905060028160038111156107b2576107b2610f7d565b03610842576107d46107c2610ac2565b6001600160a01b038816908d87610b48565b60405163c183495b60e01b81526001600160a01b038b81166004830152602482018a90526044820184905286169063c183495b90606401600060405180830381600087803b15801561082557600080fd5b505af1158015610839573d6000803e3d6000fd5b505050506108b6565b600381600381111561085657610856610f7d565b036108b6576040516323ef1e7960e01b8152600481018390526001600160a01b038616906323ef1e7990602401600060405180830381600087803b15801561089d57600080fd5b505af11580156108b1573d6000803e3d6000fd5b505050505b955050505050505b9695505050505050565b6108d0610ba8565b6108da6000610c17565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166109045750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097b9190611267565b905090565b60008061098b6108eb565b90506001600160a01b0381166109a357600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190611267565b91505090565b610a13610ba8565b6001600160a01b038116610a785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161031f565b610a8181610c17565b50565b6001600160a01b03163b151590565b600054610100900460ff16610aba5760405162461bcd60e51b815260040161031f90611284565b6108da610c69565b600061097b610ca0565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610b059089908890889088908c9060040161131f565b6020604051808303816000875af1158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108be91906111d5565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610ba2908590610cce565b50505050565b610bb0610ac2565b6001600160a01b0316610bc16108dc565b6001600160a01b0316146108da5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161031f565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610c905760405162461bcd60e51b815260040161031f90611284565b6108da610c9b610ac2565b610c17565b600060143610801590610cb75750610cb733610594565b15610cc9575060131936013560601c90565b503390565b6000610d23826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610da09092919063ffffffff16565b8051909150156105255780806020019051810190610d41919061119f565b6105255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161031f565b6060610daf8484600085610db9565b90505b9392505050565b606082471015610e1a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161031f565b600080866001600160a01b03168587604051610e36919061135c565b60006040518083038185875af1925050503d8060008114610e73576040519150601f19603f3d011682016040523d82523d6000602084013e610e78565b606091505b5091509150610e8987838387610e96565b925050505b949350505050565b60608315610f03578251600003610efc57610eb085610a84565b610efc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161031f565b5081610e8e565b610e8e8383815115610f185781518083602001fd5b8060405162461bcd60e51b815260040161031f9190611378565b6001600160a01b0381168114610a8157600080fd5b600060208284031215610f5957600080fd5b8135610db281610f32565b600060208284031215610f7657600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60048110610fb157634e487b7160e01b600052602160045260246000fd5b9052565b6020810161039e8284610f93565b60008060408385031215610fd657600080fd5b8235610fe181610f32565b91506020830135610ff181610f32565b809150509250929050565b600080600080600060a0868803121561101457600080fd5b85359450602086013561102681610f32565b9350604086013561103681610f32565b94979396509394606081013594506080013592915050565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561107757600080fd5b82356001600160401b038082111561108e57600080fd5b818501915085601f8301126110a257600080fd5b8135818111156110b4576110b461104e565b8060051b604051601f19603f830116810181811085821117156110d9576110d961104e565b6040529182528482019250838101850191888311156110f757600080fd5b938501935b82851015611115578435845293850193928501926110fc565b98975050505050505050565b60008060008060008060c0878903121561113a57600080fd5b8635955060208701359450604087013561115381610f32565b9350606087013561116381610f32565b9598949750929560808101359460a0909101359350915050565b6000806040838503121561119057600080fd5b50508035926020909101359150565b6000602082840312156111b157600080fd5b81518015158114610db257600080fd5b82815260408101610db26020830184610f93565b6000602082840312156111e757600080fd5b815160048110610db257600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561039e5761039e61120c565b6000600182016112475761124761120c565b5060010190565b60006020828403121561126057600080fd5b5051919050565b60006020828403121561127957600080fd5b8151610db281610f32565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60005b838110156112ea5781810151838201526020016112d2565b50506000910152565b6000815180845261130b8160208601602086016112cf565b601f01601f19169290920160200192915050565b85815284602082015260a06040820152600061133e60a08301866112f3565b6001600160a01b038516606084015290506108be6080830184610f93565b6000825161136e8184602087016112cf565b9190910192915050565b602081526000610db260208301846112f356feaad256844531c0ad7e2e67df9f2564063cdb71a984c73eb8e64e446cd0205f0da2646970667358221220c6db3d68cfaf4e30fc6e5d679e8ce28683a15d77beb98cc06d9f181cbec7963c64736f6c63430008110033", + "address": "0x2805c4ed5704153649501ABFDA2C0F3Db1794848", + "implementation": "0x2805c4ed5704153649501ABFDA2C0F3Db1794848", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AccessCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AccessCondition.geth-localnet.json new file mode 100644 index 0000000..5d66140 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AccessCondition.geth-localnet.json @@ -0,0 +1,460 @@ +{ + "name": "AccessCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + } + ], + "name": "checkPermissions", + "outputs": [ + { + "internalType": "bool", + "name": "permissionGranted", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xb36a9a7c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd9250da4" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + } + ], + "name": "grantPermission", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf38a8262" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xeea0a725" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "reinitialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6c2eb350" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + } + ], + "name": "renouncePermission", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x8a34ce5e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061137b806100206000396000f3fe608060405234801561001057600080fd5b50600436106101075760003560e01c806315c87f851461010c57806316279055146101465780631ce191851461016a578063572b6c051461018a5780635ced058e1461019d5780635ea3ab85146101c65780636c2eb350146101d95780636fd902e1146101e3578063715018a6146101e957806382c947b7146101f15780638a34ce5e1461020b5780638da5cb5b1461021e578063ab9de23014610226578063b36a9a7c1461022e578063c0c53b8b14610241578063cb4e57e814610254578063ce1b815f14610267578063d9250da41461026f578063eea0a72514610282578063f2fde38b14610295578063f38a8262146102a8575b600080fd5b6101337f159441aea596428df1738c5e8eebb39409244587a3850167d1efcddd44c51ff581565b6040519081526020015b60405180910390f35b61015a610154366004610ed5565b3b151590565b604051901515815260200161013d565b61017d610178366004610ef2565b6102bb565b60405161013d9190610f2d565b61015a610198366004610ed5565b6103f6565b6101ae6101ab366004610ef2565b90565b6040516001600160a01b03909116815260200161013d565b6101336101d4366004610f51565b61041b565b6101e161046a565b005b43610133565b6101e161057c565b6101336101ff366004610ed5565b6001600160a01b031690565b6101e161021936600461100e565b610590565b6101ae610657565b6101ae610666565b61015a61023c36600461100e565b6106fb565b6101e161024f36600461103a565b61089a565b610133610262366004611085565b610a0b565b6101ae610a4a565b61017d61027d3660046110a7565b610ad5565b6101336102903660046110d5565b610b81565b6101e16102a3366004610ed5565b610b96565b6101e16102b636600461100e565b610c0f565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103299190611105565b61037a5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906103ad908590600390600401611127565b6020604051808303816000875af11580156103cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f0919061113b565b92915050565b6000610400610a4a565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156104635783818151811061043c5761043c61115c565b60200260200101518261044f9190611188565b91508061045b8161119b565b915050610421565b5092915050565b600054600290610100900460ff1615801561048c575060005460ff8083169116105b6104a85760405162461bcd60e51b8152600401610371906111b4565b6000805461ffff191660ff8316176101001790556067546040805163579e6e3f60e01b815290516001600160a01b039092169163579e6e3f916004808201926020929091908290030181865afa158015610506573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a9190611202565b606880546001600160a01b0319166001600160a01b03929092169190911790556000805461ff001916905560405160ff821681526000805160206113268339815191529060200160405180910390a150565b610584610cdb565b61058e6000610d4a565b565b60685481906001600160a01b03166349791a91826105ac610d9c565b6040518363ffffffff1660e01b81526004016105c992919061121f565b602060405180830381865afa1580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a9190611105565b6106265760405162461bcd60e51b815260040161037190611236565b5060009081526066602090815260408083206001600160a01b0390941683526001909301905220805460ff19169055565b6033546001600160a01b031690565b6065546000906001600160a01b031661067f5750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611202565b905090565b606854604051633c6aa7b760e01b81526000916001600160a01b031690633c6aa7b79061072e908590879060040161121f565b602060405180830381865afa15801561074b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076f9190611105565b806107ea57506068546040516331c51c0360e21b81526001600160a01b038581166004830152602482018590529091169063c714700c90604401602060405180830381865afa1580156107c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ea9190611105565b8061081a575060008281526066602090815260408083206001600160a01b038716845260010190915290205460ff165b8061089357506068546040516360d6c7cf60e01b81526001600160a01b03909116906360d6c7cf90610852908590879060040161121f565b602060405180830381865afa15801561086f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108939190611105565b9392505050565b600054610100900460ff16158080156108ba5750600054600160ff909116105b806108d45750303b1580156108d4575060005460ff166001145b6108f05760405162461bcd60e51b8152600401610371906111b4565b6000805460ff191660011790558015610913576000805461ff0019166101001790555b61091b610da6565b61092484610b96565b606580546001600160a01b038086166001600160a01b0319928316179092556067805492851692909116821790556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa15801561098d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b19190611202565b606880546001600160a01b0319166001600160a01b03929092169190911790558015610a05576000805461ff0019169055604051600181526000805160206113268339815191529060200160405180910390a15b50505050565b60408051602081018490523091810191909152606081018290526000906080015b60405160208183030381529060405280519060200120905092915050565b600080610a55610666565b90506001600160a01b038116610a6d57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf9190611202565b91505090565b6000610ae18284610c0f565b6000610af1856102628686610b81565b90506000610b31826002876040518060400160405280600f81526020016e20b1b1b2b9b9a1b7b73234ba34b7b760891b815250610b2c610d9c565b610dd5565b9050836001600160a01b031685877f6855f7a98b24193f81092c1736cdb5bd7e647de52ca83d767d735c3735ddb2d285604051610b7091815260200190565b60405180910390a495945050505050565b60008282604051602001610a2c92919061121f565b610b9e610cdb565b6001600160a01b038116610c035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610371565b610c0c81610d4a565b50565b60685481906001600160a01b03166349791a9182610c2b610d9c565b6040518363ffffffff1660e01b8152600401610c4892919061121f565b602060405180830381865afa158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c899190611105565b610ca55760405162461bcd60e51b815260040161037190611236565b5060009081526066602090815260408083206001600160a01b03909416835260019384019091529020805460ff19169091179055565b610ce3610d9c565b6001600160a01b0316610cf4610657565b6001600160a01b03161461058e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610371565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006106f6610e5b565b600054610100900460ff16610dcd5760405162461bcd60e51b81526004016103719061126a565b61058e610e89565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610e0e9089908890889088908c906004016112b5565b6020604051808303816000875af1158015610e2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e51919061113b565b9695505050505050565b600060143610801590610e725750610e72336103f6565b15610e84575060131936013560601c90565b503390565b600054610100900460ff16610eb05760405162461bcd60e51b81526004016103719061126a565b61058e610ebb610d9c565b610d4a565b6001600160a01b0381168114610c0c57600080fd5b600060208284031215610ee757600080fd5b813561089381610ec0565b600060208284031215610f0457600080fd5b5035919050565b60048110610f2957634e487b7160e01b600052602160045260246000fd5b9052565b602081016103f08284610f0b565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610f6457600080fd5b82356001600160401b0380821115610f7b57600080fd5b818501915085601f830112610f8f57600080fd5b813581811115610fa157610fa1610f3b565b8060051b604051601f19603f83011681018181108582111715610fc657610fc6610f3b565b604052918252848201925083810185019188831115610fe457600080fd5b938501935b8285101561100257843584529385019392850192610fe9565b98975050505050505050565b6000806040838503121561102157600080fd5b823561102c81610ec0565b946020939093013593505050565b60008060006060848603121561104f57600080fd5b833561105a81610ec0565b9250602084013561106a81610ec0565b9150604084013561107a81610ec0565b809150509250925092565b6000806040838503121561109857600080fd5b50508035926020909101359150565b6000806000606084860312156110bc57600080fd5b8335925060208401359150604084013561107a81610ec0565b600080604083850312156110e857600080fd5b8235915060208301356110fa81610ec0565b809150509250929050565b60006020828403121561111757600080fd5b8151801515811461089357600080fd5b828152604081016108936020830184610f0b565b60006020828403121561114d57600080fd5b81516004811061089357600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103f0576103f0611172565b6000600182016111ad576111ad611172565b5060010190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60006020828403121561121457600080fd5b815161089381610ec0565b9182526001600160a01b0316602082015260400190565b6020808252601a908201527924b73b30b634b2102224a21037bbb732b917b83937bb34b232b960311b604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b818110156112ef5787810183015185820160c0015282016112d3565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610e516080830184610f0b56fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a264697066735822122001c215bf583406c635bd3811dc205c9d9a8ec8e31ddeca8f54e1a5e4897917da64736f6c63430008110033", + "address": "0xC5268112c8EB4977E659F996F7443D9717320706", + "implementation": "0xC5268112c8EB4977E659F996F7443D9717320706", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AccessDLEQCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AccessDLEQCondition.geth-localnet.json new file mode 100644 index 0000000..2462819 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AccessDLEQCondition.geth-localnet.json @@ -0,0 +1,779 @@ +{ + "name": "AccessDLEQCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "h", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "secretId", + "type": "uint256[2]" + } + ], + "name": "AddSecret", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256[2]", + "name": "secret", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "buyer", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "label", + "type": "bytes32" + } + ], + "name": "Authorized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_cipher", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_secretId", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_buyer", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_provider", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_reencrypt", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_proof", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + }, + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenType", + "type": "uint256" + } + ], + "name": "addPrice", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xdf27243f" + }, + { + "inputs": [ + { + "internalType": "uint256[2]", + "name": "point", + "type": "uint256[2]" + } + ], + "name": "addSecret", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa77e41d5" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "id", + "type": "bytes32" + }, + { + "internalType": "bytes[]", + "name": "_params", + "type": "bytes[]" + }, + { + "internalType": "uint256", + "name": "priceIdx", + "type": "uint256" + } + ], + "name": "authorizeAccessTemplate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb5e1ad7c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "authorized", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe327bd05" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "authorizedParams", + "outputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_cipher", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6a0366d7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_cipher", + "type": "uint256" + }, + { + "internalType": "uint256[2]", + "name": "_secretId", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_provider", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_buyer", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_reencrypt", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_proof", + "type": "uint256[2]" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe672dc98" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "agreementId", + "type": "bytes32" + }, + { + "internalType": "uint256[2]", + "name": "reencrypt", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "proof", + "type": "uint256[2]" + } + ], + "name": "fulfillFromNetwork", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3575e983" + }, + { + "inputs": [], + "name": "g1", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + } + ], + "internalType": "struct G1Point", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xbdd8a366" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_cipher", + "type": "uint256" + }, + { + "internalType": "uint256[2]", + "name": "_secretId", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_provider", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_buyer", + "type": "uint256[2]" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xb796c8f0" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_lock", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrow", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "network", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x74eba939" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [ + { + "internalType": "uint256[2]", + "name": "point", + "type": "uint256[2]" + } + ], + "name": "pointId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x1886c5eb" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "prices", + "outputs": [ + { + "internalType": "uint256", + "name": "num", + "type": "uint256" + }, + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenType", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x65f8d3af" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "secretOwner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xd35b8647" + }, + { + "inputs": [ + { + "internalType": "uint256[2]", + "name": "point", + "type": "uint256[2]" + } + ], + "name": "setNetworkPublicKey", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4388fb27" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612744806100206000396000f3fe608060405234801561001057600080fd5b506004361061015f5760003560e01c80631459457a1461016457806315c87f851461017957806316279055146101b35780631886c5eb146101d75780631ce19185146101ea5780633575e9831461020a5780634388fb271461021d578063572b6c05146102305780635ced058e146102435780635ea3ab851461026c57806365f8d3af1461027f5780636a0366d7146102a15780636fd902e1146102dd578063715018a6146102e357806374eba939146102eb57806382c947b7146102fe5780638da5cb5b14610318578063a77e41d514610320578063ab9de23014610333578063b5e1ad7c1461033b578063b796c8f01461034e578063bdd8a36614610361578063cb4e57e814610384578063ce1b815f14610397578063d35b86471461039f578063df27243f146103c8578063e327bd05146103db578063e672dc9814610409578063f2fde38b1461041c575b600080fd5b610177610172366004611c52565b61042f565b005b6101a07f5d5351e5a2ceb4321a5d872ba9798ad2be3548c62389899c87fe62f32069e70481565b6040519081526020015b60405180910390f35b6101c76101c1366004611cc3565b3b151590565b60405190151581526020016101aa565b6101a06101e5366004611d95565b6105a7565b6101fd6101f8366004611db1565b6105d7565b6040516101aa9190611e02565b610177610218366004611e10565b61070d565b61017761022b366004611d95565b610862565b6101c761023e366004611cc3565b61087b565b610254610251366004611db1565b90565b6040516001600160a01b0390911681526020016101aa565b6101a061027a366004611e71565b6108a0565b61029261028d366004611f06565b6108ef565b6040516101aa93929190611f28565b6102c86102af366004611db1565b606b602052600090815260409020805460019091015482565b604080519283526020830191909152016101aa565b436101a0565b61017761093b565b6101a06102f9366004611db1565b61094f565b6101a061030c366004611cc3565b6001600160a01b031690565b610254610966565b61017761032e366004611d95565b610975565b610254610a69565b610177610349366004611f47565b610afe565b6101a061035c366004612060565b610dd6565b610369610e43565b604080518251815260209283015192810192909252016101aa565b6101a0610392366004611f06565b610e64565b610254610e99565b6102546103ad366004611db1565b606f602052600090815260409020546001600160a01b031681565b6101776103d63660046120b0565b610f24565b6101c76103e9366004611f06565b606a60209081526000928352604080842090915290825290205460ff1681565b6101fd6104173660046120ef565b610ffd565b61017761042a366004611cc3565b611108565b600054610100900460ff161580801561044f5750600054600160ff909116105b806104695750303b158015610469575060005460ff166001145b6104d15760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156104f4576000805461ff0019166101001790555b6104fc611181565b61050586611108565b606580546001600160a01b038088166001600160a01b0319928316179092556066805487841690831617905560678054868416908316179055606880548216301790556069805492851692909116919091179055801561059f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6000816040516020016105ba9190612198565b604051602081830303815290604052805190602001209050919050565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610621573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064591906121a6565b6106915760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064016104c8565b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906106c49085906003906004016121c8565b6020604051808303816000875af11580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070791906121dc565b92915050565b6000838152606b60209081526040808320815160a081018352815481526001820154938101939093528151808301808452919284019160028085019182845b81548152602001906001019080831161074c575050509183525050604080518082019182905260209092019190600484019060029082845b815481526020019060010190808311610784575050509183525050604080518082019182905260209092019190600684019060029082845b8154815260200190600101908083116107bc5750505091909252505050602081015160408083015160808401519151631cce5b9360e31b8152939450309363e672dc9893610818938a939192606d91908b908b906004016121fd565b6020604051808303816000875af1158015610837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085b91906121dc565b5050505050565b61086a6111b0565b610877606d826002611bd0565b5050565b6000610885610e99565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156108e8578381815181106108c1576108c1612279565b6020026020010151826108d491906122a5565b9150806108e0816122b8565b9150506108a6565b5092915050565b606c602052816000526040600020818154811061090b57600080fd5b60009182526020909120600390910201805460018201546002909201549093506001600160a01b03909116915083565b6109436111b0565b61094d600061121f565b565b606d816002811061095f57600080fd5b0154905081565b6033546001600160a01b031690565b6000816040516020016109889190612198565b60408051601f1981840301815291815281516020928301206000818152606f9093529120549091506001600160a01b0316156109f65760405162461bcd60e51b815260206004820152600d60248201526c5365637265742065786973747360981b60448201526064016104c8565b6109fe611271565b6000828152606f60205260409081902080546001600160a01b0319166001600160a01b0393909316929092179091555181907fc6ce81e1c5eb3b772dde12ede1bda5fe46bb2423315a374068550944019183b590610a5d908590612198565b60405180910390a25050565b6065546000906001600160a01b0316610a825750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af991906122d1565b905090565b60008083600081518110610b1457610b14612279565b6020026020010151806020019051810190610b2f91906122ee565b509396509194506000935060039250610b46915050565b604051908082528060200260200182016040528015610b6f578160200160208202803683370190505b50905060005b6003811015610bce57858181518110610b9057610b90612279565b602002602001015180519060200120828281518110610bb157610bb1612279565b602090810291909101015280610bc6816122b8565b915050610b75565b50600086606760009054906101000a90046001600160a01b031683600181518110610bfb57610bfb612279565b6020026020010151604051602001610c1593929190611f28565b604051602081830303815290604052805190602001209050600087606860009054906101000a90046001600160a01b031684600081518110610c5957610c59612279565b6020026020010151604051602001610c7393929190611f28565b6040516020818303038152906040528051906020012090506000604051806040016040528087815260200186815250604051602001610cb29190612198565b604051602081830303815290604052805190602001209050610cd588828961127b565b610ce08884846114a3565b6065546040516319b6289160e11b8152600481018590526002916001600160a01b03169063336c512290602401602060405180830381865afa158015610d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4e91906121dc565b6003811115610d5f57610d5f611dca565b14610dab5760405162461bcd60e51b815260206004820152601c60248201527b1b1bd8dac818dbdb991a5d1a5bdb881b9bdd08199d5b199a5b1b195960221b60448201526064016104c8565b610dcb86868a60405180604001604052808e8152602001878152506116cc565b505050505050505050565b8251602080850151845185830151855186850151604080519687018c90528601969096526060850193909352608084019190915260a083015260c082015260e081019190915260009061010001604051602081830303815290604052805190602001209050949350505050565b610e4b611c0e565b5060408051808201909152600181526002602082015290565b6000823083604051602001610e7b93929190611f28565b60405160208183030381529060405280519060200120905092915050565b600080610ea4610a69565b90506001600160a01b038116610ebc57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e91906122d1565b91505090565b610f2c611271565b6000858152606f60205260409020546001600160a01b03908116911614610f885760405162461bcd60e51b815260206004820152601060248201526f2737ba1039b2b1b932ba1037bbb732b960811b60448201526064016104c8565b6000938452606c6020908152604080862081516060810183529586526001600160a01b039485168684019081529186019384528054600180820183559188529290962094516003909202909401908155925193830180546001600160a01b031916949092169390931790559051600290910155565b600080611010896103928a8a8a8a610dd6565b9050600061102e6110208761193c565b6110298a61193c565b611963565b905061106c61103b610e43565b826110458a61193c565b61104e8961193c565b60408051808201909152895181526020808b015190820152876119a2565b6110a75760405162461bcd60e51b815260206004820152600c60248201526b141c9bdbd98819985a5b195960a21b60448201526064016104c8565b60006110b4836002611aba565b90508a7fd8010ca45e2edd8f86545ebef1f7b3f2549790e42d16a2cfb1bba89bc33e18338b8b8a8c8b8b8a6040516110f29796959493929190612342565b60405180910390a29a9950505050505050505050565b6111106111b0565b6001600160a01b0381166111755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c8565b61117e8161121f565b50565b600054610100900460ff166111a85760405162461bcd60e51b81526004016104c89061239f565b61094d611b37565b6111b8611271565b6001600160a01b03166111c9610966565b6001600160a01b03161461094d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c8565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610af9611b6e565b60008060006060808760018151811061129657611296612279565b60200260200101518060200190518101906112b191906124c4565b60008c8152606c602052604081208054969b50949950929750909550935091889081106112e0576112e0612279565b60009182526020918290206040805160608101825260039093029091018054835260018101546001600160a01b031693830193909352600290920154918101829052915060141461136b5760405162461bcd60e51b8152602060048201526015602482015274195c98cb4c8c081d1bdad95b881c995c5d5a5c9959605a1b60448201526064016104c8565b80600001518360008151811061138357611383612279565b602002602001015110156113cc5760405162461bcd60e51b815260206004820152601060248201526f185b5bdd5b9d081d1bdbc81cdb585b1b60821b60448201526064016104c8565b80602001516001600160a01b0316846001600160a01b03161461141f5760405162461bcd60e51b815260206004820152600b60248201526a3bb937b733903a37b5b2b760a91b60448201526064016104c8565b6000888152606f602052604081205483516001600160a01b0390911691849161144a5761144a612279565b60200260200101516001600160a01b031614610dcb5760405162461bcd60e51b815260206004820152601860248201527737bbb732b9103737ba103334b939ba103932b1b2b4bb32b960411b60448201526064016104c8565b6000806000606080876001815181106114be576114be612279565b60200260200101518060200190518101906114d991906124c4565b80955081965082975083985084995050505050506000606080600080600060608e60028151811061150c5761150c612279565b60200260200101518060200190518101906115279190612558565b969d50949b509299509750909550909350909150508d821461157d5760405162461bcd60e51b815260206004820152600f60248201526e3637b1b59036b4b9b6b0ba31b4101960891b60448201526064016104c8565b80516001146115c65760405162461bcd60e51b81526020600482015260156024820152743130b2103932b632b0b9b29031b7b73234ba34b7b760591b60448201526064016104c8565b868387876040516020016115dd9493929190612626565b604051602081830303815290604052805190602001208c8b8b8b60405160200161160a9493929190612626565b604051602081830303815290604052805190602001201461165f5760405162461bcd60e51b815260206004820152600f60248201526e0cae6c6e4deee40dad2e6dac2e8c6d608b1b60448201526064016104c8565b8c8160008151811061167357611673612279565b6020026020010151146116bb5760405162461bcd60e51b815260206004820152601060248201526f0e8e4c2dccccae440dad2e6dac2e8c6d60831b60448201526064016104c8565b505050505050505050505050505050565b6000806000806000866000815181106116e7576116e7612279565b602002602001015180602001905181019061170291906122ee565b606d54959f50939d50995091975095509350909150831480156117265750606e5482145b6117685760405162461bcd60e51b81526020600482015260136024820152726e6f7420636f7272656374206e6574776f726b60681b60448201526064016104c8565b6040805180820182528a815260208082018b9052825180840184528881528082018890529251919291600191606a916000916117a691879101612198565b6040516020818303038152906040528051906020012081526020019081526020016000206000836040516020016117dd9190612198565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff0219169083151502179055506040518060a001604052808960006002811061183657611836612279565b60200201518152602001848152602001838152602001604051806040016040528088815260200187815250815260200182815250606b60008a60006002811061188157611881612279565b6020020151815260200190815260200160002060008201518160000155602082015181600101556040820151816002019060026118bf929190611bd0565b5060608201516118d59060048301906002611bd0565b5060808201516118eb9060068301906002611bd0565b5050885160208a01516040517f9c05f5a248f31c807f62d8aff1beba2684f6f3771b9429d34924bd732736175d935061192792869286926126bf565b60405180910390a15050505050505050505050565b611944611c0e565b5060408051808201909152815181526020918201519181019190915290565b61196b611c0e565b604051835181526020840151602082015282516040820152602083015160608201526040826080836006600019fa6108e857600080fd5b6000806119c46119b6898660200151611b9c565b611029888760000151611b9c565b905060006119e76119d9898760200151611b9c565b611029888860000151611b9c565b87516020808a015189518a830151875188850151875186890151604080519889018f90528801989098526060870195909552608086019390935260a085019190915260c084015260e08301526101008201526101208101919091529091506000907f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000190610140016040516020818303038152906040528051906020012060001c611a9191906126ec565b86519091508103611aa85760019350505050611ab0565b600093505050505b9695505050505050565b60655460405163295e072360e11b81526000916001600160a01b0316906352bc0e4690611aed90869086906004016121c8565b6020604051808303816000875af1158015611b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3091906121dc565b9392505050565b600054610100900460ff16611b5e5760405162461bcd60e51b81526004016104c89061239f565b61094d611b69611271565b61121f565b600060143610801590611b855750611b853361087b565b15611b97575060131936013560601c90565b503390565b611ba4611c0e565b60405183518152602084015160208201528260408201526040826060836007600019fa6108e857600080fd5b8260028101928215611bfe579160200282015b82811115611bfe578251825591602001919060010190611be3565b50611c0a929150611c28565b5090565b604051806040016040528060008152602001600081525090565b5b80821115611c0a5760008155600101611c29565b6001600160a01b038116811461117e57600080fd5b600080600080600060a08688031215611c6a57600080fd5b8535611c7581611c3d565b94506020860135611c8581611c3d565b93506040860135611c9581611c3d565b92506060860135611ca581611c3d565b91506080860135611cb581611c3d565b809150509295509295909350565b600060208284031215611cd557600080fd5b8135611b3081611c3d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611d1e57611d1e611ce0565b604052919050565b600082601f830112611d3757600080fd5b604080519081016001600160401b0381118282101715611d5957611d59611ce0565b8060405250806040840185811115611d7057600080fd5b845b81811015611d8a578035835260209283019201611d72565b509195945050505050565b600060408284031215611da757600080fd5b611b308383611d26565b600060208284031215611dc357600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60048110611dfe57634e487b7160e01b600052602160045260246000fd5b9052565b602081016107078284611de0565b600080600060a08486031215611e2557600080fd5b83359250611e368560208601611d26565b9150611e458560608601611d26565b90509250925092565b60006001600160401b03821115611e6757611e67611ce0565b5060051b60200190565b60006020808385031215611e8457600080fd5b82356001600160401b03811115611e9a57600080fd5b8301601f81018513611eab57600080fd5b8035611ebe611eb982611e4e565b611cf6565b81815260059190911b82018301908381019087831115611edd57600080fd5b928401925b82841015611efb57833582529284019290840190611ee2565b979650505050505050565b60008060408385031215611f1957600080fd5b50508035926020909101359150565b9283526001600160a01b03919091166020830152604082015260600190565b600080600060608486031215611f5c57600080fd5b833592506020808501356001600160401b0380821115611f7b57600080fd5b818701915087601f830112611f8f57600080fd5b8135611f9d611eb982611e4e565b81815260059190911b8301840190848101908a831115611fbc57600080fd5b8585015b8381101561204957803585811115611fd85760008081fd5b8601603f81018d13611fea5760008081fd5b8781013560408782111561200057612000611ce0565b612012601f8301601f19168b01611cf6565b8281528f828486010111156120275760008081fd5b828285018c83013760009281018b019290925250845250918601918601611fc0565b50979a979950505050604095909501359450505050565b60008060008060e0858703121561207657600080fd5b843593506120878660208701611d26565b92506120968660608701611d26565b91506120a58660a08701611d26565b905092959194509250565b600080600080608085870312156120c657600080fd5b843593506020850135925060408501356120df81611c3d565b9396929550929360600135925050565b6000806000806000806000610180888a03121561210b57600080fd5b87359650602088013595506121238960408a01611d26565b94506121328960808a01611d26565b93506121418960c08a01611d26565b9250612151896101008a01611d26565b9150612161896101408a01611d26565b905092959891949750929550565b8060005b6002811015612192578151845260209384019390910190600101612173565b50505050565b60408101610707828461216f565b6000602082840312156121b857600080fd5b81518015158114611b3057600080fd5b82815260408101611b306020830184611de0565b6000602082840312156121ee57600080fd5b815160048110611b3057600080fd5b878152602080820188905261018082019061221b604084018961216f565b608083018760005b600281101561224057815483529183019160019182019101612223565b5050505061225160c083018661216f565b61225f61010083018561216f565b61226d61014083018461216f565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107075761070761228f565b6000600182016122ca576122ca61228f565b5060010190565b6000602082840312156122e357600080fd5b8151611b3081611c3d565b600080600080600080600060e0888a03121561230957600080fd5b5050855160208701516040880151606089015160808a015160a08b015160c0909b0151949c939b50919990985090965094509092509050565b8781526101808101612357602083018961216f565b612364606083018861216f565b61237160a083018761216f565b61237e60e083018661216f565b61238c61012083018561216f565b8261016083015298975050505050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b80516123f581611c3d565b919050565b600082601f83011261240b57600080fd5b8151602061241b611eb983611e4e565b82815260059290921b8401810191818101908684111561243a57600080fd5b8286015b84811015612455578051835291830191830161243e565b509695505050505050565b600082601f83011261247157600080fd5b81516020612481611eb983611e4e565b82815260059290921b840181019181810190868411156124a057600080fd5b8286015b848110156124555780516124b781611c3d565b83529183019183016124a4565b600080600080600060a086880312156124dc57600080fd5b8551945060208601516124ee81611c3d565b60408701519094506124ff81611c3d565b60608701519093506001600160401b038082111561251c57600080fd5b61252889838a016123fa565b9350608088015191508082111561253e57600080fd5b5061254b88828901612460565b9150509295509295909350565b600080600080600080600080610100898b03121561257557600080fd5b885160208a01519098506001600160401b038082111561259457600080fd5b6125a08c838d016123fa565b985060408b01519150808211156125b657600080fd5b6125c28c838d01612460565b97506125d060608c016123ea565b96506125de60808c016123ea565b95506125ec60a08c016123ea565b945060c08b0151935060e08b015191508082111561260957600080fd5b506126168b828c016123fa565b9150509295985092959890939650565b600060808201868352602060018060a01b03808816828601526080604086015282875180855260a087019150838901945060005b818110156126765785518352948401949184019160010161265a565b50508581036060870152865180825290830193508287019060005b818110156126af578251841686529484019491840191600101612691565b50939a9950505050505050505050565b60c081016126cd828761216f565b6126da604083018661216f565b608082019390935260a0015292915050565b60008261270957634e487b7160e01b600052601260045260246000fd5b50069056fea26469706673582212208995f555ec9dfb5eb74f3ed73e9daa9ccfa1e95a00d1031fdb562802ecf1b80d64736f6c63430008110033", + "address": "0xf49d333F51614CC2041aA1B757E98c96c5c4C902", + "implementation": "0xf49d333F51614CC2041aA1B757E98c96c5c4C902", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AccessDLEQTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AccessDLEQTemplate.geth-localnet.json new file mode 100644 index 0000000..661e538 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AccessDLEQTemplate.geth-localnet.json @@ -0,0 +1,566 @@ +{ + "name": "AccessDLEQTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aa8806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063cc2a9a5b146102ce578063ce1b815f146102ee578063f2fde38b14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610f89565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f366004611081565b610336565b005b34801561014257600080fd5b5061013461015136600461111c565b6103dd565b34801561016257600080fd5b506100ff610171366004610f89565b610400565b34801561018257600080fd5b506101946101913660046111ca565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c73660046111f0565b610425565b60405190815260200161010b565b6101346101e8366004611290565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111ca565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610f89565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b91906113e5565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b506101346102e93660046113f8565b610821565b3480156102fa57600080fd5b50610194610ab7565b34801561030f57600080fd5b5061013461031e366004610f89565b610b42565b61013461033136600461146c565b610bbb565b6066546001600160a01b031663955d0c2a86610350610be8565b604051602001610361929190611597565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115de565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610bf2565b505050505050565b600061040a610ab7565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d5783818151811061044657610446611644565b6020026020010151826104599190611670565b91508061046581611683565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610be8565b6040516020016104b2929190611597565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610be8565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b8152600401610552919061169c565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c2565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118d7565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c8611644565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cbe565b6107196000610d2d565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c2565b905090565b600054610100900460ff16158080156108415750600054600160ff909116105b8061085b5750303b15801561085b575060005460ff166001145b6108c35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156108e6576000805461ff0019166101001790555b6001600160a01b0387161580159061090657506001600160a01b03861615155b801561091a57506001600160a01b03851615155b801561092e57506001600160a01b03841615155b801561094257506001600160a01b03831615155b801561095657506001600160a01b03821615155b6109945760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016108ba565b61099c610d7f565b6109a587610b42565b606680546001600160a01b03199081166001600160a01b0389811691909117909255606980548216888416179055606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805488169096179095559254815480860183558401805491881691871691909117905590548154938401909155910180549190931691161790558015610aae576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610ac261078c565b90506001600160a01b038116610ada57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3c91906117c2565b91505090565b610b4a610cbe565b6001600160a01b038116610baf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ba565b610bb881610d2d565b50565b610bcd8b8b8b8b8b8a8a8a8a8a610474565b610bdb8b8b8a8a8a8e610bf2565b5050505050505050505050565b600061081c610dae565b600086610bfd610be8565b604051602001610c0e929190611597565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610c918f82610ddc565b8f610c9a610be8565b604051610cad97969594939291906119af565b60405180910390a450505050505050565b610cc6610be8565b6001600160a01b0316610cd761071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ba565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610da65760405162461bcd60e51b81526004016108ba90611a27565b610719610f2d565b600060143610801590610dc55750610dc533610400565b15610dd7575060131936013560601c90565b503390565b6060600083610de9610be8565b604051602001610dfa929190611597565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e2d57610e2d610fad565b604051908082528060200260200182016040528015610e56578160200160208202803683370190505b50905060005b8151811015610f22578260658281548110610e7957610e79611644565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ea957610ea9611644565b6020026020010151604051602001610edd939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f0557610f05611644565b602090810291909101015280610f1a81611683565b915050610e5c565b509150505b92915050565b600054610100900460ff16610f545760405162461bcd60e51b81526004016108ba90611a27565b610719610f5f610be8565b610d2d565b6001600160a01b0381168114610bb857600080fd5b8035610f8481610f64565b919050565b600060208284031215610f9b57600080fd5b8135610fa681610f64565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610feb57610feb610fad565b604052919050565b60006001600160401b0382111561100c5761100c610fad565b5060051b60200190565b600082601f83011261102757600080fd5b8135602061103c61103783610ff3565b610fc3565b82815260059290921b8401810191818101908684111561105b57600080fd5b8286015b84811015611076578035835291830191830161105f565b509695505050505050565b600080600080600060a0868803121561109957600080fd5b853594506020860135935060408601356001600160401b03808211156110be57600080fd5b6110ca89838a01611016565b945060608801359150808211156110e057600080fd5b6110ec89838a01611016565b9350608088013591508082111561110257600080fd5b5061110f88828901611016565b9150509295509295909350565b60008060008060008060c0878903121561113557600080fd5b863595506020870135945060408701356001600160401b038082111561115a57600080fd5b6111668a838b01611016565b9550606089013591508082111561117c57600080fd5b6111888a838b01611016565b9450608089013591508082111561119e57600080fd5b506111ab89828a01611016565b92505060a08701356111bc81610f64565b809150509295509295509295565b6000602082840312156111dc57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561120257600080fd5b81356001600160401b0381111561121857600080fd5b61122484828501611016565b949350505050565b600082601f83011261123d57600080fd5b8135602061124d61103783610ff3565b82815260059290921b8401810191818101908684111561126c57600080fd5b8286015b8481101561107657803561128381610f64565b8352918301918301611270565b6000806000806000806000806000806101408b8d0312156112b057600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112d557600080fd5b6112e18e838f01611016565b995060608d01359150808211156112f757600080fd5b6113038e838f01611016565b985060808d013591508082111561131957600080fd5b6113258e838f01611016565b975060a08d0135965061133a60c08e01610f79565b955061134860e08e01610f79565b94506101008d013591508082111561135f57600080fd5b61136b8e838f01611016565b93506101208d013591508082111561138257600080fd5b5061138f8d828e0161122c565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113da5781516001600160a01b0316875295820195908201906001016113b5565b509495945050505050565b602081526000610fa660208301846113a1565b60008060008060008060c0878903121561141157600080fd5b863561141c81610f64565b9550602087013561142c81610f64565b9450604087013561143c81610f64565b9350606087013561144c81610f64565b9250608087013561145c81610f64565b915060a08701356111bc81610f64565b60008060008060008060008060008060006101608c8e03121561148e57600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b257600080fd5b6114c28e60408f01358f01611016565b99508060608e013511156114d557600080fd5b6114e58e60608f01358f01611016565b98508060808e013511156114f857600080fd5b6115088e60808f01358f01611016565b975061151660a08e01610f79565b965060c08d0135955061152b60e08e01610f79565b945061153a6101008e01610f79565b9350806101208e0135111561154e57600080fd5b61155f8e6101208f01358f01611016565b9250806101408e0135111561157357600080fd5b506115858d6101408e01358e0161122c565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113da578151875295820195908201906001016115c2565b86815285602082015260c0604082015260006115fd60c08301876113a1565b828103606084015261160f81876115ae565b9050828103608084015261162381866115ae565b905082810360a084015261163781856115ae565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f2757610f2761165a565b6000600182016116955761169561165a565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116cf6101a08501836113a1565b91506060850151601f19808685030160808701526116ed84836115ae565b935060808701519150808685030160a087015261170a84836115ae565b935060a08701519150808685030160c087015261172784836115ae565b935060c0870151915061173d60e08701836111e3565b60e0870151610100878101919091528701519150610120611760818801846111e3565b8701519150610140611774878201846111e3565b8088015192505061016081878603018188015261179185846115ae565b9088015187820390920184880152935090506117ad83826113a1565b9695505050505050565b8051610f8481610f64565b6000602082840312156117d457600080fd5b8151610fa681610f64565b600082601f8301126117f057600080fd5b81516001600160401b0381111561180957611809610fad565b602061181d601f8301601f19168201610fc3565b828152858284870101111561183157600080fd5b60005b8381101561184f578581018301518282018401528201611834565b506000928101909101919091529392505050565b600082601f83011261187457600080fd5b8151602061188461103783610ff3565b82815260059290921b840181019181810190868411156118a357600080fd5b8286015b848110156110765780516118ba81610f64565b83529183019183016118a7565b80518015158114610f8457600080fd5b60008060008060008060008060006101208a8c0312156118f657600080fd5b6118ff8a6117b7565b60208b015160408c0151919a5098506001600160401b038082111561192357600080fd5b61192f8d838e016117df565b985061193d60608d016117b7565b975060808c0151965060a08c015191508082111561195a57600080fd5b6119668d838e01611863565b955060c08c0151945060e08c015191508082111561198357600080fd5b506119908c828d016117df565b9250506119a06101008b016118c7565b90509295985092959850929598565b87815260e0602082015260006119c860e08301896115ae565b82810360408401526119da81896115ae565b905082810360608401526119ee81886115ae565b90508281036080840152611a0281876115ae565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122034d33c19ff871ff485838263a6353ecec085ba8cdb7160b15fa43d08305ed62f64736f6c63430008110033", + "address": "0xF02147853093CF7e643024F302a32836747C766E", + "implementation": "0xF02147853093CF7e643024F302a32836747C766E", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AccessProofCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AccessProofCondition.geth-localnet.json new file mode 100644 index 0000000..a2ff5b8 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AccessProofCondition.geth-localnet.json @@ -0,0 +1,446 @@ +{ + "name": "AccessProofCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_origHash", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_buyer", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_provider", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "uint256[2]", + "name": "_cipher", + "type": "uint256[2]" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "_proof", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_disputeManagerAddress", + "type": "address" + } + ], + "name": "changeDisputeManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x60607c93" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_origHash", + "type": "uint256" + }, + { + "internalType": "uint256[2]", + "name": "_buyer", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_provider", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_cipher", + "type": "uint256[2]" + }, + { + "internalType": "bytes", + "name": "_proof", + "type": "bytes" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x41d1c636" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_origHash", + "type": "uint256" + }, + { + "internalType": "uint256[2]", + "name": "_buyer", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "_provider", + "type": "uint256[2]" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xd752c236" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_disputeManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506111d2806100206000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c806315c87f85146100eb57806316279055146101255780631ce191851461014957806341d1c63614610169578063572b6c051461017c5780635ced058e1461018f5780635ea3ab85146101b857806360607c93146101cb5780636fd902e1146101e0578063715018a6146101e657806382c947b7146101ee5780638da5cb5b14610208578063ab9de23014610210578063cb4e57e814610218578063ce1b815f14610258578063d752c23614610260578063f2fde38b14610273578063f8c8765e14610286575b600080fd5b6101127fffca7366989063485672bdbe0d971388e0e288def3e7aef17157dd3f284ef80c81565b6040519081526020015b60405180910390f35b610139610133366004610c10565b3b151590565b604051901515815260200161011c565b61015c610157366004610c2d565b610299565b60405161011c9190610c68565b61015c610177366004610d2b565b6103d4565b61013961018a366004610c10565b610618565b6101a061019d366004610c2d565b90565b6040516001600160a01b03909116815260200161011c565b6101126101c6366004610e08565b61063d565b6101de6101d9366004610c10565b61068c565b005b43610112565b6101de6106b6565b6101126101fc366004610c10565b6001600160a01b031690565b6101a06106ca565b6101a06106d9565b610112610226366004610ead565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b6101a061076e565b61011261026e366004610ecf565b6107f9565b6101de610281366004610c10565b610852565b6101de610294366004610f0d565b6108cb565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156102e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103079190610f69565b6103585760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e469061038b908590600390600401610f8b565b6020604051808303816000875af11580156103aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ce9190610f9f565b92915050565b60408051600780825261010082019092526000918291906020820160e0803683375050875182519293509183915060009061041157610411610fc0565b602090810291909101015285600160200201518160018151811061043757610437610fc0565b6020908102919091010152845181518290600290811061045957610459610fc0565b602090810291909101015284600160200201518160038151811061047f5761047f610fc0565b602090810291909101015283518151829060049081106104a1576104a1610fc0565b60209081029190910101528360016020020151816005815181106104c7576104c7610fc0565b60200260200101818152505086816006815181106104e7576104e7610fc0565b6020908102919091010152606754604051631e8e1e1360e01b81526001600160a01b0390911690631e8e1e1390610524908690859060040161101c565b602060405180830381865afa158015610541573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105659190610f69565b6105a75760405162461bcd60e51b815260206004820152601360248201527243616e6e6f742076657269667920736e61726b60681b604482015260640161034f565b60006105b8896102268a8a8a6107f9565b905060006105c7826002610a26565b9050897fdc178d56944dd907696acaac379737d3bf272558476b3411219c960d5f5318608a8a8a8a8a886040516106039695949392919061109c565b60405180910390a29998505050505050505050565b600061062261076e565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156106855783818151811061065e5761065e610fc0565b6020026020010151826106719190611108565b91508061067d8161111b565b915050610643565b5092915050565b610694610a9c565b606780546001600160a01b0319166001600160a01b0392909216919091179055565b6106be610a9c565b6106c86000610b0b565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166106f25750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107699190611134565b905090565b6000806107796106d9565b90506001600160a01b03811661079157600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f39190611134565b91505090565b8151602080840151835184830151604080519485018990528401949094526060830191909152608082015260a081019190915260009060c0016040516020818303038152906040528051906020012090505b9392505050565b61085a610a9c565b6001600160a01b0381166108bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161034f565b6108c881610b0b565b50565b600054610100900460ff16158080156108eb5750600054600160ff909116105b806109055750303b158015610905575060005460ff166001145b6109685760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161034f565b6000805460ff19166001179055801561098b576000805461ff0019166101001790555b610993610b5d565b61099c85610852565b606580546001600160a01b038087166001600160a01b0319928316179092556066805486841690831617905560678054928516929091169190911790558015610a1f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b60655460405163295e072360e11b81526000916001600160a01b0316906352bc0e4690610a599086908690600401610f8b565b6020604051808303816000875af1158015610a78573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084b9190610f9f565b610aa4610b8c565b6001600160a01b0316610ab56106ca565b6001600160a01b0316146106c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034f565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610b845760405162461bcd60e51b815260040161034f90611151565b6106c8610b96565b6000610769610bcd565b600054610100900460ff16610bbd5760405162461bcd60e51b815260040161034f90611151565b6106c8610bc8610b8c565b610b0b565b600060143610801590610be45750610be433610618565b15610bf6575060131936013560601c90565b503390565b6001600160a01b03811681146108c857600080fd5b600060208284031215610c2257600080fd5b813561084b81610bfb565b600060208284031215610c3f57600080fd5b5035919050565b60048110610c6457634e487b7160e01b600052602160045260246000fd5b9052565b602081016103ce8284610c46565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610cb457610cb4610c76565b604052919050565b600082601f830112610ccd57600080fd5b604080519081016001600160401b0381118282101715610cef57610cef610c76565b8060405250806040840185811115610d0657600080fd5b845b81811015610d20578035835260209283019201610d08565b509195945050505050565b6000806000806000806101208789031215610d4557600080fd5b863595506020808801359550610d5e8960408a01610cbc565b9450610d6d8960808a01610cbc565b9350610d7c8960c08a01610cbc565b92506101008801356001600160401b0380821115610d9957600080fd5b818a0191508a601f830112610dad57600080fd5b813581811115610dbf57610dbf610c76565b610dd1601f8201601f19168501610c8c565b91508082528b84828501011115610de757600080fd5b80848401858401376000848284010152508093505050509295509295509295565b60006020808385031215610e1b57600080fd5b82356001600160401b0380821115610e3257600080fd5b818501915085601f830112610e4657600080fd5b813581811115610e5857610e58610c76565b8060051b9150610e69848301610c8c565b8181529183018401918481019088841115610e8357600080fd5b938501935b83851015610ea157843582529385019390850190610e88565b98975050505050505050565b60008060408385031215610ec057600080fd5b50508035926020909101359150565b600080600060a08486031215610ee457600080fd5b83359250610ef58560208601610cbc565b9150610f048560608601610cbc565b90509250925092565b60008060008060808587031215610f2357600080fd5b8435610f2e81610bfb565b93506020850135610f3e81610bfb565b92506040850135610f4e81610bfb565b91506060850135610f5e81610bfb565b939692955090935050565b600060208284031215610f7b57600080fd5b8151801515811461084b57600080fd5b8281526040810161084b6020830184610c46565b600060208284031215610fb157600080fd5b81516004811061084b57600080fd5b634e487b7160e01b600052603260045260246000fd5b6000815180845260005b81811015610ffc57602081850181015186830182015201610fe0565b506000602082860101526020601f19601f83011685010191505092915050565b60408152600061102f6040830185610fd6565b82810360208481019190915284518083528582019282019060005b818110156110665784518352938301939183019160010161104a565b5090979650505050505050565b8060005b6002811015611096578151845260209384019390910190600101611077565b50505050565b60006101208883526110b16020840189611073565b6110be6060840188611073565b6110cb60a0840187611073565b8060e08401526110dd81840186610fd6565b91505082610100830152979650505050505050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103ce576103ce6110f2565b60006001820161112d5761112d6110f2565b5060010190565b60006020828403121561114657600080fd5b815161084b81610bfb565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220108b8aca5a65b80d5525d792e25ad715af9d84172756da39f8e6898cf3eaf34264736f6c63430008110033", + "address": "0x2a3C700C127811C81A785B101228613B3F9ceCE9", + "implementation": "0x2a3C700C127811C81A785B101228613B3F9ceCE9", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AccessProofTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AccessProofTemplate.geth-localnet.json new file mode 100644 index 0000000..d85330c --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AccessProofTemplate.geth-localnet.json @@ -0,0 +1,566 @@ +{ + "name": "AccessProofTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aa8806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063cc2a9a5b146102ce578063ce1b815f146102ee578063f2fde38b14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610f89565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f366004611081565b610336565b005b34801561014257600080fd5b5061013461015136600461111c565b6103dd565b34801561016257600080fd5b506100ff610171366004610f89565b610400565b34801561018257600080fd5b506101946101913660046111ca565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c73660046111f0565b610425565b60405190815260200161010b565b6101346101e8366004611290565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111ca565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610f89565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b91906113e5565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b506101346102e93660046113f8565b610821565b3480156102fa57600080fd5b50610194610ab7565b34801561030f57600080fd5b5061013461031e366004610f89565b610b42565b61013461033136600461146c565b610bbb565b6066546001600160a01b031663955d0c2a86610350610be8565b604051602001610361929190611597565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115de565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610bf2565b505050505050565b600061040a610ab7565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d5783818151811061044657610446611644565b6020026020010151826104599190611670565b91508061046581611683565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610be8565b6040516020016104b2929190611597565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610be8565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b8152600401610552919061169c565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c2565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118d7565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c8611644565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cbe565b6107196000610d2d565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c2565b905090565b600054610100900460ff16158080156108415750600054600160ff909116105b8061085b5750303b15801561085b575060005460ff166001145b6108c35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156108e6576000805461ff0019166101001790555b6001600160a01b0387161580159061090657506001600160a01b03861615155b801561091a57506001600160a01b03851615155b801561092e57506001600160a01b03841615155b801561094257506001600160a01b03831615155b801561095657506001600160a01b03821615155b6109945760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016108ba565b61099c610d7f565b6109a587610b42565b606680546001600160a01b03199081166001600160a01b0389811691909117909255606980548216888416179055606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805488169096179095559254815480860183558401805491881691871691909117905590548154938401909155910180549190931691161790558015610aae576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610ac261078c565b90506001600160a01b038116610ada57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3c91906117c2565b91505090565b610b4a610cbe565b6001600160a01b038116610baf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ba565b610bb881610d2d565b50565b610bcd8b8b8b8b8b8a8a8a8a8a610474565b610bdb8b8b8a8a8a8e610bf2565b5050505050505050505050565b600061081c610dae565b600086610bfd610be8565b604051602001610c0e929190611597565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610c918f82610ddc565b8f610c9a610be8565b604051610cad97969594939291906119af565b60405180910390a450505050505050565b610cc6610be8565b6001600160a01b0316610cd761071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ba565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610da65760405162461bcd60e51b81526004016108ba90611a27565b610719610f2d565b600060143610801590610dc55750610dc533610400565b15610dd7575060131936013560601c90565b503390565b6060600083610de9610be8565b604051602001610dfa929190611597565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e2d57610e2d610fad565b604051908082528060200260200182016040528015610e56578160200160208202803683370190505b50905060005b8151811015610f22578260658281548110610e7957610e79611644565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ea957610ea9611644565b6020026020010151604051602001610edd939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f0557610f05611644565b602090810291909101015280610f1a81611683565b915050610e5c565b509150505b92915050565b600054610100900460ff16610f545760405162461bcd60e51b81526004016108ba90611a27565b610719610f5f610be8565b610d2d565b6001600160a01b0381168114610bb857600080fd5b8035610f8481610f64565b919050565b600060208284031215610f9b57600080fd5b8135610fa681610f64565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610feb57610feb610fad565b604052919050565b60006001600160401b0382111561100c5761100c610fad565b5060051b60200190565b600082601f83011261102757600080fd5b8135602061103c61103783610ff3565b610fc3565b82815260059290921b8401810191818101908684111561105b57600080fd5b8286015b84811015611076578035835291830191830161105f565b509695505050505050565b600080600080600060a0868803121561109957600080fd5b853594506020860135935060408601356001600160401b03808211156110be57600080fd5b6110ca89838a01611016565b945060608801359150808211156110e057600080fd5b6110ec89838a01611016565b9350608088013591508082111561110257600080fd5b5061110f88828901611016565b9150509295509295909350565b60008060008060008060c0878903121561113557600080fd5b863595506020870135945060408701356001600160401b038082111561115a57600080fd5b6111668a838b01611016565b9550606089013591508082111561117c57600080fd5b6111888a838b01611016565b9450608089013591508082111561119e57600080fd5b506111ab89828a01611016565b92505060a08701356111bc81610f64565b809150509295509295509295565b6000602082840312156111dc57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561120257600080fd5b81356001600160401b0381111561121857600080fd5b61122484828501611016565b949350505050565b600082601f83011261123d57600080fd5b8135602061124d61103783610ff3565b82815260059290921b8401810191818101908684111561126c57600080fd5b8286015b8481101561107657803561128381610f64565b8352918301918301611270565b6000806000806000806000806000806101408b8d0312156112b057600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112d557600080fd5b6112e18e838f01611016565b995060608d01359150808211156112f757600080fd5b6113038e838f01611016565b985060808d013591508082111561131957600080fd5b6113258e838f01611016565b975060a08d0135965061133a60c08e01610f79565b955061134860e08e01610f79565b94506101008d013591508082111561135f57600080fd5b61136b8e838f01611016565b93506101208d013591508082111561138257600080fd5b5061138f8d828e0161122c565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113da5781516001600160a01b0316875295820195908201906001016113b5565b509495945050505050565b602081526000610fa660208301846113a1565b60008060008060008060c0878903121561141157600080fd5b863561141c81610f64565b9550602087013561142c81610f64565b9450604087013561143c81610f64565b9350606087013561144c81610f64565b9250608087013561145c81610f64565b915060a08701356111bc81610f64565b60008060008060008060008060008060006101608c8e03121561148e57600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b257600080fd5b6114c28e60408f01358f01611016565b99508060608e013511156114d557600080fd5b6114e58e60608f01358f01611016565b98508060808e013511156114f857600080fd5b6115088e60808f01358f01611016565b975061151660a08e01610f79565b965060c08d0135955061152b60e08e01610f79565b945061153a6101008e01610f79565b9350806101208e0135111561154e57600080fd5b61155f8e6101208f01358f01611016565b9250806101408e0135111561157357600080fd5b506115858d6101408e01358e0161122c565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113da578151875295820195908201906001016115c2565b86815285602082015260c0604082015260006115fd60c08301876113a1565b828103606084015261160f81876115ae565b9050828103608084015261162381866115ae565b905082810360a084015261163781856115ae565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f2757610f2761165a565b6000600182016116955761169561165a565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116cf6101a08501836113a1565b91506060850151601f19808685030160808701526116ed84836115ae565b935060808701519150808685030160a087015261170a84836115ae565b935060a08701519150808685030160c087015261172784836115ae565b935060c0870151915061173d60e08701836111e3565b60e0870151610100878101919091528701519150610120611760818801846111e3565b8701519150610140611774878201846111e3565b8088015192505061016081878603018188015261179185846115ae565b9088015187820390920184880152935090506117ad83826113a1565b9695505050505050565b8051610f8481610f64565b6000602082840312156117d457600080fd5b8151610fa681610f64565b600082601f8301126117f057600080fd5b81516001600160401b0381111561180957611809610fad565b602061181d601f8301601f19168201610fc3565b828152858284870101111561183157600080fd5b60005b8381101561184f578581018301518282018401528201611834565b506000928101909101919091529392505050565b600082601f83011261187457600080fd5b8151602061188461103783610ff3565b82815260059290921b840181019181810190868411156118a357600080fd5b8286015b848110156110765780516118ba81610f64565b83529183019183016118a7565b80518015158114610f8457600080fd5b60008060008060008060008060006101208a8c0312156118f657600080fd5b6118ff8a6117b7565b60208b015160408c0151919a5098506001600160401b038082111561192357600080fd5b61192f8d838e016117df565b985061193d60608d016117b7565b975060808c0151965060a08c015191508082111561195a57600080fd5b6119668d838e01611863565b955060c08c0151945060e08c015191508082111561198357600080fd5b506119908c828d016117df565b9250506119a06101008b016118c7565b90509295985092959850929598565b87815260e0602082015260006119c860e08301896115ae565b82810360408401526119da81896115ae565b905082810360608401526119ee81886115ae565b90508281036080840152611a0281876115ae565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122015e234062d62cae981d360ff47b42b7e42b7da1ca6d7cb9085a88fd9a0341dd564736f6c63430008110033", + "address": "0xA8d8Dd738462eb5c3122Cc456D6330AE414678B1", + "implementation": "0xA8d8Dd738462eb5c3122Cc456D6330AE414678B1", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AccessTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AccessTemplate.geth-localnet.json new file mode 100644 index 0000000..a989391 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AccessTemplate.geth-localnet.json @@ -0,0 +1,566 @@ +{ + "name": "AccessTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aa8806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063cc2a9a5b146102ce578063ce1b815f146102ee578063f2fde38b14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610f89565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f366004611081565b610336565b005b34801561014257600080fd5b5061013461015136600461111c565b6103dd565b34801561016257600080fd5b506100ff610171366004610f89565b610400565b34801561018257600080fd5b506101946101913660046111ca565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c73660046111f0565b610425565b60405190815260200161010b565b6101346101e8366004611290565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111ca565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610f89565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b91906113e5565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b506101346102e93660046113f8565b610821565b3480156102fa57600080fd5b50610194610ab7565b34801561030f57600080fd5b5061013461031e366004610f89565b610b42565b61013461033136600461146c565b610bbb565b6066546001600160a01b031663955d0c2a86610350610be8565b604051602001610361929190611597565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115de565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610bf2565b505050505050565b600061040a610ab7565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d5783818151811061044657610446611644565b6020026020010151826104599190611670565b91508061046581611683565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610be8565b6040516020016104b2929190611597565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610be8565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b8152600401610552919061169c565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c2565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118d7565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c8611644565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cbe565b6107196000610d2d565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c2565b905090565b600054610100900460ff16158080156108415750600054600160ff909116105b8061085b5750303b15801561085b575060005460ff166001145b6108c35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156108e6576000805461ff0019166101001790555b6001600160a01b0387161580159061090657506001600160a01b03861615155b801561091a57506001600160a01b03851615155b801561092e57506001600160a01b03841615155b801561094257506001600160a01b03831615155b801561095657506001600160a01b03821615155b6109945760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016108ba565b61099c610d7f565b6109a587610b42565b606680546001600160a01b03199081166001600160a01b0389811691909117909255606980548216888416179055606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805488169096179095559254815480860183558401805491881691871691909117905590548154938401909155910180549190931691161790558015610aae576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610ac261078c565b90506001600160a01b038116610ada57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3c91906117c2565b91505090565b610b4a610cbe565b6001600160a01b038116610baf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ba565b610bb881610d2d565b50565b610bcd8b8b8b8b8b8a8a8a8a8a610474565b610bdb8b8b8a8a8a8e610bf2565b5050505050505050505050565b600061081c610dae565b600086610bfd610be8565b604051602001610c0e929190611597565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610c918f82610ddc565b8f610c9a610be8565b604051610cad97969594939291906119af565b60405180910390a450505050505050565b610cc6610be8565b6001600160a01b0316610cd761071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ba565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610da65760405162461bcd60e51b81526004016108ba90611a27565b610719610f2d565b600060143610801590610dc55750610dc533610400565b15610dd7575060131936013560601c90565b503390565b6060600083610de9610be8565b604051602001610dfa929190611597565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e2d57610e2d610fad565b604051908082528060200260200182016040528015610e56578160200160208202803683370190505b50905060005b8151811015610f22578260658281548110610e7957610e79611644565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ea957610ea9611644565b6020026020010151604051602001610edd939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f0557610f05611644565b602090810291909101015280610f1a81611683565b915050610e5c565b509150505b92915050565b600054610100900460ff16610f545760405162461bcd60e51b81526004016108ba90611a27565b610719610f5f610be8565b610d2d565b6001600160a01b0381168114610bb857600080fd5b8035610f8481610f64565b919050565b600060208284031215610f9b57600080fd5b8135610fa681610f64565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610feb57610feb610fad565b604052919050565b60006001600160401b0382111561100c5761100c610fad565b5060051b60200190565b600082601f83011261102757600080fd5b8135602061103c61103783610ff3565b610fc3565b82815260059290921b8401810191818101908684111561105b57600080fd5b8286015b84811015611076578035835291830191830161105f565b509695505050505050565b600080600080600060a0868803121561109957600080fd5b853594506020860135935060408601356001600160401b03808211156110be57600080fd5b6110ca89838a01611016565b945060608801359150808211156110e057600080fd5b6110ec89838a01611016565b9350608088013591508082111561110257600080fd5b5061110f88828901611016565b9150509295509295909350565b60008060008060008060c0878903121561113557600080fd5b863595506020870135945060408701356001600160401b038082111561115a57600080fd5b6111668a838b01611016565b9550606089013591508082111561117c57600080fd5b6111888a838b01611016565b9450608089013591508082111561119e57600080fd5b506111ab89828a01611016565b92505060a08701356111bc81610f64565b809150509295509295509295565b6000602082840312156111dc57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561120257600080fd5b81356001600160401b0381111561121857600080fd5b61122484828501611016565b949350505050565b600082601f83011261123d57600080fd5b8135602061124d61103783610ff3565b82815260059290921b8401810191818101908684111561126c57600080fd5b8286015b8481101561107657803561128381610f64565b8352918301918301611270565b6000806000806000806000806000806101408b8d0312156112b057600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112d557600080fd5b6112e18e838f01611016565b995060608d01359150808211156112f757600080fd5b6113038e838f01611016565b985060808d013591508082111561131957600080fd5b6113258e838f01611016565b975060a08d0135965061133a60c08e01610f79565b955061134860e08e01610f79565b94506101008d013591508082111561135f57600080fd5b61136b8e838f01611016565b93506101208d013591508082111561138257600080fd5b5061138f8d828e0161122c565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113da5781516001600160a01b0316875295820195908201906001016113b5565b509495945050505050565b602081526000610fa660208301846113a1565b60008060008060008060c0878903121561141157600080fd5b863561141c81610f64565b9550602087013561142c81610f64565b9450604087013561143c81610f64565b9350606087013561144c81610f64565b9250608087013561145c81610f64565b915060a08701356111bc81610f64565b60008060008060008060008060008060006101608c8e03121561148e57600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b257600080fd5b6114c28e60408f01358f01611016565b99508060608e013511156114d557600080fd5b6114e58e60608f01358f01611016565b98508060808e013511156114f857600080fd5b6115088e60808f01358f01611016565b975061151660a08e01610f79565b965060c08d0135955061152b60e08e01610f79565b945061153a6101008e01610f79565b9350806101208e0135111561154e57600080fd5b61155f8e6101208f01358f01611016565b9250806101408e0135111561157357600080fd5b506115858d6101408e01358e0161122c565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113da578151875295820195908201906001016115c2565b86815285602082015260c0604082015260006115fd60c08301876113a1565b828103606084015261160f81876115ae565b9050828103608084015261162381866115ae565b905082810360a084015261163781856115ae565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f2757610f2761165a565b6000600182016116955761169561165a565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116cf6101a08501836113a1565b91506060850151601f19808685030160808701526116ed84836115ae565b935060808701519150808685030160a087015261170a84836115ae565b935060a08701519150808685030160c087015261172784836115ae565b935060c0870151915061173d60e08701836111e3565b60e0870151610100878101919091528701519150610120611760818801846111e3565b8701519150610140611774878201846111e3565b8088015192505061016081878603018188015261179185846115ae565b9088015187820390920184880152935090506117ad83826113a1565b9695505050505050565b8051610f8481610f64565b6000602082840312156117d457600080fd5b8151610fa681610f64565b600082601f8301126117f057600080fd5b81516001600160401b0381111561180957611809610fad565b602061181d601f8301601f19168201610fc3565b828152858284870101111561183157600080fd5b60005b8381101561184f578581018301518282018401528201611834565b506000928101909101919091529392505050565b600082601f83011261187457600080fd5b8151602061188461103783610ff3565b82815260059290921b840181019181810190868411156118a357600080fd5b8286015b848110156110765780516118ba81610f64565b83529183019183016118a7565b80518015158114610f8457600080fd5b60008060008060008060008060006101208a8c0312156118f657600080fd5b6118ff8a6117b7565b60208b015160408c0151919a5098506001600160401b038082111561192357600080fd5b61192f8d838e016117df565b985061193d60608d016117b7565b975060808c0151965060a08c015191508082111561195a57600080fd5b6119668d838e01611863565b955060c08c0151945060e08c015191508082111561198357600080fd5b506119908c828d016117df565b9250506119a06101008b016118c7565b90509295985092959850929598565b87815260e0602082015260006119c860e08301896115ae565b82810360408401526119da81896115ae565b905082810360608401526119ee81886115ae565b90508281036080840152611a0281876115ae565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220ebb5bf7ee2f4d5df798fdc791af6bf94e2469ca55638647ab3d3dd0ff2e46c9464736f6c63430008110033", + "address": "0x9ABC3B45B8a1f95dc45Ca4076E1D5485F9CD27a7", + "implementation": "0x9ABC3B45B8a1f95dc45Ca4076E1D5485F9CD27a7", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/AgreementStoreManager.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/AgreementStoreManager.geth-localnet.json new file mode 100644 index 0000000..7c09809 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/AgreementStoreManager.geth-localnet.json @@ -0,0 +1,746 @@ +{ + "name": "AgreementStoreManager", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "agreementId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xa947bd67" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_conditionTypes", + "type": "address[]" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x955d0c2a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_conditionTypes", + "type": "address[]" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_account", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "_idx", + "type": "uint256[]" + }, + { + "internalType": "bytes[]", + "name": "params", + "type": "bytes[]" + } + ], + "name": "createAgreementAndFulfill", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x122b3d45" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_conditionTypes", + "type": "address[]" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_creator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "internalType": "struct AgreementStoreManager.CreateAgreementArgs", + "name": "args", + "type": "tuple" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xcd14e31d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_condType", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "fullConditionId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x6fe97256" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementTemplate", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x69a7c3de" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getDIDRegistryAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x579e6e3f" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "grantProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf0e325ee" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_templateStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "revokeProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1111ab15" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612109806100206000396000f3fe6080604052600436106101475760003560e01c806301ffc9a71461014c5780631111ab1514610181578063122b3d45146101a357806316279055146101b6578063248a9ca3146101d75780632f2ff15d1461020557806336568abe14610225578063572b6c0514610245578063579e6e3f146102655780635ced058e1461028c5780635ea3ab85146102aa57806369a7c3de146102ca5780636fd902e1146103005780636fe9725614610313578063715018a6146103335780637c7197931461034857806382c947b71461035b5780638da5cb5b1461038257806391d1485414610397578063955d0c2a146103b7578063a217fddf146103d7578063a947bd67146103ec578063ab9de2301461040c578063ce1b815f14610421578063d547741f14610436578063f0e325ee14610456578063f2fde38b14610476578063f8c8765e14610496575b600080fd5b34801561015857600080fd5b5061016c6101673660046116a3565b6104b6565b60405190151581526020015b60405180910390f35b34801561018d57600080fd5b506101a161019c3660046116f2565b6104ed565b005b6101a16101b1366004611953565b610510565b3480156101c257600080fd5b5061016c6101d13660046116f2565b3b151590565b3480156101e357600080fd5b506101f76101f2366004611a81565b610742565b604051908152602001610178565b34801561021157600080fd5b506101a1610220366004611a9a565b610757565b34801561023157600080fd5b506101a1610240366004611a9a565b610778565b34801561025157600080fd5b5061016c6102603660046116f2565b610806565b34801561027157600080fd5b5060ce546001600160a01b03165b6040516101789190611aca565b34801561029857600080fd5b5061027f6102a7366004611a81565b90565b3480156102b657600080fd5b506101f76102c5366004611ade565b61082b565b3480156102d657600080fd5b5061027f6102e5366004611a81565b600090815260c960205260409020546001600160a01b031690565b34801561030c57600080fd5b50436101f7565b34801561031f57600080fd5b506101f761032e366004611b1a565b61087a565b34801561033f57600080fd5b506101a16108ba565b6101a1610356366004611b52565b6108ce565b34801561036757600080fd5b506101f76103763660046116f2565b6001600160a01b031690565b34801561038e57600080fd5b5061027f610a23565b3480156103a357600080fd5b5061016c6103b2366004611a9a565b610a32565b3480156103c357600080fd5b506101a16103d2366004611ccc565b610a5d565b3480156103e357600080fd5b506101f7600081565b3480156103f857600080fd5b506101f7610407366004611a9a565b610d86565b34801561041857600080fd5b5061027f610dcb565b34801561042d57600080fd5b5061027f610e60565b34801561044257600080fd5b506101a1610451366004611a9a565b610eeb565b34801561046257600080fd5b506101a16104713660046116f2565b610f07565b34801561048257600080fd5b506101a16104913660046116f2565b610f27565b3480156104a257600080fd5b506101a16104b1366004611d8a565b610f9d565b60006001600160e01b03198216637965db0b60e01b14806104e757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6104f5611189565b61050d6000805160206120b483398151915282610eeb565b50565b61052a6000805160206120b48339815191526103b26111f8565b6105715760405162461bcd60e51b8152602060048201526013602482015272141c9bde1e481c9bdb19481c995c5d5a5c9959606a1b60448201526064015b60405180910390fd5b61057f898989898989610a5d565b81511561065157868260008151811061059a5761059a611de6565b6020026020010151815181106105b2576105b2611de6565b60200260200101516001600160a01b031663f3c998ce34856000815181106105dc576105dc611de6565b60200260200101518c856000815181106105f8576105f8611de6565b60200260200101516040518563ffffffff1660e01b815260040161061e93929190611e4c565b6000604051808303818588803b15801561063757600080fd5b505af115801561064b573d6000803e3d6000fd5b50505050505b60015b8251811015610736578783828151811061067057610670611de6565b60200260200101518151811061068857610688611de6565b60200260200101516001600160a01b031663f3c998ce8583815181106106b0576106b0611de6565b60200260200101518c8585815181106106cb576106cb611de6565b60200260200101516040518463ffffffff1660e01b81526004016106f193929190611e4c565b600060405180830381600087803b15801561070b57600080fd5b505af115801561071f573d6000803e3d6000fd5b50505050808061072e90611e92565b915050610654565b50505050505050505050565b60009081526097602052604090206001015490565b61076082610742565b61076981611202565b6107738383611213565b505050565b6107806111f8565b6001600160a01b0316816001600160a01b0316146107f85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610568565b610802828261129a565b5050565b6000610810610e60565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156108735783818151811061084c5761084c611de6565b60200260200101518261085f9190611eab565b91508061086b81611e92565b915050610831565b5092915050565b604080516020808201959095526001600160a01b039390931683820152606080840192909252805180840390920182526080909201909152805191012090565b6108c2611189565b6108cc600061131f565b565b604080516001808252818301909252600091602080830190803683370190505090508160c001518160008151811061090857610908611de6565b6001600160a01b0392909216602092830291909101909101526040805160018082528183019092526000918160200160208202803683370190505090508260e001518160008151811061095d5761095d611de6565b6020908102919091010152604080516001808252818301909252600091816020015b606081526020019060019003908161097f57905050905083602001518461010001518561012001518661014001518761016001516040516020016109c7959493929190611ebe565b604051602081830303815290604052816000815181106109e9576109e9611de6565b6020026020010181905250610a1d846000015185602001518660400151876060015188608001518960a00151898989610510565b50505050565b6033546001600160a01b031690565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60cd546001600160a01b031663b727a255610a766111f8565b6040518263ffffffff1660e01b8152600401610a929190611aca565b602060405180830381865afa158015610aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad39190611f60565b1515600114610b1c5760405162461bcd60e51b815260206004820152601560248201527415195b5c1b185d19481b9bdd08105c1c1c9bdd9959605a1b6044820152606401610568565b60ce54604051635de0ef6f60e11b8152600481018790526000916001600160a01b03169063bbc1dede90602401602060405180830381865afa158015610b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8a9190611f82565b11610bcc5760405162461bcd60e51b8152602060048201526012602482015271111251081b9bdd081c9959da5cdd195c995960721b6044820152606401610568565b83518351148015610bde575083518251145b8015610beb575083518151145b610c355760405162461bcd60e51b815260206004820152601b60248201527a082e4ceeadacadce8e640d0c2ecca40eee4dedcce40d8cadccee8d602b1b6044820152606401610568565b60005b8451811015610d685760cc5485516001600160a01b039091169063fe3ae90f90610c97908a90899086908110610c7057610c70611de6565b6020026020010151888681518110610c8a57610c8a611de6565b602002602001015161087a565b878481518110610ca957610ca9611de6565b6020026020010151868581518110610cc357610cc3611de6565b6020026020010151868681518110610cdd57610cdd611de6565b60200260200101516040518563ffffffff1660e01b8152600401610d2394939291909384526001600160a01b039290921660208401526040830152606082015260800190565b600060405180830381600087803b158015610d3d57600080fd5b505af1158015610d51573d6000803e3d6000fd5b505050508080610d6090611e92565b915050610c38565b50610d7e86610d756111f8565b60c99190611371565b505050505050565b60008282604051602001610dad9291909182526001600160a01b0316602082015260400190565b60405160208183030381529060405280519060200120905092915050565b60ce546000906001600160a01b0316610de45750600090565b60ce60009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5b9190611f9b565b905090565b600080610e6b610dcb565b90506001600160a01b038116610e8357600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee59190611f9b565b91505090565b610ef482610742565b610efd81611202565b610773838361129a565b610f0f611189565b61050d6000805160206120b483398151915282610757565b610f2f611189565b6001600160a01b038116610f945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610568565b61050d8161131f565b600054610100900460ff1615808015610fbd5750600054600160ff909116105b80610fd75750303b158015610fd7575060005460ff166001145b61103a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610568565b6000805460ff19166001179055801561105d576000805461ff0019166101001790555b6001600160a01b0385161580159061107d57506001600160a01b03841615155b801561109157506001600160a01b03831615155b80156110a557506001600160a01b03821615155b6110e35760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610568565b6110eb6113f8565b6110f485610f27565b60cc80546001600160a01b038087166001600160a01b03199283161790925560cd805486841690831617905560ce80549285169290911691909117905561113c600086611427565b8015611182576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b6111916111f8565b6001600160a01b03166111a2610a23565b6001600160a01b0316146108cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610568565b6000610e5b611431565b61050d8161120e6111f8565b61145f565b61121d8282610a32565b6108025760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112566111f8565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6112a48282610a32565b156108025760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191690556112db6111f8565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000828152602084905260409020546001600160a01b0316156113ca5760405162461bcd60e51b8152602060048201526011602482015270496420616c72656164792065786973747360781b6044820152606401610568565b60009182526020929092526040902080546001600160a01b0319166001600160a01b03909216919091179055565b600054610100900460ff1661141f5760405162461bcd60e51b815260040161056890611fb8565b6108cc6114b8565b6108028282611213565b600060143610801590611448575061144833610806565b1561145a575060131936013560601c90565b503390565b6114698282610a32565b61080257611476816114ef565b611481836020611501565b604051602001611492929190612003565b60408051601f198184030181529082905262461bcd60e51b825261056891600401612072565b600054610100900460ff166114df5760405162461bcd60e51b815260040161056890611fb8565b6108cc6114ea6111f8565b61131f565b60606104e76001600160a01b03831660145b60606000611510836002612085565b61151b906002611eab565b6001600160401b038111156115325761153261170f565b6040519080825280601f01601f19166020018201604052801561155c576020820181803683370190505b509050600360fc1b8160008151811061157757611577611de6565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106115a6576115a6611de6565b60200101906001600160f81b031916908160001a90535060006115ca846002612085565b6115d5906001611eab565b90505b600181111561164d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061160957611609611de6565b1a60f81b82828151811061161f5761161f611de6565b60200101906001600160f81b031916908160001a90535060049490941c936116468161209c565b90506115d8565b50831561169c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610568565b9392505050565b6000602082840312156116b557600080fd5b81356001600160e01b03198116811461169c57600080fd5b6001600160a01b038116811461050d57600080fd5b80356116ed816116cd565b919050565b60006020828403121561170457600080fd5b813561169c816116cd565b634e487b7160e01b600052604160045260246000fd5b60405161018081016001600160401b03811182821017156117485761174861170f565b60405290565b604051601f8201601f191681016001600160401b03811182821017156117765761177661170f565b604052919050565b60006001600160401b038211156117975761179761170f565b5060051b60200190565b600082601f8301126117b257600080fd5b813560206117c76117c28361177e565b61174e565b82815260059290921b840181019181810190868411156117e657600080fd5b8286015b8481101561180a5780356117fd816116cd565b83529183019183016117ea565b509695505050505050565b600082601f83011261182657600080fd5b813560206118366117c28361177e565b82815260059290921b8401810191818101908684111561185557600080fd5b8286015b8481101561180a5780358352918301918301611859565b6000601f838184011261188257600080fd5b823560206118926117c28361177e565b82815260059290921b850181019181810190878411156118b157600080fd5b8287015b848110156119475780356001600160401b03808211156118d55760008081fd5b818a0191508a603f8301126118ea5760008081fd5b858201356040828211156119005761190061170f565b611911828b01601f1916890161174e565b92508183528c818386010111156119285760008081fd5b81818501898501375060009082018701528452509183019183016118b5565b50979650505050505050565b60008060008060008060008060006101208a8c03121561197257600080fd5b8935985060208a0135975060408a01356001600160401b038082111561199757600080fd5b6119a38d838e016117a1565b985060608c01359150808211156119b957600080fd5b6119c58d838e01611815565b975060808c01359150808211156119db57600080fd5b6119e78d838e01611815565b965060a08c01359150808211156119fd57600080fd5b611a098d838e01611815565b955060c08c0135915080821115611a1f57600080fd5b611a2b8d838e016117a1565b945060e08c0135915080821115611a4157600080fd5b611a4d8d838e01611815565b93506101008c0135915080821115611a6457600080fd5b50611a718c828d01611870565b9150509295985092959850929598565b600060208284031215611a9357600080fd5b5035919050565b60008060408385031215611aad57600080fd5b823591506020830135611abf816116cd565b809150509250929050565b6001600160a01b0391909116815260200190565b600060208284031215611af057600080fd5b81356001600160401b03811115611b0657600080fd5b611b1284828501611815565b949350505050565b600080600060608486031215611b2f57600080fd5b833592506020840135611b41816116cd565b929592945050506040919091013590565b600060208284031215611b6457600080fd5b81356001600160401b0380821115611b7b57600080fd5b908301906101808286031215611b9057600080fd5b611b98611725565b8235815260208301356020820152604083013582811115611bb857600080fd5b611bc4878286016117a1565b604083015250606083013582811115611bdc57600080fd5b611be887828601611815565b606083015250608083013582811115611c0057600080fd5b611c0c87828601611815565b60808301525060a083013582811115611c2457600080fd5b611c3087828601611815565b60a083015250611c4260c084016116e2565b60c082015260e083013560e0820152610100611c5f8185016116e2565b90820152610120611c718482016116e2565b908201526101408381013583811115611c8957600080fd5b611c9588828701611815565b8284015250506101608084013583811115611caf57600080fd5b611cbb888287016117a1565b918301919091525095945050505050565b60008060008060008060c08789031215611ce557600080fd5b863595506020870135945060408701356001600160401b0380821115611d0a57600080fd5b611d168a838b016117a1565b95506060890135915080821115611d2c57600080fd5b611d388a838b01611815565b94506080890135915080821115611d4e57600080fd5b611d5a8a838b01611815565b935060a0890135915080821115611d7057600080fd5b50611d7d89828a01611815565b9150509295509295509295565b60008060008060808587031215611da057600080fd5b8435611dab816116cd565b93506020850135611dbb816116cd565b92506040850135611dcb816116cd565b91506060850135611ddb816116cd565b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b60005b83811015611e17578181015183820152602001611dff565b50506000910152565b60008151808452611e38816020860160208601611dfc565b601f01601f19169290920160200192915050565b60018060a01b0384168152826020820152606060408201526000611e736060830184611e20565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611ea457611ea4611e7c565b5060010190565b808201808211156104e7576104e7611e7c565b600060a08201878352602060018060a01b0380891682860152808816604086015260a0606086015282875180855260c087019150838901945060005b81811015611f1657855183529484019491840191600101611efa565b50508581036080870152865180825290830193508287019060005b81811015611f4f578251841686529484019491840191600101611f31565b50939b9a5050505050505050505050565b600060208284031215611f7257600080fd5b8151801515811461169c57600080fd5b600060208284031215611f9457600080fd5b5051919050565b600060208284031215611fad57600080fd5b815161169c816116cd565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351612035816017850160208801611dfc565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612066816028840160208801611dfc565b01602801949350505050565b60208152600061169c6020830184611e20565b80820281158282048414176104e7576104e7611e7c565b6000816120ab576120ab611e7c565b50600019019056fe77d72916e966418e6dc58a19999ae9934bef3f749f1547cde0a86e809f19c89ba2646970667358221220a287ebd3fdf98b50331bb03135f31135555d5dfffae7bb61756de1b6a8e8517764736f6c63430008110033", + "address": "0x3c85B859E8B4B67197AfcFB8F3a0D2A735258D55", + "implementation": "0x3c85B859E8B4B67197AfcFB8F3a0D2A735258D55", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/ComputeExecutionCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/ComputeExecutionCondition.geth-localnet.json new file mode 100644 index 0000000..acdfd1f --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/ComputeExecutionCondition.geth-localnet.json @@ -0,0 +1,414 @@ +{ + "name": "ComputeExecutionCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_computeConsumer", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_computeConsumer", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd9250da4" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_computeConsumer", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xeea0a725" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_computeConsumer", + "type": "address" + } + ], + "name": "wasComputeTriggered", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc0f02005" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611014806100206000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c806315c87f85146100eb57806316279055146101255780631ce1918514610149578063572b6c05146101695780635ced058e1461017c5780635ea3ab85146101a55780636fd902e1146101b8578063715018a6146101be57806382c947b7146101c85780638da5cb5b146101e2578063ab9de230146101ea578063c0c53b8b146101f2578063c0f0200514610205578063cb4e57e81461023e578063ce1b815f14610251578063d9250da414610259578063eea0a7251461026c578063f2fde38b1461027f575b600080fd5b6101127ff1f5a3eee4f226c56d5321fe104719a85fde739a81bc524fb5adbe31d143998f81565b6040519081526020015b60405180910390f35b610139610133366004610c35565b3b151590565b604051901515815260200161011c565b61015c610157366004610c59565b610292565b60405161011c9190610c94565b610139610177366004610c35565b6103cd565b61018d61018a366004610c59565b90565b6040516001600160a01b03909116815260200161011c565b6101126101b3366004610cb8565b6103f2565b43610112565b6101c6610441565b005b6101126101d6366004610c35565b6001600160a01b031690565b61018d610455565b61018d610464565b6101c6610200366004610d75565b6104f9565b610139610213366004610dc0565b60009182526066602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61011261024c366004610df0565b610646565b61018d610685565b61015c610267366004610e12565b610710565b61011261027a366004610dc0565b6109ad565b6101c661028d366004610c35565b6109c2565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156102dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103009190610e40565b6103515760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610384908590600390600401610e62565b6020604051808303816000875af11580156103a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c79190610e76565b92915050565b60006103d7610685565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561043a5783818151811061041357610413610e97565b6020026020010151826104269190610ec3565b91508061043281610ed6565b9150506103f8565b5092915050565b610449610a3b565b6104536000610aaa565b565b6033546001600160a01b031690565b6065546000906001600160a01b031661047d5750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f49190610eef565b905090565b600054610100900460ff16158080156105195750600054600160ff909116105b806105335750303b158015610533575060005460ff166001145b6105965760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610348565b6000805460ff1916600117905580156105b9576000805461ff0019166101001790555b6105c1610afc565b6105ca846109c2565b606580546001600160a01b038086166001600160a01b03199283161790925560678054928516929091169190911790558015610640576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b60408051602081018490523091810191909152606081018290526000906080015b60405160208183030381529060405280519060200120905092915050565b600080610690610464565b90506001600160a01b0381166106a857600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070a9190610eef565b91505090565b6000826000606760009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190610eef565b9050806001600160a01b0316633c6aa7b7836107a6610b2b565b6040518363ffffffff1660e01b81526004016107c3929190610f0c565b602060405180830381865afa1580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108049190610e40565b8061088f5750604051631b0bbd4960e21b8152600481018390526001600160a01b03821690636c2ef52490602401602060405180830381865afa15801561084f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108739190610eef565b6001600160a01b0316610884610b2b565b6001600160a01b0316145b6108d85760405162461bcd60e51b815260206004820152601a60248201527924b73b30b634b2102224a21037bbb732b917b83937bb34b232b960311b6044820152606401610348565b60006108e88761024c88886109ad565b90506000610932826002896040518060400160405280601981526020017821b7b6b83aba32a2bc32b1baba34b7b721b7b73234ba34b7b760391b81525061092d610b2b565b610b35565b60008881526066602090815260408083206001600160a01b038b16808552925291829020805460ff1916600117905590519192509088908a907f6855f7a98b24193f81092c1736cdb5bd7e647de52ca83d767d735c3735ddb2d29061099a9087815260200190565b60405180910390a4979650505050505050565b60008282604051602001610667929190610f0c565b6109ca610a3b565b6001600160a01b038116610a2f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610348565b610a3881610aaa565b50565b610a43610b2b565b6001600160a01b0316610a54610455565b6001600160a01b0316146104535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610348565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610b235760405162461bcd60e51b815260040161034890610f23565b610453610bbb565b60006104f4610bf2565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610b6e9089908890889088908c90600401610f6e565b6020604051808303816000875af1158015610b8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb19190610e76565b9695505050505050565b600054610100900460ff16610be25760405162461bcd60e51b815260040161034890610f23565b610453610bed610b2b565b610aaa565b600060143610801590610c095750610c09336103cd565b15610c1b575060131936013560601c90565b503390565b6001600160a01b0381168114610a3857600080fd5b600060208284031215610c4757600080fd5b8135610c5281610c20565b9392505050565b600060208284031215610c6b57600080fd5b5035919050565b60048110610c9057634e487b7160e01b600052602160045260246000fd5b9052565b602081016103c78284610c72565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610ccb57600080fd5b82356001600160401b0380821115610ce257600080fd5b818501915085601f830112610cf657600080fd5b813581811115610d0857610d08610ca2565b8060051b604051601f19603f83011681018181108582111715610d2d57610d2d610ca2565b604052918252848201925083810185019188831115610d4b57600080fd5b938501935b82851015610d6957843584529385019392850192610d50565b98975050505050505050565b600080600060608486031215610d8a57600080fd5b8335610d9581610c20565b92506020840135610da581610c20565b91506040840135610db581610c20565b809150509250925092565b60008060408385031215610dd357600080fd5b823591506020830135610de581610c20565b809150509250929050565b60008060408385031215610e0357600080fd5b50508035926020909101359150565b600080600060608486031215610e2757600080fd5b83359250602084013591506040840135610db581610c20565b600060208284031215610e5257600080fd5b81518015158114610c5257600080fd5b82815260408101610c526020830184610c72565b600060208284031215610e8857600080fd5b815160048110610c5257600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103c7576103c7610ead565b600060018201610ee857610ee8610ead565b5060010190565b600060208284031215610f0157600080fd5b8151610c5281610c20565b9182526001600160a01b0316602082015260400190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b81811015610fa85787810183015185820160c001528201610f8c565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610bb16080830184610c7256fea264697066735822122076038507c3f2490915b42a0bef075f7c02425b69f806c4e4b3d978744ec2a6ab64736f6c63430008110033", + "address": "0x30F5Ea1C8B89DD793C1b007B8FCb742C7f3C84a9", + "implementation": "0x30F5Ea1C8B89DD793C1b007B8FCb742C7f3C84a9", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/ConditionStoreManager.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/ConditionStoreManager.geth-localnet.json new file mode 100644 index 0000000..5ebb9b0 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/ConditionStoreManager.geth-localnet.json @@ -0,0 +1,953 @@ +{ + "name": "ConditionStoreManager", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_typeRef", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_who", + "type": "address" + } + ], + "name": "ConditionCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_typeRef", + "type": "address" + }, + { + "indexed": true, + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "_state", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "address", + "name": "_who", + "type": "address" + } + ], + "name": "ConditionUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_typeRef", + "type": "address" + } + ], + "name": "createCondition", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xde43d135" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_typeRef", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_timeLock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_timeOut", + "type": "uint256" + } + ], + "name": "createCondition", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xfe3ae90f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_typeRef", + "type": "address" + } + ], + "name": "createCondition2", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf141d524" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "delegatee", + "type": "address" + } + ], + "name": "delegateCreateRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4eea66dd" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "delegatee", + "type": "address" + } + ], + "name": "delegateUpdateRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xdc936bb2" + }, + { + "inputs": [], + "name": "didRegistry", + "outputs": [ + { + "internalType": "contract IExternalRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x577f9fb1" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getCondition", + "outputs": [ + { + "internalType": "address", + "name": "typeRef", + "type": "address" + }, + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "state", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "timeLock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timeOut", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x2934a0ee" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getConditionState", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x336c5122" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getConditionTypeRef", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc0c786a7" + }, + { + "inputs": [], + "name": "getCreateRole", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x90f1776a" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_key", + "type": "bytes32" + } + ], + "name": "getMappingValue", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x3ef447ad" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "grantProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf0e325ee" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_creator", + "type": "address" + }, + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_nvmConfigAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "isConditionTimeLocked", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x593d00e0" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "isConditionTimedOut", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ed93cc5" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "revokeProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1111ab15" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "setNvmConfigAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x02acb9a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_didAddress", + "type": "address" + } + ], + "name": "setProvenanceRegistry", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xfd3ff018" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_key", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_value", + "type": "bytes32" + } + ], + "name": "updateConditionMapping", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb3191930" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_key", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_value", + "type": "bytes32" + } + ], + "name": "updateConditionMappingProxy", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3835a16e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "_newState", + "type": "uint8" + } + ], + "name": "updateConditionState", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x52bc0e46" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "_newState", + "type": "uint8" + } + ], + "name": "updateConditionStateWithProvenance", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd1a8ae81" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061203b806100206000396000f3fe608060405234801561001057600080fd5b50600436106101d85760003560e01c806301ffc9a7146101dd57806302acb9a6146102055780631111ab151461021a578063162790551461022d578063248a9ca3146102415780632934a0ee146102625780632f2ff15d146102c4578063336c5122146102d757806336568abe1461030e5780633835a16e146103215780633ef447ad146103345780634eea66dd1461035f57806352bc0e4614610372578063572b6c0514610385578063577f9fb114610398578063593d00e0146103b85780635ced058e146103cb5780635ea3ab85146103dc5780636ed93cc5146103ef5780636fd902e114610402578063715018a61461040857806382c947b7146104105780638da5cb5b1461042a57806390f1776a1461043257806391d1485414610443578063a217fddf14610456578063ab9de2301461045e578063b319193014610466578063c0c53b8b14610479578063c0c786a71461048c578063ce1b815f146104b5578063d1a8ae81146104bd578063d547741f146104d0578063dc936bb2146104e3578063de43d135146104f6578063f0e325ee14610509578063f141d524146104f6578063f2fde38b1461051c578063fd3ff0181461052f578063fe3ae90f1461055f575b600080fd5b6101f06101eb3660046118d2565b610572565b60405190151581526020015b60405180910390f35b610218610213366004611921565b6105a9565b005b610218610228366004611921565b6105d3565b6101f061023b366004611921565b3b151590565b61025461024f36600461193e565b6105f6565b6040519081526020016101fc565b6102b361027036600461193e565b600090815260ca602090815260408083205460cc909252909120805460018201546002909201546001600160a01b03841694600160a01b90940460ff1693919291565b6040516101fc95949392919061198f565b6102186102d23660046119c8565b61060b565b6103016102e536600461193e565b600090815260ca6020526040902054600160a01b900460ff1690565b6040516101fc91906119f8565b61021861031c3660046119c8565b61062c565b61021861032f366004611a06565b6106bf565b610254610342366004611a32565b600091825260cb6020908152604080842092845291905290205490565b61021861036d366004611921565b610728565b610301610380366004611a63565b610778565b6101f0610393366004611921565b610801565b60ce546103ab906001600160a01b031681565b6040516101fc9190611a8f565b6101f06103c636600461193e565b610826565b6103ab6103d936600461193e565b90565b6102546103ea366004611ae9565b610833565b6101f06103fd36600461193e565b610882565b43610254565b61021861088f565b61025461041e366004611921565b6001600160a01b031690565b6103ab6108a3565b60c9546001600160a01b03166103ab565b6101f06104513660046119c8565b6108b2565b610254600081565b6103ab6108dd565b610218610474366004611a06565b6108ec565b610218610487366004611b8e565b610976565b6103ab61049a36600461193e565b600090815260ca60205260409020546001600160a01b031690565b6103ab610b99565b6103016104cb366004611bd9565b610c24565b6102186104de3660046119c8565b610d49565b6102186104f13660046119c8565b610d65565b6102186105043660046119c8565b610e1c565b610218610517366004611921565b610e29565b61021861052a366004611921565b610e49565b61021861053d366004611921565b60ce80546001600160a01b0319166001600160a01b0392909216919091179055565b61021861056d366004611ca2565b610ebf565b60006001600160e01b03198216637965db0b60e01b14806105a357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6105b1610ff8565b60cd80546001600160a01b0319166001600160a01b0392909216919091179055565b6105db610ff8565b6105f3600080516020611fe683398151915282610d49565b50565b60009081526097602052604090206001015490565b610614826105f6565b61061d81611067565b6106278383611078565b505050565b6106346110ff565b6001600160a01b0316816001600160a01b0316146106b15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106bb828261110e565b5050565b6106d9600080516020611fe68339815191526104516110ff565b61071b5760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642061636365737320726f6c6560681b60448201526064016106a8565b61062760ca848484611193565b610730610ff8565b6001600160a01b0381166107565760405162461bcd60e51b81526004016106a890611cdf565b60c980546001600160a01b0319166001600160a01b0392909216919091179055565b600082815260ca602052604081205483906001600160a01b03166107ae5760405162461bcd60e51b81526004016106a890611d12565b6107b66110ff565b600082815260ca60205260409020546001600160a01b039081169116146107ef5760405162461bcd60e51b81526004016106a890611d42565b6107f984846111b2565b949350505050565b600061080b610b99565b6001600160a01b0316826001600160a01b0316149050919050565b60006105a360cc83611294565b60008060005b835181101561087b5783818151811061085457610854611d6e565b6020026020010151826108679190611d9a565b91508061087381611dad565b915050610839565b5092915050565b60006105a360cc836112b4565b610897610ff8565b6108a160006112f4565b565b6033546001600160a01b031690565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60cd546001600160a01b031690565b600083815260ca602052604090205483906001600160a01b03166109225760405162461bcd60e51b81526004016106a890611d12565b61092a6110ff565b600082815260ca60205260409020546001600160a01b039081169116146109635760405162461bcd60e51b81526004016106a890611d42565b61097060ca858585611193565b50505050565b600054610100900460ff16158080156109965750600054600160ff909116105b806109b757506109a530611346565b1580156109b7575060005460ff166001145b610a1a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016106a8565b6000805460ff191660011790558015610a3d576000805461ff0019166101001790555b6001600160a01b038316610a635760405162461bcd60e51b81526004016106a890611dc6565b60c9546001600160a01b031615610ab45760405162461bcd60e51b8152602060048201526015602482015274149bdb1948185b1c9958591e48185cdcda59db9959605a1b60448201526064016106a8565b6001600160a01b038216610afc5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964204164647265737360881b60448201526064016106a8565b610b04611355565b610b0d83610e49565b60c980546001600160a01b0319166001600160a01b038616179055610b33600084611384565b60cd80546001600160a01b0319166001600160a01b0384161790558015610970576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b600080610ba46108dd565b90506001600160a01b038116610bbc57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1e9190611def565b91505090565b600085815260ca602052604081205486906001600160a01b0316610c5a5760405162461bcd60e51b81526004016106a890611d12565b610c626110ff565b600082815260ca60205260409020546001600160a01b03908116911614610c9b5760405162461bcd60e51b81526004016106a890611d42565b6000610ca788856111b2565b60ce549091506001600160a01b031615610d3e5760ce5486516020880120604051635dbca6c960e11b81526001600160a01b039092169163bb794d9291610cf9918c918c918b91908d90600401611e5c565b6020604051808303816000875af1158015610d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3c9190611e9d565b505b979650505050505050565b610d52826105f6565b610d5b81611067565b610627838361110e565b610d6d610ff8565b6001600160a01b038116610d935760405162461bcd60e51b81526004016106a890611cdf565b600082815260ca60205260409020546001600160a01b0316610dee5760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a590818dbdb991a5d1a5bdb88125960621b60448201526064016106a8565b600091825260ca602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b6106bb8282600080610ebf565b610e31610ff8565b6105f3600080516020611fe68339815191528261060b565b610e51610ff8565b6001600160a01b038116610eb65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a8565b6105f3816112f4565b610ec76110ff565b60c9546001600160a01b03908116911614610f195760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420437265617465526f6c6560701b60448201526064016106a8565b826001600160a01b038116610f405760405162461bcd60e51b81526004016106a890611dc6565b610f4981611346565b610f905760405162461bcd60e51b8152602060048201526018602482015277496e76616c696420636f6e7472616374206164647265737360401b60448201526064016106a8565b610f9d60cc86858561138e565b610fa960ca86866114cf565b610fb16110ff565b6001600160a01b0316846001600160a01b0316867fa8370478fccea50f2f5a24a87f5539982b31df0251868c81c6cf0e35ea14f62460405160405180910390a45050505050565b6110006110ff565b6001600160a01b03166110116108a3565b6001600160a01b0316146108a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a8565b6105f3816110736110ff565b61154d565b61108282826108b2565b6106bb5760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110bb6110ff565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006111096115a6565b905090565b61111882826108b2565b156106bb5760008281526097602090815260408083206001600160a01b03851684529091529020805460ff1916905561114f6110ff565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000928352600190930160209081526040808420928452919052902055565b60006111bd83610826565b156112055760405162461bcd60e51b8152602060048201526018602482015277151a5b59531bd8dac81a5cc81b9bdd081bdd995c881e595d60421b60448201526064016106a8565b8161120f84610882565b15611218575060035b61122460ca85836115d4565b80600381111561123657611236611957565b600085815260ca60205260409020546001600160a01b0316857f1b03ca268fb2382cadcf505ee60f53857c3c2c2483f2a024c2be1073b29a63d46112786110ff565b6040516112859190611a8f565b60405180910390a49392505050565b60008181526020839052604081206112ab906116be565b43109392505050565b60008181526020839052604081206001015481036112d4575060006105a3565b60008281526020849052604090206112eb906116d1565b43119392505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03163b151590565b600054610100900460ff1661137c5760405162461bcd60e51b81526004016106a890611ebf565b6108a16116e7565b6106bb8282611078565b600083815260208590526040902060020154156113bd5760405162461bcd60e51b81526004016106a890611f0a565b436113c88184611d9a565b101580156113df5750436113dc8183611d9a565b10155b6114395760405162461bcd60e51b815260206004820152602560248201527f496e6469636174696e6720696e7465676572206f766572666c6f772f756e646560448201526472666c6f7760d81b60648201526084016106a8565b6000811180156114495750600082115b15611493578082106114935760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b2103a34b6b29036b0b933b4b760691b60448201526064016106a8565b60408051606081018252928352602080840192835243848301908152600095865295905290922090518155905160018201559051600290910155565b6000828152602084905260409020546001600160a01b0316156115045760405162461bcd60e51b81526004016106a890611f0a565b600082815260208490526040902080546001600160a01b0383166001600160a01b0319821681178355600192916001600160a81b03191617600160a01b835b0217905550505050565b61155782826108b2565b6106bb576115648161171e565b61156f836020611730565b604051602001611580929190611f35565b60408051601f198184030181529082905262461bcd60e51b82526106a891600401611fa4565b6000601436108015906115bd57506115bd33610801565b156115cf575060131936013560601c90565b503390565b6001600083815260208590526040902054600160a01b900460ff16600381111561160057611600611957565b1480156116465750600082815260208490526040902054600160a01b900460ff16600381111561163257611632611957565b81600381111561164457611644611957565b115b61168d5760405162461bcd60e51b815260206004820152601860248201527724b73b30b634b21039ba30ba32903a3930b739b4ba34b7b760411b60448201526064016106a8565b6000828152602084905260409020805482919060ff60a01b1916600160a01b83600381111561154357611543611957565b600281015481546000916105a391611d9a565b6000816002015482600101546105a39190611d9a565b600054610100900460ff1661170e5760405162461bcd60e51b81526004016106a890611ebf565b6108a16117196110ff565b6112f4565b60606105a36001600160a01b03831660145b6060600061173f836002611fb7565b61174a906002611d9a565b6001600160401b0381111561176157611761611aa3565b6040519080825280601f01601f19166020018201604052801561178b576020820181803683370190505b509050600360fc1b816000815181106117a6576117a6611d6e565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106117d5576117d5611d6e565b60200101906001600160f81b031916908160001a90535060006117f9846002611fb7565b611804906001611d9a565b90505b600181111561187c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061183857611838611d6e565b1a60f81b82828151811061184e5761184e611d6e565b60200101906001600160f81b031916908160001a90535060049490941c9361187581611fce565b9050611807565b5083156118cb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106a8565b9392505050565b6000602082840312156118e457600080fd5b81356001600160e01b0319811681146118cb57600080fd5b6001600160a01b03811681146105f357600080fd5b803561191c816118fc565b919050565b60006020828403121561193357600080fd5b81356118cb816118fc565b60006020828403121561195057600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6004811061198b57634e487b7160e01b600052602160045260246000fd5b9052565b6001600160a01b038616815260a081016119ac602083018761196d565b8460408301528360608301528260808301529695505050505050565b600080604083850312156119db57600080fd5b8235915060208301356119ed816118fc565b809150509250929050565b602081016105a3828461196d565b600080600060608486031215611a1b57600080fd5b505081359360208301359350604090920135919050565b60008060408385031215611a4557600080fd5b50508035926020909101359150565b80356004811061191c57600080fd5b60008060408385031215611a7657600080fd5b82359150611a8660208401611a54565b90509250929050565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611ae157611ae1611aa3565b604052919050565b60006020808385031215611afc57600080fd5b82356001600160401b0380821115611b1357600080fd5b818501915085601f830112611b2757600080fd5b813581811115611b3957611b39611aa3565b8060051b9150611b4a848301611ab9565b8181529183018401918481019088841115611b6457600080fd5b938501935b83851015611b8257843582529385019390850190611b69565b98975050505050505050565b600080600060608486031215611ba357600080fd5b8335611bae816118fc565b92506020840135611bbe816118fc565b91506040840135611bce816118fc565b809150509250925092565b600080600080600060a08688031215611bf157600080fd5b85359450602080870135945060408701356001600160401b0380821115611c1757600080fd5b818901915089601f830112611c2b57600080fd5b813581811115611c3d57611c3d611aa3565b611c4f601f8201601f19168501611ab9565b91508082528a84828501011115611c6557600080fd5b8084840185840137600084828401015250809550505050611c8860608701611911565b9150611c9660808701611a54565b90509295509295909350565b60008060008060808587031215611cb857600080fd5b843593506020850135611cca816118fc565b93969395505050506040820135916060013590565b602080825260199082015278496e76616c69642064656c656761746565206164647265737360381b604082015260600190565b60208082526016908201527510dbdb991a5d1a5bdb88191bd95cdb9d08195e1a5cdd60521b604082015260600190565b602080825260129082015271496e76616c696420557064617465526f6c6560701b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105a3576105a3611d84565b600060018201611dbf57611dbf611d84565b5060010190565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b600060208284031215611e0157600080fd5b81516118cb816118fc565b60005b83811015611e27578181015183820152602001611e0f565b50506000910152565b60008151808452611e48816020860160208601611e0c565b601f01601f19169290920160200192915050565b85815284602082015260018060a01b038416604082015282606082015260c06080820152600060c082015260e060a08201526000610d3e60e0830184611e30565b600060208284031215611eaf57600080fd5b815180151581146118cb57600080fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b602080825260119082015270496420616c72656164792065786973747360781b604082015260600190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351611f67816017850160208801611e0c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611f98816028840160208801611e0c565b01602801949350505050565b6020815260006118cb6020830184611e30565b80820281158282048414176105a3576105a3611d84565b600081611fdd57611fdd611d84565b50600019019056fe77d72916e966418e6dc58a19999ae9934bef3f749f1547cde0a86e809f19c89ba26469706673582212207953b07136db78e0ab5f9b2d1d6fe84208a80b00d3890602977f1f635adcbc9264736f6c63430008110033", + "address": "0x8f6865Bdb68735004aC1789bA49d0FA2877Ad057", + "implementation": "0x8f6865Bdb68735004aC1789bA49d0FA2877Ad057", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/DIDRegistry.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/DIDRegistry.geth-localnet.json new file mode 100644 index 0000000..54363c6 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/DIDRegistry.geth-localnet.json @@ -0,0 +1,2456 @@ +{ + "name": "DIDRegistry", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_entityDid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_delegateAgentId", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_responsibleAgentId", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "provId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_attributes", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_blockNumberUpdated", + "type": "uint256" + } + ], + "name": "ActedOnBehalf", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_value", + "type": "string" + }, + { + "indexed": false, + "internalType": "address", + "name": "_lastUpdatedBy", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_blockNumberUpdated", + "type": "uint256" + } + ], + "name": "DIDAttributeRegistered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_url", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "_immutableUrl", + "type": "string" + } + ], + "name": "DIDMetadataUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_previousOwner", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_newOwner", + "type": "address" + } + ], + "name": "DIDOwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "DIDPermissionGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "DIDPermissionRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_delegate", + "type": "address" + } + ], + "name": "DIDProvenanceDelegateAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_delegate", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "state", + "type": "bool" + } + ], + "name": "DIDProvenanceDelegateRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_provider", + "type": "address" + } + ], + "name": "DIDProviderAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_provider", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "state", + "type": "bool" + } + ], + "name": "DIDProviderRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "DIDRoyaltiesAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "DIDRoyaltyRecipientChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "bytes32", + "name": "provId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_relatedDid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_agentInvolvedId", + "type": "address" + }, + { + "indexed": false, + "internalType": "enum ProvenanceRegistry.ProvenanceMethod", + "name": "_method", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "string", + "name": "_attributes", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_blockNumberUpdated", + "type": "uint256" + } + ], + "name": "ProvenanceAttributeRegistered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "provId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_attributes", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_blockNumberUpdated", + "type": "uint256" + } + ], + "name": "Used", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_entityDid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "provId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_attributes", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_blockNumberUpdated", + "type": "uint256" + } + ], + "name": "WasAssociatedWith", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_newEntityDid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_usedEntityDid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "provId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_attributes", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_blockNumberUpdated", + "type": "uint256" + } + ], + "name": "WasDerivedFrom", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "provId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "string", + "name": "_attributes", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_blockNumberUpdated", + "type": "uint256" + } + ], + "name": "WasGeneratedBy", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "REGISTRY_OPERATOR_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x34364de1" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_provId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_delegateAgentId", + "type": "address" + }, + { + "internalType": "address", + "name": "_responsibleAgentId", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_signatureDelegate", + "type": "bytes" + }, + { + "internalType": "string", + "name": "_attributes", + "type": "string" + } + ], + "name": "actedOnBehalf", + "outputs": [ + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x994e0345" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_delegate", + "type": "address" + } + ], + "name": "addDIDProvenanceDelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x39c67470" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_provider", + "type": "address" + } + ], + "name": "addDIDProvider", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa2d28d46" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + } + ], + "name": "areRoyaltiesValid", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x61d74472" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [], + "name": "defaultRoyalties", + "outputs": [ + { + "internalType": "contract StandardRoyalties", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xf951735a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_cap", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_royalties", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "_mint", + "type": "bool" + }, + { + "internalType": "string", + "name": "_nftMetadata", + "type": "string" + } + ], + "name": "enableAndMintDidNft", + "outputs": [ + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3a1895a7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_royalties", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "_mint", + "type": "bool" + } + ], + "name": "enableAndMintDidNft721", + "outputs": [ + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe84400ca" + }, + { + "inputs": [], + "name": "erc1155", + "outputs": [ + { + "internalType": "contract NFT1155Upgradeable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xd56022d7" + }, + { + "inputs": [], + "name": "erc721", + "outputs": [ + { + "internalType": "contract NFT721Upgradeable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xbca6ce64" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getBlockNumberUpdated", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumberUpdated", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xbbc1dede" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getDIDCreator", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x234f04cd" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getDIDOwner", + "outputs": [ + { + "internalType": "address", + "name": "didOwner", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6c2ef524" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getDIDRegister", + "outputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "lastChecksum", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "url", + "type": "string" + }, + { + "internalType": "address", + "name": "lastUpdatedBy", + "type": "address" + }, + { + "internalType": "uint256", + "name": "blockNumberUpdated", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "providers", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "royalties", + "type": "uint256" + }, + { + "internalType": "string", + "name": "immutableUrl", + "type": "string" + }, + { + "internalType": "bool", + "name": "nftInitialized", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x22c6b519" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getDIDRoyaltyRecipient", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x3b21f84f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getDIDRoyaltyScheme", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xf9faeace" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getNFTInfo", + "outputs": [ + { + "internalType": "address", + "name": "nftContractAddress", + "type": "address" + }, + { + "internalType": "bool", + "name": "nftInitialized", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x490ca71b" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "getPermission", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x60d6c7cf" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_provId", + "type": "bytes32" + } + ], + "name": "getProvenanceEntry", + "outputs": [ + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "relatedDid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "agentId", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "activityId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "agentInvolvedId", + "type": "address" + }, + { + "internalType": "uint8", + "name": "method", + "type": "uint8" + }, + { + "internalType": "address", + "name": "createdBy", + "type": "address" + }, + { + "internalType": "uint256", + "name": "blockNumberUpdated", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "signature", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x5457a5c8" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "getProvenanceOwner", + "outputs": [ + { + "internalType": "address", + "name": "provenanceOwner", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x2105ab65" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "grantPermission", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbc586456" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRegistryOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe6af0b6c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_didSeed", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "hashDID", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x3fc62a80" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_erc1155", + "type": "address" + }, + { + "internalType": "address", + "name": "_erc721", + "type": "address" + }, + { + "internalType": "address", + "name": "_config", + "type": "address" + }, + { + "internalType": "address", + "name": "_royalties", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "isDIDOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc714700c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_provider", + "type": "address" + } + ], + "name": "isDIDProvider", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x3c6aa7b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_provider", + "type": "address" + } + ], + "name": "isDIDProviderOrOwner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x49791a91" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + } + ], + "name": "isOwnerProviderOrDelegate", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x7c81b9a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_delegate", + "type": "address" + } + ], + "name": "isProvenanceDelegate", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x26442c64" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isRegistryOperator", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa4b19343" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "manager", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x481c6a75" + }, + { + "inputs": [], + "name": "nvmConfig", + "outputs": [ + { + "internalType": "contract INVMConfig", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe9c1e045" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_didSeed", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_providers", + "type": "address[]" + }, + { + "internalType": "string", + "name": "_url", + "type": "string" + } + ], + "name": "registerAttribute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x534eb706" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_didSeed", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_providers", + "type": "address[]" + }, + { + "internalType": "string", + "name": "_url", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_immutableUrl", + "type": "string" + } + ], + "name": "registerDID", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x110a9d6a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_didSeed", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_providers", + "type": "address[]" + }, + { + "internalType": "string", + "name": "_url", + "type": "string" + }, + { + "internalType": "uint256", + "name": "_cap", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_royalties", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_nftMetadata", + "type": "string" + }, + { + "internalType": "string", + "name": "_immutableUrl", + "type": "string" + } + ], + "name": "registerMintableDID", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3bd02c41" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_didSeed", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_providers", + "type": "address[]" + }, + { + "internalType": "string", + "name": "_url", + "type": "string" + }, + { + "internalType": "uint256", + "name": "_cap", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_royalties", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "_mint", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_nftMetadata", + "type": "string" + }, + { + "internalType": "string", + "name": "_immutableUrl", + "type": "string" + } + ], + "name": "registerMintableDID", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcffe1eb3" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_didSeed", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_providers", + "type": "address[]" + }, + { + "internalType": "string", + "name": "_url", + "type": "string" + }, + { + "internalType": "uint256", + "name": "_royalties", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "_mint", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_immutableUrl", + "type": "string" + } + ], + "name": "registerMintableDID721", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x09b8d7d1" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "registerRoyaltiesChecker", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x280f546c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_cond", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "registerUsedProvenance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa159969c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_delegate", + "type": "address" + } + ], + "name": "removeDIDProvenanceDelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6c3e6036" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_provider", + "type": "address" + } + ], + "name": "removeDIDProvider", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x7ac5f7c8" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "revokePermission", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa6a8f17b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRegistryOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf6595a8f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "royaltiesCheckers", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xbfb967d0" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_royalties", + "type": "address" + } + ], + "name": "setDIDRoyalties", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x9463e25d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_recipient", + "type": "address" + } + ], + "name": "setDIDRoyaltyRecipient", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb14d888a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_royalties", + "type": "address" + } + ], + "name": "setDefaultRoyalties", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x0dc22f3a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_erc1155", + "type": "address" + } + ], + "name": "setNFT1155", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbcd3f9fc" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_newOwner", + "type": "address" + } + ], + "name": "transferDIDOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd6f9d5eb" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_newOwner", + "type": "address" + } + ], + "name": "transferDIDOwnershipManaged", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa22b1b8c" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_checksum", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_url", + "type": "string" + }, + { + "internalType": "string", + "name": "_immutableUrl", + "type": "string" + } + ], + "name": "updateMetadataUrl", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc3cd788a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_provId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_signatureUsing", + "type": "bytes" + }, + { + "internalType": "string", + "name": "_attributes", + "type": "string" + } + ], + "name": "used", + "outputs": [ + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbb794d92" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_provId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_attributes", + "type": "string" + } + ], + "name": "wasAssociatedWith", + "outputs": [ + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x953ae6ce" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_provId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_newEntityDid", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_usedEntityDid", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_agentId", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_activityId", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_attributes", + "type": "string" + } + ], + "name": "wasDerivedFrom", + "outputs": [ + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb00b2e1e" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061492d806100206000396000f3fe608060405234801561001057600080fd5b50600436106103485760003560e01c80637c81b9a6116101bb5780637c81b9a6146106c457806382c947b7146106d75780638da5cb5b146106f157806391d14854146106f95780639463e25d1461070c578063953ae6ce1461071f578063994e034514610732578063a159969c14610745578063a217fddf14610758578063a22b1b8c14610760578063a2d28d4614610773578063a4b1934314610786578063a6a8f17b14610799578063ab9de230146107ac578063b00b2e1e146107b4578063b14d888a146107c7578063bb794d92146107da578063bbc1dede146107ed578063bc58645614610810578063bca6ce6414610823578063bcd3f9fc14610836578063bfb967d014610849578063c3cd788a1461086c578063c714700c1461087f578063ce1b815f14610892578063cffe1eb31461089a578063d547741f146108ad578063d56022d7146108c0578063d6f9d5eb146108d3578063e6af0b6c146108e6578063e84400ca146108f9578063e9c1e0451461090c578063f2fde38b1461091f578063f6595a8f14610932578063f951735a14610945578063f9faeace1461095857600080fd5b806301ffc9a71461034d57806309b8d7d1146103755780630dc22f3a1461038a578063110a9d6a1461039d5780631459457a146103b057806316279055146103c35780632105ab65146103d757806322c6b5191461041b578063234f04cd14610443578063248a9ca31461046f57806326442c6414610490578063280f546c146104a35780632f2ff15d146104b657806334364de1146104c957806336568abe146104de57806339c67470146104f15780633a1895a7146105045780633b21f84f146105175780633bd02c411461052a5780633c6aa7b71461053d5780633fc62a8014610550578063481c6a7514610563578063490ca71b1461057657806349791a91146105d2578063534eb706146105e55780635457a5c8146105f8578063572b6c05146106205780635ced058e146106335780635ea3ab851461064457806360d6c7cf1461065757806361d744721461066a5780636c2ef5241461067d5780636c3e6036146106905780636fd902e1146106a3578063715018a6146106a95780637ac5f7c8146106b1575b600080fd5b61036061035b3660046135b8565b610984565b60405190151581526020015b60405180910390f35b61038861038336600461376c565b6109bb565b005b61038861039836600461383c565b6109ec565b6103886103ab366004613859565b610a16565b6103886103be3660046138fc565b610b6d565b6103606103d136600461383c565b3b151590565b6104036103e536600461396d565b600090815260c960205260409020600501546001600160a01b031690565b6040516001600160a01b03909116815260200161036c565b61042e61042936600461396d565b610d19565b60405161036c99989796959493929190613a1a565b61040361045136600461396d565b600090815260ca60205260409020600201546001600160a01b031690565b61048261047d36600461396d565b610f3f565b60405190815260200161036c565b61036061049e366004613a9e565b610f54565b6103886104b136600461383c565b610f69565b6103886104c4366004613a9e565b610f95565b6104826000805160206148d883398151915281565b6103886104ec366004613a9e565b610fb6565b6103886104ff366004613a9e565b611044565b610360610512366004613ace565b6110b4565b61040361052536600461396d565b6113da565b610388610538366004613b3e565b61141a565b61036061054b366004613a9e565b61145f565b61048261055e366004613a9e565b61146d565b60cc54610403906001600160a01b031681565b6105b361058436600461396d565b600090815260ca60205260409020600181015490546001600160a01b0390911691600160a81b90910460ff1690565b604080516001600160a01b03909316835290151560208301520161036c565b6103606105e0366004613a9e565b6114a0565b6103886105f3366004613c2d565b6114d9565b61060b61060636600461396d565b6114fd565b60405161036c99989796959493929190613ca3565b61036061062e36600461383c565b6115f1565b61040361064136600461396d565b90565b610482610652366004613d68565b611616565b610360610665366004613a9e565b611665565b610360610678366004613da4565b611690565b61040361068b36600461396d565b6116a9565b61038861069e366004613a9e565b6116c4565b43610482565b61038861173b565b6103886106bf366004613a9e565b61174f565b6103606106d236600461396d565b6117ba565b6104826106e536600461383c565b6001600160a01b031690565b610403611808565b610360610707366004613a9e565b611817565b61038861071a366004613a9e565b611842565b61036061072d366004613e23565b611944565b610360610740366004613e8f565b611984565b610388610753366004613f34565b6119d5565b610482600081565b61038861076e366004613f7a565b611a27565b610388610781366004613a9e565b611a59565b61036061079436600461383c565b611abe565b6103886107a7366004613a9e565b611ad8565b610403611b0a565b6103606107c2366004613fbc565b611b19565b6103886107d5366004613a9e565b611b5b565b6103606107e8366004614017565b611bfb565b6104826107fb36600461396d565b600090815260ca602052604090206006015490565b61038861081e366004613a9e565b611c0b565b60ce54610403906001600160a01b031681565b61038861084436600461383c565b611c3d565b61036061085736600461383c565b60cf6020526000908152604090205460ff1681565b61038861087a36600461408e565b611c67565b61036061088d3660046140d5565b611d6d565b610403611d8d565b6103886108a8366004614101565b611e18565b6103886108bb366004613a9e565b611e72565b60cd54610403906001600160a01b031681565b6103886108e1366004613a9e565b611e8e565b6103886108f436600461383c565b611ea0565b610360610907366004614209565b611ec3565b60d154610403906001600160a01b031681565b61038861092d36600461383c565b612148565b61038861094036600461383c565b6121be565b60d054610403906001600160a01b031681565b61040361096636600461396d565b600090815260ca60205260409020600a01546001600160a01b031690565b60006001600160e01b03198216637965db0b60e01b14806109b557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6109c9898888888686610a16565b6109e06109d88a61055e6121de565b898686611ec3565b50505050505050505050565b6109f46121ed565b60d080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a248761055e6121de565b600081815260ca60205260409020549091506001600160a01b031615610a8a5760405162461bcd60e51b815260206004820152601660248201527511125108185b1c9958591e481c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b610aa4818786610a986121de565b60ca939291908761225c565b60005b8551811015610af157610adf82878381518110610ac657610ac6614248565b602002602001015160ca6123309092919063ffffffff16565b80610ae981614274565b915050610aa7565b50600081815260ca602052604090205486906001600160a01b0316827f8f8b755e50eb4efaa1a82e62cbfe4c58d83374b2f20db5960764ba69e062ae4387610b376121de565b43604051610b479392919061428d565b60405180910390a4610b638182610b5c6121de565b86866123bb565b5050505050505050565b600054610100900460ff1615808015610b8d5750600054600160ff909116105b80610ba75750303b158015610ba7575060005460ff166001145b610c0a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a81565b6000805460ff191660011790558015610c2d576000805461ff0019166101001790555b610c35612441565b610c3d612470565b610c556000805160206148d883398151915287612497565b60cd80546001600160a01b038088166001600160a01b03199283161790925560ce805492871692909116919091179055610c8e86612148565b60cc80546001600160a01b038089166001600160a01b03199283161790925560d0805485841690831617905560d18054928616929091169190911790558015610d11576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b600081815260ca6020526040812080546003820154600490920180546001600160a01b0390921693606092909182918491839183918391610d59906142bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d85906142bb565b8015610dd25780601f10610da757610100808354040283529160200191610dd2565b820191906000526020600020905b815481529060010190602001808311610db557829003601f168201915b50505060008d815260ca60209081526040918290206005810154600682015460079092018054855181860281018601909652808652979e506001600160a01b039091169c50909a509194919350909150830182828015610e5b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610e3d575b50505060008d815260ca602052604090208054600b9091018054949850600160a01b90910460ff16965092610e92925090506142bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebe906142bb565b8015610f0b5780601f10610ee057610100808354040283529160200191610f0b565b820191906000526020600020905b815481529060010190602001808311610eee57829003601f168201915b50505060009c8d52505060ca6020526040909a2054989a979996989597949693959294600160a81b90930460ff1692915050565b60009081526097602052604090206001015490565b6000610f6260ca84846124a1565b9392505050565b610f716121ed565b6001600160a01b0316600090815260cf60205260409020805460ff19166001179055565b610f9e82610f3f565b610fa7816124c5565b610fb183836124d6565b505050565b610fbe6121de565b6001600160a01b0316816001600160a01b0316146110365760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a81565b611040828261255d565b5050565b8161104e816117ba565b61106a5760405162461bcd60e51b8152600401610a81906142f5565b61107660ca84846125e2565b7f315bd384dfce4eb95196e1884338b3ad10ee2565861c1f5ad2798c66f2fc7c6b83836040516110a7929190614336565b60405180910390a1505050565b6000866110c86110c26121de565b82611d6d565b6110e45760405162461bcd60e51b8152600401610a819061434d565b61110f8888600088116110f8576000611105565b60d0546001600160a01b03165b60ca92919061265a565b60006001600160a01b038816611131575060cd546001600160a01b0316611134565b50865b6040516397cfb1a960e01b81526001600160a01b038216906397cfb1a990611167908c906000908c908a90600401614371565b600060405180830381600087803b15801561118157600080fd5b505af1158015611195573d6000803e3d6000fd5b505050506000861115611284576001600160a01b038116639713c8078a6111ba6121de565b896040518463ffffffff1660e01b81526004016111d9939291906143a0565b600060405180830381600087803b1580156111f357600080fd5b505af1158015611207573d6000803e3d6000fd5b505060d0546001600160a01b031615915061128490505760d054604051636158c12560e11b8152600481018b9052602481018890526001600160a01b039091169063c2b1824a90604401600060405180830381600087803b15801561126b57600080fd5b505af115801561127f573d6000803e3d6000fd5b505050505b841561131757806001600160a01b031663731133e96112a16121de565b60405160e083901b6001600160e01b03191681526001600160a01b039091166004820152602481018c9052604481018a9052608060648201526000608482015260a401600060405180830381600087803b1580156112fe57600080fd5b505af1158015611312573d6000803e3d6000fd5b505050505b6113cd8988886113256121de565b60408051602081019590955284019290925260608301526001600160a01b0316608082015260a001604051602081830303815290604052805190602001208a61136c6121de565b7f11f2cb161849de74d9c95aaaf28e1580067be4b742f84661ee62eea34e9fdc3c604051806020016040528060008152506040518060400160405280601281526020017137333a1034b734ba34b0b634bd30ba34b7b760711b815250611bfb565b9998505050505050505050565b600081815260ca60205260408120600901546001600160a01b0316806109b5575050600090815260ca60205260409020600201546001600160a01b031690565b816108008151111561143e5760405162461bcd60e51b8152600401610a81906143bf565b6114528b8b8b8b8b8b8b60008c8c8c611e18565b5050505050505050505050565b6000610f6260ca8484612765565b60008282604051602001611482929190614336565b60405160208183030381529060405280519060200120905092915050565b60006114ae60ca8484612765565b80610f6257506114bd836116a9565b6001600160a01b0316826001600160a01b031614905092915050565b6114f784848484600060405180602001604052806000815250610a16565b50505050565b600081815260c960205260409020805460018201546002830154600384015460048501546005860154600687015460079097018054969795966001600160a01b0395861696949580851695600160a01b90950460ff169493169291606091611564906142bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611590906142bb565b80156115dd5780601f106115b2576101008083540402835291602001916115dd565b820191906000526020600020905b8154815290600101906020018083116115c057829003601f168201915b505050505090509193959799909294969850565b60006115fb611d8d565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561165e5783818151811061163757611637614248565b60200260200101518261164a91906143f0565b91508061165681614274565b91505061161c565b5092915050565b600082815260cb602090815260408083206001600160a01b038516845290915281205460ff16610f62565b60006116a060ca86868686612772565b95945050505050565b600090815260ca60205260409020546001600160a01b031690565b816116ce816117ba565b6116ea5760405162461bcd60e51b8152600401610a81906142f5565b60006116f860ca85856129b3565b90507f1a5169eb55ab83808f4a72ecb896508028978b6f36fa6e6da854a426d1beb11484848360405161172d93929190614403565b60405180910390a150505050565b6117436121ed565b61174d6000612a2e565b565b8161175b6110c26121de565b6117775760405162461bcd60e51b8152600401610a819061434d565b600061178560ca8585612a80565b90507fa34c94e3893406b9fa302e5fbe4335b0cc46ca311d7ea24545426ec223a94f4184848360405161172d93929190614403565b600081815260ca60205260408120546001600160a01b03166117da6121de565b6001600160a01b031614806117f657506117f68261049e6121de565b806109b557506109b58261054b6121de565b6033546001600160a01b031690565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61184a6121de565b600083815260ca60205260409020600201546001600160a01b039081169116146118865760405162461bcd60e51b8152600401610a8190614424565b600082815260ca60205260409020600a01546001600160a01b0316156118e85760405162461bcd60e51b815260206004820152601760248201527643616e6e6f74206368616e676520726f79616c7469657360481b6044820152606401610a81565b600082815260ca6020526040808220600a0180546001600160a01b0319166001600160a01b0385169081179091559051909184917f618a277d9a094202463dfb71fb039b4d370b18918367d09f613fd2dd72c230c39190a35050565b600084611950816117ba565b61196c5760405162461bcd60e51b8152600401610a81906142f5565b6119798787878787612aea565b979650505050505050565b600086611990816117ba565b6119ac5760405162461bcd60e51b8152600401610a81906142f5565b6119bb89898989898989612b40565b506119c68888611044565b50600198975050505050505050565b6119e06107946121de565b6119fc5760405162461bcd60e51b8152600401610a819061445b565b611a2083858385805190602001206040518060200160405280600081525087612bbd565b5050505050565b611a326107946121de565b611a4e5760405162461bcd60e51b8152600401610a819061445b565b610fb1838383612c28565b81611a656110c26121de565b611a815760405162461bcd60e51b8152600401610a819061434d565b611a8d60ca8484612330565b7f0c22bba9f36f0f2a7884650bedf42ce7b026851b573c93e4d8cd51f73eceda0f83836040516110a7929190614336565b60006109b56000805160206148d883398151915283611817565b81611ae46110c26121de565b611b005760405162461bcd60e51b8152600401610a819061434d565b610fb18383612d64565b60d1546001600160a01b031690565b600084611b25816117ba565b611b415760405162461bcd60e51b8152600401610a81906142f5565b611b4f888888888888612e3d565b98975050505050505050565b611b636121de565b600083815260ca60205260409020600201546001600160a01b03908116911614611b9f5760405162461bcd60e51b8152600401610a8190614424565b600082815260ca602052604080822060090180546001600160a01b0319166001600160a01b0385169081179091559051909184917fdfc2ab7036806b444e2fe602216acfcd7c3f9d65140396bddf87ef98ae71133f9190a35050565b6000611979878787878787612bbd565b81611c176110c26121de565b611c335760405162461bcd60e51b8152600401610a819061434d565b610fb18383612e94565b611c456121ed565b60cd80546001600160a01b0319166001600160a01b0392909216919091179055565b83611c736110c26121de565b611c8f5760405162461bcd60e51b8152600401610a819061434d565b611c9d858585610a986121de565b611d188585858543611cad6121de565b604051602001611cc29695949392919061448b565b6040516020818303038152906040528051906020012086611ce16121de565b7f46a72e85683b87db5aa1d3610f79c58d84ccb34362dd9f101f52954ab739ef606040518060200160405280600081525087611bfb565b50611d216121de565b6001600160a01b0316857f5e7f5dd5d9bd5be03554b55cc041e6b09b2a3822dad0ab94b98e6fc939f1e415868686604051611d5e939291906144e0565b60405180910390a35050505050565b600090815260ca60205260409020546001600160a01b0390811691161490565b600080611d98611b0a565b90506001600160a01b038116611db057600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e12919061450b565b91505090565b8161080081511115611e3c5760405162461bcd60e51b8152600401610a81906143bf565b611e4a8c8b8b8b8887610a16565b611e63611e598d61055e6121de565b8c898989886110b4565b50505050505050505050505050565b611e7b82610f3f565b611e84816124c5565b610fb1838361255d565b611040611e996121de565b8383612c28565b611ea86121ed565b611ec06000805160206148d883398151915282612497565b50565b600084611ed16110c26121de565b611eed5760405162461bcd60e51b8152600401610a819061434d565b611f018686600087116110f8576000611105565b60006001600160a01b038616611f23575060ce546001600160a01b0316611f26565b50845b841561200d5760d0546001600160a01b031615611fa35760d054604051636158c12560e11b815260048101899052602481018790526001600160a01b039091169063c2b1824a90604401600060405180830381600087803b158015611f8a57600080fd5b505af1158015611f9e573d6000803e3d6000fd5b505050505b6001600160a01b038116639713c80788611fbb6121de565b886040518463ffffffff1660e01b8152600401611fda939291906143a0565b600060405180830381600087803b158015611ff457600080fd5b505af1158015612008573d6000803e3d6000fd5b505050505b831561208b57806001600160a01b03166340c10f1961202a6121de565b60405160e083901b6001600160e01b03191681526001600160a01b039091166004820152602481018a9052604401600060405180830381600087803b15801561207257600080fd5b505af1158015612086573d6000803e3d6000fd5b505050505b6119798760018761209a6121de565b60408051602081019590955260ff9093169284019290925260608301526001600160a01b0316608082015260a00160405160208183030381529060405280519060200120886120e76121de565b7fc5ad7128f27e0a2f56fe7865eb53e2f8663fce3e9c0fe04b5f8694448246a88d604051806020016040528060008152506040518060400160405280601281526020017137333a1034b734ba34b0b634bd30ba34b7b760711b815250611bfb565b6121506121ed565b6001600160a01b0381166121b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a81565b611ec081612a2e565b6121c66121ed565b611ec06000805160206148d88339815191528261255d565b60006121e8612f4c565b905090565b6121f56121de565b6001600160a01b0316612206611808565b6001600160a01b03161461174d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a81565b600085815260208790526040902080546002909101546001600160a01b0391821691168161228a5750829050805b600087815260208990526040902080546001600160a01b038085166001600160a01b031992831617835560028301805491851691909216179055600381018790556004016122d8868261456e565b5060008781526020899052604090206005810180546001600160a01b038088166001600160a01b03199283161790925582549185169116178155436006820155600b01612325848261456e565b505050505050505050565b6001600160a01b0381161580159061235157506001600160a01b0381163014155b61236d5760405162461bcd60e51b8152600401610a819061462d565b612378838383612765565b610fb1576000828152602084815260408220600701805460018101825590835291200180546001600160a01b0383166001600160a01b0319909116179055505050565b60006123e7868660008787600060026123d26121de565b6040805160008152602081019091528b612f7a565b826123f06121de565b6001600160a01b0316867f33085b0f42639b8dd24c5629ed968da4743f8e42f67bab011a23e357e21f2b2a89864360405161242d93929190614657565b60405180910390a450600195945050505050565b600054610100900460ff166124685760405162461bcd60e51b8152600401610a8190614680565b61174d6131b1565b600054610100900460ff1661174d5760405162461bcd60e51b8152600401610a8190614680565b61104082826124d6565b60006124ae8484846131e8565b196124bb57506000610f62565b5060019392505050565b611ec0816124d16121de565b61326c565b6124e08282611817565b6110405760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191660011790556125196121de565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6125678282611817565b156110405760008281526097602090815260408083206001600160a01b03851684529091529020805460ff1916905561259e6121de565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b0381161580159061260357506001600160a01b0381163014155b61260c57600080fd5b6126178383836124a1565b610fb1576000828152602084815260408220600801805460018101825590835291200180546001600160a01b0383166001600160a01b0319909116179055505050565b6000838152602085905260409020546001600160a01b03166126af5760405162461bcd60e51b815260206004820152600e60248201526d111251081b9bdd081cdd1bdc995960921b6044820152606401610a81565b600083815260208590526040902054600160a81b900460ff161561270f5760405162461bcd60e51b815260206004820152601760248201527613919508185b1c9958591e481a5b9a5d1a585b1a5e9959604a1b6044820152606401610a81565b600092835260209390935260409091206001810180546001600160a01b039384166001600160a01b031991821617909155600a82018054949093169316929092179055805460ff60a81b1916600160a81b179055565b60006124ae8484846132c5565b6000848152602086905260408120600a01546001600160a01b0316156128205760008581526020879052604090819020600a01549051638c41304b60e01b81526001600160a01b0390911690638c41304b906127d89088908890889088906004016146cb565b602060405180830381865afa1580156127f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612819919061473c565b90506116a0565b600085815260208790526040812054600160a01b900460ff169003612847575060016116a0565b6000805b855181101561288d5785818151811061286657612866614248565b60200260200101518261287991906143f0565b91508061288581614274565b91505061284b565b50806000036128a05760019150506116a0565b600086815260208890526040902060028101546009909101546001600160a01b039182169116156128e857506000868152602088905260409020600901546001600160a01b03165b6000805b86518110156129425786818151811061290757612907614248565b60200260200101516001600160a01b0316836001600160a01b0316036129305760019150612942565b8061293a81614274565b9150506128ec565b816129545760009450505050506116a0565b600089815260208b9052604081205460649061297a90600160a01b900460ff1687614759565b6129849190614770565b90508089838151811061299957612999614248565b602002602001015110159550505050505095945050505050565b60006001600160a01b0382166129c857600080fd5b60006129d58585856131e8565b905080196129e7576000915050610f62565b6000848152602086905260409020600801805482908110612a0a57612a0a614248565b600091825260209091200180546001600160a01b0319169055506001949350505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b038216612aa85760405162461bcd60e51b8152600401610a819061462d565b6000612ab58585856132c5565b90508019612ac7576000915050610f62565b6000848152602086905260409020600701805482908110612a0a57612a0a614248565b6000612b018686600087876000600b6123d26121de565b82846001600160a01b0316867f799c5b7d59b63eaf5a3c6735864c70700cbeca3d483715104367746fac56cfb089864360405161242d93929190614657565b6000612b5d8888600089888a600c612b566121de565b8b8b612f7a565b846001600160a01b0316866001600160a01b0316887f9868587213cf52cc7b5890c38f8f0c76cf768f1292bc71a9eea82ed53f708875878c8743604051612ba79493929190614792565b60405180910390a4506001979650505050505050565b6000612bd487876000888860006003612b566121de565b83856001600160a01b0316877fa8b6546a312a68b2a6ba255756e303dfedbeba14be0100099c93816062e4576d8a8643604051612c1393929190614657565b60405180910390a45060019695505050505050565b612c328383611d6d565b612c4e5760405162461bcd60e51b8152600401610a819061434d565b612c5a60ca838361333d565b612d1982848343604051602001612cb794939291909384526001600160a01b03928316602085015260a060408501819052600b908501526a1d1c985b9cd9995c91125160aa1b60c085015291166060830152608082015260e00190565b6040516020818303038152906040528051906020012083837f9fd301e7f445ab0cb66aa80900d24fe827b4307e7d9070657e5804689f4f49ff6040518060400160405280600b81526020016a1d1c985b9cd9995c91125160aa1b815250612aea565b50604080518381526001600160a01b0380861660208301528316918101919091527fe36e06a31618f1e5c2057e2d659c72bb4d1e19526236dc13052a483978b55ea2906060016110a7565b600082815260cb602090815260408083206001600160a01b038516845290915290205460ff16612dd05760405162461bcd60e51b815260206004820152601760248201527611dc985b9d195948185b1c9958591e481c995d9bdad959604a1b6044820152606401610a81565b600082815260cb602090815260408083206001600160a01b0385168085529252909120805460ff19169055612e036121de565b6001600160a01b0316837ff511018c667fb6eda32b85f42e7888d1cd1d5ec5b2b1147e6d26e946fde22d0d60405160405180910390a45050565b6000612e538787878787600060086123d26121de565b836001600160a01b031685877fbee2f0f0465d7a4e3a07b7f0a9fab23e64b44b475894650718e25bf6b7d90759868b8743604051612c139493929190614792565b6001600160a01b038116612edc5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206772616e74656560881b6044820152606401610a81565b600082815260cb602090815260408083206001600160a01b0385168085529252909120805460ff19166001179055612f126121de565b6001600160a01b0316837faf464968a4f66dada6a1a5a33bd6c431a5dde662dd7d6aa715462130ec86d84560405160405180910390a45050565b600060143610801590612f635750612f63336115f1565b15612f75575060131936013560601c90565b503390565b612f8261337e565b156109e05760008a815260c960205260409020600501546001600160a01b031615612fe95760405162461bcd60e51b8152602060048201526017602482015276105b1c9958591e48195e1a5cdd1a5b99c81c1c9bdd9259604a1b6044820152606401610a81565b6040518061012001604052808a8152602001898152602001886001600160a01b03168152602001878152602001866001600160a01b0316815260200185600c811115613037576130376147c2565b60ff168152602001846001600160a01b031681526020014381526020018381525060c960000160008c8152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506060820151816003015560808201518160040160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160040160146101000a81548160ff021916908360ff16021790555060c08201518160050160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060e08201518160060155610100820151816007019081613154919061456e565b50905050866001600160a01b0316898b7f41004c706431777d9b4cc7e4d32eea01c064ad907dbb2768a7ec29c1cf3351f3898c8a8a884360405161319d969594939291906147d8565b60405180910390a450505050505050505050565b600054610100900460ff166131d85760405162461bcd60e51b8152600401610a8190614680565b61174d6131e36121de565b612a2e565b6000805b60008481526020869052604090206008015481101561326057600084815260208690526040902060080180548290811061322857613228614248565b6000918252602090912001546001600160a01b039081169084160361324e579050610f62565b8061325881614274565b9150506131ec565b50600019949350505050565b6132768282611817565b611040576132838161340b565b61328e83602061341d565b60405160200161329f92919061483e565b60408051601f198184030181529082905262461bcd60e51b8252610a81916004016148ad565b6000805b60008481526020869052604090206007015481101561326057600084815260208690526040902060070180548290811061330557613305614248565b6000918252602090912001546001600160a01b039081169084160361332b579050610f62565b8061333581614274565b9150506132c9565b6001600160a01b03811661335057600080fd5b60009182526020929092526040902080546001600160a01b0319166001600160a01b03909216919091179055565b60d1546000906001600160a01b031615806121e8575060d160009054906101000a90046001600160a01b03166001600160a01b0316633b7f89236040518163ffffffff1660e01b8152600401602060405180830381865afa1580156133e7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e8919061473c565b60606109b56001600160a01b03831660145b6060600061342c836002614759565b6134379060026143f0565b6001600160401b0381111561344e5761344e613607565b6040519080825280601f01601f191660200182016040528015613478576020820181803683370190505b509050600360fc1b8160008151811061349357613493614248565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106134c2576134c2614248565b60200101906001600160f81b031916908160001a90535060006134e6846002614759565b6134f19060016143f0565b90505b6001811115613569576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061352557613525614248565b1a60f81b82828151811061353b5761353b614248565b60200101906001600160f81b031916908160001a90535060049490941c93613562816148c0565b90506134f4565b508315610f625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a81565b6000602082840312156135ca57600080fd5b81356001600160e01b031981168114610f6257600080fd5b6001600160a01b0381168114611ec057600080fd5b8035613602816135e2565b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561364557613645613607565b604052919050565b60006001600160401b0382111561366657613666613607565b5060051b60200190565b600082601f83011261368157600080fd5b813560206136966136918361364d565b61361d565b82815260059290921b840181019181810190868411156136b557600080fd5b8286015b848110156136d95780356136cc816135e2565b83529183019183016136b9565b509695505050505050565b600082601f8301126136f557600080fd5b81356001600160401b0381111561370e5761370e613607565b613721601f8201601f191660200161361d565b81815284602083860101111561373657600080fd5b816020850160208301376000918101602001919091529392505050565b8015158114611ec057600080fd5b803561360281613753565b60008060008060008060008060006101208a8c03121561378b57600080fd5b8935985061379b60208b016135f7565b975060408a0135965060608a01356001600160401b03808211156137be57600080fd5b6137ca8d838e01613670565b975060808c01359150808211156137e057600080fd5b6137ec8d838e016136e4565b965060a08c0135955061380160c08d01613761565b945060e08c013593506101008c013591508082111561381f57600080fd5b5061382c8c828d016136e4565b9150509295985092959850929598565b60006020828403121561384e57600080fd5b8135610f62816135e2565b60008060008060008060c0878903121561387257600080fd5b863595506020870135945060408701356001600160401b038082111561389757600080fd5b6138a38a838b01613670565b955060608901359150808211156138b957600080fd5b6138c58a838b016136e4565b94506080890135935060a08901359150808211156138e257600080fd5b506138ef89828a016136e4565b9150509295509295509295565b600080600080600060a0868803121561391457600080fd5b853561391f816135e2565b9450602086013561392f816135e2565b9350604086013561393f816135e2565b9250606086013561394f816135e2565b9150608086013561395f816135e2565b809150509295509295909350565b60006020828403121561397f57600080fd5b5035919050565b60005b838110156139a1578181015183820152602001613989565b50506000910152565b600081518084526139c2816020860160208601613986565b601f01601f19169290920160200192915050565b600081518084526020808501945080840160005b83811015613a0f5781516001600160a01b0316875295820195908201906001016139ea565b509495945050505050565b6001600160a01b038a81168252602082018a905261012060408301819052600091613a478483018c6139aa565b9150808a1660608501525087608084015282810360a0840152613a6a81886139d6565b90508560c084015282810360e0840152613a8481866139aa565b9150508215156101008301529a9950505050505050505050565b60008060408385031215613ab157600080fd5b823591506020830135613ac3816135e2565b809150509250929050565b60008060008060008060c08789031215613ae757600080fd5b863595506020870135613af9816135e2565b945060408701359350606087013592506080870135613b1781613753565b915060a08701356001600160401b03811115613b3257600080fd5b6138ef89828a016136e4565b6000806000806000806000806000806101408b8d031215613b5e57600080fd5b8a359950613b6e60208c016135f7565b985060408b0135975060608b01356001600160401b0380821115613b9157600080fd5b613b9d8e838f01613670565b985060808d0135915080821115613bb357600080fd5b613bbf8e838f016136e4565b975060a08d0135965060c08d0135955060e08d013594506101008d0135915080821115613beb57600080fd5b613bf78e838f016136e4565b93506101208d0135915080821115613c0e57600080fd5b50613c1b8d828e016136e4565b9150509295989b9194979a5092959850565b60008060008060808587031215613c4357600080fd5b843593506020850135925060408501356001600160401b0380821115613c6857600080fd5b613c7488838901613670565b93506060870135915080821115613c8a57600080fd5b50613c97878288016136e4565b91505092959194509250565b898152602081018990526001600160a01b03888116604083015260608201889052868116608083015260ff861660a0830152841660c082015260e081018390526101206101008201819052600090613cfd838201856139aa565b9c9b505050505050505050505050565b600082601f830112613d1e57600080fd5b81356020613d2e6136918361364d565b82815260059290921b84018101918181019086841115613d4d57600080fd5b8286015b848110156136d95780358352918301918301613d51565b600060208284031215613d7a57600080fd5b81356001600160401b03811115613d9057600080fd5b613d9c84828501613d0d565b949350505050565b60008060008060808587031215613dba57600080fd5b8435935060208501356001600160401b0380821115613dd857600080fd5b613de488838901613d0d565b94506040870135915080821115613dfa57600080fd5b50613e0787828801613670565b9250506060850135613e18816135e2565b939692955090935050565b600080600080600060a08688031215613e3b57600080fd5b85359450602086013593506040860135613e54816135e2565b92506060860135915060808601356001600160401b03811115613e7657600080fd5b613e82888289016136e4565b9150509295509295909350565b600080600080600080600060e0888a031215613eaa57600080fd5b87359650602088013595506040880135613ec3816135e2565b94506060880135613ed3816135e2565b93506080880135925060a08801356001600160401b0380821115613ef657600080fd5b613f028b838c016136e4565b935060c08a0135915080821115613f1857600080fd5b50613f258a828b016136e4565b91505092959891949750929550565b60008060008060808587031215613f4a57600080fd5b843593506020850135925060408501356001600160401b03811115613f6e57600080fd5b613e07878288016136e4565b600080600060608486031215613f8f57600080fd5b8335613f9a816135e2565b9250602084013591506040840135613fb1816135e2565b809150509250925092565b60008060008060008060c08789031215613fd557600080fd5b8635955060208701359450604087013593506060870135613ff5816135e2565b92506080870135915060a08701356001600160401b03811115613b3257600080fd5b60008060008060008060c0878903121561403057600080fd5b86359550602087013594506040870135614049816135e2565b93506060870135925060808701356001600160401b038082111561406c57600080fd5b6140788a838b016136e4565b935060a08901359150808211156138e257600080fd5b600080600080608085870312156140a457600080fd5b843593506020850135925060408501356001600160401b03808211156140c957600080fd5b613c74888389016136e4565b600080604083850312156140e857600080fd5b82356140f3816135e2565b946020939093013593505050565b60008060008060008060008060008060006101608c8e03121561412357600080fd5b8b359a5061413360208d016135f7565b995060408c013598506001600160401b0360608d013581101561415557600080fd5b6141658e60608f01358f01613670565b98508060808e0135111561417857600080fd5b6141888e60808f01358f016136e4565b975060a08d0135965060c08d013595506141a460e08e01613761565b94506101008d01359350806101208e013511156141c057600080fd5b6141d18e6101208f01358f016136e4565b9250806101408e013511156141e557600080fd5b506141f78d6101408e01358e016136e4565b90509295989b509295989b9093969950565b6000806000806080858703121561421f57600080fd5b843593506020850135614231816135e2565b9250604085013591506060850135613e1881613753565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016142865761428661425e565b5060010190565b6060815260006142a060608301866139aa565b6001600160a01b039490941660208301525060400152919050565b600181811c908216806142cf57607f821691505b6020821081036142ef57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526021908201527f4f6e6c79206f776e65722c2070726f7669646572206f722064656c65676174656040820152601960fa1b606082015260800190565b9182526001600160a01b0316602082015260400190565b6020808252600a908201526927b7363c9037bbb732b960b11b604082015260600190565b84815283602082015282604082015260806060820152600061439660808301846139aa565b9695505050505050565b9283526001600160a01b03919091166020830152604082015260600190565b602080825260179082015276496e76616c696420617474726962757465732073697a6560481b604082015260600190565b808201808211156109b5576109b561425e565b9283526001600160a01b039190911660208301521515604082015260600190565b6020808252601e908201527f4f6e6c792063726561746f722063616e2073657420726f79616c746965730000604082015260600190565b60208082526016908201527527b7363c903932b3b4b9ba393c9037b832b930ba37b960511b604082015260600190565b86815285602082015260c0604082015260006144aa60c08301876139aa565b82810360608401526144bc81876139aa565b608084019590955250506001600160a01b039190911660a090910152949350505050565b8381526060602082015260006144f960608301856139aa565b828103604084015261439681856139aa565b60006020828403121561451d57600080fd5b8151610f62816135e2565b601f821115610fb157600081815260208120601f850160051c8101602086101561454f5750805b601f850160051c820191505b81811015610d115782815560010161455b565b81516001600160401b0381111561458757614587613607565b61459b8161459584546142bb565b84614528565b602080601f8311600181146145d057600084156145b85750858301515b600019600386901b1c1916600185901b178555610d11565b600085815260208120601f198616915b828110156145ff578886015182559484019460019091019084016145e0565b508582101561461d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526010908201526f24b73b30b634b210383937bb34b232b960811b604082015260600190565b83815260606020820152600061467060608301856139aa565b9050826040830152949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600060808201868352602060808185015281875180845260a086019150828901935060005b8181101561470c578451835293830193918301916001016146f0565b5050848103604086015261472081886139d6565b935050505060018060a01b038316606083015295945050505050565b60006020828403121561474e57600080fd5b8151610f6281613753565b80820281158282048414176109b5576109b561425e565b60008261478d57634e487b7160e01b600052601260045260246000fd5b500490565b8481528360208201526080604082015260006147b160808301856139aa565b905082606083015295945050505050565b634e487b7160e01b600052602160045260246000fd5b868152602081018690526001600160a01b03851660408201526000600d851061481157634e487b7160e01b600052602160045260246000fd5b84606083015260c0608083015261482b60c08301856139aa565b90508260a0830152979650505050505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351614870816017850160208801613986565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516148a1816028840160208801613986565b01602801949350505050565b602081526000610f6260208301846139aa565b6000816148cf576148cf61425e565b50600019019056feea695b8992af7d71dabb291973dc379a345aa03c2210a6d8ca05e5059f65687ca2646970667358221220935f5aff900092e3b346b8638b1feeff7352b8a3742dd2520215910e0e516d0164736f6c63430008110033", + "address": "0x56C010A3B179A4Ec1c03e975F72a104bC1dE3dc5", + "implementation": "0x44A3Ed2d10132c704e08A340bbFE5561f195814A", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/DIDSalesTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/DIDSalesTemplate.geth-localnet.json new file mode 100644 index 0000000..f8a3b4e --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/DIDSalesTemplate.geth-localnet.json @@ -0,0 +1,575 @@ +{ + "name": "DIDSalesTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [], + "name": "id", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xaf640d0f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b15806100206000396000f3fe6080604052600436106100e45760003560e01c80631459457a146100e9578063162790551461010b5780632e166f3e146101415780634183e72b14610161578063572b6c05146101815780635ced058e146101a15780635ea3ab85146101d75780636104ff1a146102055780636fd902e1146102185780636ff015ae1461022b578063715018a61461027157806382c947b7146102865780638da5cb5b146102ad57806391a169bf146102c2578063ab9de230146102e4578063af640d0f146102f9578063ce1b815f1461030d578063f2fde38b14610322578063f8fe107014610342575b600080fd5b3480156100f557600080fd5b50610109610104366004610ff9565b610355565b005b34801561011757600080fd5b5061012c61012636600461106a565b3b151590565b60405190151581526020015b60405180910390f35b34801561014d57600080fd5b5061010961015c366004611162565b610644565b34801561016d57600080fd5b5061010961017c3660046111fd565b6106eb565b34801561018d57600080fd5b5061012c61019c36600461106a565b610706565b3480156101ad57600080fd5b506101bf6101bc3660046112ab565b90565b6040516001600160a01b039091168152602001610138565b3480156101e357600080fd5b506101f76101f23660046112d1565b61072b565b604051908152602001610138565b610109610213366004611371565b61077a565b34801561022457600080fd5b50436101f7565b34801561023757600080fd5b5061024b6102463660046112ab565b610896565b604080516001600160a01b03948516815293909216602084015290820152606001610138565b34801561027d57600080fd5b50610109610a0d565b34801561029257600080fd5b506101f76102a136600461106a565b6001600160a01b031690565b3480156102b957600080fd5b506101bf610a21565b3480156102ce57600080fd5b506102d7610a30565b60405161013891906114c6565b3480156102f057600080fd5b506101bf610a92565b34801561030557600080fd5b5060026101f7565b34801561031957600080fd5b506101bf610b27565b34801561032e57600080fd5b5061010961033d36600461106a565b610bb2565b6101096103503660046114d9565b610c2b565b600054610100900460ff16158080156103755750600054600160ff909116105b8061038f5750303b15801561038f575060005460ff166001145b6103f75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801561041a576000805461ff0019166101001790555b6001600160a01b0386161580159061043a57506001600160a01b03851615155b801561044e57506001600160a01b03841615155b801561046257506001600160a01b03831615155b801561047657506001600160a01b03821615155b6104b45760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103ee565b6104bc610c58565b6104c586610bb2565b606680546001600160a01b0319166001600160a01b0387169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061160f565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c791820180548816909617909555925481548086018355840180549188169187169190911790559054815493840190915591018054919093169116179055801561063c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6066546001600160a01b031663955d0c2a8661065e610c87565b60405160200161066f92919061162c565b604051602081830303815290604052805190602001208661068e610a30565b8787876040518763ffffffff1660e01b81526004016106b296959493929190611673565b600060405180830381600087803b1580156106cc57600080fd5b505af11580156106e0573d6000803e3d6000fd5b505050505050505050565b6106f88686868686610644565b61063c868685858589610c91565b6000610710610b27565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156107735783818151811061074c5761074c6116d9565b60200260200101518261075f9190611705565b91508061076b81611718565b915050610731565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6107a7610c87565b6040516020016107b892919061162c565b6040516020818303038152906040528051906020012081526020018d81526020016107e1610a30565b81526020018c81526020018b81526020018a8152602001610800610c87565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b81526004016108589190611731565b6000604051808303818588803b15801561087157600080fd5b505af1158015610885573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091b919061160f565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b5199161095f9160040190815260200190565b600060405180830381865afa15801561097c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109a49190810190611944565b5050815196995090975050931593506109dd9250505057816000815181106109ce576109ce6116d9565b602002602001015194506109e1565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b610a15610d5d565b610a1f6000610dcc565b565b6033546001600160a01b031690565b60606065805480602002602001604051908101604052809291908181526020018280548015610a8857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610a6a575b5050505050905090565b6066546000906001600160a01b0316610aab5750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b22919061160f565b905090565b600080610b32610a92565b90506001600160a01b038116610b4a57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac919061160f565b91505090565b610bba610d5d565b6001600160a01b038116610c1f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ee565b610c2881610dcc565b50565b610c3d8b8b8b8b8b8a8a8a8a8a61077a565b610c4b8b8b8a8a8a8e610c91565b5050505050505050505050565b600054610100900460ff16610c7f5760405162461bcd60e51b81526004016103ee90611a1c565b610a1f610e1e565b6000610b22610e55565b600086610c9c610c87565b604051602001610cad92919061162c565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610d308f82610e83565b8f610d39610c87565b604051610d4c9796959493929190611a67565b60405180910390a450505050505050565b610d65610c87565b6001600160a01b0316610d76610a21565b6001600160a01b031614610a1f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ee565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e455760405162461bcd60e51b81526004016103ee90611a1c565b610a1f610e50610c87565b610dcc565b600060143610801590610e6c5750610e6c33610706565b15610e7e575060131936013560601c90565b503390565b6060600083610e90610c87565b604051602001610ea192919061162c565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610ed457610ed461108e565b604051908082528060200260200182016040528015610efd578160200160208202803683370190505b50905060005b8151811015610fc9578260658281548110610f2057610f206116d9565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f5057610f506116d9565b6020026020010151604051602001610f84939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610fac57610fac6116d9565b602090810291909101015280610fc181611718565b915050610f03565b509150505b92915050565b6001600160a01b0381168114610c2857600080fd5b8035610ff481610fd4565b919050565b600080600080600060a0868803121561101157600080fd5b853561101c81610fd4565b9450602086013561102c81610fd4565b9350604086013561103c81610fd4565b9250606086013561104c81610fd4565b9150608086013561105c81610fd4565b809150509295509295909350565b60006020828403121561107c57600080fd5b813561108781610fd4565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156110cc576110cc61108e565b604052919050565b60006001600160401b038211156110ed576110ed61108e565b5060051b60200190565b600082601f83011261110857600080fd5b8135602061111d611118836110d4565b6110a4565b82815260059290921b8401810191818101908684111561113c57600080fd5b8286015b848110156111575780358352918301918301611140565b509695505050505050565b600080600080600060a0868803121561117a57600080fd5b853594506020860135935060408601356001600160401b038082111561119f57600080fd5b6111ab89838a016110f7565b945060608801359150808211156111c157600080fd5b6111cd89838a016110f7565b935060808801359150808211156111e357600080fd5b506111f0888289016110f7565b9150509295509295909350565b60008060008060008060c0878903121561121657600080fd5b863595506020870135945060408701356001600160401b038082111561123b57600080fd5b6112478a838b016110f7565b9550606089013591508082111561125d57600080fd5b6112698a838b016110f7565b9450608089013591508082111561127f57600080fd5b5061128c89828a016110f7565b92505060a087013561129d81610fd4565b809150509295509295509295565b6000602082840312156112bd57600080fd5b5035919050565b6001600160a01b03169052565b6000602082840312156112e357600080fd5b81356001600160401b038111156112f957600080fd5b611305848285016110f7565b949350505050565b600082601f83011261131e57600080fd5b8135602061132e611118836110d4565b82815260059290921b8401810191818101908684111561134d57600080fd5b8286015b8481101561115757803561136481610fd4565b8352918301918301611351565b6000806000806000806000806000806101408b8d03121561139157600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156113b657600080fd5b6113c28e838f016110f7565b995060608d01359150808211156113d857600080fd5b6113e48e838f016110f7565b985060808d01359150808211156113fa57600080fd5b6114068e838f016110f7565b975060a08d0135965061141b60c08e01610fe9565b955061142960e08e01610fe9565b94506101008d013591508082111561144057600080fd5b61144c8e838f016110f7565b93506101208d013591508082111561146357600080fd5b506114708d828e0161130d565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156114bb5781516001600160a01b031687529582019590820190600101611496565b509495945050505050565b6020815260006110876020830184611482565b60008060008060008060008060008060006101608c8e0312156114fb57600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561151f57600080fd5b61152f8e60408f01358f016110f7565b99508060608e0135111561154257600080fd5b6115528e60608f01358f016110f7565b98508060808e0135111561156557600080fd5b6115758e60808f01358f016110f7565b975061158360a08e01610fe9565b965060c08d0135955061159860e08e01610fe9565b94506115a76101008e01610fe9565b9350806101208e013511156115bb57600080fd5b6115cc8e6101208f01358f016110f7565b9250806101408e013511156115e057600080fd5b506115f28d6101408e01358e0161130d565b90509295989b509295989b9093969950565b8051610ff481610fd4565b60006020828403121561162157600080fd5b815161108781610fd4565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156114bb57815187529582019590820190600101611657565b86815285602082015260c06040820152600061169260c0830187611482565b82810360608401526116a48187611643565b905082810360808401526116b88186611643565b905082810360a08401526116cc8185611643565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610fce57610fce6116ef565b60006001820161172a5761172a6116ef565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117646101a0850183611482565b91506060850151601f19808685030160808701526117828483611643565b935060808701519150808685030160a087015261179f8483611643565b935060a08701519150808685030160c08701526117bc8483611643565b935060c087015191506117d260e08701836112c4565b60e08701516101008781019190915287015191506101206117f5818801846112c4565b8701519150610140611809878201846112c4565b808801519250506101608187860301818801526118268584611643565b9088015187820390920184880152935090506118428382611482565b9695505050505050565b600082601f83011261185d57600080fd5b81516001600160401b038111156118765761187661108e565b602061188a601f8301601f191682016110a4565b828152858284870101111561189e57600080fd5b60005b838110156118bc5785810183015182820184015282016118a1565b506000928101909101919091529392505050565b600082601f8301126118e157600080fd5b815160206118f1611118836110d4565b82815260059290921b8401810191818101908684111561191057600080fd5b8286015b8481101561115757805161192781610fd4565b8352918301918301611914565b80518015158114610ff457600080fd5b60008060008060008060008060006101208a8c03121561196357600080fd5b61196c8a611604565b60208b015160408c0151919a5098506001600160401b038082111561199057600080fd5b61199c8d838e0161184c565b98506119aa60608d01611604565b975060808c0151965060a08c01519150808211156119c757600080fd5b6119d38d838e016118d0565b955060c08c0151945060e08c01519150808211156119f057600080fd5b506119fd8c828d0161184c565b925050611a0d6101008b01611934565b90509295985092959850929598565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b87815260e060208201526000611a8060e0830189611643565b8281036040840152611a928189611643565b90508281036060840152611aa68188611643565b90508281036080840152611aba8187611643565b60a084019590955250506001600160a01b039190911660c0909101529594505050505056fea2646970667358221220fe48edd6b03cc07d11159664bef2aed17924e062fde9eb79aafc875f2e20be9564736f6c63430008110033", + "address": "0x6CCfDC4D5B0A60a384Bbd047A841d62CDcD83961", + "implementation": "0x6CCfDC4D5B0A60a384Bbd047A841d62CDcD83961", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/Dispenser.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/Dispenser.geth-localnet.json new file mode 100644 index 0000000..1443303 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/Dispenser.geth-localnet.json @@ -0,0 +1,217 @@ +{ + "name": "Dispenser", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "minPeriod", + "type": "uint256" + } + ], + "name": "RequestFrequencyExceeded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "requester", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "maxAmount", + "type": "uint256" + } + ], + "name": "RequestLimitExceeded", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "requestTokens", + "outputs": [ + { + "internalType": "bool", + "name": "tokensTransferred", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xeef9c27c" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "setMaxAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4fe47f70" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "setMaxMintAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x088a4ed0" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "period", + "type": "uint256" + } + ], + "name": "setMinPeriod", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8210769" + }, + { + "inputs": [], + "name": "token", + "outputs": [ + { + "internalType": "contract NeverminedToken", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xfc0c546a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610a5e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100835760003560e01c8063088a4ed014610088578063485cc9551461009d5780634fe47f70146100b0578063715018a6146100c35780638da5cb5b146100cb578063eef9c27c146100f0578063f2fde38b14610113578063f821076914610126578063fc0c546a14610139575b600080fd5b61009b610096366004610798565b61014c565b005b61009b6100ab3660046107cd565b610168565b61009b6100be366004610798565b610370565b61009b61038c565b6100d36103a0565b6040516001600160a01b0390911681526020015b60405180910390f35b6101036100fe366004610798565b6103af565b60405190151581526020016100e7565b61009b610121366004610800565b6105e1565b61009b610134366004610798565b61065a565b606b546100d3906001600160a01b031681565b610154610667565b606a546101629082906106c6565b60685550565b600054610100900460ff16158080156101885750600054600160ff909116105b806101a25750303b1580156101a2575060005460ff166001145b61020a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801561022d576000805461ff0019166101001790555b826001600160a01b0381166102545760405162461bcd60e51b81526004016102019061081b565b61025c6106db565b610265836105e1565b6000606655606b80546001600160a01b0319166001600160a01b0386169081179091556040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa1580156102c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e79190610861565b6102f59060ff16600a610985565b606a819055610307906103e8906106c6565b6067556000606955606a54610321906305f5e100906106c6565b60685550801561036b576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b610378610667565b606a546103869082906106c6565b60675550565b610394610667565b61039e600061070a565b565b6033546001600160a01b031690565b600033806103cf5760405162461bcd60e51b81526004016102019061081b565b60006103e6606a54856106c690919063ffffffff16565b9050606854606654826103f99190610991565b1061043f5760405162461bcd60e51b8152602060048201526016602482015275115e18d959591959081b585e135a5b9d105b5bdd5b9d60521b6044820152606401610201565b6069543360009081526065602052604090205461045c9190610991565b4210156104a65760695460405190815233907f5fc1aee0cb9820976755a7c88bb366506eba3eaa69cdbf057e50a893c07f3ddf906020015b60405180910390a260009250506105db565b6067548111156104ec5760675460408051868152602081019290925233917f6ba017f04268af016965afed4b76d07ee8b8d2822593b565af060c914e015d409101610494565b33600090815260656020526040902042905560665461050b908261075c565b606655606b546001600160a01b03166340c10f19336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af115801561056d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059191906109a4565b6105d55760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b71036b4b73a34b733903330b4b632b21760591b6044820152606401610201565b60019250505b50919050565b6105e9610667565b6001600160a01b03811661064e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610201565b6106578161070a565b50565b610662610667565b606955565b336106706103a0565b6001600160a01b03161461039e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610201565b60006106d282846109c6565b90505b92915050565b600054610100900460ff166107025760405162461bcd60e51b8152600401610201906109dd565b61039e610768565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006106d28284610991565b600054610100900460ff1661078f5760405162461bcd60e51b8152600401610201906109dd565b61039e3361070a565b6000602082840312156107aa57600080fd5b5035919050565b80356001600160a01b03811681146107c857600080fd5b919050565b600080604083850312156107e057600080fd5b6107e9836107b1565b91506107f7602084016107b1565b90509250929050565b60006020828403121561081257600080fd5b6106d2826107b1565b60208082526026908201527f697356616c696441646472657373206661696c65642c204164647265737320696040820152653990183c181760d11b606082015260800190565b60006020828403121561087357600080fd5b815160ff8116811461088457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156108dc5781600019048211156108c2576108c261088b565b808516156108cf57918102915b93841c93908002906108a6565b509250929050565b6000826108f3575060016106d5565b81610900575060006106d5565b816001811461091657600281146109205761093c565b60019150506106d5565b60ff8411156109315761093161088b565b50506001821b6106d5565b5060208310610133831016604e8410600b841016171561095f575081810a6106d5565b61096983836108a1565b806000190482111561097d5761097d61088b565b029392505050565b60006106d283836108e4565b808201808211156106d5576106d561088b565b6000602082840312156109b657600080fd5b8151801515811461088457600080fd5b80820281158282048414176106d5576106d561088b565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122051d9f7898215819a814ab0d53f60c87a3b69627e761896817d142327c1578c7064736f6c63430008110033", + "address": "0x22A2E8b0C8F080E0f5043B9f2C2a38b3465B9D6d", + "implementation": "0x22A2E8b0C8F080E0f5043B9f2C2a38b3465B9D6d", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/DistributeNFTCollateralCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/DistributeNFTCollateralCondition.geth-localnet.json new file mode 100644 index 0000000..c54fbf3 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/DistributeNFTCollateralCondition.geth-localnet.json @@ -0,0 +1,391 @@ +{ + "name": "DistributeNFTCollateralCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_contract", + "type": "address" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x70457337" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_vaultAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xf7bebc88" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockNFTConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611594806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d05760003560e01c806316279055146100d55780631ce19185146100fe578063572b6c051461011e5780635ced058e146101315780635ea3ab851461014f5780636fd902e1146101705780637045733714610176578063715018a61461018957806382c947b7146101935780638da5cb5b146101ad578063ab9de230146101b5578063c0c53b8b146101bd578063cb4e57e8146101d0578063ce1b815f14610210578063f2fde38b14610218578063f7bebc881461022b575b600080fd5b6100e96100e3366004611108565b3b151590565b60405190151581526020015b60405180910390f35b61011161010c366004611125565b61023e565b6040516100f59190611176565b6100e961012c366004611108565b610379565b61014261013f366004611125565b90565b6040516100f59190611184565b61016261015d3660046111ae565b61039e565b6040519081526020016100f5565b43610162565b61011161018436600461126b565b6103ed565b610191610acd565b005b6101626101a1366004611108565b6001600160a01b031690565b610142610ae1565b610142610af0565b6101916101cb3660046112b5565b610b85565b6101626101de366004611300565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b610142610d44565b610191610226366004611108565b610dcf565b610162610239366004611322565b610e48565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ac9190611349565b6102fd5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e469061033090859060039060040161136b565b6020604051808303816000875af115801561034f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103739190611393565b92915050565b6000610383610d44565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156103e6578381815181106103bf576103bf6113ae565b6020026020010151826103d291906113da565b9150806103de816113ed565b9150506103a4565b5092915050565b60006103f7610eb5565b826001600160a01b03811663eaf6e48361040f610f0e565b6040518263ffffffff1660e01b815260040161042b9190611184565b602060405180830381865afa158015610448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046c9190611349565b806104e65750806001600160a01b031663709b8961610489610f0e565b6040518263ffffffff1660e01b81526004016104a59190611184565b602060405180830381865afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190611349565b6105775760405162461bcd60e51b815260206004820152605660248201527f496e76616c69642073656e6465722c206f6e6c7920626f72726f776572206f7260448201527f206c656e6465722063616e2072657175657374204e6674207472616e73666572606482015275103ab73232b9103a3434b99030b3b932b2b6b2b73a1760511b608482015260a4016102f4565b6000606560009054906101000a90046001600160a01b03166001600160a01b0316632934a0ee836001600160a01b031663c765b8e26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ff9190611406565b6040518263ffffffff1660e01b815260040161061d91815260200190565b60a060405180830381865afa15801561063a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065e919061141f565b50506040516331a9108f60e11b8152600481018a9052919350869250506001600160a01b03821690636352211e90602401602060405180830381865afa1580156106ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d0919061146f565b6001600160a01b0316866001600160a01b03161461076d5760405162461bcd60e51b815260206004820152604e60248201527f54686520637265646974207661756c74206973206e6f74206f776e6572206f6660448201527f2074686973204e4654206f7220646f6573206e6f74206861766520737566666960648201526d31b4b2b73a103130b630b731b29760911b608482015260a4016102f4565b600061077e896101de8a8a8a610e48565b905060028360038111156107945761079461113e565b0361090857836001600160a01b0316639036c0508960001c866001600160a01b0316637df1f1b96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080e919061146f565b6040518363ffffffff1660e01b815260040161082b92919061148c565b600060405180830381600087803b15801561084557600080fd5b505af1158015610859573d6000803e3d6000fd5b50505050836001600160a01b0316637df1f1b96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf919061146f565b6001600160a01b0316888a7feae8a1344f10c9b8bba74abd721e25921c94b5dc0739627fd934feb2e0dd3ce3848a6040516108fb92919061148c565b60405180910390a4610a6b565b600383600381111561091c5761091c61113e565b03610a2357836001600160a01b0316639036c0508960001c866001600160a01b031663bcead63e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610972573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610996919061146f565b6040518363ffffffff1660e01b81526004016109b392919061148c565b600060405180830381600087803b1580156109cd57600080fd5b505af11580156109e1573d6000803e3d6000fd5b50505050836001600160a01b031663bcead63e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b60405162461bcd60e51b815260206004820152601e60248201527f5374696c6c206e6f742066756c66696c6c6564206f722061626f72746564000060448201526064016102f4565b610ab58160028a6040518060400160405280602081526020017f446973747269627574654e4654436f6c6c61746572616c436f6e646974696f6e815250610ab0610f0e565b610f18565b945050505050610ac56001606655565b949350505050565b610ad5610f9e565b610adf600061100d565b565b6033546001600160a01b031690565b6065546000906001600160a01b0316610b095750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b80919061146f565b905090565b600054610100900460ff1615808015610ba55750600054600160ff909116105b80610bbf5750303b158015610bbf575060005460ff166001145b610c225760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102f4565b6000805460ff191660011790558015610c45576000805461ff0019166101001790555b6001600160a01b03841615801590610c6557506001600160a01b03831615155b8015610c7957506001600160a01b03821615155b610cb75760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016102f4565b610cbf61105f565b610cc884610dcf565b606580546001600160a01b038086166001600160a01b03199283161790925560998054928516929091169190911790558015610d3e576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b600080610d4f610af0565b90506001600160a01b038116610d6757600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc9919061146f565b91505090565b610dd7610f9e565b6001600160a01b038116610e3c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102f4565b610e458161100d565b50565b604080517fe45e612145486e06b287984da47cfc637a615575a5936ad7ea119767b8fc591e60208201529081018490526001600160a01b0380841660608301528216608082015260009060a0016040516020818303038152906040528051906020012090505b9392505050565b600260665403610f075760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102f4565b6002606655565b6000610b8061108e565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610f519089908890889088908c906004016114a3565b6020604051808303816000875af1158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190611393565b9695505050505050565b610fa6610f0e565b6001600160a01b0316610fb7610ae1565b6001600160a01b031614610adf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102f4565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166110865760405162461bcd60e51b81526004016102f490611513565b610adf6110bc565b6000601436108015906110a557506110a533610379565b156110b7575060131936013560601c90565b503390565b600054610100900460ff166110e35760405162461bcd60e51b81526004016102f490611513565b610adf6110ee610f0e565b61100d565b6001600160a01b0381168114610e4557600080fd5b60006020828403121561111a57600080fd5b8135610eae816110f3565b60006020828403121561113757600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6004811061117257634e487b7160e01b600052602160045260246000fd5b9052565b602081016103738284611154565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156111c157600080fd5b82356001600160401b03808211156111d857600080fd5b818501915085601f8301126111ec57600080fd5b8135818111156111fe576111fe611198565b8060051b604051601f19603f8301168101818110858211171561122357611223611198565b60405291825284820192508381018501918883111561124157600080fd5b938501935b8285101561125f57843584529385019392850192611246565b98975050505050505050565b6000806000806080858703121561128157600080fd5b8435935060208501359250604085013561129a816110f3565b915060608501356112aa816110f3565b939692955090935050565b6000806000606084860312156112ca57600080fd5b83356112d5816110f3565b925060208401356112e5816110f3565b915060408401356112f5816110f3565b809150509250925092565b6000806040838503121561131357600080fd5b50508035926020909101359150565b60008060006060848603121561133757600080fd5b8335925060208401356112e5816110f3565b60006020828403121561135b57600080fd5b81518015158114610eae57600080fd5b82815260408101610eae6020830184611154565b80516004811061138e57600080fd5b919050565b6000602082840312156113a557600080fd5b610eae8261137f565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610373576103736113c4565b6000600182016113ff576113ff6113c4565b5060010190565b60006020828403121561141857600080fd5b5051919050565b600080600080600060a0868803121561143757600080fd5b8551611442816110f3565b94506114506020870161137f565b6040870151606088015160809098015196999198509695945092505050565b60006020828403121561148157600080fd5b8151610eae816110f3565b9182526001600160a01b0316602082015260400190565b85815260006020868184015260a0604084015285518060a085015260005b818110156114dd5787810183015185820160c0015282016114c1565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610f946080830184611154565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220545591e98e70d43ac5c1fb5afc43b0a145ef787075cfec6b21b543c09ec8dd5c64736f6c63430008110033", + "address": "0x37cB53b6e0224b03D2cD11b68ea5Df6141D95a1e", + "implementation": "0x37cB53b6e0224b03D2cD11b68ea5Df6141D95a1e", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/EscrowComputeExecutionTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/EscrowComputeExecutionTemplate.geth-localnet.json new file mode 100644 index 0000000..40648da --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/EscrowComputeExecutionTemplate.geth-localnet.json @@ -0,0 +1,580 @@ +{ + "name": "EscrowComputeExecutionTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_computeExecutionConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x06fdde03" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b39806100206000396000f3fe6080604052600436106100e45760003560e01c806306fdde03146100e9578063162790551461013e5780632e166f3e1461016f5780634183e72b14610191578063572b6c05146101b15780635ced058e146101d15780635ea3ab85146102075780636104ff1a146102355780636fd902e1146102485780636ff015ae1461025b578063715018a6146102a157806382c947b7146102b65780638da5cb5b146102dd57806391a169bf146102f2578063ab9de23014610314578063cc2a9a5b14610329578063ce1b815f14610349578063f2fde38b1461035e578063f8fe10701461037e575b600080fd5b3480156100f557600080fd5b50604080518082018252601e81527f457363726f77436f6d70757465457865637574696f6e54656d706c6174650000602082015290516101359190610fe3565b60405180910390f35b34801561014a57600080fd5b5061015f61015936600461103b565b3b151590565b6040519015158152602001610135565b34801561017b57600080fd5b5061018f61018a366004611133565b610391565b005b34801561019d57600080fd5b5061018f6101ac3660046111ce565b610438565b3480156101bd57600080fd5b5061015f6101cc36600461103b565b61045b565b3480156101dd57600080fd5b506101ef6101ec36600461127c565b90565b6040516001600160a01b039091168152602001610135565b34801561021357600080fd5b506102276102223660046112a2565b610480565b604051908152602001610135565b61018f610243366004611342565b6104cf565b34801561025457600080fd5b5043610227565b34801561026757600080fd5b5061027b61027636600461127c565b6105eb565b604080516001600160a01b03948516815293909216602084015290820152606001610135565b3480156102ad57600080fd5b5061018f610762565b3480156102c257600080fd5b506102276102d136600461103b565b6001600160a01b031690565b3480156102e957600080fd5b506101ef610776565b3480156102fe57600080fd5b50610307610785565b6040516101359190611497565b34801561032057600080fd5b506101ef6107e7565b34801561033557600080fd5b5061018f6103443660046114aa565b61087c565b34801561035557600080fd5b506101ef610b12565b34801561036a57600080fd5b5061018f61037936600461103b565b610b9d565b61018f61038c36600461151e565b610c16565b6066546001600160a01b031663955d0c2a866103ab610c43565b6040516020016103bc929190611649565b60405160208183030381529060405280519060200120866103db610785565b8787876040518763ffffffff1660e01b81526004016103ff96959493929190611690565b600060405180830381600087803b15801561041957600080fd5b505af115801561042d573d6000803e3d6000fd5b505050505050505050565b6104458686868686610391565b610453868685858589610c4d565b505050505050565b6000610465610b12565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156104c8578381815181106104a1576104a16116f6565b6020026020010151826104b49190611722565b9150806104c081611735565b915050610486565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104fc610c43565b60405160200161050d929190611649565b6040516020818303038152906040528051906020012081526020018d8152602001610536610785565b81526020018c81526020018b81526020018a8152602001610555610c43565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b81526004016105ad919061174e565b6000604051808303818588803b1580156105c657600080fd5b505af11580156105da573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561064c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106709190611874565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106b49160040190815260200190565b600060405180830381865afa1580156106d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106f99190810190611968565b505081519699509097505093159350610732925050505781600081518110610723576107236116f6565b60200260200101519450610736565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61076a610d19565b6107746000610d88565b565b6033546001600160a01b031690565b606060658054806020026020016040519081016040528092919081815260200182805480156107dd57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116107bf575b5050505050905090565b6066546000906001600160a01b03166108005750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190611874565b905090565b600054610100900460ff161580801561089c5750600054600160ff909116105b806108b65750303b1580156108b6575060005460ff166001145b61091e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015610941576000805461ff0019166101001790555b6001600160a01b0387161580159061096157506001600160a01b03861615155b801561097557506001600160a01b03851615155b801561098957506001600160a01b03841615155b801561099d57506001600160a01b03831615155b80156109b157506001600160a01b03821615155b6109ef5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610915565b6109f7610dda565b610a0087610b9d565b606680546001600160a01b03199081166001600160a01b0389811691909117909255606980548216888416179055606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805488169096179095559254815480860183558401805491881691871691909117905590548154938401909155910180549190931691161790558015610b09576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610b1d6107e7565b90506001600160a01b038116610b3557600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190611874565b91505090565b610ba5610d19565b6001600160a01b038116610c0a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610915565b610c1381610d88565b50565b610c288b8b8b8b8b8a8a8a8a8a6104cf565b610c368b8b8a8a8a8e610c4d565b5050505050505050505050565b6000610877610e09565b600086610c58610c43565b604051602001610c69929190611649565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610cec8f82610e37565b8f610cf5610c43565b604051610d089796959493929190611a40565b60405180910390a450505050505050565b610d21610c43565b6001600160a01b0316610d32610776565b6001600160a01b0316146107745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610915565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e015760405162461bcd60e51b815260040161091590611ab8565b610774610f88565b600060143610801590610e205750610e203361045b565b15610e32575060131936013560601c90565b503390565b6060600083610e44610c43565b604051602001610e55929190611649565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e8857610e8861105f565b604051908082528060200260200182016040528015610eb1578160200160208202803683370190505b50905060005b8151811015610f7d578260658281548110610ed457610ed46116f6565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f0457610f046116f6565b6020026020010151604051602001610f38939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f6057610f606116f6565b602090810291909101015280610f7581611735565b915050610eb7565b509150505b92915050565b600054610100900460ff16610faf5760405162461bcd60e51b815260040161091590611ab8565b610774610fba610c43565b610d88565b60005b83811015610fda578181015183820152602001610fc2565b50506000910152565b6020815260008251806020840152611002816040850160208701610fbf565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610c1357600080fd5b803561103681611016565b919050565b60006020828403121561104d57600080fd5b813561105881611016565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561109d5761109d61105f565b604052919050565b60006001600160401b038211156110be576110be61105f565b5060051b60200190565b600082601f8301126110d957600080fd5b813560206110ee6110e9836110a5565b611075565b82815260059290921b8401810191818101908684111561110d57600080fd5b8286015b848110156111285780358352918301918301611111565b509695505050505050565b600080600080600060a0868803121561114b57600080fd5b853594506020860135935060408601356001600160401b038082111561117057600080fd5b61117c89838a016110c8565b9450606088013591508082111561119257600080fd5b61119e89838a016110c8565b935060808801359150808211156111b457600080fd5b506111c1888289016110c8565b9150509295509295909350565b60008060008060008060c087890312156111e757600080fd5b863595506020870135945060408701356001600160401b038082111561120c57600080fd5b6112188a838b016110c8565b9550606089013591508082111561122e57600080fd5b61123a8a838b016110c8565b9450608089013591508082111561125057600080fd5b5061125d89828a016110c8565b92505060a087013561126e81611016565b809150509295509295509295565b60006020828403121561128e57600080fd5b5035919050565b6001600160a01b03169052565b6000602082840312156112b457600080fd5b81356001600160401b038111156112ca57600080fd5b6112d6848285016110c8565b949350505050565b600082601f8301126112ef57600080fd5b813560206112ff6110e9836110a5565b82815260059290921b8401810191818101908684111561131e57600080fd5b8286015b8481101561112857803561133581611016565b8352918301918301611322565b6000806000806000806000806000806101408b8d03121561136257600080fd5b8a35995060208b0135985060408b01356001600160401b038082111561138757600080fd5b6113938e838f016110c8565b995060608d01359150808211156113a957600080fd5b6113b58e838f016110c8565b985060808d01359150808211156113cb57600080fd5b6113d78e838f016110c8565b975060a08d013596506113ec60c08e0161102b565b95506113fa60e08e0161102b565b94506101008d013591508082111561141157600080fd5b61141d8e838f016110c8565b93506101208d013591508082111561143457600080fd5b506114418d828e016112de565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b8381101561148c5781516001600160a01b031687529582019590820190600101611467565b509495945050505050565b6020815260006110586020830184611453565b60008060008060008060c087890312156114c357600080fd5b86356114ce81611016565b955060208701356114de81611016565b945060408701356114ee81611016565b935060608701356114fe81611016565b9250608087013561150e81611016565b915060a087013561126e81611016565b60008060008060008060008060008060006101608c8e03121561154057600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561156457600080fd5b6115748e60408f01358f016110c8565b99508060608e0135111561158757600080fd5b6115978e60608f01358f016110c8565b98508060808e013511156115aa57600080fd5b6115ba8e60808f01358f016110c8565b97506115c860a08e0161102b565b965060c08d013595506115dd60e08e0161102b565b94506115ec6101008e0161102b565b9350806101208e0135111561160057600080fd5b6116118e6101208f01358f016110c8565b9250806101408e0135111561162557600080fd5b506116378d6101408e01358e016112de565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b8381101561148c57815187529582019590820190600101611674565b86815285602082015260c0604082015260006116af60c0830187611453565b82810360608401526116c18187611660565b905082810360808401526116d58186611660565b905082810360a08401526116e98185611660565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f8257610f8261170c565b6000600182016117475761174761170c565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117816101a0850183611453565b91506060850151601f198086850301608087015261179f8483611660565b935060808701519150808685030160a08701526117bc8483611660565b935060a08701519150808685030160c08701526117d98483611660565b935060c087015191506117ef60e0870183611295565b60e087015161010087810191909152870151915061012061181281880184611295565b870151915061014061182687820184611295565b808801519250506101608187860301818801526118438584611660565b90880151878203909201848801529350905061185f8382611453565b9695505050505050565b805161103681611016565b60006020828403121561188657600080fd5b815161105881611016565b600082601f8301126118a257600080fd5b81516001600160401b038111156118bb576118bb61105f565b6118ce601f8201601f1916602001611075565b8181528460208386010111156118e357600080fd5b6112d6826020830160208701610fbf565b600082601f83011261190557600080fd5b815160206119156110e9836110a5565b82815260059290921b8401810191818101908684111561193457600080fd5b8286015b8481101561112857805161194b81611016565b8352918301918301611938565b8051801515811461103657600080fd5b60008060008060008060008060006101208a8c03121561198757600080fd5b6119908a611869565b60208b015160408c0151919a5098506001600160401b03808211156119b457600080fd5b6119c08d838e01611891565b98506119ce60608d01611869565b975060808c0151965060a08c01519150808211156119eb57600080fd5b6119f78d838e016118f4565b955060c08c0151945060e08c0151915080821115611a1457600080fd5b50611a218c828d01611891565b925050611a316101008b01611958565b90509295985092959850929598565b87815260e060208201526000611a5960e0830189611660565b8281036040840152611a6b8189611660565b90508281036060840152611a7f8188611660565b90508281036080840152611a938187611660565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212206a1e429227f8d7bf703c6b7485a21f009a0fc66480722e0aad2eaddc2ef254c764736f6c63430008110033", + "address": "0xF474fC9C472A6Df8D01bd06376c794B22C51ea93", + "implementation": "0xF474fC9C472A6Df8D01bd06376c794B22C51ea93", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/EscrowPaymentCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/EscrowPaymentCondition.geth-localnet.json new file mode 100644 index 0000000..a52b8fd --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/EscrowPaymentCondition.geth-localnet.json @@ -0,0 +1,697 @@ +{ + "name": "EscrowPaymentCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "Received", + "type": "event" + }, + { + "inputs": [], + "name": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [], + "name": "USED_PAYMENT_ID", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x181fb807" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "encodeParams", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xe0a10948" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_releaseCondition", + "type": "bytes32" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x8550d820" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "fulfillMulti", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6964a4ff" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_releaseCondition", + "type": "bytes32" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x25ca6fff" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "hashValuesLockPayment", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xc55956d8" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "hashValuesMulti", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x7d101495" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612380806100206000396000f3fe6080604052600436106101095760003560e01c806315c87f851461015f57806316279055146101a6578063181fb807146101d75780631ce191851461020b57806325ca6fff14610238578063485cc95514610258578063572b6c051461027a5780635ced058e1461029a5780635ea3ab85146102d05780636964a4ff146102f05780636fd902e114610310578063715018a6146103235780637d1014951461033857806382c947b7146103585780638550d8201461037f5780638da5cb5b1461039f578063ab9de230146103b4578063c55956d8146103c9578063cb4e57e8146103e9578063ce1b815f14610409578063e0a109481461041e578063f2fde38b1461044b57600080fd5b3661015a5761011661046b565b6001600160a01b03167f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743460405161015091815260200190565b60405180910390a2005b600080fd5b34801561016b57600080fd5b506101937f9950c67ea13f956839972d1b5acca24609b2c97ee6c283326a0e58023590b8df81565b6040519081526020015b60405180910390f35b3480156101b257600080fd5b506101c76101c1366004611925565b3b151590565b604051901515815260200161019d565b3480156101e357600080fd5b506101937fab3c90984fd5265f2fbdbf0c7eb60954acafbf928fbfe3e16bfc12a54b5f8ba481565b34801561021757600080fd5b5061022b610226366004611942565b61047a565b60405161019d9190611993565b34801561024457600080fd5b50610193610253366004611ad9565b6105b5565b34801561026457600080fd5b50610278610273366004611b91565b610618565b005b34801561028657600080fd5b506101c7610295366004611925565b61079e565b3480156102a657600080fd5b506102b86102b5366004611942565b90565b6040516001600160a01b03909116815260200161019d565b3480156102dc57600080fd5b506101936102eb366004611bca565b6107c3565b3480156102fc57600080fd5b5061022b61030b366004611bfe565b610812565b34801561031c57600080fd5b5043610193565b34801561032f57600080fd5b50610278610898565b34801561034457600080fd5b50610193610353366004611cd5565b6108ac565b34801561036457600080fd5b50610193610373366004611925565b6001600160a01b031690565b34801561038b57600080fd5b5061022b61039a366004611da2565b610912565b3480156103ab57600080fd5b506102b8610977565b3480156103c057600080fd5b506102b8610986565b3480156103d557600080fd5b506101936103e4366004611e62565b610a16565b3480156103f557600080fd5b50610193610404366004611ef4565b610a52565b34801561041557600080fd5b506102b8610a87565b34801561042a57600080fd5b5061043e610439366004611cd5565b610b12565b60405161019d9190611f66565b34801561045757600080fd5b50610278610466366004611925565b610b71565b6000610475610bea565b905090565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156104c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e89190611f79565b6105395760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e469061056c908590600390600401611f9b565b6020604051808303816000875af115801561058b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105af9190611faf565b92915050565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106105ee576105ee611fd0565b60200260200101818152505061060a8a8a8a8a8a8a8a886108ac565b9a9950505050505050505050565b600054610100900460ff16158080156106385750600054600160ff909116105b80610659575061064730610c18565b158015610659575060005460ff166001145b6106bc5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610530565b6000805460ff1916600117905580156106df576000805461ff0019166101001790555b6001600160a01b0382166107275760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610530565b61072f610c27565b61073883610b71565b606580546001600160a01b0319166001600160a01b0384161790558015610799576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60006107a8610a87565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561080b578381815181106107e4576107e4611fd0565b6020026020010151826107f79190611ffc565b9150806108038161200f565b9150506107c9565b5092915050565b600061081c610c56565b61087f6040518061012001604052808c81526020018b81526020018a8152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b0316815260200185815260200184815250610caf565b905061088b6001606655565b9998505050505050505050565b6108a06111f1565b6108aa6000611260565b565b600086518851146108cf5760405162461bcd60e51b815260040161053090612028565b88888888888888886040516020016108ee9897969594939291906120ed565b60405160208183030381529060405280519060200120905098975050505050505050565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061094b5761094b611fd0565b6020026020010181815250506109688b8b8b8b8b8b8b8b89610812565b9b9a5050505050505050505050565b6033546001600160a01b031690565b6065546000906001600160a01b031661099f5750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610475919061218a565b60008585858585604051602001610a319594939291906121a7565b60405160208183030381529060405280519060200120905095945050505050565b6000823083604051602001610a69939291906121f7565b60405160208183030381529060405280519060200120905092915050565b600080610a92610986565b90506001600160a01b038116610aaa57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0c919061218a565b91505090565b60608651885114610b355760405162461bcd60e51b815260040161053090612028565b8888888888888888604051602001610b549897969594939291906120ed565b604051602081830303815290604052905098975050505050505050565b610b796111f1565b6001600160a01b038116610bde5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610530565b610be781611260565b50565b600060143610801590610c015750610c013361079e565b15610c13575060131936013560601c90565b503390565b6001600160a01b03163b151590565b600054610100900460ff16610c4e5760405162461bcd60e51b815260040161053090612216565b6108aa6112b2565b600260665403610ca85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610530565b6002606655565b60e0810151815160655460405163c0c786a760e01b81526004810184905260009392916001600160a01b03169063c0c786a790602401602060405180830381865afa158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d26919061218a565b610d4785602001518660a001518760c0015188604001518960600151610a16565b604051602001610d59939291906121f7565b6040516020818303038152906040528051906020012014610dbc5760405162461bcd60e51b815260206004820152601f60248201527f4c6f636b436f6e646974696f6e20494420646f6573206e6f74206d61746368006044820152606401610530565b60655460e08301516040516319b6289160e11b815260048101919091526002916001600160a01b03169063336c512290602401602060405180830381865afa158015610e0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e309190611faf565b6003811115610e4157610e4161195b565b14610e9a5760405162461bcd60e51b815260206004820152602360248201527f4c6f636b436f6e646974696f6e206e6565647320746f2062652046756c66696c6044820152621b195960ea1b6064820152608401610530565b60016000805b84610100015151811015610f945760655461010086015180516000926001600160a01b03169163336c51229185908110610edc57610edc611fd0565b60200260200101516040518263ffffffff1660e01b8152600401610f0291815260200190565b602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f439190611faf565b90506002816003811115610f5957610f5961195b565b14610f6357600093505b6003816003811115610f7757610f7761195b565b03610f8157600192505b5080610f8c8161200f565b915050610ea0565b508080610f9e5750815b610fea5760405162461bcd60e51b815260206004820152601d60248201527f52656c6561736520636f6e646974696f6e7320756e7265736f6c7665640000006044820152606401610530565b600061102585600001516104048760200151886040015189606001518a608001518b60a001518c60c001518d60e001518e61010001516108ac565b9050600083156110ca5760c08601516001600160a01b0316156110665761105f828760c00151886060015189604001518a602001516112e9565b9050611081565b61107e828760600151886040015189602001516113f2565b90505b8560c001516001600160a01b0316866000015160008051602061232b8339815191528860600151858a604001516040516110bd93929190612261565b60405180910390a36111e8565b82156111e857604080516001808252818301909252600091602080830190803683370190505090506110ff87604001516107c3565b8160008151811061111257611112611fd0565b602090810291909101015260408051600180825281830190925260009181602001602082028036833701905050905087608001518160008151811061115957611159611fd0565b6001600160a01b03928316602091820292909201015260c089015116156111965761118f848960c0015183858c602001516112e9565b92506111a9565b6111a68482848b602001516113f2565b92505b8760c001516001600160a01b0316886000015160008051602061232b8339815191528387866040516111dd93929190612261565b60405180910390a350505b95945050505050565b6111f961046b565b6001600160a01b031661120a610977565b6001600160a01b0316146108aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610530565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166112d95760405162461bcd60e51b815260040161053090612216565b6108aa6112e461046b565b611260565b600084815b85518110156113a357306001600160a01b031686828151811061131357611313611fd0565b60200260200101516001600160a01b0316036113415760405162461bcd60e51b81526004016105309061228c565b61139186828151811061135657611356611fd0565b602002602001015186838151811061137057611370611fd0565b6020026020010151846001600160a01b03166115d69092919063ffffffff16565b8061139b8161200f565b9150506112ee565b506113e7876002856040518060400160405280601681526020017522b9b1b937bba830bcb6b2b73a21b7b73234ba34b7b760511b8152506113e261046b565b611628565b979650505050505050565b6000805b845181101561158c57306001600160a01b031685828151811061141b5761141b611fd0565b60200260200101516001600160a01b0316036114495760405162461bcd60e51b81526004016105309061228c565b83818151811061145b5761145b611fd0565b60200260200101514710156114ad5760405162461bcd60e51b8152602060048201526018602482015277436f6e74726163742062616c616e636520746f6f206c6f7760401b6044820152606401610530565b60008582815181106114c1576114c1611fd0565b60200260200101516001600160a01b03168583815181106114e4576114e4611fd0565b602002602001015160405160006040518083038185875af1925050503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50509050806115795760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610530565b50806115848161200f565b9150506113f6565b506115cb856002846040518060400160405280601681526020017522b9b1b937bba830bcb6b2b73a21b7b73234ba34b7b760511b8152506113e261046b565b90505b949350505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526107999084906116ae565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae81906116619089908890889088908c906004016122d1565b6020604051808303816000875af1158015611680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a49190611faf565b9695505050505050565b6000611703826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117809092919063ffffffff16565b80519091501561079957808060200190518101906117219190611f79565b6107995760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610530565b606061178f8484600085611799565b90505b9392505050565b6060824710156117fa5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610530565b600080866001600160a01b03168587604051611816919061230e565b60006040518083038185875af1925050503d8060008114611853576040519150601f19603f3d011682016040523d82523d6000602084013e611858565b606091505b50915091506113e787838387606083156118d15782516000036118ca5761187e85610c18565b6118ca5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610530565b50816115ce565b6115ce83838151156118e65781518083602001fd5b8060405162461bcd60e51b81526004016105309190611f66565b6001600160a01b0381168114610be757600080fd5b803561192081611900565b919050565b60006020828403121561193757600080fd5b813561179281611900565b60006020828403121561195457600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6004811061198f57634e487b7160e01b600052602160045260246000fd5b9052565b602081016105af8284611971565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156119df576119df6119a1565b604052919050565b60006001600160401b03821115611a0057611a006119a1565b5060051b60200190565b600082601f830112611a1b57600080fd5b81356020611a30611a2b836119e7565b6119b7565b82815260059290921b84018101918181019086841115611a4f57600080fd5b8286015b84811015611a6a5780358352918301918301611a53565b509695505050505050565b600082601f830112611a8657600080fd5b81356020611a96611a2b836119e7565b82815260059290921b84018101918181019086841115611ab557600080fd5b8286015b84811015611a6a578035611acc81611900565b8352918301918301611ab9565b600080600080600080600080610100898b031215611af657600080fd5b8835975060208901356001600160401b0380821115611b1457600080fd5b611b208c838d01611a0a565b985060408b0135915080821115611b3657600080fd5b50611b438b828c01611a75565b9650506060890135611b5481611900565b94506080890135611b6481611900565b935060a0890135611b7481611900565b979a969950949793969295929450505060c08201359160e0013590565b60008060408385031215611ba457600080fd5b8235611baf81611900565b91506020830135611bbf81611900565b809150509250929050565b600060208284031215611bdc57600080fd5b81356001600160401b03811115611bf257600080fd5b6115ce84828501611a0a565b60008060008060008060008060006101208a8c031215611c1d57600080fd5b8935985060208a0135975060408a01356001600160401b0380821115611c4257600080fd5b611c4e8d838e01611a0a565b985060608c0135915080821115611c6457600080fd5b611c708d838e01611a75565b9750611c7e60808d01611915565b9650611c8c60a08d01611915565b9550611c9a60c08d01611915565b945060e08c013593506101008c0135915080821115611cb857600080fd5b50611cc58c828d01611a0a565b9150509295985092959850929598565b600080600080600080600080610100898b031215611cf257600080fd5b8835975060208901356001600160401b0380821115611d1057600080fd5b611d1c8c838d01611a0a565b985060408b0135915080821115611d3257600080fd5b611d3e8c838d01611a75565b9750611d4c60608c01611915565b9650611d5a60808c01611915565b9550611d6860a08c01611915565b945060c08b0135935060e08b0135915080821115611d8557600080fd5b50611d928b828c01611a0a565b9150509295985092959890939650565b60008060008060008060008060006101208a8c031215611dc157600080fd5b8935985060208a0135975060408a01356001600160401b0380821115611de657600080fd5b611df28d838e01611a0a565b985060608c0135915080821115611e0857600080fd5b50611e158c828d01611a75565b96505060808a0135611e2681611900565b945060a08a0135611e3681611900565b9350611e4460c08b01611915565b925060e08a013591506101008a013590509295985092959850929598565b600080600080600060a08688031215611e7a57600080fd5b853594506020860135611e8c81611900565b93506040860135611e9c81611900565b925060608601356001600160401b0380821115611eb857600080fd5b611ec489838a01611a0a565b93506080880135915080821115611eda57600080fd5b50611ee788828901611a75565b9150509295509295909350565b60008060408385031215611f0757600080fd5b50508035926020909101359150565b60005b83811015611f31578181015183820152602001611f19565b50506000910152565b60008151808452611f52816020860160208601611f16565b601f01601f19169290920160200192915050565b6020815260006117926020830184611f3a565b600060208284031215611f8b57600080fd5b8151801515811461179257600080fd5b828152604081016117926020830184611971565b600060208284031215611fc157600080fd5b81516004811061179257600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105af576105af611fe6565b60006001820161202157612021611fe6565b5060010190565b60208082526031908201527f416d6f756e747320616e642052656365697665727320617267756d656e7473206040820152700d0c2ecca40eee4dedcce40d8cadccee8d607b1b606082015260800190565b600081518084526020808501945080840160005b838110156120a95781518752958201959082019060010161208d565b509495945050505050565b600081518084526020808501945080840160005b838110156120a95781516001600160a01b0316875295820195908201906001016120c8565b60006101008a8352602081818501526121088285018c612079565b9150838203604085015261211c828b6120b4565b6001600160a01b038a811660608701528981166080870152881660a086015260c0850187905284810360e0860152855180825282870193509082019060005b818110156121775784518352938301939183019160010161215b565b50909d9c50505050505050505050505050565b60006020828403121561219c57600080fd5b815161179281611900565b8581526001600160a01b0385811660208301528416604082015260a0606082018190526000906121d990830185612079565b82810360808401526121eb81856120b4565b98975050505050505050565b9283526001600160a01b03919091166020830152604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60608152600061227460608301866120b4565b84602084015282810360408401526116a48185612079565b60208082526025908201527f457363726f7720636f6e74726163742063616e206e6f7420626520612072656360408201526432b4bb32b960d91b606082015260800190565b85815284602082015260a0604082015260006122f060a0830186611f3a565b6001600160a01b038516606084015290506116a46080830184611971565b60008251612320818460208701611f16565b919091019291505056fea810b6d8691459af38388a27b1f45a545703891126605218d2e21bd30cc1d87ea2646970667358221220ee7a4a041ecfab6df0e77dfad1b96fe9a366815b37f119ce85493896a2073c0964736f6c63430008110033", + "address": "0xD6d19ed17Ec0893B6979FE6B0B19beeE07849Fec", + "implementation": "0xD6d19ed17Ec0893B6979FE6B0B19beeE07849Fec", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/HashLockCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/HashLockCondition.geth-localnet.json new file mode 100644 index 0000000..4698ed4 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/HashLockCondition.geth-localnet.json @@ -0,0 +1,433 @@ +{ + "name": "HashLockCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_preimage", + "type": "bytes32" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x042f2b65" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "_preimage", + "type": "string" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x37441996" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_preimage", + "type": "uint256" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4357855e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_preimage", + "type": "bytes32" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x80d16806" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_preimage", + "type": "uint256" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xb613eb5c" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_preimage", + "type": "string" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xd0ac9b09" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610e5d806100206000396000f3fe608060405234801561001057600080fd5b50600436106101075760003560e01c8063042f2b651461010c57806315c87f8514610135578063162790551461016a5780631ce191851461018e57806337441996146101a15780634357855e1461010c578063485cc955146101b4578063572b6c05146101c95780635ced058e146101dc5780635ea3ab85146102055780636fd902e114610218578063715018a61461021e57806380d168061461022657806382c947b7146102395780638da5cb5b14610253578063ab9de2301461025b578063b613eb5c14610226578063cb4e57e814610263578063ce1b815f146102a3578063d0ac9b09146102ab578063f2fde38b146102be575b600080fd5b61011f61011a366004610a09565b6102d1565b60405161012c9190610a4d565b60405180910390f35b61015c7f3037433d5b2b81726e66d6a8ad635cf5dcd8580bfa6ac77d887b5ac7ca62e07a81565b60405190815260200161012c565b61017e610178366004610a70565b3b151590565b604051901515815260200161012c565b61011f61019c366004610a94565b6102f1565b61011f6101af366004610b62565b610426565b6101c76101c2366004610ba8565b610438565b005b61017e6101d7366004610a70565b6105b7565b6101ed6101ea366004610a94565b90565b6040516001600160a01b03909116815260200161012c565b61015c610213366004610be1565b6105dc565b4361015c565b6101c761062b565b61015c610234366004610a94565b61063f565b61015c610247366004610a70565b6001600160a01b031690565b6101ed610671565b6101ed610680565b61015c610271366004610a09565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b6101ed610715565b61015c6102b9366004610c86565b6107a0565b6101c76102cc366004610a70565b6107b3565b60006102e86102e3846102718561063f565b61082c565b90505b92915050565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa15801561033b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035f9190610cc2565b6103b05760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906103e3908590600390600401610ce4565b6020604051808303816000875af1158015610402573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102eb9190610cf8565b60006102e86102e384610271856107a0565b600054610100900460ff16158080156104585750600054600160ff909116105b806104725750303b158015610472575060005460ff166001145b6104d55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103a7565b6000805460ff1916600117905580156104f8576000805461ff0019166101001790555b6001600160a01b0382166105405760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103a7565b610548610839565b610551836107b3565b606580546001600160a01b0319166001600160a01b03841617905580156105b2576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60006105c1610715565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b8351811015610624578381815181106105fd576105fd610d19565b6020026020010151826106109190610d45565b91508061061c81610d58565b9150506105e2565b5092915050565b610633610868565b61063d60006108d7565b565b60008160405160200161065491815260200190565b604051602081830303815290604052805190602001209050919050565b6033546001600160a01b031690565b6065546000906001600160a01b03166106995750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107109190610d71565b905090565b600080610720610680565b90506001600160a01b03811661073857600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610776573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079a9190610d71565b91505090565b6000816040516020016106549190610d8e565b6107bb610868565b6001600160a01b0381166108205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103a7565b610829816108d7565b50565b60006102eb826002610929565b600054610100900460ff166108605760405162461bcd60e51b81526004016103a790610ddc565b61063d61099f565b6108706109d6565b6001600160a01b0316610881610671565b6001600160a01b03161461063d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103a7565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60655460405163295e072360e11b81526000916001600160a01b0316906352bc0e469061095c9086908690600401610ce4565b6020604051808303816000875af115801561097b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e89190610cf8565b600054610100900460ff166109c65760405162461bcd60e51b81526004016103a790610ddc565b61063d6109d16109d6565b6108d7565b60006107106000601436108015906109f257506109f2336105b7565b15610a04575060131936013560601c90565b503390565b60008060408385031215610a1c57600080fd5b50508035926020909101359150565b60048110610a4957634e487b7160e01b600052602160045260246000fd5b9052565b602081016102eb8284610a2b565b6001600160a01b038116811461082957600080fd5b600060208284031215610a8257600080fd5b8135610a8d81610a5b565b9392505050565b600060208284031215610aa657600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610aeb57610aeb610aad565b604052919050565b600082601f830112610b0457600080fd5b81356001600160401b03811115610b1d57610b1d610aad565b610b30601f8201601f1916602001610ac3565b818152846020838601011115610b4557600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215610b7557600080fd5b8235915060208301356001600160401b03811115610b9257600080fd5b610b9e85828601610af3565b9150509250929050565b60008060408385031215610bbb57600080fd5b8235610bc681610a5b565b91506020830135610bd681610a5b565b809150509250929050565b60006020808385031215610bf457600080fd5b82356001600160401b0380821115610c0b57600080fd5b818501915085601f830112610c1f57600080fd5b813581811115610c3157610c31610aad565b8060051b9150610c42848301610ac3565b8181529183018401918481019088841115610c5c57600080fd5b938501935b83851015610c7a57843582529385019390850190610c61565b98975050505050505050565b600060208284031215610c9857600080fd5b81356001600160401b03811115610cae57600080fd5b610cba84828501610af3565b949350505050565b600060208284031215610cd457600080fd5b81518015158114610a8d57600080fd5b82815260408101610a8d6020830184610a2b565b600060208284031215610d0a57600080fd5b815160048110610a8d57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156102eb576102eb610d2f565b600060018201610d6a57610d6a610d2f565b5060010190565b600060208284031215610d8357600080fd5b8151610a8d81610a5b565b600060208083528351808285015260005b81811015610dbb57858101830151858201604001528201610d9f565b506000604082860101526040601f19601f8301168501019250505092915050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122063c0da45ce52e62392ae634e50aa6ae4632ad81f298ed153b3a24411fa50cafd64736f6c63430008110033", + "address": "0xFFE2cC964aF008a2D0670A1C97bc6e600B3d3722", + "implementation": "0xFFE2cC964aF008a2D0670A1C97bc6e600B3d3722", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/LockPaymentCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/LockPaymentCondition.geth-localnet.json new file mode 100644 index 0000000..0d32fde --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/LockPaymentCondition.geth-localnet.json @@ -0,0 +1,854 @@ +{ + "name": "LockPaymentCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_rewardAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "DENOMINATOR", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x918f8674" + }, + { + "inputs": [], + "name": "KEY_ASSET_RECEIVER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xaca89a74" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "encodeParams", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x2720c9ac" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "payable", + "type": "function", + "signature": "0x99743e8f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_externalContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_remoteId", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "fulfillExternal", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "payable", + "type": "function", + "signature": "0x6d6addd9" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_account", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "params", + "type": "bytes" + } + ], + "name": "fulfillProxy", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf3c998ce" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "grantExternalContractRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2f9499a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "grantProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf0e325ee" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xc28d6106" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "reinitialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6c2eb350" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "revokeExternalContractRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x7892f047" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "revokeProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1111ab15" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612e83806100206000396000f3fe6080604052600436106101895760003560e01c806301ffc9a71461018e5780631111ab15146101c357806315c87f85146101e557806316279055146102275780631ce1918514610248578063248a9ca3146102755780632720c9ac146102955780632f2ff15d146102c257806336568abe146102e2578063572b6c05146103025780635ced058e146103225780635ea3ab85146103585780636c2eb350146103785780636d6addd91461038d5780636fd902e1146103a0578063715018a6146103b35780637892f047146103c857806382c947b7146103e85780638da5cb5b1461040f578063918f86741461042457806391d148541461043b57806399743e8f1461045b578063a217fddf1461046e578063ab9de23014610483578063aca89a7414610498578063c0c53b8b146104cc578063c28d6106146104ec578063cb4e57e81461050c578063ce1b815f14610559578063d547741f1461056e578063f0e325ee1461058e578063f2f9499a146105ae578063f2fde38b146105ce578063f3c998ce146105ee575b600080fd5b34801561019a57600080fd5b506101ae6101a936600461220c565b610601565b60405190151581526020015b60405180910390f35b3480156101cf57600080fd5b506101e36101de36600461224b565b610638565b005b3480156101f157600080fd5b506102197fc481352be414f1ad6f6e5e19dfc1b21b273fbca013ba2221fcac42089111488e81565b6040519081526020016101ba565b34801561023357600080fd5b506101ae61024236600461224b565b3b151590565b34801561025457600080fd5b50610268610263366004612268565b61065b565b6040516101ba91906122b9565b34801561028157600080fd5b50610219610290366004612268565b610790565b3480156102a157600080fd5b506102b56102b03660046123ff565b6107a5565b6040516101ba91906124e1565b3480156102ce57600080fd5b506101e36102dd3660046124f4565b6107da565b3480156102ee57600080fd5b506101e36102fd3660046124f4565b6107fb565b34801561030e57600080fd5b506101ae61031d36600461224b565b610889565b34801561032e57600080fd5b5061034061033d366004612268565b90565b6040516001600160a01b0390911681526020016101ba565b34801561036457600080fd5b50610219610373366004612524565b6108ae565b34801561038457600080fd5b506101e36108fd565b61026861039b366004612558565b610a0f565b3480156103ac57600080fd5b5043610219565b3480156103bf57600080fd5b506101e3610eae565b3480156103d457600080fd5b506101e36103e336600461224b565b610ec2565b3480156103f457600080fd5b5061021961040336600461224b565b6001600160a01b031690565b34801561041b57600080fd5b50610340610ee2565b34801561043057600080fd5b50610219620f424081565b34801561044757600080fd5b506101ae6104563660046124f4565b610ef1565b6102686104693660046125fd565b610f1c565b34801561047a57600080fd5b50610219600081565b34801561048f57600080fd5b50610340610f51565b3480156104a457600080fd5b506102197f03e1c59d8a6b1b1de0077585af903740f1d399e98d72e4e7e75b6c728b3fff1781565b3480156104d857600080fd5b506101e36104e7366004612697565b610fe6565b3480156104f857600080fd5b506102196105073660046123ff565b6111cf565b34801561051857600080fd5b506102196105273660046126e2565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b34801561056557600080fd5b5061034061120b565b34801561057a57600080fd5b506101e36105893660046124f4565b611296565b34801561059a57600080fd5b506101e36105a936600461224b565b6112b2565b3480156105ba57600080fd5b506101e36105c936600461224b565b6112d2565b3480156105da57600080fd5b506101e36105e936600461224b565b6112f2565b6101e36105fc366004612704565b611368565b60006001600160e01b03198216637965db0b60e01b148061063257506301ffc9a760e01b6001600160e01b03198316145b92915050565b610640611412565b610658600080516020612dce83398151915282611296565b50565b609754604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156106a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c991906127b4565b61071a5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60975460405163295e072360e11b81526001600160a01b03909116906352bc0e469061074d9085906003906004016127d6565b6020604051808303816000875af115801561076c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063291906127f7565b600090815260ca602052604090206001015490565b606085858585856040516020016107c0959493929190612888565b604051602081830303815290604052905095945050505050565b6107e382610790565b6107ec81611481565b6107f68383611492565b505050565b610803611519565b6001600160a01b0316816001600160a01b03161461087b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610711565b6108858282611523565b5050565b600061089361120b565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156108f6578381815181106108cf576108cf6128d8565b6020026020010151826108e29190612904565b9150806108ee81612917565b9150506108b4565b5092915050565b600054600290610100900460ff1615801561091f575060005460ff8083169116105b61093b5760405162461bcd60e51b815260040161071190612930565b6000805461ffff191660ff83161761010017905560975460408051630ab9de2360e41b815290516001600160a01b039092169163ab9de230916004808201926020929091908290030181865afa158015610999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bd919061297e565b60fd80546001600160a01b0319166001600160a01b03929092169190911790556000805461ff001916905560405160ff82168152600080516020612dee8339815191529060200160405180910390a150565b600084610a2a600080516020612e0e83398151915282610ef1565b610a725760405162461bcd60e51b8152602060048201526019602482015278125b9d985b1a5908195e1d195c9b985b0818dbdb9d1c9858dd603a1b6044820152606401610711565b610a7a6115a8565b604051630b12e44160e41b8152600481018690526000906001600160a01b0388169063b12e441090602401602060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae6919061297e565b90508351855114610b095760405162461bcd60e51b81526004016107119061299b565b60fc546040516330eba23960e11b81526001600160a01b03909116906361d7447290610b3f908c908990899087906004016129ec565b602060405180830381865afa158015610b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8091906127b4565b610b9c5760405162461bcd60e51b815260040161071190612a31565b610ba68585611601565b610bc25760405162461bcd60e51b815260040161071190612a66565b6000806000896001600160a01b0316635de28ae08a6040518263ffffffff1660e01b8152600401610bf591815260200190565b606060405180830381865afa158015610c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c369190612a98565b925092509250806001600160a01b0316610c4e611519565b6001600160a01b031614610c915760405162461bcd60e51b815260206004820152600a602482015269139bc8185b1b1bddd95960b21b6044820152606401610711565b6000836003811115610ca557610ca5612281565b14158015610cc557506003836003811115610cc257610cc2612281565b14155b610d0a5760405162461bcd60e51b8152602060048201526016602482015275496e76616c69642065787465726e616c20737461746560501b6044820152606401610711565b81610d14896108ae565b14610d565760405162461bcd60e51b8152602060048201526012602482015271082dadeeadce8e640c8dedce840dac2e8c6d60731b6044820152606401610711565b6040516301b258d560e41b8152600481018a90526001600160a01b038c811660248301528b1690631b258d50906044016020604051808303816000875af1158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc991906127b4565b610e0a5760405162461bcd60e51b8152602060048201526012602482015271556e61626c6520746f20776974686472617760701b6044820152606401610711565b5050506000610e208b6105278c8c868b8b6111cf565b90506000610e658260028d604051806040016040528060148152602001732637b1b5a830bcb6b2b73a21b7b73234ba34b7b760611b815250610e60611519565b6118b1565b9050818b8d600080516020612e2e8339815191528d8d8b8d604051610e8d9493929190612ad0565b60405180910390a493505050610ea260018055565b50979650505050505050565b610eb6611412565b610ec06000611933565b565b610eca611412565b610658600080516020612e0e83398151915282611296565b6065546001600160a01b031690565b600091825260ca602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000610f266115a8565b610f3c610f31611519565b888888888888611985565b9050610f4760018055565b9695505050505050565b6097546000906001600160a01b0316610f6a5750600090565b609760009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe1919061297e565b905090565b600054610100900460ff16158080156110065750600054600160ff909116105b80611027575061101530611b2b565b158015611027575060005460ff166001145b6110435760405162461bcd60e51b815260040161071190612930565b6000805460ff191660011790558015611066576000805461ff0019166101001790555b6001600160a01b0382161580159061108657506001600160a01b03831615155b6110c45760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610711565b6110cc611b3a565b6110d4611b69565b6110dd846112f2565b609780546001600160a01b038086166001600160a01b0319928316811790935560fc80549186169190921617905560408051630ab9de2360e41b8152905163ab9de230916004808201926020929091908290030181865afa158015611146573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116a919061297e565b60fd80546001600160a01b0319166001600160a01b0392909216919091179055611195600085611b98565b80156111c9576000805461ff001916905560405160018152600080516020612dee8339815191529060200160405180910390a15b50505050565b600085858585856040516020016111ea959493929190612888565b60405160208183030381529060405280519060200120905095945050505050565b600080611216610f51565b90506001600160a01b03811661122e57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561126c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611290919061297e565b91505090565b61129f82610790565b6112a881611481565b6107f68383611523565b6112ba611412565b610658600080516020612dce833981519152826107da565b6112da611412565b610658600080516020612e0e833981519152826107da565b6112fa611412565b6001600160a01b03811661135f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610711565b61065881611933565b6113706115a8565b60008060006060808580602001905181019061138c9190612b72565b9398509196509450925090506113b2600080516020612dce833981519152610456611519565b6113f45760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642061636365737320726f6c6560681b6044820152606401610711565b61140388888787878787611985565b5050505050506107f660018055565b61141a611519565b6001600160a01b031661142b610ee2565b6001600160a01b031614610ec05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610711565b6106588161148d611519565b611ba2565b61149c8282610ef1565b61088557600082815260ca602090815260408083206001600160a01b03851684529091529020805460ff191660011790556114d5611519565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610fe1611bfb565b61152d8282610ef1565b1561088557600082815260ca602090815260408083206001600160a01b03851684529091529020805460ff19169055611564611519565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6002600154036115fa5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610711565b6002600155565b60fd54604080516326a7b37b60e01b815290516000926001600160a01b0316916326a7b37b9160048083019260209291908290030181865afa15801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f9190612c51565b15806116ef575060fd5460408051637451a9c960e11b815290516000926001600160a01b03169163e8a353929160048083019260209291908290030181865afa1580156116c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e4919061297e565b6001600160a01b0316145b156116fc57506001610632565b6000611707846108ae565b90508060000361171b576001915050610632565b60008060005b85518110156117ec5760fd60009054906101000a90046001600160a01b03166001600160a01b031663e8a353926040518163ffffffff1660e01b8152600401602060405180830381865afa15801561177d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a1919061297e565b6001600160a01b03168682815181106117bc576117bc6128d8565b60200260200101516001600160a01b0316036117da57600192508091505b806117e481612917565b915050611721565b50816117fe5760009350505050610632565b858181518110611810576118106128d8565b60200260200101516118a6620f42406118a08660fd60009054906101000a90046001600160a01b03166001600160a01b03166326a7b37b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189a9190612c51565b90611c29565b90611c3c565b149695505050505050565b60975460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae81906118ea9089908890889088908c90600401612c6a565b6020604051808303816000875af1158015611909573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4791906127f7565b60018055565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081518351146119a85760405162461bcd60e51b81526004016107119061299b565b60fc546040516330eba23960e11b81526001600160a01b03909116906361d74472906119de908990879087908a906004016129ec565b602060405180830381865afa1580156119fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1f91906127b4565b611a3b5760405162461bcd60e51b815260040161071190612a31565b611a458383611601565b611a615760405162461bcd60e51b815260040161071190612a66565b6001600160a01b03841615611a8957611a84888686611a7f876108ae565b611c48565b611a9b565b611a9b85611a96856108ae565b611c65565b6000611aae8861052789898989896111cf565b90506000611aee8260028a604051806040016040528060148152602001732637b1b5a830bcb6b2b73a21b7b73234ba34b7b760611b815250610e60611519565b905081888a600080516020612e2e8339815191528a8a898b604051611b169493929190612ad0565b60405180910390a49998505050505050505050565b6001600160a01b03163b151590565b600054610100900460ff16611b615760405162461bcd60e51b815260040161071190612ca7565b610ec0611d5e565b600054610100900460ff16611b905760405162461bcd60e51b815260040161071190612ca7565b610ec0611d95565b6108858282611492565b611bac8282610ef1565b61088557611bb981611dbc565b611bc4836020611dce565b604051602001611bd5929190612cf2565b60408051601f198184030181529082905262461bcd60e51b8252610711916004016124e1565b600060143610801590611c125750611c1233610889565b15611c24575060131936013560601c90565b503390565b6000611c358284612d61565b9392505050565b6000611c358284612d78565b81611c5e6001600160a01b038216868685611f69565b5050505050565b803414611cc45760405162461bcd60e51b815260206004820152602760248201527f5472616e73616374696f6e2076616c756520646f6573206e6f74206d6174636860448201526608185b5bdd5b9d60ca1b6064820152608401610711565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d11576040519150601f19603f3d011682016040523d82523d6000602084013e611d16565b606091505b50509050806107f65760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610711565b600054610100900460ff16611d855760405162461bcd60e51b815260040161071190612ca7565b610ec0611d90611519565b611933565b600054610100900460ff1661192d5760405162461bcd60e51b815260040161071190612ca7565b60606106326001600160a01b03831660145b60606000611ddd836002612d61565b611de8906002612904565b6001600160401b03811115611dff57611dff6122c7565b6040519080825280601f01601f191660200182016040528015611e29576020820181803683370190505b509050600360fc1b81600081518110611e4457611e446128d8565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611e7357611e736128d8565b60200101906001600160f81b031916908160001a9053506000611e97846002612d61565b611ea2906001612904565b90505b6001811115611f1a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611ed657611ed66128d8565b1a60f81b828281518110611eec57611eec6128d8565b60200101906001600160f81b031916908160001a90535060049490941c93611f1381612d9a565b9050611ea5565b508315611c355760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610711565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092018352602080830180516001600160e01b03166323b872dd60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526111c99287929160009161200191851690849061207e565b8051909150156107f6578080602001905181019061201f91906127b4565b6107f65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610711565b606061208d8484600085612095565b949350505050565b6060824710156120f65760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610711565b600080866001600160a01b031685876040516121129190612db1565b60006040518083038185875af1925050503d806000811461214f576040519150601f19603f3d011682016040523d82523d6000602084013e612154565b606091505b509150915061216587838387612170565b979650505050505050565b606083156121dd5782516000036121d65761218a85611b2b565b6121d65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610711565b508161208d565b61208d83838151156121f25781518083602001fd5b8060405162461bcd60e51b815260040161071191906124e1565b60006020828403121561221e57600080fd5b81356001600160e01b031981168114611c3557600080fd5b6001600160a01b038116811461065857600080fd5b60006020828403121561225d57600080fd5b8135611c3581612236565b60006020828403121561227a57600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b600481106122b557634e487b7160e01b600052602160045260246000fd5b9052565b602081016106328284612297565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612305576123056122c7565b604052919050565b60006001600160401b03821115612326576123266122c7565b5060051b60200190565b600082601f83011261234157600080fd5b813560206123566123518361230d565b6122dd565b82815260059290921b8401810191818101908684111561237557600080fd5b8286015b848110156123905780358352918301918301612379565b509695505050505050565b600082601f8301126123ac57600080fd5b813560206123bc6123518361230d565b82815260059290921b840181019181810190868411156123db57600080fd5b8286015b848110156123905780356123f281612236565b83529183019183016123df565b600080600080600060a0868803121561241757600080fd5b85359450602086013561242981612236565b9350604086013561243981612236565b925060608601356001600160401b038082111561245557600080fd5b61246189838a01612330565b9350608088013591508082111561247757600080fd5b506124848882890161239b565b9150509295509295909350565b60005b838110156124ac578181015183820152602001612494565b50506000910152565b600081518084526124cd816020860160208601612491565b601f01601f19169290920160200192915050565b602081526000611c3560208301846124b5565b6000806040838503121561250757600080fd5b82359150602083013561251981612236565b809150509250929050565b60006020828403121561253657600080fd5b81356001600160401b0381111561254c57600080fd5b61208d84828501612330565b600080600080600080600060e0888a03121561257357600080fd5b8735965060208801359550604088013561258c81612236565b9450606088013561259c81612236565b93506080880135925060a08801356001600160401b03808211156125bf57600080fd5b6125cb8b838c01612330565b935060c08a01359150808211156125e157600080fd5b506125ee8a828b0161239b565b91505092959891949750929550565b60008060008060008060c0878903121561261657600080fd5b8635955060208701359450604087013561262f81612236565b9350606087013561263f81612236565b925060808701356001600160401b038082111561265b57600080fd5b6126678a838b01612330565b935060a089013591508082111561267d57600080fd5b5061268a89828a0161239b565b9150509295509295509295565b6000806000606084860312156126ac57600080fd5b83356126b781612236565b925060208401356126c781612236565b915060408401356126d781612236565b809150509250925092565b600080604083850312156126f557600080fd5b50508035926020909101359150565b60008060006060848603121561271957600080fd5b833561272481612236565b9250602084810135925060408501356001600160401b038082111561274857600080fd5b818701915087601f83011261275c57600080fd5b81358181111561276e5761276e6122c7565b612780601f8201601f191685016122dd565b9150808252888482850101111561279657600080fd5b80848401858401376000848284010152508093505050509250925092565b6000602082840312156127c657600080fd5b81518015158114611c3557600080fd5b82815260408101611c356020830184612297565b6004811061065857600080fd5b60006020828403121561280957600080fd5b8151611c35816127ea565b600081518084526020808501945080840160005b8381101561284457815187529582019590820190600101612828565b509495945050505050565b600081518084526020808501945080840160005b838110156128445781516001600160a01b031687529582019590820190600101612863565b8581526001600160a01b0385811660208301528416604082015260a0606082018190526000906128ba90830185612814565b82810360808401526128cc818561284f565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610632576106326128ee565b600060018201612929576129296128ee565b5060010190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60006020828403121561299057600080fd5b8151611c3581612236565b60208082526031908201527f416d6f756e747320616e642052656365697665727320617267756d656e7473206040820152700d0c2ecca40eee4dedcce40d8cadccee8d607b1b606082015260800190565b848152608060208201526000612a056080830186612814565b8281036040840152612a17818661284f565b91505060018060a01b038316606083015295945050505050565b6020808252601b908201527a149bde585b1d1a595cc8185c99481b9bdd081cd85d1a5cd99a5959602a1b604082015260600190565b602080825260189082015277496e76616c6964206d61726b6574706c616365206665657360401b604082015260600190565b600080600060608486031215612aad57600080fd5b8351612ab8816127ea565b6020850151604086015191945092506126d781612236565b6001600160a01b03858116825284166020820152608060408201819052600090612afc9083018561284f565b82810360608401526121658185612814565b600082601f830112612b1f57600080fd5b81516020612b2f6123518361230d565b82815260059290921b84018101918181019086841115612b4e57600080fd5b8286015b84811015612390578051612b6581612236565b8352918301918301612b52565b600080600080600060a08688031215612b8a57600080fd5b85519450602080870151612b9d81612236565b6040880151909550612bae81612236565b60608801519094506001600160401b0380821115612bcb57600080fd5b818901915089601f830112612bdf57600080fd5b8151612bed6123518261230d565b81815260059190911b8301840190848101908c831115612c0c57600080fd5b938501935b82851015612c2a57845182529385019390850190612c11565b60808c01519097509450505080831115612c4357600080fd5b505061248488828901612b0e565b600060208284031215612c6357600080fd5b5051919050565b85815284602082015260a060408201526000612c8960a08301866124b5565b6001600160a01b03851660608401529050610f476080830184612297565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351612d24816017850160208801612491565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612d55816028840160208801612491565b01602801949350505050565b8082028115828204841417610632576106326128ee565b600082612d9557634e487b7160e01b600052601260045260246000fd5b500490565b600081612da957612da96128ee565b506000190190565b60008251612dc3818460208701612491565b919091019291505056fe77d72916e966418e6dc58a19999ae9934bef3f749f1547cde0a86e809f19c89b7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249897dbc58da93d9d82dcfd5fe4d61fd326861005c71f912cc2d035c7dc620b2e60d0d84ca08a9786cc1504b714feb890380b3babba2566d0cddbe53041d0ddb00fa2646970667358221220bdafd8da6f7f3ad62dd94bb6a1e52b4599b9ff577cce68ed9fa587f688a3ce0c64736f6c63430008110033", + "address": "0xB4F43b80622Ca3AF6C5C6cCe5B25B31498F319B4", + "implementation": "0xB4F43b80622Ca3AF6C5C6cCe5B25B31498F319B4", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT1155Upgradeable.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT1155Upgradeable.geth-localnet.json new file mode 100644 index 0000000..68017e0 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT1155Upgradeable.geth-localnet.json @@ -0,0 +1,1289 @@ +{ + "name": "NFT1155Upgradeable", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_fromAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ercType", + "type": "uint256" + } + ], + "name": "NFTCloned", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "ids", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "values", + "type": "uint256[]" + } + ], + "name": "TransferBatch", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "TransferSingle", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "value", + "type": "string" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "URI", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "NVM_OPERATOR_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x85be5724" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "didRegistryAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "string", + "name": "uri_", + "type": "string" + } + ], + "name": "__NFT1155Upgradeable_init", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf80795f8" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "didRegistryAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "string", + "name": "uri_", + "type": "string" + } + ], + "name": "__NFT1155Upgradeable_unchained", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd70cf7af" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x00fdd58e" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "accounts", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "ids", + "type": "uint256[]" + } + ], + "name": "balanceOfBatch", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x4e1273f4" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb390c0ab" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf5298aca" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [], + "name": "contractURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe8a3d485" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_name", + "type": "string" + }, + { + "internalType": "string", + "name": "_symbol", + "type": "string" + }, + { + "internalType": "string", + "name": "_uri", + "type": "string" + }, + { + "internalType": "address[]", + "name": "_operators", + "type": "address[]" + } + ], + "name": "createClone", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1e5c2b34" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getNFTAttributes", + "outputs": [ + { + "internalType": "bool", + "name": "nftInitialized", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "nftSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mintCap", + "type": "uint256" + }, + { + "internalType": "string", + "name": "nftURI", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x47c4ef25" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x27ac0c58" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "didRegistryAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "string", + "name": "uri_", + "type": "string" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3f2f5ee2" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe985e9c5" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isOperator", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6d70f7ae" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1b2ef1ca" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x731133e9" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" + }, + { + "inputs": [], + "name": "nftType", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x6fac889b" + }, + { + "inputs": [], + "name": "nvmConfig", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe9c1e045" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3d6d3598" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb219f7d7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "royaltyInfo", + "outputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "royaltyAmount", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x2a55205a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "ids", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "amounts", + "type": "uint256[]" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeBatchTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2eb2c2d6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf242432a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa22cb465" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_uri", + "type": "string" + } + ], + "name": "setContractMetadataUri", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd2423105" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "nftSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mintCap", + "type": "uint256" + }, + { + "internalType": "string", + "name": "nftURI", + "type": "string" + } + ], + "name": "setNFTAttributes", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x97cfb1a9" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "nftURI", + "type": "string" + } + ], + "name": "setNFTMetadata", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x237c4919" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "setNvmConfigAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x02acb9a6" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "royaltyAmount", + "type": "uint256" + } + ], + "name": "setTokenRoyalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x9713c807" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x95d89b41" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "uri", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x0e89341c" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50613b51806100206000396000f3fe608060405234801561001057600080fd5b50600436106102455760003560e01c8062fdd58e1461024a57806301ffc9a71461027057806302acb9a61461029357806306fdde03146102a85780630e89341c146102bd57806316279055146102d05780631b2ef1ca146102e45780631e5c2b34146102f7578063237c491914610317578063248a9ca31461032a57806327ac0c581461033d5780632a55205a146103505780632eb2c2d6146103825780632f2ff15d1461039557806336568abe146103a85780633d6d3598146103bb5780633f2f5ee2146103c357806347c4ef25146103d65780634e1273f4146103f9578063572b6c05146104195780635ced058e1461042c5780635ea3ab851461043d5780636d70f7ae146104505780636fac889b146104635780636fd902e114610489578063715018a61461048f578063731133e91461049757806382c947b7146104aa57806385be5724146104c45780638da5cb5b146104d957806391d14854146104e157806395d89b41146104f45780639713c807146104fc57806397cfb1a91461050f578063a217fddf14610522578063a22cb4651461052a578063ab9de2301461053d578063b219f7d714610545578063b390c0ab14610558578063ce1b815f1461056b578063d242310514610573578063d547741f14610586578063d70cf7af14610599578063e8a3d485146105ac578063e985e9c5146105b4578063e9c1e045146105c7578063f242432a146105da578063f2fde38b146105ed578063f5298aca14610600578063f80795f814610613575b600080fd5b61025d610258366004612b00565b610626565b6040519081526020015b60405180910390f35b61028361027e366004612b42565b6106c1565b6040519015158152602001610267565b6102a66102a1366004612b5f565b6106fb565b005b6102b0610725565b6040516102679190612bcc565b6102b06102cb366004612bdf565b6107b4565b6102836102de366004612b5f565b3b151590565b6102a66102f2366004612bf8565b610859565b61030a610305366004612d6c565b61087f565b6040516102679190612e18565b6102a6610325366004612e2c565b610a85565b61025d610338366004612bdf565b610ab6565b6102a661034b366004612b5f565b610acb565b61036361035e366004612bf8565b610b36565b604080516001600160a01b039093168352602083019190915201610267565b6102a6610390366004612ece565b610b8c565b6102a66103a3366004612f7b565b610bea565b6102a66103b6366004612f7b565b610c0b565b6102a6610c95565b6102a66103d1366004612fab565b610cb6565b6103e96103e4366004612bdf565b610e36565b6040516102679493929190613028565b61040c610407366004613059565b610f33565b60405161026791906130ed565b610283610427366004612b5f565b61105c565b61030a61043a366004612bdf565b90565b61025d61044b366004613100565b611081565b61028361045e366004612b5f565b6110d0565b7f894a6628092368f5e2a2d4f9d05b52a6cfeb5fdc66b5f063b7bf7da04d2a126961025d565b4361025d565b6102a66110ea565b6102a66104a536600461313c565b6110fc565b61025d6104b8366004612b5f565b6001600160a01b031690565b61025d600080516020613adc83398151915281565b61030a6113d9565b6102836104ef366004612f7b565b6113e8565b6102b0611413565b6102a661050a366004613192565b611421565b6102a661051d3660046131ca565b611453565b61025d600081565b6102a6610538366004613219565b611486565b61030a611498565b6102a6610553366004612b5f565b6114a7565b6102a6610566366004612bf8565b61150f565b61030a611521565b6102a6610581366004613247565b6115ac565b6102a6610594366004612f7b565b611608565b6102a66105a7366004612fab565b611624565b6102b0611704565b6102836105c236600461327b565b611796565b60ff5461030a906001600160a01b031681565b6102a66105e83660046132a9565b6117d7565b6102a66105fb366004612b5f565b61182e565b6102a661060e366004613311565b6118a4565b6102a6610621366004612fab565b611a72565b60006001600160a01b0383166106965760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526097602090815260408083206001600160a01b03861684529091529020545b92915050565b60006106cc82611acf565b806106db57506106db82611af0565b806106bb57506001600160e01b0319821663152a902d60e11b1492915050565b610703611b40565b60ff80546001600160a01b0319166001600160a01b0392909216919091179055565b610100805461073390613346565b80601f016020809104026020016040519081016040528092919081815260200182805461075f90613346565b80156107ac5780601f10610781576101008083540402835291602001916107ac565b820191906000526020600020905b81548152906001019060200180831161078f57829003601f168201915b505050505081565b600081815260fc602052604090206003018054606091906107d490613346565b80601f016020809104026020016040519081016040528092919081815260200182805461080090613346565b801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b50505050509050919050565b61087b610864611baf565b8383604051806020016040528060008152506110fc565b5050565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000906001600160a01b0316806108b55750305b60006108c082611bbe565b9050806001600160a01b038116633f2f5ee26108da611baf565b610102546040516001600160e01b031960e085901b16815261090f92916001600160a01b0316908d908d908d90600401613380565b600060405180830381600087803b15801561092957600080fd5b505af115801561093d573d6000803e3d6000fd5b5050505060005b85518110156109d757816001600160a01b03166327ac0c5887838151811061096e5761096e6133de565b60200260200101516040518263ffffffff1660e01b81526004016109929190612e18565b600060405180830381600087803b1580156109ac57600080fd5b505af11580156109c0573d6000803e3d6000fd5b5050505080806109cf9061340a565b915050610944565b50806001600160a01b0316633d6d35986040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a1357600080fd5b505af1158015610a27573d6000803e3d6000fd5b50505050826001600160a01b0316826001600160a01b03167f60b02f0439b830955522ba890ebaeed1012ac175aba5742b6032a7b79d0cd734610483604051610a7291815260200190565b60405180910390a3509695505050505050565b610a9061045e611baf565b610aac5760405162461bcd60e51b815260040161068d90613423565b61087b8282611c58565b600090815260c9602052604090206001015490565b610ad3611baf565b6001600160a01b0316610ae46113d9565b6001600160a01b03161480610aff5750610aff61045e611baf565b610b1b5760405162461bcd60e51b815260040161068d9061344e565b610b33600080516020613adc83398151915282611c7e565b50565b600082815260fb60209081526040808320815180830190925280546001600160a01b03168083526001909101549282018390529291606490610b78908661347e565b610b829190613495565b9150509250929050565b610b94611baf565b6001600160a01b0316856001600160a01b03161480610bba5750610bba856105c2611baf565b610bd65760405162461bcd60e51b815260040161068d906134b7565b610be38585858585611c88565b5050505050565b610bf382610ab6565b610bfc81611e79565b610c068383611e8a565b505050565b610c13611baf565b6001600160a01b0316816001600160a01b031614610c8b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161068d565b61087b8282611f11565b610cb4600080516020613adc833981519152610caf611baf565b611f11565b565b600054610100900460ff1615808015610cd65750600054600160ff909116105b80610cf75750610ce530611f96565b158015610cf7575060005460ff166001145b610d5a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161068d565b6000805460ff191660011790558015610d7d576000805461ff0019166101001790555b6001600160a01b03861615801590610d9d57506001600160a01b03851615155b610ddb5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161068d565b610de88686868686611a72565b8015610e2e576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b600081815260fc602090815260408083208151608081018352815460ff16151581526001820154938101939093526002810154918301919091526003810180548493849360609385938386019190610e8d90613346565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb990613346565b8015610f065780601f10610edb57610100808354040283529160200191610f06565b820191906000526020600020905b815481529060010190602001808311610ee957829003601f168201915b505050919092525050815160208301516040840151606090940151919a9099509297509550909350505050565b60608151835114610f985760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161068d565b600083516001600160401b03811115610fb357610fb3612c1a565b604051908082528060200260200182016040528015610fdc578160200160208202803683370190505b50905060005b845181101561105457611027858281518110611000576110006133de565b602002602001015185838151811061101a5761101a6133de565b6020026020010151610626565b828281518110611039576110396133de565b602090810291909101015261104d8161340a565b9050610fe2565b509392505050565b6000611066611521565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156110c9578381815181106110a2576110a26133de565b6020026020010151826110b59190613505565b9150806110c18161340a565b915050611087565b5092915050565b60006106bb600080516020613adc833981519152836113e8565b6110f2611b40565b610cb46000611fa5565b61110761045e611baf565b8061112a57506111156113d9565b6001600160a01b0316846001600160a01b0316145b806111ba575061010254604051631b0bbd4960e21b8152600481018590526001600160a01b0390911690636c2ef52490602401602060405180830381865afa15801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e9190613518565b6001600160a01b03166111af611baf565b6001600160a01b0316145b6111ff5760405162461bcd60e51b81526020600482015260166024820152751bdb9b1e481bdc195c985d1bdc8818d85b881b5a5b9d60521b604482015260640161068d565b600083815260fc602052604090205460ff166112535760405162461bcd60e51b8152602060048201526013602482015272139195081b9bdd081a5b9a5d1a585b1a5e9959606a1b604482015260640161068d565b600083815260fc6020526040902060020154156112cb57600083815260fc60205260409020600281015460019091015461128e908490613505565b11156112cb5760405162461bcd60e51b815260206004820152600c60248201526b10d85c08195e18d95959195960a21b604482015260640161068d565b600083815260fc6020526040812060010180548492906112ec908490613505565b9091555050610102546001600160a01b031663bb794d928461130c611baf565b8543604051602001611321949392919061354c565b604051602081830303815290604052805190602001208560001b611343611baf565b7fdaf0b3c5710379609eb5495f1ecd348cb28167711b73609fe565a727345503546040518563ffffffff1660e01b81526004016113839493929190613588565b6020604051808303816000875af11580156113a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c691906135c8565b506113d384848484611ff7565b50505050565b6033546001600160a01b031690565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610101805461073390613346565b61142c61045e611baf565b6114485760405162461bcd60e51b815260040161068d90613423565b610c06838383612115565b61145e61045e611baf565b61147a5760405162461bcd60e51b815260040161068d90613423565b6113d3848484846121ad565b61087b611491611baf565b83836121e1565b60ff546001600160a01b031690565b6114af611baf565b6001600160a01b03166114c06113d9565b6001600160a01b031614806114db57506114db61045e611baf565b6114f75760405162461bcd60e51b815260040161068d9061344e565b610b33600080516020613adc83398151915282611f11565b61087b61151a611baf565b83836118a4565b60008061152c611498565b90506001600160a01b03811661154457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a69190613518565b91505090565b6115b4611baf565b6001600160a01b03166115c56113d9565b6001600160a01b031614806115e057506115e061045e611baf565b6115fc5760405162461bcd60e51b815260040161068d9061344e565b60fe61087b828261362b565b61161182610ab6565b61161a81611e79565b610c068383611f11565b600054610100900460ff1661164b5760405162461bcd60e51b815260040161068d906136ea565b61166a600080516020613adc833981519152611665611baf565b611c7e565b611682600080516020613adc83398151915285611c7e565b61169a600080516020613adc83398151915286611c7e565b6116a3816115ac565b6101006116b0848261362b565b506101016116be838261362b565b5061010280546001600160a01b0319166001600160a01b0386161790556116e3611baf565b6001600160a01b0316856001600160a01b031614610be357610be38561182e565b606060fe805461171390613346565b80601f016020809104026020016040519081016040528092919081815260200182805461173f90613346565b801561178c5780601f106117615761010080835404028352916020019161178c565b820191906000526020600020905b81548152906001019060200180831161176f57829003601f168201915b5050505050905090565b6001600160a01b03808316600090815260986020908152604080832093851683529290529081205460ff16806117d057506117d0826110d0565b9392505050565b6117df611baf565b6001600160a01b0316856001600160a01b031614806118055750611805856105c2611baf565b6118215760405162461bcd60e51b815260040161068d906134b7565b610be385858585856122c1565b611836611b40565b6001600160a01b03811661189b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068d565b610b3381611fa5565b806118af8484610626565b10156118cd5760405162461bcd60e51b815260040161068d90613735565b6118d861045e611baf565b806118fb57506118e6611baf565b6001600160a01b0316836001600160a01b0316145b8061190d575061190d836105c2611baf565b61196b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161068d565b600082815260fc60205260408120600101805483929061198c908490613779565b9091555050610102546001600160a01b031663bb794d92836119ac611baf565b84436040516020016119c194939291906137a3565b604051602081830303815290604052805190602001208460001b6119e3611baf565b7ff43e8cfd4725c1e28fa4a6e3e468b4fcf75367166b850ac5f04e33ec843e82c16040518563ffffffff1660e01b8152600401611a2394939291906137cc565b6020604051808303816000875af1158015611a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6691906135c8565b50610c068383836123f6565b600054610100900460ff16611a995760405162461bcd60e51b815260040161068d906136ea565b611aa1612547565b611aa9612547565b611ab28161256e565b611aba61259e565b611ac2612547565b610be38585858585611624565b60006001600160e01b03198216637965db0b60e01b14806106bb57506106bb825b60006001600160e01b03198216636cdb3d1360e11b1480611b2157506001600160e01b031982166303a24d0760e21b145b806106bb57506301ffc9a760e01b6001600160e01b03198316146106bb565b611b48611baf565b6001600160a01b0316611b596113d9565b6001600160a01b031614610cb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161068d565b6000611bb96125d5565b905090565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611c535760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b604482015260640161068d565b919050565b600082815260fc60205260409020805460ff19166001178155600301610c06828261362b565b61087b8282611e8a565b8151835114611cea5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161068d565b6001600160a01b038416611d105760405162461bcd60e51b815260040161068d9061380c565b6000611d1a611baf565b9050611d2a818787878787612603565b60005b8451811015611e13576000858281518110611d4a57611d4a6133de565b602002602001015190506000858381518110611d6857611d686133de565b60209081029190910181015160008481526097835260408082206001600160a01b038e168352909352919091205490915081811015611db95760405162461bcd60e51b815260040161068d90613851565b60008381526097602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611df8908490613505565b9250508190555050505080611e0c9061340a565b9050611d2d565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611e6392919061389b565b60405180910390a4610e2e81878787878761266a565b610b3381611e85611baf565b6127cc565b611e9482826113e8565b61087b57600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611ecd611baf565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611f1b82826113e8565b1561087b57600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19169055611f52611baf565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b03163b151590565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166120575760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161068d565b6000612061611baf565b9050600061206e85612825565b9050600061207b85612825565b905061208c83600089858589612603565b60008681526097602090815260408083206001600160a01b038b168452909152812080548792906120be908490613505565b909155505060408051878152602081018790526001600160a01b03808a169260009291871691600080516020613afc833981519152910160405180910390a461210c83600089898989612870565b50505050505050565b620f42408111156121655760405162461bcd60e51b815260206004820152601a60248201527908aa48664727062a4def2c2d8e8d2cae67440a8dede40d0d2ced60331b604482015260640161068d565b6040805180820182526001600160a01b0393841681526020808201938452600095865260fb90529320925183546001600160a01b031916921691909117825551600190910155565b600084815260fc60205260409020805460ff191660019081178255810184905560028101839055600301610be3828261362b565b816001600160a01b0316836001600160a01b0316036122545760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161068d565b6001600160a01b03838116600081815260986020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166122e75760405162461bcd60e51b815260040161068d9061380c565b60006122f1611baf565b905060006122fe85612825565b9050600061230b85612825565b905061231b838989858589612603565b60008681526097602090815260408083206001600160a01b038c1684529091529020548581101561235e5760405162461bcd60e51b815260040161068d90613851565b60008781526097602090815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061239d908490613505565b909155505060408051888152602081018890526001600160a01b03808b16928c82169291881691600080516020613afc833981519152910160405180910390a46123eb848a8a8a8a8a612870565b505050505050505050565b6001600160a01b0383166124585760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161068d565b6000612462611baf565b9050600061246f84612825565b9050600061247c84612825565b905061249c83876000858560405180602001604052806000815250612603565b60008581526097602090815260408083206001600160a01b038a168452909152902054848110156124df5760405162461bcd60e51b815260040161068d90613735565b60008681526097602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a9052909290881691600080516020613afc833981519152910160405180910390a460408051602081019091526000905261210c565b600054610100900460ff16610cb45760405162461bcd60e51b815260040161068d906136ea565b600054610100900460ff166125955760405162461bcd60e51b815260040161068d906136ea565b610b3381612932565b600054610100900460ff166125c55760405162461bcd60e51b815260040161068d906136ea565b610cb46125d0611baf565b611fa5565b6000601436108015906125ec57506125ec3361105c565b156125fe575060131936013560601c90565b503390565b6001600160a01b038516158061262057506001600160a01b038416155b80612631575061263161045e611baf565b610e2e5760405162461bcd60e51b815260206004820152600a6024820152696f6e6c792070726f787960b01b604482015260640161068d565b61267c846001600160a01b0316611f96565b15610e2e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906126b590899089908890889088906004016138c9565b6020604051808303816000875af19250505080156126f0575060408051601f3d908101601f191682019092526126ed91810190613907565b60015b61279c576126fc613924565b806308c379a003612735575061271061393f565b8061271b5750612737565b8060405162461bcd60e51b815260040161068d9190612bcc565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161068d565b6001600160e01b0319811663bc197c8160e01b1461210c5760405162461bcd60e51b815260040161068d906139c8565b6127d682826113e8565b61087b576127e38161293e565b6127ee836020612950565b6040516020016127ff929190613a10565b60408051601f198184030181529082905262461bcd60e51b825261068d91600401612bcc565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061285f5761285f6133de565b602090810291909101015292915050565b612882846001600160a01b0316611f96565b15610e2e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906128bb9089908990889088908890600401613a7f565b6020604051808303816000875af19250505080156128f6575060408051601f3d908101601f191682019092526128f391810190613907565b60015b612902576126fc613924565b6001600160e01b0319811663f23a6e6160e01b1461210c5760405162461bcd60e51b815260040161068d906139c8565b609961087b828261362b565b60606106bb6001600160a01b03831660145b6060600061295f83600261347e565b61296a906002613505565b6001600160401b0381111561298157612981612c1a565b6040519080825280601f01601f1916602001820160405280156129ab576020820181803683370190505b509050600360fc1b816000815181106129c6576129c66133de565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106129f5576129f56133de565b60200101906001600160f81b031916908160001a9053506000612a1984600261347e565b612a24906001613505565b90505b6001811115612a9c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612a5857612a586133de565b1a60f81b828281518110612a6e57612a6e6133de565b60200101906001600160f81b031916908160001a90535060049490941c93612a9581613ac4565b9050612a27565b5083156117d05760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161068d565b6001600160a01b0381168114610b3357600080fd5b60008060408385031215612b1357600080fd5b8235612b1e81612aeb565b946020939093013593505050565b6001600160e01b031981168114610b3357600080fd5b600060208284031215612b5457600080fd5b81356117d081612b2c565b600060208284031215612b7157600080fd5b81356117d081612aeb565b60005b83811015612b97578181015183820152602001612b7f565b50506000910152565b60008151808452612bb8816020860160208601612b7c565b601f01601f19169290920160200192915050565b6020815260006117d06020830184612ba0565b600060208284031215612bf157600080fd5b5035919050565b60008060408385031215612c0b57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612c5557612c55612c1a565b6040525050565b600082601f830112612c6d57600080fd5b81356001600160401b03811115612c8657612c86612c1a565b604051612c9d601f8301601f191660200182612c30565b818152846020838601011115612cb257600080fd5b816020850160208301376000918101602001919091529392505050565b60006001600160401b03821115612ce857612ce8612c1a565b5060051b60200190565b600082601f830112612d0357600080fd5b81356020612d1082612ccf565b604051612d1d8282612c30565b83815260059390931b8501820192828101915086841115612d3d57600080fd5b8286015b84811015612d61578035612d5481612aeb565b8352918301918301612d41565b509695505050505050565b60008060008060808587031215612d8257600080fd5b84356001600160401b0380821115612d9957600080fd5b612da588838901612c5c565b95506020870135915080821115612dbb57600080fd5b612dc788838901612c5c565b94506040870135915080821115612ddd57600080fd5b612de988838901612c5c565b93506060870135915080821115612dff57600080fd5b50612e0c87828801612cf2565b91505092959194509250565b6001600160a01b0391909116815260200190565b60008060408385031215612e3f57600080fd5b8235915060208301356001600160401b03811115612e5c57600080fd5b610b8285828601612c5c565b600082601f830112612e7957600080fd5b81356020612e8682612ccf565b604051612e938282612c30565b83815260059390931b8501820192828101915086841115612eb357600080fd5b8286015b84811015612d615780358352918301918301612eb7565b600080600080600060a08688031215612ee657600080fd5b8535612ef181612aeb565b94506020860135612f0181612aeb565b935060408601356001600160401b0380821115612f1d57600080fd5b612f2989838a01612e68565b94506060880135915080821115612f3f57600080fd5b612f4b89838a01612e68565b93506080880135915080821115612f6157600080fd5b50612f6e88828901612c5c565b9150509295509295909350565b60008060408385031215612f8e57600080fd5b823591506020830135612fa081612aeb565b809150509250929050565b600080600080600060a08688031215612fc357600080fd5b8535612fce81612aeb565b94506020860135612fde81612aeb565b935060408601356001600160401b0380821115612ffa57600080fd5b61300689838a01612c5c565b9450606088013591508082111561301c57600080fd5b612f4b89838a01612c5c565b841515815283602082015282604082015260806060820152600061304f6080830184612ba0565b9695505050505050565b6000806040838503121561306c57600080fd5b82356001600160401b038082111561308357600080fd5b61308f86838701612cf2565b935060208501359150808211156130a557600080fd5b50610b8285828601612e68565b600081518084526020808501945080840160005b838110156130e2578151875295820195908201906001016130c6565b509495945050505050565b6020815260006117d060208301846130b2565b60006020828403121561311257600080fd5b81356001600160401b0381111561312857600080fd5b61313484828501612e68565b949350505050565b6000806000806080858703121561315257600080fd5b843561315d81612aeb565b9350602085013592506040850135915060608501356001600160401b0381111561318657600080fd5b612e0c87828801612c5c565b6000806000606084860312156131a757600080fd5b8335925060208401356131b981612aeb565b929592945050506040919091013590565b600080600080608085870312156131e057600080fd5b84359350602085013592506040850135915060608501356001600160401b0381111561318657600080fd5b8015158114610b3357600080fd5b6000806040838503121561322c57600080fd5b823561323781612aeb565b91506020830135612fa08161320b565b60006020828403121561325957600080fd5b81356001600160401b0381111561326f57600080fd5b61313484828501612c5c565b6000806040838503121561328e57600080fd5b823561329981612aeb565b91506020830135612fa081612aeb565b600080600080600060a086880312156132c157600080fd5b85356132cc81612aeb565b945060208601356132dc81612aeb565b9350604086013592506060860135915060808601356001600160401b0381111561330557600080fd5b612f6e88828901612c5c565b60008060006060848603121561332657600080fd5b833561333181612aeb565b95602085013595506040909401359392505050565b600181811c9082168061335a57607f821691505b60208210810361337a57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0386811682528516602082015260a0604082018190526000906133ac90830186612ba0565b82810360608401526133be8186612ba0565b905082810360808401526133d28185612ba0565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161341c5761341c6133f4565b5060010190565b60208082526011908201527037b7363c9037333a1037b832b930ba37b960791b604082015260600190565b60208082526016908201527527b7363c9037b832b930ba37b91037b91037bbb732b960511b604082015260600190565b80820281158282048414176106bb576106bb6133f4565b6000826134b257634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b808201808211156106bb576106bb6133f4565b60006020828403121561352a57600080fd5b81516117d081612aeb565b60048152631b5a5b9d60e21b602082015260400190565b8481526001600160a01b038416602082015260a060408201819052600090613575908301613535565b6060830194909452506080015292915050565b84815283602082015260018060a01b038316604082015281606082015260c06080820152600060c082015260e060a0820152600061304f60e08301613535565b6000602082840312156135da57600080fd5b81516117d08161320b565b601f821115610c0657600081815260208120601f850160051c8101602086101561360c5750805b601f850160051c820191505b81811015610e2e57828155600101613618565b81516001600160401b0381111561364457613644612c1a565b613658816136528454613346565b846135e5565b602080601f83116001811461368d57600084156136755750858301515b600019600386901b1c1916600185901b178555610e2e565b600085815260208120601f198616915b828110156136bc5788860151825594840194600190910190840161369d565b50858210156136da5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b818103818111156106bb576106bb6133f4565b6004815263313ab93760e11b602082015260400190565b8481526001600160a01b038416602082015260a06040820181905260009061357590830161378c565b84815283602082015260018060a01b038316604082015281606082015260c06080820152600060c082015260e060a0820152600061304f60e0830161378c565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006138ae60408301856130b2565b82810360208401526138c081856130b2565b95945050505050565b6001600160a01b0386811682528516602082015260a0604082018190526000906138f5908301866130b2565b82810360608401526133be81866130b2565b60006020828403121561391957600080fd5b81516117d081612b2c565b600060033d111561043a5760046000803e5060005160e01c90565b600060443d101561394d5790565b6040516003193d81016004833e81513d6001600160401b03808311602484018310171561397c57505050505090565b82850191508151818111156139945750505050505090565b843d87010160208285010111156139ae5750505050505090565b6139bd60208286010187612c30565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351613a42816017850160208801612b7c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613a73816028840160208801612b7c565b01602801949350505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090613ab990830184612ba0565b979650505050505050565b600081613ad357613ad36133f4565b50600019019056fef7a17991623d7e30ebf9bd089b2f4dcf33b0aa34727454bfa3dbc351ed7d6835c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62a264697066735822122078d15551c33250cbc49cddfc16a26abdaa3588cbf4b478e34753f925638a514164736f6c63430008110033", + "address": "0xe6A3980DaF4060e4b7e98Fa0AEf156B5cd6cD99E", + "implementation": "0xf81Fd0ff37bfFC0709C66Aae11badb1bA88Ef3AE", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721AccessDLEQTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721AccessDLEQTemplate.geth-localnet.json new file mode 100644 index 0000000..c2dd5ab --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721AccessDLEQTemplate.geth-localnet.json @@ -0,0 +1,556 @@ +{ + "name": "NFT721AccessDLEQTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftHolderConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aaf806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063ce1b815f146102ce578063f2fde38b146102e3578063f8c8765e14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610fa8565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f3660046110a0565b610336565b005b34801561014257600080fd5b5061013461015136600461113b565b6103dd565b34801561016257600080fd5b506100ff610171366004610fa8565b610400565b34801561018257600080fd5b506101946101913660046111e9565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c736600461120f565b610425565b60405190815260200161010b565b6101346101e83660046112af565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111e9565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610fa8565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611404565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b50610194610821565b3480156102ef57600080fd5b506101346102fe366004610fa8565b6108ac565b34801561030f57600080fd5b5061013461031e366004611417565b61092a565b610134610331366004611473565b610bda565b6066546001600160a01b031663955d0c2a86610350610c07565b60405160200161036192919061159e565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115e5565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c11565b505050505050565b600061040a610821565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d578381815181106104465761044661164b565b6020026020010151826104599190611677565b9150806104658161168a565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c07565b6040516020016104b292919061159e565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c07565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b815260040161055291906116a3565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c9565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118de565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c861164b565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cdd565b6107196000610d4c565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c9565b905090565b60008061082c61078c565b90506001600160a01b03811661084457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906117c9565b91505090565b6108b4610cdd565b6001600160a01b03811661091e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61092781610d4c565b50565b600054610100900460ff161580801561094a5750600054600160ff909116105b806109645750303b158015610964575060005460ff166001145b6109c75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610915565b6000805460ff1916600117905580156109ea576000805461ff0019166101001790555b6001600160a01b03851615801590610a0a57506001600160a01b03841615155b8015610a1e57506001600160a01b03831615155b8015610a3257506001600160a01b03821615155b610a705760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610915565b610a78610d9e565b610a81856108ac565b606680546001600160a01b0319166001600160a01b0386169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906117c9565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216868416908117909155606b80548316868516178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c79182018054871690951790945591548154938401909155910180549190931691161790558015610bd3576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610bec8b8b8b8b8b8a8a8a8a8a610474565b610bfa8b8b8a8a8a8e610c11565b5050505050505050505050565b600061081c610dcd565b600086610c1c610c07565b604051602001610c2d92919061159e565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610cb08f82610dfb565b8f610cb9610c07565b604051610ccc97969594939291906119b6565b60405180910390a450505050505050565b610ce5610c07565b6001600160a01b0316610cf661071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610915565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610dc55760405162461bcd60e51b815260040161091590611a2e565b610719610f4c565b600060143610801590610de45750610de433610400565b15610df6575060131936013560601c90565b503390565b6060600083610e08610c07565b604051602001610e1992919061159e565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e4c57610e4c610fcc565b604051908082528060200260200182016040528015610e75578160200160208202803683370190505b50905060005b8151811015610f41578260658281548110610e9857610e9861164b565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ec857610ec861164b565b6020026020010151604051602001610efc939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f2457610f2461164b565b602090810291909101015280610f398161168a565b915050610e7b565b509150505b92915050565b600054610100900460ff16610f735760405162461bcd60e51b815260040161091590611a2e565b610719610f7e610c07565b610d4c565b6001600160a01b038116811461092757600080fd5b8035610fa381610f83565b919050565b600060208284031215610fba57600080fd5b8135610fc581610f83565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561100a5761100a610fcc565b604052919050565b60006001600160401b0382111561102b5761102b610fcc565b5060051b60200190565b600082601f83011261104657600080fd5b8135602061105b61105683611012565b610fe2565b82815260059290921b8401810191818101908684111561107a57600080fd5b8286015b84811015611095578035835291830191830161107e565b509695505050505050565b600080600080600060a086880312156110b857600080fd5b853594506020860135935060408601356001600160401b03808211156110dd57600080fd5b6110e989838a01611035565b945060608801359150808211156110ff57600080fd5b61110b89838a01611035565b9350608088013591508082111561112157600080fd5b5061112e88828901611035565b9150509295509295909350565b60008060008060008060c0878903121561115457600080fd5b863595506020870135945060408701356001600160401b038082111561117957600080fd5b6111858a838b01611035565b9550606089013591508082111561119b57600080fd5b6111a78a838b01611035565b945060808901359150808211156111bd57600080fd5b506111ca89828a01611035565b92505060a08701356111db81610f83565b809150509295509295509295565b6000602082840312156111fb57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561122157600080fd5b81356001600160401b0381111561123757600080fd5b61124384828501611035565b949350505050565b600082601f83011261125c57600080fd5b8135602061126c61105683611012565b82815260059290921b8401810191818101908684111561128b57600080fd5b8286015b848110156110955780356112a281610f83565b835291830191830161128f565b6000806000806000806000806000806101408b8d0312156112cf57600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112f457600080fd5b6113008e838f01611035565b995060608d013591508082111561131657600080fd5b6113228e838f01611035565b985060808d013591508082111561133857600080fd5b6113448e838f01611035565b975060a08d0135965061135960c08e01610f98565b955061136760e08e01610f98565b94506101008d013591508082111561137e57600080fd5b61138a8e838f01611035565b93506101208d01359150808211156113a157600080fd5b506113ae8d828e0161124b565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113f95781516001600160a01b0316875295820195908201906001016113d4565b509495945050505050565b602081526000610fc560208301846113c0565b6000806000806080858703121561142d57600080fd5b843561143881610f83565b9350602085013561144881610f83565b9250604085013561145881610f83565b9150606085013561146881610f83565b939692955090935050565b60008060008060008060008060008060006101608c8e03121561149557600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b957600080fd5b6114c98e60408f01358f01611035565b99508060608e013511156114dc57600080fd5b6114ec8e60608f01358f01611035565b98508060808e013511156114ff57600080fd5b61150f8e60808f01358f01611035565b975061151d60a08e01610f98565b965060c08d0135955061153260e08e01610f98565b94506115416101008e01610f98565b9350806101208e0135111561155557600080fd5b6115668e6101208f01358f01611035565b9250806101408e0135111561157a57600080fd5b5061158c8d6101408e01358e0161124b565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113f9578151875295820195908201906001016115c9565b86815285602082015260c06040820152600061160460c08301876113c0565b828103606084015261161681876115b5565b9050828103608084015261162a81866115b5565b905082810360a084015261163e81856115b5565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f4657610f46611661565b60006001820161169c5761169c611661565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116d66101a08501836113c0565b91506060850151601f19808685030160808701526116f484836115b5565b935060808701519150808685030160a087015261171184836115b5565b935060a08701519150808685030160c087015261172e84836115b5565b935060c0870151915061174460e0870183611202565b60e087015161010087810191909152870151915061012061176781880184611202565b870151915061014061177b87820184611202565b8088015192505061016081878603018188015261179885846115b5565b9088015187820390920184880152935090506117b483826113c0565b9695505050505050565b8051610fa381610f83565b6000602082840312156117db57600080fd5b8151610fc581610f83565b600082601f8301126117f757600080fd5b81516001600160401b0381111561181057611810610fcc565b6020611824601f8301601f19168201610fe2565b828152858284870101111561183857600080fd5b60005b8381101561185657858101830151828201840152820161183b565b506000928101909101919091529392505050565b600082601f83011261187b57600080fd5b8151602061188b61105683611012565b82815260059290921b840181019181810190868411156118aa57600080fd5b8286015b848110156110955780516118c181610f83565b83529183019183016118ae565b80518015158114610fa357600080fd5b60008060008060008060008060006101208a8c0312156118fd57600080fd5b6119068a6117be565b60208b015160408c0151919a5098506001600160401b038082111561192a57600080fd5b6119368d838e016117e6565b985061194460608d016117be565b975060808c0151965060a08c015191508082111561196157600080fd5b61196d8d838e0161186a565b955060c08c0151945060e08c015191508082111561198a57600080fd5b506119978c828d016117e6565b9250506119a76101008b016118ce565b90509295985092959850929598565b87815260e0602082015260006119cf60e08301896115b5565b82810360408401526119e181896115b5565b905082810360608401526119f581886115b5565b90508281036080840152611a0981876115b5565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220191e75730b34e6b33879087a3582f823389e2b18207c1fef91c583f6b6ccce0064736f6c63430008110033", + "address": "0xCb2C20A0f8e8147389E97466306aC5C66B9feF74", + "implementation": "0xCb2C20A0f8e8147389E97466306aC5C66B9feF74", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721AccessProofTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721AccessProofTemplate.geth-localnet.json new file mode 100644 index 0000000..84660f5 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721AccessProofTemplate.geth-localnet.json @@ -0,0 +1,556 @@ +{ + "name": "NFT721AccessProofTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftHolderConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aaf806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063ce1b815f146102ce578063f2fde38b146102e3578063f8c8765e14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610fa8565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f3660046110a0565b610336565b005b34801561014257600080fd5b5061013461015136600461113b565b6103dd565b34801561016257600080fd5b506100ff610171366004610fa8565b610400565b34801561018257600080fd5b506101946101913660046111e9565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c736600461120f565b610425565b60405190815260200161010b565b6101346101e83660046112af565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111e9565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610fa8565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611404565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b50610194610821565b3480156102ef57600080fd5b506101346102fe366004610fa8565b6108ac565b34801561030f57600080fd5b5061013461031e366004611417565b61092a565b610134610331366004611473565b610bda565b6066546001600160a01b031663955d0c2a86610350610c07565b60405160200161036192919061159e565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115e5565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c11565b505050505050565b600061040a610821565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d578381815181106104465761044661164b565b6020026020010151826104599190611677565b9150806104658161168a565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c07565b6040516020016104b292919061159e565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c07565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b815260040161055291906116a3565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c9565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118de565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c861164b565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cdd565b6107196000610d4c565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c9565b905090565b60008061082c61078c565b90506001600160a01b03811661084457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906117c9565b91505090565b6108b4610cdd565b6001600160a01b03811661091e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61092781610d4c565b50565b600054610100900460ff161580801561094a5750600054600160ff909116105b806109645750303b158015610964575060005460ff166001145b6109c75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610915565b6000805460ff1916600117905580156109ea576000805461ff0019166101001790555b6001600160a01b03851615801590610a0a57506001600160a01b03841615155b8015610a1e57506001600160a01b03831615155b8015610a3257506001600160a01b03821615155b610a705760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610915565b610a78610d9e565b610a81856108ac565b606680546001600160a01b0319166001600160a01b0386169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906117c9565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216868416908117909155606b80548316868516178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c79182018054871690951790945591548154938401909155910180549190931691161790558015610bd3576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610bec8b8b8b8b8b8a8a8a8a8a610474565b610bfa8b8b8a8a8a8e610c11565b5050505050505050505050565b600061081c610dcd565b600086610c1c610c07565b604051602001610c2d92919061159e565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610cb08f82610dfb565b8f610cb9610c07565b604051610ccc97969594939291906119b6565b60405180910390a450505050505050565b610ce5610c07565b6001600160a01b0316610cf661071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610915565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610dc55760405162461bcd60e51b815260040161091590611a2e565b610719610f4c565b600060143610801590610de45750610de433610400565b15610df6575060131936013560601c90565b503390565b6060600083610e08610c07565b604051602001610e1992919061159e565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e4c57610e4c610fcc565b604051908082528060200260200182016040528015610e75578160200160208202803683370190505b50905060005b8151811015610f41578260658281548110610e9857610e9861164b565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ec857610ec861164b565b6020026020010151604051602001610efc939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f2457610f2461164b565b602090810291909101015280610f398161168a565b915050610e7b565b509150505b92915050565b600054610100900460ff16610f735760405162461bcd60e51b815260040161091590611a2e565b610719610f7e610c07565b610d4c565b6001600160a01b038116811461092757600080fd5b8035610fa381610f83565b919050565b600060208284031215610fba57600080fd5b8135610fc581610f83565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561100a5761100a610fcc565b604052919050565b60006001600160401b0382111561102b5761102b610fcc565b5060051b60200190565b600082601f83011261104657600080fd5b8135602061105b61105683611012565b610fe2565b82815260059290921b8401810191818101908684111561107a57600080fd5b8286015b84811015611095578035835291830191830161107e565b509695505050505050565b600080600080600060a086880312156110b857600080fd5b853594506020860135935060408601356001600160401b03808211156110dd57600080fd5b6110e989838a01611035565b945060608801359150808211156110ff57600080fd5b61110b89838a01611035565b9350608088013591508082111561112157600080fd5b5061112e88828901611035565b9150509295509295909350565b60008060008060008060c0878903121561115457600080fd5b863595506020870135945060408701356001600160401b038082111561117957600080fd5b6111858a838b01611035565b9550606089013591508082111561119b57600080fd5b6111a78a838b01611035565b945060808901359150808211156111bd57600080fd5b506111ca89828a01611035565b92505060a08701356111db81610f83565b809150509295509295509295565b6000602082840312156111fb57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561122157600080fd5b81356001600160401b0381111561123757600080fd5b61124384828501611035565b949350505050565b600082601f83011261125c57600080fd5b8135602061126c61105683611012565b82815260059290921b8401810191818101908684111561128b57600080fd5b8286015b848110156110955780356112a281610f83565b835291830191830161128f565b6000806000806000806000806000806101408b8d0312156112cf57600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112f457600080fd5b6113008e838f01611035565b995060608d013591508082111561131657600080fd5b6113228e838f01611035565b985060808d013591508082111561133857600080fd5b6113448e838f01611035565b975060a08d0135965061135960c08e01610f98565b955061136760e08e01610f98565b94506101008d013591508082111561137e57600080fd5b61138a8e838f01611035565b93506101208d01359150808211156113a157600080fd5b506113ae8d828e0161124b565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113f95781516001600160a01b0316875295820195908201906001016113d4565b509495945050505050565b602081526000610fc560208301846113c0565b6000806000806080858703121561142d57600080fd5b843561143881610f83565b9350602085013561144881610f83565b9250604085013561145881610f83565b9150606085013561146881610f83565b939692955090935050565b60008060008060008060008060008060006101608c8e03121561149557600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b957600080fd5b6114c98e60408f01358f01611035565b99508060608e013511156114dc57600080fd5b6114ec8e60608f01358f01611035565b98508060808e013511156114ff57600080fd5b61150f8e60808f01358f01611035565b975061151d60a08e01610f98565b965060c08d0135955061153260e08e01610f98565b94506115416101008e01610f98565b9350806101208e0135111561155557600080fd5b6115668e6101208f01358f01611035565b9250806101408e0135111561157a57600080fd5b5061158c8d6101408e01358e0161124b565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113f9578151875295820195908201906001016115c9565b86815285602082015260c06040820152600061160460c08301876113c0565b828103606084015261161681876115b5565b9050828103608084015261162a81866115b5565b905082810360a084015261163e81856115b5565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f4657610f46611661565b60006001820161169c5761169c611661565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116d66101a08501836113c0565b91506060850151601f19808685030160808701526116f484836115b5565b935060808701519150808685030160a087015261171184836115b5565b935060a08701519150808685030160c087015261172e84836115b5565b935060c0870151915061174460e0870183611202565b60e087015161010087810191909152870151915061012061176781880184611202565b870151915061014061177b87820184611202565b8088015192505061016081878603018188015261179885846115b5565b9088015187820390920184880152935090506117b483826113c0565b9695505050505050565b8051610fa381610f83565b6000602082840312156117db57600080fd5b8151610fc581610f83565b600082601f8301126117f757600080fd5b81516001600160401b0381111561181057611810610fcc565b6020611824601f8301601f19168201610fe2565b828152858284870101111561183857600080fd5b60005b8381101561185657858101830151828201840152820161183b565b506000928101909101919091529392505050565b600082601f83011261187b57600080fd5b8151602061188b61105683611012565b82815260059290921b840181019181810190868411156118aa57600080fd5b8286015b848110156110955780516118c181610f83565b83529183019183016118ae565b80518015158114610fa357600080fd5b60008060008060008060008060006101208a8c0312156118fd57600080fd5b6119068a6117be565b60208b015160408c0151919a5098506001600160401b038082111561192a57600080fd5b6119368d838e016117e6565b985061194460608d016117be565b975060808c0151965060a08c015191508082111561196157600080fd5b61196d8d838e0161186a565b955060c08c0151945060e08c015191508082111561198a57600080fd5b506119978c828d016117e6565b9250506119a76101008b016118ce565b90509295985092959850929598565b87815260e0602082015260006119cf60e08301896115b5565b82810360408401526119e181896115b5565b905082810360608401526119f581886115b5565b90508281036080840152611a0981876115b5565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220f5dad530454e73f740f130766ff42c3977bc90bf758dd9ac3b23b24414422ef164736f6c63430008110033", + "address": "0x19d34AB38F83C96677564dF1f2cA695e6C7099ba", + "implementation": "0x19d34AB38F83C96677564dF1f2cA695e6C7099ba", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721AccessSwapTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721AccessSwapTemplate.geth-localnet.json new file mode 100644 index 0000000..ede2c36 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721AccessSwapTemplate.geth-localnet.json @@ -0,0 +1,575 @@ +{ + "name": "NFT721AccessSwapTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [], + "name": "id", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xaf640d0f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessCondition", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b15806100206000396000f3fe6080604052600436106100e45760003560e01c80631459457a146100e9578063162790551461010b5780632e166f3e146101415780634183e72b14610161578063572b6c05146101815780635ced058e146101a15780635ea3ab85146101d75780636104ff1a146102055780636fd902e1146102185780636ff015ae1461022b578063715018a61461027157806382c947b7146102865780638da5cb5b146102ad57806391a169bf146102c2578063ab9de230146102e4578063af640d0f146102f9578063ce1b815f1461030d578063f2fde38b14610322578063f8fe107014610342575b600080fd5b3480156100f557600080fd5b50610109610104366004610ff9565b610355565b005b34801561011757600080fd5b5061012c61012636600461106a565b3b151590565b60405190151581526020015b60405180910390f35b34801561014d57600080fd5b5061010961015c366004611162565b610644565b34801561016d57600080fd5b5061010961017c3660046111fd565b6106eb565b34801561018d57600080fd5b5061012c61019c36600461106a565b610706565b3480156101ad57600080fd5b506101bf6101bc3660046112ab565b90565b6040516001600160a01b039091168152602001610138565b3480156101e357600080fd5b506101f76101f23660046112d1565b61072b565b604051908152602001610138565b610109610213366004611371565b61077a565b34801561022457600080fd5b50436101f7565b34801561023757600080fd5b5061024b6102463660046112ab565b610896565b604080516001600160a01b03948516815293909216602084015290820152606001610138565b34801561027d57600080fd5b50610109610a0d565b34801561029257600080fd5b506101f76102a136600461106a565b6001600160a01b031690565b3480156102b957600080fd5b506101bf610a21565b3480156102ce57600080fd5b506102d7610a30565b60405161013891906114c6565b3480156102f057600080fd5b506101bf610a92565b34801561030557600080fd5b5060006101f7565b34801561031957600080fd5b506101bf610b27565b34801561032e57600080fd5b5061010961033d36600461106a565b610bb2565b6101096103503660046114d9565b610c2b565b600054610100900460ff16158080156103755750600054600160ff909116105b8061038f5750303b15801561038f575060005460ff166001145b6103f75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801561041a576000805461ff0019166101001790555b6001600160a01b0386161580159061043a57506001600160a01b03851615155b801561044e57506001600160a01b03841615155b801561046257506001600160a01b03831615155b801561047657506001600160a01b03821615155b6104b45760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103ee565b6104bc610c58565b6104c586610bb2565b606680546001600160a01b0319166001600160a01b0387169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061160f565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c791820180548816909617909555925481548086018355840180549188169187169190911790559054815493840190915591018054919093169116179055801561063c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6066546001600160a01b031663955d0c2a8661065e610c87565b60405160200161066f92919061162c565b604051602081830303815290604052805190602001208661068e610a30565b8787876040518763ffffffff1660e01b81526004016106b296959493929190611673565b600060405180830381600087803b1580156106cc57600080fd5b505af11580156106e0573d6000803e3d6000fd5b505050505050505050565b6106f88686868686610644565b61063c868685858589610c91565b6000610710610b27565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156107735783818151811061074c5761074c6116d9565b60200260200101518261075f9190611705565b91508061076b81611718565b915050610731565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6107a7610c87565b6040516020016107b892919061162c565b6040516020818303038152906040528051906020012081526020018d81526020016107e1610a30565b81526020018c81526020018b81526020018a8152602001610800610c87565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b81526004016108589190611731565b6000604051808303818588803b15801561087157600080fd5b505af1158015610885573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091b919061160f565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b5199161095f9160040190815260200190565b600060405180830381865afa15801561097c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109a49190810190611944565b5050815196995090975050931593506109dd9250505057816000815181106109ce576109ce6116d9565b602002602001015194506109e1565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b610a15610d5d565b610a1f6000610dcc565b565b6033546001600160a01b031690565b60606065805480602002602001604051908101604052809291908181526020018280548015610a8857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610a6a575b5050505050905090565b6066546000906001600160a01b0316610aab5750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b22919061160f565b905090565b600080610b32610a92565b90506001600160a01b038116610b4a57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac919061160f565b91505090565b610bba610d5d565b6001600160a01b038116610c1f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ee565b610c2881610dcc565b50565b610c3d8b8b8b8b8b8a8a8a8a8a61077a565b610c4b8b8b8a8a8a8e610c91565b5050505050505050505050565b600054610100900460ff16610c7f5760405162461bcd60e51b81526004016103ee90611a1c565b610a1f610e1e565b6000610b22610e55565b600086610c9c610c87565b604051602001610cad92919061162c565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610d308f82610e83565b8f610d39610c87565b604051610d4c9796959493929190611a67565b60405180910390a450505050505050565b610d65610c87565b6001600160a01b0316610d76610a21565b6001600160a01b031614610a1f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ee565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e455760405162461bcd60e51b81526004016103ee90611a1c565b610a1f610e50610c87565b610dcc565b600060143610801590610e6c5750610e6c33610706565b15610e7e575060131936013560601c90565b503390565b6060600083610e90610c87565b604051602001610ea192919061162c565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610ed457610ed461108e565b604051908082528060200260200182016040528015610efd578160200160208202803683370190505b50905060005b8151811015610fc9578260658281548110610f2057610f206116d9565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f5057610f506116d9565b6020026020010151604051602001610f84939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610fac57610fac6116d9565b602090810291909101015280610fc181611718565b915050610f03565b509150505b92915050565b6001600160a01b0381168114610c2857600080fd5b8035610ff481610fd4565b919050565b600080600080600060a0868803121561101157600080fd5b853561101c81610fd4565b9450602086013561102c81610fd4565b9350604086013561103c81610fd4565b9250606086013561104c81610fd4565b9150608086013561105c81610fd4565b809150509295509295909350565b60006020828403121561107c57600080fd5b813561108781610fd4565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156110cc576110cc61108e565b604052919050565b60006001600160401b038211156110ed576110ed61108e565b5060051b60200190565b600082601f83011261110857600080fd5b8135602061111d611118836110d4565b6110a4565b82815260059290921b8401810191818101908684111561113c57600080fd5b8286015b848110156111575780358352918301918301611140565b509695505050505050565b600080600080600060a0868803121561117a57600080fd5b853594506020860135935060408601356001600160401b038082111561119f57600080fd5b6111ab89838a016110f7565b945060608801359150808211156111c157600080fd5b6111cd89838a016110f7565b935060808801359150808211156111e357600080fd5b506111f0888289016110f7565b9150509295509295909350565b60008060008060008060c0878903121561121657600080fd5b863595506020870135945060408701356001600160401b038082111561123b57600080fd5b6112478a838b016110f7565b9550606089013591508082111561125d57600080fd5b6112698a838b016110f7565b9450608089013591508082111561127f57600080fd5b5061128c89828a016110f7565b92505060a087013561129d81610fd4565b809150509295509295509295565b6000602082840312156112bd57600080fd5b5035919050565b6001600160a01b03169052565b6000602082840312156112e357600080fd5b81356001600160401b038111156112f957600080fd5b611305848285016110f7565b949350505050565b600082601f83011261131e57600080fd5b8135602061132e611118836110d4565b82815260059290921b8401810191818101908684111561134d57600080fd5b8286015b8481101561115757803561136481610fd4565b8352918301918301611351565b6000806000806000806000806000806101408b8d03121561139157600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156113b657600080fd5b6113c28e838f016110f7565b995060608d01359150808211156113d857600080fd5b6113e48e838f016110f7565b985060808d01359150808211156113fa57600080fd5b6114068e838f016110f7565b975060a08d0135965061141b60c08e01610fe9565b955061142960e08e01610fe9565b94506101008d013591508082111561144057600080fd5b61144c8e838f016110f7565b93506101208d013591508082111561146357600080fd5b506114708d828e0161130d565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156114bb5781516001600160a01b031687529582019590820190600101611496565b509495945050505050565b6020815260006110876020830184611482565b60008060008060008060008060008060006101608c8e0312156114fb57600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561151f57600080fd5b61152f8e60408f01358f016110f7565b99508060608e0135111561154257600080fd5b6115528e60608f01358f016110f7565b98508060808e0135111561156557600080fd5b6115758e60808f01358f016110f7565b975061158360a08e01610fe9565b965060c08d0135955061159860e08e01610fe9565b94506115a76101008e01610fe9565b9350806101208e013511156115bb57600080fd5b6115cc8e6101208f01358f016110f7565b9250806101408e013511156115e057600080fd5b506115f28d6101408e01358e0161130d565b90509295989b509295989b9093969950565b8051610ff481610fd4565b60006020828403121561162157600080fd5b815161108781610fd4565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156114bb57815187529582019590820190600101611657565b86815285602082015260c06040820152600061169260c0830187611482565b82810360608401526116a48187611643565b905082810360808401526116b88186611643565b905082810360a08401526116cc8185611643565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610fce57610fce6116ef565b60006001820161172a5761172a6116ef565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117646101a0850183611482565b91506060850151601f19808685030160808701526117828483611643565b935060808701519150808685030160a087015261179f8483611643565b935060a08701519150808685030160c08701526117bc8483611643565b935060c087015191506117d260e08701836112c4565b60e08701516101008781019190915287015191506101206117f5818801846112c4565b8701519150610140611809878201846112c4565b808801519250506101608187860301818801526118268584611643565b9088015187820390920184880152935090506118428382611482565b9695505050505050565b600082601f83011261185d57600080fd5b81516001600160401b038111156118765761187661108e565b602061188a601f8301601f191682016110a4565b828152858284870101111561189e57600080fd5b60005b838110156118bc5785810183015182820184015282016118a1565b506000928101909101919091529392505050565b600082601f8301126118e157600080fd5b815160206118f1611118836110d4565b82815260059290921b8401810191818101908684111561191057600080fd5b8286015b8481101561115757805161192781610fd4565b8352918301918301611914565b80518015158114610ff457600080fd5b60008060008060008060008060006101208a8c03121561196357600080fd5b61196c8a611604565b60208b015160408c0151919a5098506001600160401b038082111561199057600080fd5b61199c8d838e0161184c565b98506119aa60608d01611604565b975060808c0151965060a08c01519150808211156119c757600080fd5b6119d38d838e016118d0565b955060c08c0151945060e08c01519150808211156119f057600080fd5b506119fd8c828d0161184c565b925050611a0d6101008b01611934565b90509295985092959850929598565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b87815260e060208201526000611a8060e0830189611643565b8281036040840152611a928189611643565b90508281036060840152611aa68188611643565b90508281036080840152611aba8187611643565b60a084019590955250506001600160a01b039190911660c0909101529594505050505056fea264697066735822122044568dbc902592eb9f8eb114048c45a0bc56b8d9f169b35fa58b159968166c5d64736f6c63430008110033", + "address": "0xC0E632D00fb5C8d926Ba3E621819bDbb8Fec39d0", + "implementation": "0xC0E632D00fb5C8d926Ba3E621819bDbb8Fec39d0", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721AccessTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721AccessTemplate.geth-localnet.json new file mode 100644 index 0000000..a065f9f --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721AccessTemplate.geth-localnet.json @@ -0,0 +1,556 @@ +{ + "name": "NFT721AccessTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftHolderConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aaf806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063ce1b815f146102ce578063f2fde38b146102e3578063f8c8765e14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610fa8565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f3660046110a0565b610336565b005b34801561014257600080fd5b5061013461015136600461113b565b6103dd565b34801561016257600080fd5b506100ff610171366004610fa8565b610400565b34801561018257600080fd5b506101946101913660046111e9565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c736600461120f565b610425565b60405190815260200161010b565b6101346101e83660046112af565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111e9565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610fa8565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611404565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b50610194610821565b3480156102ef57600080fd5b506101346102fe366004610fa8565b6108ac565b34801561030f57600080fd5b5061013461031e366004611417565b61092a565b610134610331366004611473565b610bda565b6066546001600160a01b031663955d0c2a86610350610c07565b60405160200161036192919061159e565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115e5565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c11565b505050505050565b600061040a610821565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d578381815181106104465761044661164b565b6020026020010151826104599190611677565b9150806104658161168a565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c07565b6040516020016104b292919061159e565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c07565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b815260040161055291906116a3565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c9565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118de565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c861164b565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cdd565b6107196000610d4c565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c9565b905090565b60008061082c61078c565b90506001600160a01b03811661084457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906117c9565b91505090565b6108b4610cdd565b6001600160a01b03811661091e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61092781610d4c565b50565b600054610100900460ff161580801561094a5750600054600160ff909116105b806109645750303b158015610964575060005460ff166001145b6109c75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610915565b6000805460ff1916600117905580156109ea576000805461ff0019166101001790555b6001600160a01b03851615801590610a0a57506001600160a01b03841615155b8015610a1e57506001600160a01b03831615155b8015610a3257506001600160a01b03821615155b610a705760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610915565b610a78610d9e565b610a81856108ac565b606680546001600160a01b0319166001600160a01b0386169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906117c9565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216868416908117909155606b80548316868516178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c79182018054871690951790945591548154938401909155910180549190931691161790558015610bd3576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610bec8b8b8b8b8b8a8a8a8a8a610474565b610bfa8b8b8a8a8a8e610c11565b5050505050505050505050565b600061081c610dcd565b600086610c1c610c07565b604051602001610c2d92919061159e565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610cb08f82610dfb565b8f610cb9610c07565b604051610ccc97969594939291906119b6565b60405180910390a450505050505050565b610ce5610c07565b6001600160a01b0316610cf661071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610915565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610dc55760405162461bcd60e51b815260040161091590611a2e565b610719610f4c565b600060143610801590610de45750610de433610400565b15610df6575060131936013560601c90565b503390565b6060600083610e08610c07565b604051602001610e1992919061159e565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e4c57610e4c610fcc565b604051908082528060200260200182016040528015610e75578160200160208202803683370190505b50905060005b8151811015610f41578260658281548110610e9857610e9861164b565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ec857610ec861164b565b6020026020010151604051602001610efc939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f2457610f2461164b565b602090810291909101015280610f398161168a565b915050610e7b565b509150505b92915050565b600054610100900460ff16610f735760405162461bcd60e51b815260040161091590611a2e565b610719610f7e610c07565b610d4c565b6001600160a01b038116811461092757600080fd5b8035610fa381610f83565b919050565b600060208284031215610fba57600080fd5b8135610fc581610f83565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561100a5761100a610fcc565b604052919050565b60006001600160401b0382111561102b5761102b610fcc565b5060051b60200190565b600082601f83011261104657600080fd5b8135602061105b61105683611012565b610fe2565b82815260059290921b8401810191818101908684111561107a57600080fd5b8286015b84811015611095578035835291830191830161107e565b509695505050505050565b600080600080600060a086880312156110b857600080fd5b853594506020860135935060408601356001600160401b03808211156110dd57600080fd5b6110e989838a01611035565b945060608801359150808211156110ff57600080fd5b61110b89838a01611035565b9350608088013591508082111561112157600080fd5b5061112e88828901611035565b9150509295509295909350565b60008060008060008060c0878903121561115457600080fd5b863595506020870135945060408701356001600160401b038082111561117957600080fd5b6111858a838b01611035565b9550606089013591508082111561119b57600080fd5b6111a78a838b01611035565b945060808901359150808211156111bd57600080fd5b506111ca89828a01611035565b92505060a08701356111db81610f83565b809150509295509295509295565b6000602082840312156111fb57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561122157600080fd5b81356001600160401b0381111561123757600080fd5b61124384828501611035565b949350505050565b600082601f83011261125c57600080fd5b8135602061126c61105683611012565b82815260059290921b8401810191818101908684111561128b57600080fd5b8286015b848110156110955780356112a281610f83565b835291830191830161128f565b6000806000806000806000806000806101408b8d0312156112cf57600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112f457600080fd5b6113008e838f01611035565b995060608d013591508082111561131657600080fd5b6113228e838f01611035565b985060808d013591508082111561133857600080fd5b6113448e838f01611035565b975060a08d0135965061135960c08e01610f98565b955061136760e08e01610f98565b94506101008d013591508082111561137e57600080fd5b61138a8e838f01611035565b93506101208d01359150808211156113a157600080fd5b506113ae8d828e0161124b565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113f95781516001600160a01b0316875295820195908201906001016113d4565b509495945050505050565b602081526000610fc560208301846113c0565b6000806000806080858703121561142d57600080fd5b843561143881610f83565b9350602085013561144881610f83565b9250604085013561145881610f83565b9150606085013561146881610f83565b939692955090935050565b60008060008060008060008060008060006101608c8e03121561149557600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b957600080fd5b6114c98e60408f01358f01611035565b99508060608e013511156114dc57600080fd5b6114ec8e60608f01358f01611035565b98508060808e013511156114ff57600080fd5b61150f8e60808f01358f01611035565b975061151d60a08e01610f98565b965060c08d0135955061153260e08e01610f98565b94506115416101008e01610f98565b9350806101208e0135111561155557600080fd5b6115668e6101208f01358f01611035565b9250806101408e0135111561157a57600080fd5b5061158c8d6101408e01358e0161124b565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113f9578151875295820195908201906001016115c9565b86815285602082015260c06040820152600061160460c08301876113c0565b828103606084015261161681876115b5565b9050828103608084015261162a81866115b5565b905082810360a084015261163e81856115b5565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f4657610f46611661565b60006001820161169c5761169c611661565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116d66101a08501836113c0565b91506060850151601f19808685030160808701526116f484836115b5565b935060808701519150808685030160a087015261171184836115b5565b935060a08701519150808685030160c087015261172e84836115b5565b935060c0870151915061174460e0870183611202565b60e087015161010087810191909152870151915061012061176781880184611202565b870151915061014061177b87820184611202565b8088015192505061016081878603018188015261179885846115b5565b9088015187820390920184880152935090506117b483826113c0565b9695505050505050565b8051610fa381610f83565b6000602082840312156117db57600080fd5b8151610fc581610f83565b600082601f8301126117f757600080fd5b81516001600160401b0381111561181057611810610fcc565b6020611824601f8301601f19168201610fe2565b828152858284870101111561183857600080fd5b60005b8381101561185657858101830151828201840152820161183b565b506000928101909101919091529392505050565b600082601f83011261187b57600080fd5b8151602061188b61105683611012565b82815260059290921b840181019181810190868411156118aa57600080fd5b8286015b848110156110955780516118c181610f83565b83529183019183016118ae565b80518015158114610fa357600080fd5b60008060008060008060008060006101208a8c0312156118fd57600080fd5b6119068a6117be565b60208b015160408c0151919a5098506001600160401b038082111561192a57600080fd5b6119368d838e016117e6565b985061194460608d016117be565b975060808c0151965060a08c015191508082111561196157600080fd5b61196d8d838e0161186a565b955060c08c0151945060e08c015191508082111561198a57600080fd5b506119978c828d016117e6565b9250506119a76101008b016118ce565b90509295985092959850929598565b87815260e0602082015260006119cf60e08301896115b5565b82810360408401526119e181896115b5565b905082810360608401526119f581886115b5565b90508281036080840152611a0981876115b5565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122028d7d900e41b3fd0eb4c170e8f111600604b6ea6af74d27e2810c8729aac248464736f6c63430008110033", + "address": "0x91A362A6FC973647a6C7E54a5b8371228cD72661", + "implementation": "0x91A362A6FC973647a6C7E54a5b8371228cD72661", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721EscrowPaymentCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721EscrowPaymentCondition.geth-localnet.json new file mode 100644 index 0000000..52cbdaa --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721EscrowPaymentCondition.geth-localnet.json @@ -0,0 +1,554 @@ +{ + "name": "NFT721EscrowPaymentCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_receivers", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amounts", + "type": "uint256" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "Received", + "type": "event" + }, + { + "inputs": [], + "name": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e4933da" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_amounts", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receivers", + "type": "address" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x4c5f1273" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "hashValuesLockPayment", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xe847131c" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "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": "nonpayable", + "type": "function", + "signature": "0x150b7a02" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061191d806100206000396000f3fe6080604052600436106100e85760003560e01c8063150b7a021461013e57806315c87f851461018757806316279055146101c95780631ce19185146101fa5780632e4933da14610227578063485cc955146102475780634c5f127314610269578063572b6c05146102895780635ced058e146102a95780635ea3ab85146102df5780636fd902e1146102ff578063715018a61461031257806382c947b7146103275780638da5cb5b1461034e578063ab9de23014610363578063cb4e57e814610378578063ce1b815f14610398578063e847131c146103ad578063f2fde38b146103cd57600080fd5b36610139576100f56103ed565b6001600160a01b03167f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743460405161012f91815260200190565b60405180910390a2005b600080fd5b34801561014a57600080fd5b50610169610159366004611231565b630a85bd0160e11b949350505050565b6040516001600160e01b031990911681526020015b60405180910390f35b34801561019357600080fd5b506101bb7f8d07418068271276abc4e5863167e6bffec40d353ff654c30db5ec9a64a43ed581565b60405190815260200161017e565b3480156101d557600080fd5b506101ea6101e43660046112f4565b3b151590565b604051901515815260200161017e565b34801561020657600080fd5b5061021a610215366004611318565b6103fc565b60405161017e9190611369565b34801561023357600080fd5b5061021a610242366004611405565b610537565b34801561025357600080fd5b506102676102623660046114b3565b6105c6565b005b34801561027557600080fd5b506101bb6102843660046114ec565b610745565b34801561029557600080fd5b506101ea6102a43660046112f4565b61078a565b3480156102b557600080fd5b506102c76102c4366004611318565b90565b6040516001600160a01b03909116815260200161017e565b3480156102eb57600080fd5b506101bb6102fa366004611590565b6107af565b34801561030b57600080fd5b50436101bb565b34801561031e57600080fd5b506102676107fe565b34801561033357600080fd5b506101bb6103423660046112f4565b6001600160a01b031690565b34801561035a57600080fd5b506102c7610812565b34801561036f57600080fd5b506102c7610821565b34801561038457600080fd5b506101bb610393366004611620565b6108b1565b3480156103a457600080fd5b506102c76108e6565b3480156103b957600080fd5b506101bb6103c8366004611642565b610971565b3480156103d957600080fd5b506102676103e83660046112f4565b6109c3565b60006103f7610a3c565b905090565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610446573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a91906116a1565b6104bb5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906104ee9085906003906004016116c3565b6020604051808303816000875af115801561050d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053191906116d7565b92915050565b6000610541610a6a565b6105ad6040518061012001604052808c81526020018b81526020018a8152602001896001600160a01b03168152602001886001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b0316815260200185815260200184815250610ac3565b90506105b96001606655565b9998505050505050505050565b600054610100900460ff16158080156105e65750600054600160ff909116105b806106005750303b158015610600575060005460ff166001145b6106635760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104b2565b6000805460ff191660011790558015610686576000805461ff0019166101001790555b6001600160a01b0382166106ce5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016104b2565b6106d6610f13565b6106df836109c3565b606580546001600160a01b0319166001600160a01b0384161790558015610740576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b600088888888888888886040516020016107669897969594939291906116f8565b60405160208183030381529060405280519060200120905098975050505050505050565b60006107946108e6565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156107f7578381815181106107d0576107d0611782565b6020026020010151826107e391906117ae565b9150806107ef816117c1565b9150506107b5565b5092915050565b610806610f42565b6108106000610fb1565b565b6033546001600160a01b031690565b6065546000906001600160a01b031661083a5750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa15801561088d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f791906117da565b60008230836040516020016108c8939291906117f7565b60405160208183030381529060405280519060200120905092915050565b6000806108f1610821565b90506001600160a01b03811661090957600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610947573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096b91906117da565b91505090565b604080516020808201979097526001600160a01b0395861681830152606081019390935290841660808301529190921660a0808401919091528151808403909101815260c09092019052805191012090565b6109cb610f42565b6001600160a01b038116610a305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b2565b610a3981610fb1565b50565b600060143610801590610a535750610a533361078a565b15610a65575060131936013560601c90565b503390565b600260665403610abc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b2565b6002606655565b60e0810151815160655460405163c0c786a760e01b81526004810184905260009392916001600160a01b03169063c0c786a790602401602060405180830381865afa158015610b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3a91906117da565b610b5b85602001518660a001518760c0015188604001518960600151610971565b604051602001610b6d939291906117f7565b6040516020818303038152906040528051906020012014610bd05760405162461bcd60e51b815260206004820152601f60248201527f4c6f636b436f6e646974696f6e20494420646f6573206e6f74206d617463680060448201526064016104b2565b60655460e08301516040516319b6289160e11b815260048101919091526002916001600160a01b03169063336c512290602401602060405180830381865afa158015610c20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4491906116d7565b6003811115610c5557610c55611331565b14610cae5760405162461bcd60e51b815260206004820152602360248201527f4c6f636b436f6e646974696f6e206e6565647320746f2062652046756c66696c6044820152621b195960ea1b60648201526084016104b2565b60016000805b84610100015151811015610da85760655461010086015180516000926001600160a01b03169163336c51229185908110610cf057610cf0611782565b60200260200101516040518263ffffffff1660e01b8152600401610d1691815260200190565b602060405180830381865afa158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5791906116d7565b90506002816003811115610d6d57610d6d611331565b14610d7757600093505b6003816003811115610d8b57610d8b611331565b03610d9557600192505b5080610da0816117c1565b915050610cb4565b508080610db25750815b610dfe5760405162461bcd60e51b815260206004820152601d60248201527f52656c6561736520636f6e646974696f6e7320756e7265736f6c76656400000060448201526064016104b2565b306001600160a01b031684606001516001600160a01b031603610e715760405162461bcd60e51b815260206004820152602560248201527f457363726f7720636f6e74726163742063616e206e6f7420626520612072656360448201526432b4bb32b960d91b60648201526084016104b2565b6000610eac85600001516103938760200151886040015189606001518a608001518b60a001518c60c001518d60e001518e6101000151610745565b90508215610edf57610ed685600001518287602001518860c0015189606001518a60400151611003565b95945050505050565b600182151514610ef157610ef1611816565b610ed685600001518287602001518860c0015189608001518a60400151611003565b600054610100900460ff16610f3a5760405162461bcd60e51b81526004016104b29061182c565b610810611123565b610f4a6103ed565b6001600160a01b0316610f5b610812565b6001600160a01b0316146108105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b2565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008160010361107657604051632142170760e11b81523060048201526001600160a01b038481166024830152604482018790528516906342842e0e90606401600060405180830381600087803b15801561105d57600080fd5b505af1158015611071573d6000803e3d6000fd5b505050505b604080518681526001600160a01b038581166020830152918101889052606081018490529085169088907fc220d793b925792c953f01840b8fc5b8e27f1ab36db13caf1301e176effc475a9060800160405180910390a3611116866002876040518060400160405280601c81526020017b27232a1b9918a2b9b1b937bba830bcb6b2b73a21b7b73234ba34b7b760211b8152506111116103ed565b61115a565b90505b9695505050505050565b600054610100900460ff1661114a5760405162461bcd60e51b81526004016104b29061182c565b6108106111556103ed565b610fb1565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae81906111939089908890889088908c90600401611877565b6020604051808303816000875af11580156111b2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111991906116d7565b6001600160a01b0381168114610a3957600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611229576112296111eb565b604052919050565b6000806000806080858703121561124757600080fd5b8435611252816111d6565b9350602085810135611263816111d6565b93506040860135925060608601356001600160401b038082111561128657600080fd5b818801915088601f83011261129a57600080fd5b8135818111156112ac576112ac6111eb565b6112be601f8201601f19168501611201565b915080825289848285010111156112d457600080fd5b808484018584013760008482840101525080935050505092959194509250565b60006020828403121561130657600080fd5b8135611311816111d6565b9392505050565b60006020828403121561132a57600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6004811061136557634e487b7160e01b600052602160045260246000fd5b9052565b602081016105318284611347565b60006001600160401b03821115611390576113906111eb565b5060051b60200190565b600082601f8301126113ab57600080fd5b813560206113c06113bb83611377565b611201565b82815260059290921b840181019181810190868411156113df57600080fd5b8286015b848110156113fa57803583529183019183016113e3565b509695505050505050565b60008060008060008060008060006101208a8c03121561142457600080fd5b8935985060208a0135975060408a0135965060608a0135611444816111d6565b955060808a0135611454816111d6565b945060a08a0135611464816111d6565b935060c08a0135611474816111d6565b925060e08a013591506101008a01356001600160401b0381111561149757600080fd5b6114a38c828d0161139a565b9150509295985092959850929598565b600080604083850312156114c657600080fd5b82356114d1816111d6565b915060208301356114e1816111d6565b809150509250929050565b600080600080600080600080610100898b03121561150957600080fd5b88359750602089013596506040890135611522816111d6565b95506060890135611532816111d6565b94506080890135611542816111d6565b935060a0890135611552816111d6565b925060c0890135915060e08901356001600160401b0381111561157457600080fd5b6115808b828c0161139a565b9150509295985092959890939650565b600060208083850312156115a357600080fd5b82356001600160401b038111156115b957600080fd5b8301601f810185136115ca57600080fd5b80356115d86113bb82611377565b81815260059190911b820183019083810190878311156115f757600080fd5b928401925b82841015611615578335825292840192908401906115fc565b979650505050505050565b6000806040838503121561163357600080fd5b50508035926020909101359150565b600080600080600060a0868803121561165a57600080fd5b85359450602086013561166c816111d6565b9350604086013561167c816111d6565b9250606086013591506080860135611693816111d6565b809150509295509295909350565b6000602082840312156116b357600080fd5b8151801515811461131157600080fd5b828152604081016113116020830184611347565b6000602082840312156116e957600080fd5b81516004811061131157600080fd5b88815260208082018990526001600160a01b03888116604084015287811660608401528681166080840152851660a083015260c0820184905261010060e0830181905283519083018190526000916101208401918582019190845b8181101561176f57835185529382019392820192600101611753565b50929d9c50505050505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561053157610531611798565b6000600182016117d3576117d3611798565b5060010190565b6000602082840312156117ec57600080fd5b8151611311816111d6565b9283526001600160a01b03919091166020830152604082015260600190565b634e487b7160e01b600052600160045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b818110156118b15787810183015185820160c001528201611895565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152611119608083018461134756fea2646970667358221220a8b61b6b82cbb66fde87b8afdb763e14d81f79572b60cb9f78b148582343fcbe64736f6c63430008110033", + "address": "0x4FbD95bCb875F77deac1dDd9D8883C456f0a0B0B", + "implementation": "0x4FbD95bCb875F77deac1dDd9D8883C456f0a0B0B", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721HolderCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721HolderCondition.geth-localnet.json new file mode 100644 index 0000000..09f4e40 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721HolderCondition.geth-localnet.json @@ -0,0 +1,396 @@ +{ + "name": "NFT721HolderCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_address", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_holderAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_contractAddress", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x658cad5d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_holderAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_contractAddress", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x57d2b8b1" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610f37806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d05760003560e01c806316279055146100d55780631ce19185146100fe578063485cc9551461011e578063572b6c051461013357806357d2b8b1146101465780635ced058e146101675780635ea3ab8514610190578063658cad5d146101a35780636fd902e1146101b6578063715018a6146101bc57806382c947b7146101c45780638da5cb5b146101de578063ab9de230146101e6578063cb4e57e8146101ee578063ce1b815f1461022e578063f2fde38b14610236575b600080fd5b6100e96100e3366004610b3f565b3b151590565b60405190151581526020015b60405180910390f35b61011161010c366004610b63565b610249565b6040516100f59190610b9e565b61013161012c366004610bac565b610384565b005b6100e9610141366004610b3f565b610519565b610159610154366004610be5565b61053e565b6040519081526020016100f5565b610178610175366004610b63565b90565b6040516001600160a01b0390911681526020016100f5565b61015961019e366004610c45565b610587565b6101116101b1366004610d02565b6105d6565b43610159565b610131610789565b6101596101d2366004610b3f565b6001600160a01b031690565b61017861079d565b6101786107ac565b6101596101fc366004610d58565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b610178610841565b610131610244366004610b3f565b6108cc565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b79190610d7a565b6103085760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e469061033b908590600390600401610d9c565b6020604051808303816000875af115801561035a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037e9190610db0565b92915050565b600054610100900460ff16158080156103a45750600054600160ff909116105b806103be5750303b1580156103be575060005460ff166001145b6104215760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102ff565b6000805460ff191660011790558015610444576000805461ff0019166101001790555b6001600160a01b0382161580159061046457506001600160a01b03831615155b6104a25760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016102ff565b6104aa610945565b6104b3836108cc565b606580546001600160a01b0319166001600160a01b0384161790558015610514576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6000610523610841565b6001600160a01b0316826001600160a01b0316149050919050565b604080516020808201969096526001600160a01b0394851681830152606081019390935292166080808301919091528251808303909101815260a0909101909152805191012090565b60008060005b83518110156105cf578381815181106105a8576105a8610dd1565b6020026020010151826105bb9190610dfd565b9150806105c781610e10565b91505061058d565b5092915050565b600081831580610665575083600114801561066557506040516331a9108f60e11b8152600481018790526001600160a01b038681169190831690636352211e90602401602060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a9190610e29565b6001600160a01b0316145b6106d55760405162461bcd60e51b815260206004820152603b60248201527f54686520686f6c64657220646f65736e74206861766520656e6f756768204e4660448201527a2a103130b630b731b2903337b9103a3432903234b21033b4bb32b760291b60648201526084016102ff565b60006106e7886101fc8989898961053e565b9050600061072d8260028a6040518060400160405280601581526020017427232a1b9918a437b63232b921b7b73234ba34b7b760591b815250610728610974565b61097e565b9050866001600160a01b0316888a7f9ba901e9f9a3b97d24508ca5e05edcaf6d21e2a10cbeb53d8d087fbc9c4cd923858a604051610775929190918252602082015260400190565b60405180910390a498975050505050505050565b610791610a04565b61079b6000610a73565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166107c55750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610818573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083c9190610e29565b905090565b60008061084c6107ac565b90506001600160a01b03811661086457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c69190610e29565b91505090565b6108d4610a04565b6001600160a01b0381166109395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ff565b61094281610a73565b50565b600054610100900460ff1661096c5760405162461bcd60e51b81526004016102ff90610e46565b61079b610ac5565b600061083c610afc565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae81906109b79089908890889088908c90600401610e91565b6020604051808303816000875af11580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa9190610db0565b9695505050505050565b610a0c610974565b6001600160a01b0316610a1d61079d565b6001600160a01b03161461079b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ff565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610aec5760405162461bcd60e51b81526004016102ff90610e46565b61079b610af7610974565b610a73565b600060143610801590610b135750610b1333610519565b15610b25575060131936013560601c90565b503390565b6001600160a01b038116811461094257600080fd5b600060208284031215610b5157600080fd5b8135610b5c81610b2a565b9392505050565b600060208284031215610b7557600080fd5b5035919050565b60048110610b9a57634e487b7160e01b600052602160045260246000fd5b9052565b6020810161037e8284610b7c565b60008060408385031215610bbf57600080fd5b8235610bca81610b2a565b91506020830135610bda81610b2a565b809150509250929050565b60008060008060808587031215610bfb57600080fd5b843593506020850135610c0d81610b2a565b9250604085013591506060850135610c2481610b2a565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610c5857600080fd5b82356001600160401b0380821115610c6f57600080fd5b818501915085601f830112610c8357600080fd5b813581811115610c9557610c95610c2f565b8060051b604051601f19603f83011681018181108582111715610cba57610cba610c2f565b604052918252848201925083810185019188831115610cd857600080fd5b938501935b82851015610cf657843584529385019392850192610cdd565b98975050505050505050565b600080600080600060a08688031215610d1a57600080fd5b85359450602086013593506040860135610d3381610b2a565b9250606086013591506080860135610d4a81610b2a565b809150509295509295909350565b60008060408385031215610d6b57600080fd5b50508035926020909101359150565b600060208284031215610d8c57600080fd5b81518015158114610b5c57600080fd5b82815260408101610b5c6020830184610b7c565b600060208284031215610dc257600080fd5b815160048110610b5c57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561037e5761037e610de7565b600060018201610e2257610e22610de7565b5060010190565b600060208284031215610e3b57600080fd5b8151610b5c81610b2a565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b81811015610ecb5787810183015185820160c001528201610eaf565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b03841660608301526109fa6080830184610b7c56fea2646970667358221220252ccec01a829cc0e14812717307d60ab151512d84466b2b4c50bd4a7cb8b8b464736f6c63430008110033", + "address": "0xF3eb1Ab53142C2a57e6262e8eDfCB8bd8F9836Dc", + "implementation": "0xF3eb1Ab53142C2a57e6262e8eDfCB8bd8F9836Dc", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721LockCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721LockCondition.geth-localnet.json new file mode 100644 index 0000000..aaf829e --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721LockCondition.geth-localnet.json @@ -0,0 +1,542 @@ +{ + "name": "NFT721LockCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x658cad5d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "fulfillMarked", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x50d0f2ba" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x57d2b8b1" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "hashValuesMarked", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x3985d597" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "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": "nonpayable", + "type": "function", + "signature": "0x150b7a02" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611295806100206000396000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c8063150b7a021461010157806315c87f851461013d57806316279055146101725780631ce19185146101965780633985d597146101b6578063485cc955146101c957806350d0f2ba146101de578063572b6c05146101f157806357d2b8b1146102045780635ced058e146102175780635ea3ab8514610240578063658cad5d146102535780636fd902e114610266578063715018a61461026c57806382c947b7146102745780638da5cb5b1461028e578063ab9de23014610296578063cb4e57e81461029e578063ce1b815f146102de578063f2fde38b146102e6575b600080fd5b61011f61010f366004610d50565b630a85bd0160e11b949350505050565b6040516001600160e01b031990911681526020015b60405180910390f35b6101647fc2e4285eebae7e5dabfd41eb1fccef406e3320b58331cc0e7fca7dadecddf4a881565b604051908152602001610134565b610186610180366004610e13565b3b151590565b6040519015158152602001610134565b6101a96101a4366004610e37565b6102f9565b6040516101349190610e72565b6101646101c4366004610e80565b610434565b6101dc6101d7366004610edf565b610486565b005b6101a96101ec366004610f18565b610605565b6101866101ff366004610e13565b610867565b610164610212366004610f7f565b61088c565b610228610225366004610e37565b90565b6040516001600160a01b039091168152602001610134565b61016461024e366004610fc9565b6108a5565b6101a961026136600461106e565b6108f4565b43610164565b6101dc610905565b610164610282366004610e13565b6001600160a01b031690565b610228610919565b610228610928565b6101646102ac3660046110b6565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b6102286109bd565b6101dc6102f4366004610e13565b610a48565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610343573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036791906110d8565b6103b85760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906103eb9085906003906004016110fa565b6020604051808303816000875af115801561040a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042e919061110e565b92915050565b604080516020808201979097526001600160a01b03958616818301526060810194909452918416608084015290921660a0808301919091528251808303909101815260c0909101909152805191012090565b600054610100900460ff16158080156104a65750600054600160ff909116105b806104c05750303b1580156104c0575060005460ff166001145b6105235760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103af565b6000805460ff191660011790558015610546576000805461ff0019166101001790555b6001600160a01b03821661058e5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103af565b610596610ac1565b61059f83610a48565b606580546001600160a01b0319166001600160a01b0384161790558015610600576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b600061060f610af0565b818415806106a357508460011480156106a3575061062b610b49565b6040516331a9108f60e11b8152600481018990526001600160a01b0391821691831690636352211e90602401602060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610698919061112f565b6001600160a01b0316145b6107145760405162461bcd60e51b815260206004820152603c60248201527f53656e64657220646f6573206e6f74206861766520656e6f7567682062616c6160448201527b3731b29037b91034b9903737ba103a34329027232a1037bbb732b91760211b60648201526084016103af565b8460010361079c57806001600160a01b03166342842e0e610733610b49565b60405160e083901b6001600160e01b03191681526001600160a01b0391821660048201529089166024820152604481018a9052606401600060405180830381600087803b15801561078357600080fd5b505af1158015610797573d6000803e3d6000fd5b505050505b60006107af896102ac8a8a8a8a8a610434565b905060006107f38260028b6040518060400160405280601381526020017227232a1b9918a637b1b5a1b7b73234ba34b7b760691b8152506107ee610b49565b610b53565b60408051848152602081018a90526001600160a01b038981168284015288811660608301529151929350908a16918b918d917f04f9aff1e038b53ebdbdfb6de4fc8e35c284f641c112be8c99bdfb4bf10d07549181900360800190a49250505061085d6001606655565b9695505050505050565b60006108716109bd565b6001600160a01b0316826001600160a01b0316149050919050565b600061089c858585600086610434565b95945050505050565b60008060005b83518110156108ed578381815181106108c6576108c661114c565b6020026020010151826108d99190611178565b9150806108e58161118b565b9150506108ab565b5092915050565b600061085d86868686600087610605565b61090d610bcf565b6109176000610c3e565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166109415750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b8919061112f565b905090565b6000806109c8610928565b90506001600160a01b0381166109e057600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a42919061112f565b91505090565b610a50610bcf565b6001600160a01b038116610ab55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103af565b610abe81610c3e565b50565b600054610100900460ff16610ae85760405162461bcd60e51b81526004016103af906111a4565b610917610c90565b600260665403610b425760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103af565b6002606655565b60006109b8610cc7565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610b8c9089908890889088908c906004016111ef565b6020604051808303816000875af1158015610bab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085d919061110e565b610bd7610b49565b6001600160a01b0316610be8610919565b6001600160a01b0316146109175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103af565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610cb75760405162461bcd60e51b81526004016103af906111a4565b610917610cc2610b49565b610c3e565b600060143610801590610cde5750610cde33610867565b15610cf0575060131936013560601c90565b503390565b6001600160a01b0381168114610abe57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610d4857610d48610d0a565b604052919050565b60008060008060808587031215610d6657600080fd5b8435610d7181610cf5565b9350602085810135610d8281610cf5565b93506040860135925060608601356001600160401b0380821115610da557600080fd5b818801915088601f830112610db957600080fd5b813581811115610dcb57610dcb610d0a565b610ddd601f8201601f19168501610d20565b91508082528984828501011115610df357600080fd5b808484018584013760008482840101525080935050505092959194509250565b600060208284031215610e2557600080fd5b8135610e3081610cf5565b9392505050565b600060208284031215610e4957600080fd5b5035919050565b60048110610e6e57634e487b7160e01b600052602160045260246000fd5b9052565b6020810161042e8284610e50565b600080600080600060a08688031215610e9857600080fd5b853594506020860135610eaa81610cf5565b9350604086013592506060860135610ec181610cf5565b91506080860135610ed181610cf5565b809150509295509295909350565b60008060408385031215610ef257600080fd5b8235610efd81610cf5565b91506020830135610f0d81610cf5565b809150509250929050565b60008060008060008060c08789031215610f3157600080fd5b86359550602087013594506040870135610f4a81610cf5565b9350606087013592506080870135610f6181610cf5565b915060a0870135610f7181610cf5565b809150509295509295509295565b60008060008060808587031215610f9557600080fd5b843593506020850135610fa781610cf5565b9250604085013591506060850135610fbe81610cf5565b939692955090935050565b60006020808385031215610fdc57600080fd5b82356001600160401b0380821115610ff357600080fd5b818501915085601f83011261100757600080fd5b81358181111561101957611019610d0a565b8060051b915061102a848301610d20565b818152918301840191848101908884111561104457600080fd5b938501935b8385101561106257843582529385019390850190611049565b98975050505050505050565b600080600080600060a0868803121561108657600080fd5b8535945060208601359350604086013561109f81610cf5565b9250606086013591506080860135610ed181610cf5565b600080604083850312156110c957600080fd5b50508035926020909101359150565b6000602082840312156110ea57600080fd5b81518015158114610e3057600080fd5b82815260408101610e306020830184610e50565b60006020828403121561112057600080fd5b815160048110610e3057600080fd5b60006020828403121561114157600080fd5b8151610e3081610cf5565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561042e5761042e611162565b60006001820161119d5761119d611162565b5060010190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b818110156112295787810183015185820160c00152820161120d565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b038416606083015261085d6080830184610e5056fea2646970667358221220a736bcea2d36c0a2aab5a949ec53bd6684c0f8085f6956fda349922310d127cc64736f6c63430008110033", + "address": "0xF6874422FBBB51119a3D8d14627db2fB21013153", + "implementation": "0xF6874422FBBB51119a3D8d14627db2fB21013153", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721SalesTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721SalesTemplate.geth-localnet.json new file mode 100644 index 0000000..01aaf6e --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721SalesTemplate.geth-localnet.json @@ -0,0 +1,678 @@ +{ + "name": "NFT721SalesTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "bytes[]", + "name": "_params", + "type": "bytes[]" + } + ], + "name": "createAgreementFulfill", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xe4fe989c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [], + "name": "id", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xaf640d0f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "nftPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x49199215" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "nftAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "nftId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "nftSale", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x0416aae8" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612acf806100206000396000f3fe6080604052600436106101055760003560e01c80630416aae81461010a5780631459457a1461012c578063162790551461014c5780632e166f3e146101825780634183e72b146101a257806349199215146101c2578063572b6c05146102175780635ced058e146102375780635ea3ab851461026d5780636104ff1a1461028d5780636fd902e1146102a05780636ff015ae146102b3578063715018a6146102f957806382c947b71461030e5780638da5cb5b1461033557806391a169bf1461034a578063ab9de2301461036c578063af640d0f14610381578063ce1b815f14610395578063e4fe989c146103aa578063f2fde38b146103bd578063f8fe1070146103dd575b600080fd5b34801561011657600080fd5b5061012a610125366004611a1d565b6103f0565b005b34801561013857600080fd5b5061012a610147366004611a65565b610440565b34801561015857600080fd5b5061016d610167366004611ad6565b3b151590565b60405190151581526020015b60405180910390f35b34801561018e57600080fd5b5061012a61019d366004611bce565b61072f565b3480156101ae57600080fd5b5061012a6101bd366004611c69565b6107d6565b3480156101ce57600080fd5b506102096101dd366004611d17565b606d60209081526000948552604080862082529385528385208152918452828420909152825290205481565b604051908152602001610179565b34801561022357600080fd5b5061016d610232366004611ad6565b6107f1565b34801561024357600080fd5b50610255610252366004611d58565b90565b6040516001600160a01b039091168152602001610179565b34801561027957600080fd5b50610209610288366004611d7e565b610816565b61012a61029b366004611e1e565b610865565b3480156102ac57600080fd5b5043610209565b3480156102bf57600080fd5b506102d36102ce366004611d58565b610981565b604080516001600160a01b03948516815293909216602084015290820152606001610179565b34801561030557600080fd5b5061012a610af8565b34801561031a57600080fd5b50610209610329366004611ad6565b6001600160a01b031690565b34801561034157600080fd5b50610255610b0c565b34801561035657600080fd5b5061035f610b1b565b6040516101799190611f73565b34801561037857600080fd5b50610255610b7d565b34801561038d57600080fd5b506001610209565b3480156103a157600080fd5b50610255610c12565b61012a6103b8366004611fad565b610c9d565b3480156103c957600080fd5b5061012a6103d8366004611ad6565b610fcb565b61012a6103eb36600461211e565b611044565b80606d60006103fd611071565b6001600160a01b03908116825260208083019390935260409182016000908120988216815297835281882095168752938152838620948652939093525090912055565b600054610100900460ff16158080156104605750600054600160ff909116105b8061047a5750303b15801561047a575060005460ff166001145b6104e25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015610505576000805461ff0019166101001790555b6001600160a01b0386161580159061052557506001600160a01b03851615155b801561053957506001600160a01b03841615155b801561054d57506001600160a01b03831615155b801561056157506001600160a01b03821615155b61059f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016104d9565b6105a761107b565b6105b086610fcb565b606680546001600160a01b0319166001600160a01b0387169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d9190612254565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805488169096179095559254815480860183558401805491881691871691909117905590548154938401909155910180549190931691161790558015610727576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6066546001600160a01b031663955d0c2a86610749611071565b60405160200161075a929190612271565b6040516020818303038152906040528051906020012086610779610b1b565b8787876040518763ffffffff1660e01b815260040161079d969594939291906122b8565b600060405180830381600087803b1580156107b757600080fd5b505af11580156107cb573d6000803e3d6000fd5b505050505050505050565b6107e3868686868661072f565b6107278686858585896110aa565b60006107fb610c12565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561085e578381815181106108375761083761231e565b60200260200101518261084a919061234a565b9150806108568161235d565b91505061081c565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e610892611071565b6040516020016108a3929190612271565b6040516020818303038152906040528051906020012081526020018d81526020016108cc610b1b565b81526020018c81526020018b81526020018a81526020016108eb611071565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b81526004016109439190612376565b6000604051808303818588803b15801561095c57600080fd5b505af1158015610970573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a069190612254565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b51991610a4a9160040190815260200190565b600060405180830381865afa158015610a67573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8f919081019061256e565b505081519699509097505093159350610ac8925050505781600081518110610ab957610ab961231e565b60200260200101519450610acc565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b610b00611176565b610b0a60006111e5565b565b6033546001600160a01b031690565b60606065805480602002602001604051908101604052809291908181526020018280548015610b7357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610b55575b5050505050905090565b6066546000906001600160a01b0316610b965750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d9190612254565b905090565b600080610c1d610b7d565b90506001600160a01b038116610c3557600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c979190612254565b91505090565b600086610ca8611071565b604051602001610cb9929190612271565b60408051601f1981840301815282825280516020918201206003808552608085019093529350600092919082016060803683375050604080516002808252606082018352939450600093909250906020830190803683375050604080516002808252606082018352939450600093909250906020830190803683375050604080516002808252606082019092529293506000929150602082015b6060815260200190600190039081610d53579050509050610d72611071565b82600081518110610d8557610d8561231e565b60200260200101906001600160a01b031690816001600160a01b03168152505060005b6002811015610e1a5780848281518110610dc457610dc461231e565b602002602001018181525050868181518110610de257610de261231e565b6020026020010151828281518110610dfc57610dfc61231e565b60200260200101819052508080610e129061235d565b915050610da8565b5060005b6003811015610e7757868181518110610e3957610e3961231e565b602002602001015180519060200120858281518110610e5a57610e5a61231e565b602090810291909101015280610e6f8161235d565b915050610e1e565b506000856065600081548110610e8f57610e8f61231e565b600091825260208220015487516001600160a01b03909116918891610eb657610eb661231e565b6020026020010151604051602001610ed093929190612646565b6040516020818303038152906040528051906020012090506000866065600181548110610eff57610eff61231e565b9060005260206000200160009054906101000a90046001600160a01b031687600181518110610f3057610f3061231e565b6020026020010151604051602001610f4a93929190612646565b604051602081830303815290604052805190602001209050610f6d88838e611237565b84600181518110610f8057610f8061231e565b60200260200101906001600160a01b031690816001600160a01b031681525050610fab888383611584565b610fbc8d8d888e8e8e8b8b8b61179c565b50505050505050505050505050565b610fd3611176565b6001600160a01b0381166110385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d9565b611041816111e5565b50565b6110568b8b8b8b8b8a8a8a8a8a610865565b6110648b8b8a8a8a8e6110aa565b5050505050505050505050565b6000610c0d6117ba565b600054610100900460ff166110a25760405162461bcd60e51b81526004016104d990612665565b610b0a6117e8565b6000866110b5611071565b6040516020016110c6929190612271565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be34898989886111498f8261181f565b8f611152611071565b60405161116597969594939291906126b0565b60405180910390a450505050505050565b61117e611071565b6001600160a01b031661118f610b0c565b6001600160a01b031614610b0a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104d9565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080600080606080886000815181106112535761125361231e565b602002602001015180602001905181019061126e9190612783565b809550819650829750839850849950505050505060008060008060008d60018151811061129d5761129d61231e565b60200260200101518060200190518101906112b8919061280a565b949950919750955093509091505089851480156112d45750898c145b61130f5760405162461bcd60e51b815260206004820152600c60248201526b0c8d2c840dad2e6dac2e8c6d60a31b60448201526064016104d9565b8c82146113515760405162461bcd60e51b815260206004820152601060248201526f0d8dec6d640d2c840dad2e6dac2e8c6d60831b60448201526064016104d9565b60656002815481106113655761136561231e565b6000918252602090912001546001600160a01b038a81169116146113bf5760405162461bcd60e51b8152602060048201526011602482015270726577617264206e6f7420657363726f7760781b60448201526064016104d9565b606d6000876000815181106113d6576113d661231e565b6020908102919091018101516001600160a01b039081168352828201939093526040918201600090812085851682528252828120938c1681529281528183208f8452905281205490036114595760405162461bcd60e51b815260206004820152600b60248201526a6e6f74206f6e2073616c6560a81b60448201526064016104d9565b8660008151811061146c5761146c61231e565b602002602001015183606d60008960008151811061148c5761148c61231e565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000846001600160a01b03166001600160a01b0316815260200190815260200160002060008b6001600160a01b03166001600160a01b0316815260200190815260200160002060008f8152602001908152602001600020546115169190612866565b11156115565760405162461bcd60e51b815260206004820152600f60248201526e746f6f20736d616c6c20707269636560881b60448201526064016104d9565b856000815181106115695761156961231e565b60200260200101519a50505050505050505050509392505050565b60008060006060808760008151811061159f5761159f61231e565b60200260200101518060200190518101906115ba9190612783565b80955081965082975083985084995050505050506000606080600080600060608e6002815181106115ed576115ed61231e565b6020026020010151806020019051810190611608919061287d565b969d50949b509299509750909550909350909150508d821461165e5760405162461bcd60e51b815260206004820152600f60248201526e3637b1b59036b4b9b6b0ba31b4101960891b60448201526064016104d9565b80516001146116a75760405162461bcd60e51b81526020600482015260156024820152743130b2103932b632b0b9b29031b7b73234ba34b7b760591b60448201526064016104d9565b868387876040516020016116be949392919061294b565b604051602081830303815290604052805190602001208c8b8b8b6040516020016116eb949392919061294b565b60405160208183030381529060405280519060200120146117405760405162461bcd60e51b815260206004820152600f60248201526e0cae6c6e4deee40dad2e6dac2e8c6d608b1b60448201526064016104d9565b8c816000815181106117545761175461231e565b6020026020010151146109705760405162461bcd60e51b815260206004820152601060248201526f0e8e4c2dccccae440dad2e6dac2e8c6d60831b60448201526064016104d9565b6117ac8989898989888888611956565b6107cb89898888888c6110aa565b6000601436108015906117d157506117d1336107f1565b156117e3575060131936013560601c90565b503390565b600054610100900460ff1661180f5760405162461bcd60e51b81526004016104d990612665565b610b0a61181a611071565b6111e5565b606060008361182c611071565b60405160200161183d929190612271565b604051602081830303815290604052805190602001209050600083516001600160401b0381111561187057611870611afa565b604051908082528060200260200182016040528015611899578160200160208202803683370190505b50905060005b815181101561194b5782606582815481106118bc576118bc61231e565b9060005260206000200160009054906101000a90046001600160a01b03168683815181106118ec576118ec61231e565b602002602001015160405160200161190693929190612646565b6040516020818303038152906040528051906020012082828151811061192e5761192e61231e565b6020908102919091010152806119438161235d565b91505061189f565b509150505b92915050565b6066546001600160a01b031663122b3d45348a611971611071565b604051602001611982929190612271565b604051602081830303815290604052805190602001208a6119a1610b1b565b8b8b8b8a8c8b6040518b63ffffffff1660e01b81526004016119cb99989796959493929190612992565b6000604051808303818588803b1580156119e457600080fd5b505af1158015610fbc573d6000803e3d6000fd5b6001600160a01b038116811461104157600080fd5b8035611a18816119f8565b919050565b60008060008060808587031215611a3357600080fd5b8435611a3e816119f8565b9350602085013592506040850135611a55816119f8565b9396929550929360600135925050565b600080600080600060a08688031215611a7d57600080fd5b8535611a88816119f8565b94506020860135611a98816119f8565b93506040860135611aa8816119f8565b92506060860135611ab8816119f8565b91506080860135611ac8816119f8565b809150509295509295909350565b600060208284031215611ae857600080fd5b8135611af3816119f8565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611b3857611b38611afa565b604052919050565b60006001600160401b03821115611b5957611b59611afa565b5060051b60200190565b600082601f830112611b7457600080fd5b81356020611b89611b8483611b40565b611b10565b82815260059290921b84018101918181019086841115611ba857600080fd5b8286015b84811015611bc35780358352918301918301611bac565b509695505050505050565b600080600080600060a08688031215611be657600080fd5b853594506020860135935060408601356001600160401b0380821115611c0b57600080fd5b611c1789838a01611b63565b94506060880135915080821115611c2d57600080fd5b611c3989838a01611b63565b93506080880135915080821115611c4f57600080fd5b50611c5c88828901611b63565b9150509295509295909350565b60008060008060008060c08789031215611c8257600080fd5b863595506020870135945060408701356001600160401b0380821115611ca757600080fd5b611cb38a838b01611b63565b95506060890135915080821115611cc957600080fd5b611cd58a838b01611b63565b94506080890135915080821115611ceb57600080fd5b50611cf889828a01611b63565b92505060a0870135611d09816119f8565b809150509295509295509295565b60008060008060808587031215611d2d57600080fd5b8435611d38816119f8565b93506020850135611d48816119f8565b92506040850135611a55816119f8565b600060208284031215611d6a57600080fd5b5035919050565b6001600160a01b03169052565b600060208284031215611d9057600080fd5b81356001600160401b03811115611da657600080fd5b611db284828501611b63565b949350505050565b600082601f830112611dcb57600080fd5b81356020611ddb611b8483611b40565b82815260059290921b84018101918181019086841115611dfa57600080fd5b8286015b84811015611bc3578035611e11816119f8565b8352918301918301611dfe565b6000806000806000806000806000806101408b8d031215611e3e57600080fd5b8a35995060208b0135985060408b01356001600160401b0380821115611e6357600080fd5b611e6f8e838f01611b63565b995060608d0135915080821115611e8557600080fd5b611e918e838f01611b63565b985060808d0135915080821115611ea757600080fd5b611eb38e838f01611b63565b975060a08d01359650611ec860c08e01611a0d565b9550611ed660e08e01611a0d565b94506101008d0135915080821115611eed57600080fd5b611ef98e838f01611b63565b93506101208d0135915080821115611f1057600080fd5b50611f1d8d828e01611dba565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b83811015611f685781516001600160a01b031687529582019590820190600101611f43565b509495945050505050565b602081526000611af36020830184611f2f565b60006001600160401b03821115611f9f57611f9f611afa565b50601f01601f191660200190565b60008060008060008060c08789031215611fc657600080fd5b86359550602087013594506001600160401b036040880135811015611fea57600080fd5b611ffa8960408a01358a01611b63565b9450806060890135111561200d57600080fd5b61201d8960608a01358a01611b63565b935061202c60808901356119f8565b608088013592508060a0890135111561204457600080fd5b60a0880135880189601f82011261205a57600080fd5b612067611b848235611b40565b81358082526020808301929160051b8401018c101561208557600080fd5b602083015b6020843560051b85010181101561210c5784813511156120a957600080fd5b803584018d603f8201126120bc57600080fd5b60208101356120cd611b8482611f86565b8181528f60408385010111156120e257600080fd5b8160408401602083013760006020838301015280865250505060208301925060208101905061208a565b50809450505050509295509295509295565b60008060008060008060008060008060006101608c8e03121561214057600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561216457600080fd5b6121748e60408f01358f01611b63565b99508060608e0135111561218757600080fd5b6121978e60608f01358f01611b63565b98508060808e013511156121aa57600080fd5b6121ba8e60808f01358f01611b63565b97506121c860a08e01611a0d565b965060c08d013595506121dd60e08e01611a0d565b94506121ec6101008e01611a0d565b9350806101208e0135111561220057600080fd5b6122118e6101208f01358f01611b63565b9250806101408e0135111561222557600080fd5b506122378d6101408e01358e01611dba565b90509295989b509295989b9093969950565b8051611a18816119f8565b60006020828403121561226657600080fd5b8151611af3816119f8565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b83811015611f685781518752958201959082019060010161229c565b86815285602082015260c0604082015260006122d760c0830187611f2f565b82810360608401526122e98187612288565b905082810360808401526122fd8186612288565b905082810360a08401526123118185612288565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561195057611950612334565b60006001820161236f5761236f612334565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526123a96101a0850183611f2f565b91506060850151601f19808685030160808701526123c78483612288565b935060808701519150808685030160a08701526123e48483612288565b935060a08701519150808685030160c08701526124018483612288565b935060c0870151915061241760e0870183611d71565b60e087015161010087810191909152870151915061012061243a81880184611d71565b870151915061014061244e87820184611d71565b8088015192505061016081878603018188015261246b8584612288565b9088015187820390920184880152935090506124878382611f2f565b9695505050505050565b60005b838110156124ac578181015183820152602001612494565b50506000910152565b600082601f8301126124c657600080fd5b81516124d4611b8482611f86565b8181528460208386010111156124e957600080fd5b611db2826020830160208701612491565b600082601f83011261250b57600080fd5b8151602061251b611b8483611b40565b82815260059290921b8401810191818101908684111561253a57600080fd5b8286015b84811015611bc3578051612551816119f8565b835291830191830161253e565b80518015158114611a1857600080fd5b60008060008060008060008060006101208a8c03121561258d57600080fd5b6125968a612249565b60208b015160408c0151919a5098506001600160401b03808211156125ba57600080fd5b6125c68d838e016124b5565b98506125d460608d01612249565b975060808c0151965060a08c01519150808211156125f157600080fd5b6125fd8d838e016124fa565b955060c08c0151945060e08c015191508082111561261a57600080fd5b506126278c828d016124b5565b9250506126376101008b0161255e565b90509295985092959850929598565b9283526001600160a01b03919091166020830152604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b87815260e0602082015260006126c960e0830189612288565b82810360408401526126db8189612288565b905082810360608401526126ef8188612288565b905082810360808401526127038187612288565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b600082601f83011261273957600080fd5b81516020612749611b8483611b40565b82815260059290921b8401810191818101908684111561276857600080fd5b8286015b84811015611bc3578051835291830191830161276c565b600080600080600060a0868803121561279b57600080fd5b8551945060208601516127ad816119f8565b60408701519094506127be816119f8565b60608701519093506001600160401b03808211156127db57600080fd5b6127e789838a01612728565b935060808801519150808211156127fd57600080fd5b50611c5c888289016124fa565b60008060008060008060c0878903121561282357600080fd5b865195506020870151612835816119f8565b6040880151909550612846816119f8565b80945050606087015192506080870151915060a0870151611d09816119f8565b808202811582820484141761195057611950612334565b600080600080600080600080610100898b03121561289a57600080fd5b885160208a01519098506001600160401b03808211156128b957600080fd5b6128c58c838d01612728565b985060408b01519150808211156128db57600080fd5b6128e78c838d016124fa565b97506128f560608c01612249565b965061290360808c01612249565b955061291160a08c01612249565b945060c08b0151935060e08b015191508082111561292e57600080fd5b5061293b8b828c01612728565b9150509295985092959890939650565b8481526001600160a01b038416602082015260806040820181905260009061297590830185612288565b82810360608401526129878185611f2f565b979650505050505050565b60006101208b835260208b818501528160408501526129b38285018c611f2f565b915083820360608501526129c7828b612288565b915083820360808501526129db828a612288565b915083820360a08501526129ef8289612288565b915083820360c0850152612a038288611f2f565b915083820360e0850152612a178287612288565b91508382036101008501528185518084528284019150828160051b85010183880160005b83811015612a8157601f198088850301865282518051808652612a63818a88018b8501612491565b96880196601f01909116939093018601925090850190600101612a3b565b505080955050505050509a995050505050505050505056fea2646970667358221220d9c394a770c59f4dabb71a5a8b89421ba7229c4d2999fdff52a9995a71b1a7c464736f6c63430008110033", + "address": "0x27EFE43c8Db2A212aBff0D1e96A2020424948f3c", + "implementation": "0x27EFE43c8Db2A212aBff0D1e96A2020424948f3c", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721SalesWithAccessTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721SalesWithAccessTemplate.geth-localnet.json new file mode 100644 index 0000000..5ebcb55 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721SalesWithAccessTemplate.geth-localnet.json @@ -0,0 +1,566 @@ +{ + "name": "NFT721SalesWithAccessTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessCondition", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b3a806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063cc2a9a5b146102ce578063ce1b815f146102ee578063f2fde38b14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f936600461101b565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f366004611113565b610336565b005b34801561014257600080fd5b506101346101513660046111ae565b6103dd565b34801561016257600080fd5b506100ff61017136600461101b565b610400565b34801561018257600080fd5b5061019461019136600461125c565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c7366004611282565b610425565b60405190815260200161010b565b6101346101e8366004611322565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b36600461125c565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc61027636600461101b565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611477565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b506101346102e936600461148a565b610821565b3480156102fa57600080fd5b50610194610b49565b34801561030f57600080fd5b5061013461031e36600461101b565b610bd4565b6101346103313660046114fe565b610c4d565b6066546001600160a01b031663955d0c2a86610350610c7a565b604051602001610361929190611629565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a496959493929190611670565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c84565b505050505050565b600061040a610b49565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d57838181518110610446576104466116d6565b6020026020010151826104599190611702565b91508061046581611715565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c7a565b6040516020016104b2929190611629565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c7a565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b8152600401610552919061172e565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106159190611854565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e9190810190611969565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c86116d6565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610d50565b6107196000610dbf565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c9190611854565b905090565b600054610100900460ff16158080156108415750600054600160ff909116105b8061085b5750303b15801561085b575060005460ff166001145b6108c35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156108e6576000805461ff0019166101001790555b6001600160a01b0387161580159061090657506001600160a01b03861615155b801561091a57506001600160a01b03851615155b801561092e57506001600160a01b03841615155b801561094257506001600160a01b03831615155b801561095657506001600160a01b03821615155b6109945760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016108ba565b61099c610e11565b6109a587610bd4565b606680546001600160a01b0319166001600160a01b0388169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a229190611854565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216888416908117909155606b80548316888516178155606c80548416888616178155606d80548516888716178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805489169097179096559354815480870183558501805491891691881691909117905591548254808601845584018054918816918716919091179055548154938401909155910180549190931691161790558015610b40576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610b5461078c565b90506001600160a01b038116610b6c57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce9190611854565b91505090565b610bdc610d50565b6001600160a01b038116610c415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ba565b610c4a81610dbf565b50565b610c5f8b8b8b8b8b8a8a8a8a8a610474565b610c6d8b8b8a8a8a8e610c84565b5050505050505050505050565b600061081c610e40565b600086610c8f610c7a565b604051602001610ca0929190611629565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610d238f82610e6e565b8f610d2c610c7a565b604051610d3f9796959493929190611a41565b60405180910390a450505050505050565b610d58610c7a565b6001600160a01b0316610d6961071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ba565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e385760405162461bcd60e51b81526004016108ba90611ab9565b610719610fbf565b600060143610801590610e575750610e5733610400565b15610e69575060131936013560601c90565b503390565b6060600083610e7b610c7a565b604051602001610e8c929190611629565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610ebf57610ebf61103f565b604051908082528060200260200182016040528015610ee8578160200160208202803683370190505b50905060005b8151811015610fb4578260658281548110610f0b57610f0b6116d6565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f3b57610f3b6116d6565b6020026020010151604051602001610f6f939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f9757610f976116d6565b602090810291909101015280610fac81611715565b915050610eee565b509150505b92915050565b600054610100900460ff16610fe65760405162461bcd60e51b81526004016108ba90611ab9565b610719610ff1610c7a565b610dbf565b6001600160a01b0381168114610c4a57600080fd5b803561101681610ff6565b919050565b60006020828403121561102d57600080fd5b813561103881610ff6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561107d5761107d61103f565b604052919050565b60006001600160401b0382111561109e5761109e61103f565b5060051b60200190565b600082601f8301126110b957600080fd5b813560206110ce6110c983611085565b611055565b82815260059290921b840181019181810190868411156110ed57600080fd5b8286015b8481101561110857803583529183019183016110f1565b509695505050505050565b600080600080600060a0868803121561112b57600080fd5b853594506020860135935060408601356001600160401b038082111561115057600080fd5b61115c89838a016110a8565b9450606088013591508082111561117257600080fd5b61117e89838a016110a8565b9350608088013591508082111561119457600080fd5b506111a1888289016110a8565b9150509295509295909350565b60008060008060008060c087890312156111c757600080fd5b863595506020870135945060408701356001600160401b03808211156111ec57600080fd5b6111f88a838b016110a8565b9550606089013591508082111561120e57600080fd5b61121a8a838b016110a8565b9450608089013591508082111561123057600080fd5b5061123d89828a016110a8565b92505060a087013561124e81610ff6565b809150509295509295509295565b60006020828403121561126e57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561129457600080fd5b81356001600160401b038111156112aa57600080fd5b6112b6848285016110a8565b949350505050565b600082601f8301126112cf57600080fd5b813560206112df6110c983611085565b82815260059290921b840181019181810190868411156112fe57600080fd5b8286015b8481101561110857803561131581610ff6565b8352918301918301611302565b6000806000806000806000806000806101408b8d03121561134257600080fd5b8a35995060208b0135985060408b01356001600160401b038082111561136757600080fd5b6113738e838f016110a8565b995060608d013591508082111561138957600080fd5b6113958e838f016110a8565b985060808d01359150808211156113ab57600080fd5b6113b78e838f016110a8565b975060a08d013596506113cc60c08e0161100b565b95506113da60e08e0161100b565b94506101008d01359150808211156113f157600080fd5b6113fd8e838f016110a8565b93506101208d013591508082111561141457600080fd5b506114218d828e016112be565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b8381101561146c5781516001600160a01b031687529582019590820190600101611447565b509495945050505050565b6020815260006110386020830184611433565b60008060008060008060c087890312156114a357600080fd5b86356114ae81610ff6565b955060208701356114be81610ff6565b945060408701356114ce81610ff6565b935060608701356114de81610ff6565b925060808701356114ee81610ff6565b915060a087013561124e81610ff6565b60008060008060008060008060008060006101608c8e03121561152057600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561154457600080fd5b6115548e60408f01358f016110a8565b99508060608e0135111561156757600080fd5b6115778e60608f01358f016110a8565b98508060808e0135111561158a57600080fd5b61159a8e60808f01358f016110a8565b97506115a860a08e0161100b565b965060c08d013595506115bd60e08e0161100b565b94506115cc6101008e0161100b565b9350806101208e013511156115e057600080fd5b6115f18e6101208f01358f016110a8565b9250806101408e0135111561160557600080fd5b506116178d6101408e01358e016112be565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b8381101561146c57815187529582019590820190600101611654565b86815285602082015260c06040820152600061168f60c0830187611433565b82810360608401526116a18187611640565b905082810360808401526116b58186611640565b905082810360a08401526116c98185611640565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610fb957610fb96116ec565b600060018201611727576117276116ec565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117616101a0850183611433565b91506060850151601f198086850301608087015261177f8483611640565b935060808701519150808685030160a087015261179c8483611640565b935060a08701519150808685030160c08701526117b98483611640565b935060c087015191506117cf60e0870183611275565b60e08701516101008781019190915287015191506101206117f281880184611275565b870151915061014061180687820184611275565b808801519250506101608187860301818801526118238584611640565b90880151878203909201848801529350905061183f8382611433565b9695505050505050565b805161101681610ff6565b60006020828403121561186657600080fd5b815161103881610ff6565b600082601f83011261188257600080fd5b81516001600160401b0381111561189b5761189b61103f565b60206118af601f8301601f19168201611055565b82815285828487010111156118c357600080fd5b60005b838110156118e15785810183015182820184015282016118c6565b506000928101909101919091529392505050565b600082601f83011261190657600080fd5b815160206119166110c983611085565b82815260059290921b8401810191818101908684111561193557600080fd5b8286015b8481101561110857805161194c81610ff6565b8352918301918301611939565b8051801515811461101657600080fd5b60008060008060008060008060006101208a8c03121561198857600080fd5b6119918a611849565b60208b015160408c0151919a5098506001600160401b03808211156119b557600080fd5b6119c18d838e01611871565b98506119cf60608d01611849565b975060808c0151965060a08c01519150808211156119ec57600080fd5b6119f88d838e016118f5565b955060c08c0151945060e08c0151915080821115611a1557600080fd5b50611a228c828d01611871565b925050611a326101008b01611959565b90509295985092959850929598565b87815260e060208201526000611a5a60e0830189611640565b8281036040840152611a6c8189611640565b90508281036060840152611a808188611640565b90508281036080840152611a948187611640565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220bd35ada8d5ca8456ef4c7ff66a5d229e60c103674793d1a7032b489bf333709664736f6c63430008110033", + "address": "0xA4Fc971Eec0B6CD5b145c4D35c0E9378ba253cff", + "implementation": "0xA4Fc971Eec0B6CD5b145c4D35c0E9378ba253cff", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721SalesWithDLEQTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721SalesWithDLEQTemplate.geth-localnet.json new file mode 100644 index 0000000..992f9ee --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721SalesWithDLEQTemplate.geth-localnet.json @@ -0,0 +1,566 @@ +{ + "name": "NFT721SalesWithDLEQTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessCondition", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b3a806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063cc2a9a5b146102ce578063ce1b815f146102ee578063f2fde38b14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f936600461101b565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f366004611113565b610336565b005b34801561014257600080fd5b506101346101513660046111ae565b6103dd565b34801561016257600080fd5b506100ff61017136600461101b565b610400565b34801561018257600080fd5b5061019461019136600461125c565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c7366004611282565b610425565b60405190815260200161010b565b6101346101e8366004611322565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b36600461125c565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc61027636600461101b565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611477565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b506101346102e936600461148a565b610821565b3480156102fa57600080fd5b50610194610b49565b34801561030f57600080fd5b5061013461031e36600461101b565b610bd4565b6101346103313660046114fe565b610c4d565b6066546001600160a01b031663955d0c2a86610350610c7a565b604051602001610361929190611629565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a496959493929190611670565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c84565b505050505050565b600061040a610b49565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d57838181518110610446576104466116d6565b6020026020010151826104599190611702565b91508061046581611715565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c7a565b6040516020016104b2929190611629565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c7a565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b8152600401610552919061172e565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106159190611854565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e9190810190611969565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c86116d6565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610d50565b6107196000610dbf565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c9190611854565b905090565b600054610100900460ff16158080156108415750600054600160ff909116105b8061085b5750303b15801561085b575060005460ff166001145b6108c35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156108e6576000805461ff0019166101001790555b6001600160a01b0387161580159061090657506001600160a01b03861615155b801561091a57506001600160a01b03851615155b801561092e57506001600160a01b03841615155b801561094257506001600160a01b03831615155b801561095657506001600160a01b03821615155b6109945760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016108ba565b61099c610e11565b6109a587610bd4565b606680546001600160a01b0319166001600160a01b0388169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a229190611854565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216888416908117909155606b80548316888516178155606c80548416888616178155606d80548516888716178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805489169097179096559354815480870183558501805491891691881691909117905591548254808601845584018054918816918716919091179055548154938401909155910180549190931691161790558015610b40576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610b5461078c565b90506001600160a01b038116610b6c57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce9190611854565b91505090565b610bdc610d50565b6001600160a01b038116610c415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ba565b610c4a81610dbf565b50565b610c5f8b8b8b8b8b8a8a8a8a8a610474565b610c6d8b8b8a8a8a8e610c84565b5050505050505050505050565b600061081c610e40565b600086610c8f610c7a565b604051602001610ca0929190611629565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610d238f82610e6e565b8f610d2c610c7a565b604051610d3f9796959493929190611a41565b60405180910390a450505050505050565b610d58610c7a565b6001600160a01b0316610d6961071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ba565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e385760405162461bcd60e51b81526004016108ba90611ab9565b610719610fbf565b600060143610801590610e575750610e5733610400565b15610e69575060131936013560601c90565b503390565b6060600083610e7b610c7a565b604051602001610e8c929190611629565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610ebf57610ebf61103f565b604051908082528060200260200182016040528015610ee8578160200160208202803683370190505b50905060005b8151811015610fb4578260658281548110610f0b57610f0b6116d6565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f3b57610f3b6116d6565b6020026020010151604051602001610f6f939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f9757610f976116d6565b602090810291909101015280610fac81611715565b915050610eee565b509150505b92915050565b600054610100900460ff16610fe65760405162461bcd60e51b81526004016108ba90611ab9565b610719610ff1610c7a565b610dbf565b6001600160a01b0381168114610c4a57600080fd5b803561101681610ff6565b919050565b60006020828403121561102d57600080fd5b813561103881610ff6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561107d5761107d61103f565b604052919050565b60006001600160401b0382111561109e5761109e61103f565b5060051b60200190565b600082601f8301126110b957600080fd5b813560206110ce6110c983611085565b611055565b82815260059290921b840181019181810190868411156110ed57600080fd5b8286015b8481101561110857803583529183019183016110f1565b509695505050505050565b600080600080600060a0868803121561112b57600080fd5b853594506020860135935060408601356001600160401b038082111561115057600080fd5b61115c89838a016110a8565b9450606088013591508082111561117257600080fd5b61117e89838a016110a8565b9350608088013591508082111561119457600080fd5b506111a1888289016110a8565b9150509295509295909350565b60008060008060008060c087890312156111c757600080fd5b863595506020870135945060408701356001600160401b03808211156111ec57600080fd5b6111f88a838b016110a8565b9550606089013591508082111561120e57600080fd5b61121a8a838b016110a8565b9450608089013591508082111561123057600080fd5b5061123d89828a016110a8565b92505060a087013561124e81610ff6565b809150509295509295509295565b60006020828403121561126e57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561129457600080fd5b81356001600160401b038111156112aa57600080fd5b6112b6848285016110a8565b949350505050565b600082601f8301126112cf57600080fd5b813560206112df6110c983611085565b82815260059290921b840181019181810190868411156112fe57600080fd5b8286015b8481101561110857803561131581610ff6565b8352918301918301611302565b6000806000806000806000806000806101408b8d03121561134257600080fd5b8a35995060208b0135985060408b01356001600160401b038082111561136757600080fd5b6113738e838f016110a8565b995060608d013591508082111561138957600080fd5b6113958e838f016110a8565b985060808d01359150808211156113ab57600080fd5b6113b78e838f016110a8565b975060a08d013596506113cc60c08e0161100b565b95506113da60e08e0161100b565b94506101008d01359150808211156113f157600080fd5b6113fd8e838f016110a8565b93506101208d013591508082111561141457600080fd5b506114218d828e016112be565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b8381101561146c5781516001600160a01b031687529582019590820190600101611447565b509495945050505050565b6020815260006110386020830184611433565b60008060008060008060c087890312156114a357600080fd5b86356114ae81610ff6565b955060208701356114be81610ff6565b945060408701356114ce81610ff6565b935060608701356114de81610ff6565b925060808701356114ee81610ff6565b915060a087013561124e81610ff6565b60008060008060008060008060008060006101608c8e03121561152057600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561154457600080fd5b6115548e60408f01358f016110a8565b99508060608e0135111561156757600080fd5b6115778e60608f01358f016110a8565b98508060808e0135111561158a57600080fd5b61159a8e60808f01358f016110a8565b97506115a860a08e0161100b565b965060c08d013595506115bd60e08e0161100b565b94506115cc6101008e0161100b565b9350806101208e013511156115e057600080fd5b6115f18e6101208f01358f016110a8565b9250806101408e0135111561160557600080fd5b506116178d6101408e01358e016112be565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b8381101561146c57815187529582019590820190600101611654565b86815285602082015260c06040820152600061168f60c0830187611433565b82810360608401526116a18187611640565b905082810360808401526116b58186611640565b905082810360a08401526116c98185611640565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610fb957610fb96116ec565b600060018201611727576117276116ec565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117616101a0850183611433565b91506060850151601f198086850301608087015261177f8483611640565b935060808701519150808685030160a087015261179c8483611640565b935060a08701519150808685030160c08701526117b98483611640565b935060c087015191506117cf60e0870183611275565b60e08701516101008781019190915287015191506101206117f281880184611275565b870151915061014061180687820184611275565b808801519250506101608187860301818801526118238584611640565b90880151878203909201848801529350905061183f8382611433565b9695505050505050565b805161101681610ff6565b60006020828403121561186657600080fd5b815161103881610ff6565b600082601f83011261188257600080fd5b81516001600160401b0381111561189b5761189b61103f565b60206118af601f8301601f19168201611055565b82815285828487010111156118c357600080fd5b60005b838110156118e15785810183015182820184015282016118c6565b506000928101909101919091529392505050565b600082601f83011261190657600080fd5b815160206119166110c983611085565b82815260059290921b8401810191818101908684111561193557600080fd5b8286015b8481101561110857805161194c81610ff6565b8352918301918301611939565b8051801515811461101657600080fd5b60008060008060008060008060006101208a8c03121561198857600080fd5b6119918a611849565b60208b015160408c0151919a5098506001600160401b03808211156119b557600080fd5b6119c18d838e01611871565b98506119cf60608d01611849565b975060808c0151965060a08c01519150808211156119ec57600080fd5b6119f88d838e016118f5565b955060c08c0151945060e08c0151915080821115611a1557600080fd5b50611a228c828d01611871565b925050611a326101008b01611959565b90509295985092959850929598565b87815260e060208201526000611a5a60e0830189611640565b8281036040840152611a6c8189611640565b90508281036060840152611a808188611640565b90508281036080840152611a948187611640565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220bd35ada8d5ca8456ef4c7ff66a5d229e60c103674793d1a7032b489bf333709664736f6c63430008110033", + "address": "0x9F204302bEB97Bd34148EC620F5cc44635f0b05c", + "implementation": "0x9F204302bEB97Bd34148EC620F5cc44635f0b05c", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721SubscriptionUpgradeable.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721SubscriptionUpgradeable.geth-localnet.json new file mode 100644 index 0000000..f4038d6 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721SubscriptionUpgradeable.geth-localnet.json @@ -0,0 +1,1248 @@ +{ + "name": "NFT721SubscriptionUpgradeable", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_fromAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ercType", + "type": "uint256" + } + ], + "name": "NFTCloned", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "NVM_OPERATOR_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x85be5724" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x095ea7b3" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x70a08231" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x42966c68" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [], + "name": "contractURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe8a3d485" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "string", + "name": "uri", + "type": "string" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "_operators", + "type": "address[]" + } + ], + "name": "createClone", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x05a14872" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x081812fc" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getHowManyMinted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x22e8e1e0" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "getMintedEntries", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expirationBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mintBlock", + "type": "uint256" + } + ], + "internalType": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcbd5a40e" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getNFTAttributes", + "outputs": [ + { + "internalType": "bool", + "name": "nftInitialized", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "nftSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mintCap", + "type": "uint256" + }, + { + "internalType": "string", + "name": "nftURI", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x47c4ef25" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x27ac0c58" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "didRegistryAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "string", + "name": "uri", + "type": "string" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xded96d48" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe985e9c5" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isOperator", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6d70f7ae" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expirationBlock", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x156e29f6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x40c10f19" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa0712d68" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" + }, + { + "inputs": [], + "name": "nftType", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fac889b" + }, + { + "inputs": [], + "name": "nvmConfig", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe9c1e045" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6352211e" + }, + { + "inputs": [], + "name": "renounceOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3d6d3598" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb219f7d7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "royaltyInfo", + "outputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "royaltyAmount", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x2a55205a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x42842e0e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb88d4fde" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa22cb465" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_uri", + "type": "string" + } + ], + "name": "setContractMetadataUri", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd2423105" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "nftURI", + "type": "string" + } + ], + "name": "setNFTMetadata", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x237c4919" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "setNvmConfigAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x02acb9a6" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "royaltyAmount", + "type": "uint256" + } + ], + "name": "setTokenRoyalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x9713c807" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x95d89b41" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc87b56dd" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x23b872dd" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "whenWasMinted", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe271d9ee" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061390d806100206000396000f3fe608060405234801561001057600080fd5b50600436106102675760003560e01c806301ffc9a71461026c57806302acb9a61461029457806305a14872146102a957806306fdde03146102c9578063081812fc146102de578063095ea7b3146102f1578063156e29f614610304578063162790551461031757806322e8e1e01461032b578063237c49191461034157806323b872dd14610354578063248a9ca31461036757806327ac0c581461037a5780632a55205a1461038d5780632f2ff15d146103bf57806336568abe146103d25780633d6d3598146103e557806340c10f19146103ed57806342842e0e1461040057806342966c681461041357806347c4ef2514610426578063572b6c05146104495780635ced058e1461045c5780635ea3ab851461046d5780636352211e146104805780636d70f7ae146104935780636fac889b146104a65780636fd902e1146104cd57806370a08231146104d3578063715018a6146104e657806382c947b7146104ee57806385be5724146105085780638da5cb5b1461051d57806391d148541461052557806395d89b41146105385780639713c80714610540578063a0712d6814610553578063a217fddf14610566578063a22cb4651461056e578063ab9de23014610581578063b219f7d714610589578063b88d4fde1461059c578063c87b56dd146105af578063cbd5a40e146105c2578063ce1b815f146105e2578063d2423105146105ea578063d547741f146105fd578063ded96d4814610610578063e271d9ee14610623578063e8a3d48514610643578063e985e9c51461064b578063e9c1e0451461065e578063f2fde38b14610671575b600080fd5b61027f61027a366004612a92565b610684565b60405190151581526020015b60405180910390f35b6102a76102a2366004612ac4565b6106bf565b005b6102bc6102b7366004612bc1565b6106e9565b60405161028b9190612cda565b6102d16108f2565b60405161028b9190612d3e565b6102bc6102ec366004612d51565b610984565b6102a76102ff366004612d6a565b6109ab565b6102a7610312366004612d96565b610ad7565b61027f610325366004612ac4565b3b151590565b610333610b6e565b60405190815260200161028b565b6102a761034f366004612dcb565b610b7f565b6102a7610362366004612e07565b610bb4565b610333610375366004612d51565b610bec565b6102a7610388366004612ac4565b610c01565b6103a061039b366004612e48565b610c6c565b604080516001600160a01b03909316835260208301919091520161028b565b6102a76103cd366004612e6a565b610cc2565b6102a76103e0366004612e6a565b610cde565b6102a7610d68565b6102a76103fb366004612d6a565b610d89565b6102a761040e366004612e07565b610f84565b6102a7610421366004612d51565b610f9f565b610439610434366004612d51565b61123d565b60405161028b9493929190612e9a565b61027f610457366004612ac4565b61133a565b6102bc61046a366004612d51565b90565b61033361047b366004612ecb565b61135f565b6102bc61048e366004612d51565b6113ae565b61027f6104a1366004612ac4565b6113e2565b6103337f3cf8e80a7a55dd870201fe38c468fe694473dbe8d59a63381f1da07dc1c2b65581565b43610333565b6103336104e1366004612ac4565b6113fc565b6102a7611515565b6103336104fc366004612ac4565b6001600160a01b031690565b61033360008051602061389883398151915281565b6102bc611527565b61027f610533366004612e6a565b611536565b6102d1611561565b6102a761054e366004612f5b565b611570565b6102a7610561366004612d51565b6115a2565b610333600081565b6102a761057c366004612f90565b6115b3565b6102bc6115c5565b6102a7610597366004612ac4565b6115d4565b6102a76105aa366004612fbe565b61163c565b6102d16105bd366004612d51565b61167b565b6105d56105d0366004612ac4565b61171c565b60405161028b919061303d565b6102bc6117b0565b6102a76105f8366004613096565b61183b565b6102a761060b366004612e6a565b611897565b6102a761061e3660046130ca565b6118b3565b610636610631366004612ac4565b6119d7565b60405161028b919061317f565b6102d1611ac8565b61027f6106593660046131c3565b611ad7565b60ff546102bc906001600160a01b031681565b6102a761067f366004612ac4565b611b11565b600061068f82611b87565b8061069e575061069e82611ba8565b806106b957506001600160e01b0319821663152a902d60e11b145b92915050565b6106c7611bf8565b60ff80546001600160a01b0319166001600160a01b0392909216919091179055565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000906001600160a01b03168061071f5750305b600061072a82611c67565b9050806001600160a01b03811663ded96d48610744611d01565b610101546040516001600160e01b031960e085901b16815261077b92916001600160a01b0316908e908e908e908e906004016131f1565b600060405180830381600087803b15801561079557600080fd5b505af11580156107a9573d6000803e3d6000fd5b5050505060005b855181101561084357816001600160a01b03166327ac0c588783815181106107da576107da613257565b60200260200101516040518263ffffffff1660e01b81526004016107fe9190612cda565b600060405180830381600087803b15801561081857600080fd5b505af115801561082c573d6000803e3d6000fd5b50505050808061083b90613283565b9150506107b0565b50806001600160a01b0316633d6d35986040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561087f57600080fd5b505af1158015610893573d6000803e3d6000fd5b50505050826001600160a01b0316826001600160a01b03167f60b02f0439b830955522ba890ebaeed1012ac175aba5742b6032a7b79d0cd7346102d16040516108de91815260200190565b60405180910390a350979650505050505050565b6060609780546109019061329c565b80601f016020809104026020016040519081016040528092919081815260200182805461092d9061329c565b801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b5050505050905090565b600061098f82611d0b565b506000908152609b60205260409020546001600160a01b031690565b60006109b6826113ae565b9050806001600160a01b0316836001600160a01b031603610a285760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b806001600160a01b0316610a3a611d01565b6001600160a01b03161480610a565750610a5681610659611d01565b610ac85760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a1f565b610ad28383611d30565b505050565b610ae18383610d89565b600160fc60008481526020019081526020016000206001016000828254610b0891906132d0565b90915550506001600160a01b03909216600090815261010360209081526040808320815160608101835294855284830195865243918501918252805460018181018355918552929093209351600390920290930190815592519083015551600290910155565b6000610b7a6101025490565b905090565b610b8a6104a1611d01565b610ba65760405162461bcd60e51b8152600401610a1f906132e3565b610bb08282611d9e565b5050565b610bc5610bbf611d01565b82611dc4565b610be15760405162461bcd60e51b8152600401610a1f9061330e565b610ad2838383611e23565b600090815260c9602052604090206001015490565b610c09611d01565b6001600160a01b0316610c1a611527565b6001600160a01b03161480610c355750610c356104a1611d01565b610c515760405162461bcd60e51b8152600401610a1f9061335b565b610c6960008051602061389883398151915282611f82565b50565b600082815260fb60209081526040808320815180830190925280546001600160a01b03168083526001909101549282018390529291606490610cae908661338b565b610cb891906133a2565b9150509250929050565b610ccb82610bec565b610cd481611f8c565b610ad28383611f9d565b610ce6611d01565b6001600160a01b0316816001600160a01b031614610d5e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a1f565b610bb08282612024565b610d87600080516020613898833981519152610d82611d01565b612024565b565b610d946104a1611d01565b80610db75750610da2611527565b6001600160a01b0316826001600160a01b0316145b610e005760405162461bcd60e51b815260206004820152601a6024820152791bdb9b1e481b999d081bdc195c985d1bdc8818d85b881b5a5b9d60321b6044820152606401610a1f565b610100541580610e1557506101005461010254105b610e565760405162461bcd60e51b8152602060048201526012602482015271115490cdcc8c4e8810d85c08195e18d9595960721b6044820152606401610a1f565b610e6561010280546001019055565b61010254600082815260fc60208181526040808420600181019590955580518083019091528381529285905252600390910190610ea2908261340a565b50610101546001600160a01b031663bb794d9282610ebe611d01565b600143604051602001610ed494939291906134e0565b604051602081830303815290604052805190602001208360001b610ef6611d01565b7fdaf0b3c5710379609eb5495f1ecd348cb28167711b73609fe565a727345503546040518563ffffffff1660e01b8152600401610f36949392919061351f565b6020604051808303816000875af1158015610f55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f79919061355f565b50610bb082826120a9565b610ad28383836040518060200160405280600081525061163c565b610faa6104a1611d01565b80610fd55750610fb8611d01565b6001600160a01b0316610fca826113ae565b6001600160a01b0316145b6110395760405162461bcd60e51b815260206004820152602f60248201527f4552433732313a2063616c6c6572206973206e6f74206f776e6572206f72206e60448201526e6f7420686176652062616c616e636560881b6064820152608401610a1f565b600160fc60008381526020019081526020016000206001016000828254611060919061357c565b9091555050610101546001600160a01b031663bb794d9282611080611d01565b60014360405160200161109694939291906135a6565b604051602081830303815290604052805190602001208360001b6110b8611d01565b7ff43e8cfd4725c1e28fa4a6e3e468b4fcf75367166b850ac5f04e33ec843e82c16040518563ffffffff1660e01b81526004016110f894939291906135cf565b6020604051808303816000875af1158015611117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113b919061355f565b50611145816121b2565b60005b6101036000611155611d01565b6001600160a01b03168152602081019190915260400160002054811015610bb057816101036000611184611d01565b6001600160a01b03166001600160a01b0316815260200190815260200160002082815481106111b5576111b5613257565b9060005260206000209060030201600001540361122b5761010360006111d9611d01565b6001600160a01b03166001600160a01b03168152602001908152602001600020818154811061120a5761120a613257565b60009182526020822060039091020181815560018101829055600201555050565b8061123581613283565b915050611148565b600081815260fc602090815260408083208151608081018352815460ff161515815260018201549381019390935260028101549183019190915260038101805484938493606093859383860191906112949061329c565b80601f01602080910402602001604051908101604052809291908181526020018280546112c09061329c565b801561130d5780601f106112e25761010080835404028352916020019161130d565b820191906000526020600020905b8154815290600101906020018083116112f057829003601f168201915b505050919092525050815160208301516040840151606090940151919a9099509297509550909350505050565b60006113446117b0565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156113a75783818151811061138057611380613257565b60200260200101518261139391906132d0565b91508061139f81613283565b915050611365565b5092915050565b6000806113ba83612243565b90506001600160a01b0381166106b95760405162461bcd60e51b8152600401610a1f9061360f565b60006106b960008051602061389883398151915283611536565b60008060005b6001600160a01b038416600090815261010360205260409020548110156113a7576001600160a01b03841660009081526101036020526040812080548390811061144e5761144e613257565b9060005260206000209060030201600201541180156114f057506001600160a01b03841660009081526101036020526040902080548290811061149357611493613257565b906000526020600020906003020160010154600014806114f057506001600160a01b0384166000908152610103602052604090208054439190839081106114dc576114dc613257565b906000526020600020906003020160010154115b15611503576115006001836132d0565b91505b8061150d81613283565b915050611402565b61151d611bf8565b610d87600061225e565b6033546001600160a01b031690565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060609880546109019061329c565b61157b6104a1611d01565b6115975760405162461bcd60e51b8152600401610a1f906132e3565b610ad28383836122b0565b610c696115ad611d01565b82610d89565b610bb06115be611d01565b8383612348565b60ff546001600160a01b031690565b6115dc611d01565b6001600160a01b03166115ed611527565b6001600160a01b0316148061160857506116086104a1611d01565b6116245760405162461bcd60e51b8152600401610a1f9061335b565b610c6960008051602061389883398151915282612024565b61164d611647611d01565b83611dc4565b6116695760405162461bcd60e51b8152600401610a1f9061330e565b61167584848484612412565b50505050565b60606000611687612445565b90506116928361244f565b156116e75760008151116116b557604051806020016040528060008152506116e0565b806116bf8461246c565b6040516020016116d0929190613641565b6040516020818303038152906040525b9392505050565b600081511161170557604051806020016040528060008152506116e0565b806040516020016116d09190613670565b50919050565b6001600160a01b038116600090815261010360209081526040808320805482518185028101850190935280835260609492939192909184015b828210156117a55783829060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505081526020019060010190611755565b505050509050919050565b6000806117bb6115c5565b90506001600160a01b0381166117d357600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611811573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611835919061368c565b91505090565b611843611d01565b6001600160a01b0316611854611527565b6001600160a01b0316148061186f575061186f6104a1611d01565b61188b5760405162461bcd60e51b8152600401610a1f9061335b565b60fe610bb0828261340a565b6118a082610bec565b6118a981611f8c565b610ad28383612024565b600054610100900460ff16158080156118d35750600054600160ff909116105b806118f457506118e230612483565b1580156118f4575060005460ff166001145b6119575760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a1f565b6000805460ff19166001179055801561197a576000805461ff0019166101001790555b611988878787878787612492565b80156119ce576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b6001600160a01b03811660009081526101036020526040812054606091906001600160401b03811115611a0c57611a0c612ae1565b604051908082528060200260200182016040528015611a35578160200160208202803683370190505b50905060005b6001600160a01b038416600090815261010360205260409020548110156113a7576001600160a01b038416600090815261010360205260409020805482908110611a8757611a87613257565b906000526020600020906003020160020154828281518110611aab57611aab613257565b602090810291909101015280611ac081613283565b915050611a3b565b606060fe80546109019061329c565b6001600160a01b038083166000908152609c6020908152604080832093851683529290529081205460ff16806116e057506116e0826113e2565b611b19611bf8565b6001600160a01b038116611b7e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1f565b610c698161225e565b60006001600160e01b03198216637965db0b60e01b14806106b957506106b9825b60006001600160e01b031982166380ac58cd60e01b1480611bd957506001600160e01b03198216635b5e139f60e01b145b806106b957506301ffc9a760e01b6001600160e01b03198316146106b9565b611c00611d01565b6001600160a01b0316611c11611527565b6001600160a01b031614610d875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1f565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611cfc5760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610a1f565b919050565b6000610b7a6124f7565b611d148161244f565b610c695760405162461bcd60e51b8152600401610a1f9061360f565b6000818152609b6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d65826113ae565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082815260fc60205260409020805460ff19166001178155600301610ad2828261340a565b600080611dd0836113ae565b9050806001600160a01b0316846001600160a01b03161480611df75750611df78185611ad7565b80611e1b5750836001600160a01b0316611e1084610984565b6001600160a01b0316145b949350505050565b826001600160a01b0316611e36826113ae565b6001600160a01b031614611e5c5760405162461bcd60e51b8152600401610a1f906136a9565b6001600160a01b038216611ebe5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1f565b611ecb8383836001612525565b826001600160a01b0316611ede826113ae565b6001600160a01b031614611f045760405162461bcd60e51b8152600401610a1f906136a9565b6000818152609b6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652609a8552838620805460001901905590871680865283862080546001019055868652609990945282852080549092168417909155905184936000805160206138b883398151915291a4505050565b610bb08282611f9d565b610c6981611f98611d01565b612591565b611fa78282611536565b610bb057600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611fe0611d01565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61202e8282611536565b15610bb057600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19169055612065611d01565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b0382166120ff5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a1f565b6121088161244f565b156121255760405162461bcd60e51b8152600401610a1f906136ee565b612133600083836001612525565b61213c8161244f565b156121595760405162461bcd60e51b8152600401610a1f906136ee565b6001600160a01b0382166000818152609a6020908152604080832080546001019055848352609990915280822080546001600160a01b0319168417905551839291906000805160206138b8833981519152908290a45050565b60006121bd826113ae565b90506121cd816000846001612525565b6121d6826113ae565b6000838152609b6020908152604080832080546001600160a01b03199081169091556001600160a01b038516808552609a845282852080546000190190558785526099909352818420805490911690555192935084926000805160206138b8833981519152908390a45050565b6000908152609960205260409020546001600160a01b031690565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620f42408111156123005760405162461bcd60e51b815260206004820152601a60248201527908aa48664727062a4def2c2d8e8d2cae67440a8dede40d0d2ced60331b6044820152606401610a1f565b6040805180820182526001600160a01b0393841681526020808201938452600095865260fb90529320925183546001600160a01b031916921691909117825551600190910155565b816001600160a01b0316836001600160a01b0316036123a55760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610a1f565b6001600160a01b038381166000818152609c6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61241d848484611e23565b612429848484846125ea565b6116755760405162461bcd60e51b8152600401610a1f90613724565b6060610b7a611ac8565b60008061245b83612243565b6001600160a01b0316141592915050565b60606106b98261247b846126f9565b600101612763565b6001600160a01b03163b151590565b600054610100900460ff166124b95760405162461bcd60e51b8152600401610a1f90613776565b6124c16128fe565b6124c96128fe565b6124d38484612925565b6124db612965565b6124e36128fe565b6124ef8686848461299c565b505050505050565b60006014361080159061250e575061250e3361133a565b15612520575060131936013560601c90565b503390565b6001600160a01b038416158061254257506001600160a01b038316155b8061255357506125536104a1611d01565b61258c5760405162461bcd60e51b815260206004820152600a6024820152696f6e6c792070726f787960b01b6044820152606401610a1f565b611675565b61259b8282611536565b610bb0576125a881612a66565b6125b3836020612763565b6040516020016125c49291906137c1565b60408051601f198184030181529082905262461bcd60e51b8252610a1f91600401612d3e565b60006125fe846001600160a01b0316612483565b156126ee57836001600160a01b031663150b7a0261261a611d01565b8786866040518563ffffffff1660e01b815260040161263c9493929190613830565b6020604051808303816000875af1925050508015612677575060408051601f3d908101601f1916820190925261267491810190613863565b60015b6126d4573d8080156126a5576040519150601f19603f3d011682016040523d82523d6000602084013e6126aa565b606091505b5080516000036126cc5760405162461bcd60e51b8152600401610a1f90613724565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e1b565b506001949350505050565b600080608083901c156127115760809290921c916010015b604083901c156127265760409290921c916008015b602083901c1561273b5760209290921c916004015b601083901c156127505760109290921c916002015b600883901c156106b95760010192915050565b6060600061277283600261338b565b61277d9060026132d0565b6001600160401b0381111561279457612794612ae1565b6040519080825280601f01601f1916602001820160405280156127be576020820181803683370190505b509050600360fc1b816000815181106127d9576127d9613257565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061280857612808613257565b60200101906001600160f81b031916908160001a905350600061282c84600261338b565b6128379060016132d0565b90505b60018111156128af576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061286b5761286b613257565b1a60f81b82828151811061288157612881613257565b60200101906001600160f81b031916908160001a90535060049490941c936128a881613880565b905061283a565b5083156116e05760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a1f565b600054610100900460ff16610d875760405162461bcd60e51b8152600401610a1f90613776565b600054610100900460ff1661294c5760405162461bcd60e51b8152600401610a1f90613776565b6097612958838261340a565b506098610ad2828261340a565b600054610100900460ff1661298c5760405162461bcd60e51b8152600401610a1f90613776565b610d87612997611d01565b61225e565b600054610100900460ff166129c35760405162461bcd60e51b8152600401610a1f90613776565b6129e26000805160206138988339815191526129dd611d01565b611f82565b6129fa60008051602061389883398151915284611f82565b612a1260008051602061389883398151915285611f82565b612a1b8261183b565b61010081905561010180546001600160a01b0319166001600160a01b038516179055612a45611d01565b6001600160a01b0316846001600160a01b0316146116755761167584611b11565b60606106b96001600160a01b0383166014612763565b6001600160e01b031981168114610c6957600080fd5b600060208284031215612aa457600080fd5b81356116e081612a7c565b6001600160a01b0381168114610c6957600080fd5b600060208284031215612ad657600080fd5b81356116e081612aaf565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612b1f57612b1f612ae1565b604052919050565b60006001600160401b03831115612b4057612b40612ae1565b612b53601f8401601f1916602001612af7565b9050828152838383011115612b6757600080fd5b828260208301376000602084830101529392505050565b600082601f830112612b8f57600080fd5b6116e083833560208501612b27565b60006001600160401b03821115612bb757612bb7612ae1565b5060051b60200190565b600080600080600060a08688031215612bd957600080fd5b85356001600160401b0380821115612bf057600080fd5b612bfc89838a01612b7e565b9650602091508188013581811115612c1357600080fd5b612c1f8a828b01612b7e565b965050604088013581811115612c3457600080fd5b612c408a828b01612b7e565b95505060608801359350608088013581811115612c5c57600080fd5b88019050601f81018913612c6f57600080fd5b8035612c82612c7d82612b9e565b612af7565b81815260059190911b8201830190838101908b831115612ca157600080fd5b928401925b82841015612cc8578335612cb981612aaf565b82529284019290840190612ca6565b80955050505050509295509295909350565b6001600160a01b0391909116815260200190565b60005b83811015612d09578181015183820152602001612cf1565b50506000910152565b60008151808452612d2a816020860160208601612cee565b601f01601f19169290920160200192915050565b6020815260006116e06020830184612d12565b600060208284031215612d6357600080fd5b5035919050565b60008060408385031215612d7d57600080fd5b8235612d8881612aaf565b946020939093013593505050565b600080600060608486031215612dab57600080fd5b8335612db681612aaf565b95602085013595506040909401359392505050565b60008060408385031215612dde57600080fd5b8235915060208301356001600160401b03811115612dfb57600080fd5b610cb885828601612b7e565b600080600060608486031215612e1c57600080fd5b8335612e2781612aaf565b92506020840135612e3781612aaf565b929592945050506040919091013590565b60008060408385031215612e5b57600080fd5b50508035926020909101359150565b60008060408385031215612e7d57600080fd5b823591506020830135612e8f81612aaf565b809150509250929050565b8415158152836020820152826040820152608060608201526000612ec16080830184612d12565b9695505050505050565b60006020808385031215612ede57600080fd5b82356001600160401b03811115612ef457600080fd5b8301601f81018513612f0557600080fd5b8035612f13612c7d82612b9e565b81815260059190911b82018301908381019087831115612f3257600080fd5b928401925b82841015612f5057833582529284019290840190612f37565b979650505050505050565b600080600060608486031215612f7057600080fd5b833592506020840135612e3781612aaf565b8015158114610c6957600080fd5b60008060408385031215612fa357600080fd5b8235612fae81612aaf565b91506020830135612e8f81612f82565b60008060008060808587031215612fd457600080fd5b8435612fdf81612aaf565b93506020850135612fef81612aaf565b92506040850135915060608501356001600160401b0381111561301157600080fd5b8501601f8101871361302257600080fd5b61303187823560208401612b27565b91505092959194509250565b602080825282518282018190526000919060409081850190868401855b82811015613089578151805185528681015187860152850151858501526060909301929085019060010161305a565b5091979650505050505050565b6000602082840312156130a857600080fd5b81356001600160401b038111156130be57600080fd5b611e1b84828501612b7e565b60008060008060008060c087890312156130e357600080fd5b86356130ee81612aaf565b955060208701356130fe81612aaf565b945060408701356001600160401b038082111561311a57600080fd5b6131268a838b01612b7e565b9550606089013591508082111561313c57600080fd5b6131488a838b01612b7e565b9450608089013591508082111561315e57600080fd5b5061316b89828a01612b7e565b92505060a087013590509295509295509295565b6020808252825182820181905260009190848201906040850190845b818110156131b75783518352928401929184019160010161319b565b50909695505050505050565b600080604083850312156131d657600080fd5b82356131e181612aaf565b91506020830135612e8f81612aaf565b6001600160a01b0387811682528616602082015260c06040820181905260009061321d90830187612d12565b828103606084015261322f8187612d12565b905082810360808401526132438186612d12565b9150508260a0830152979650505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016132955761329561326d565b5060010190565b600181811c908216806132b057607f821691505b60208210810361171657634e487b7160e01b600052602260045260246000fd5b808201808211156106b9576106b961326d565b60208082526011908201527037b7363c9037333a1037b832b930ba37b960791b604082015260600190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526016908201527527b7363c9037b832b930ba37b91037b91037bbb732b960511b604082015260600190565b80820281158282048414176106b9576106b961326d565b6000826133bf57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610ad257600081815260208120601f850160051c810160208610156133eb5750805b601f850160051c820191505b818110156124ef578281556001016133f7565b81516001600160401b0381111561342357613423612ae1565b61343781613431845461329c565b846133c4565b602080601f83116001811461346c57600084156134545750858301515b600019600386901b1c1916600185901b1785556124ef565b600085815260208120601f198616915b8281101561349b5788860151825594840194600190910190840161347c565b50858210156134b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60048152631b5a5b9d60e21b602082015260400190565b8481526001600160a01b038416602082015260a0604082018190526000906135099083016134c9565b60ff949094166060830152506080015292915050565b84815283602082015260018060a01b038316604082015281606082015260c06080820152600060c082015260e060a08201526000612ec160e083016134c9565b60006020828403121561357157600080fd5b81516116e081612f82565b818103818111156106b9576106b961326d565b6004815263313ab93760e11b602082015260400190565b8481526001600160a01b038416602082015260a06040820181905260009061350990830161358f565b84815283602082015260018060a01b038316604082015281606082015260c06080820152600060c082015260e060a08201526000612ec160e0830161358f565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b60008351613653818460208801612cee565b835190830190613667818360208801612cee565b01949350505050565b60008251613682818460208701612cee565b9190910192915050565b60006020828403121561369e57600080fd5b81516116e081612aaf565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252601c908201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516137f3816017850160208801612cee565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613824816028840160208801612cee565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ec190830184612d12565b60006020828403121561387557600080fd5b81516116e081612a7c565b60008161388f5761388f61326d565b50600019019056fef7a17991623d7e30ebf9bd089b2f4dcf33b0aa34727454bfa3dbc351ed7d6835ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122058d193dc4a89936faa0836b7c3c9846ab4945e4f6b027433eff0c9a6b5fe9f9a64736f6c63430008110033", + "address": "0x168bc74Fd30D1559A0dF48cF61AC7dD4F23e1dA1", + "implementation": "0xA4DF3a00A815A75bC174338328D95a911F045d0E", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFT721Upgradeable.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFT721Upgradeable.geth-localnet.json new file mode 100644 index 0000000..3615c5d --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFT721Upgradeable.geth-localnet.json @@ -0,0 +1,1167 @@ +{ + "name": "NFT721Upgradeable", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_fromAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ercType", + "type": "uint256" + } + ], + "name": "NFTCloned", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "NVM_OPERATOR_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x85be5724" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x095ea7b3" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x70a08231" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x42966c68" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [], + "name": "contractURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe8a3d485" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "string", + "name": "uri", + "type": "string" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "_operators", + "type": "address[]" + } + ], + "name": "createClone", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x05a14872" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x081812fc" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getHowManyMinted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x22e8e1e0" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getNFTAttributes", + "outputs": [ + { + "internalType": "bool", + "name": "nftInitialized", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "nftSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mintCap", + "type": "uint256" + }, + { + "internalType": "string", + "name": "nftURI", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x47c4ef25" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x27ac0c58" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "didRegistryAddress", + "type": "address" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "string", + "name": "uri", + "type": "string" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xded96d48" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe985e9c5" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isOperator", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6d70f7ae" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x40c10f19" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa0712d68" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" + }, + { + "inputs": [], + "name": "nftType", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x6fac889b" + }, + { + "inputs": [], + "name": "nvmConfig", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe9c1e045" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6352211e" + }, + { + "inputs": [], + "name": "renounceOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3d6d3598" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeOperatorRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb219f7d7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "royaltyInfo", + "outputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "royaltyAmount", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x2a55205a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x42842e0e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb88d4fde" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa22cb465" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_uri", + "type": "string" + } + ], + "name": "setContractMetadataUri", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd2423105" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "nftURI", + "type": "string" + } + ], + "name": "setNFTMetadata", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x237c4919" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "setNvmConfigAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x02acb9a6" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "royaltyAmount", + "type": "uint256" + } + ], + "name": "setTokenRoyalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x9713c807" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x95d89b41" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xc87b56dd" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x23b872dd" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50613409806100206000396000f3fe608060405234801561001057600080fd5b50600436106102465760003560e01c806301ffc9a71461024b57806302acb9a61461027357806305a148721461028857806306fdde03146102a8578063081812fc146102bd578063095ea7b3146102d057806316279055146102e357806322e8e1e0146102f7578063237c49191461030d57806323b872dd14610320578063248a9ca31461033357806327ac0c58146103465780632a55205a146103595780632f2ff15d1461038b57806336568abe1461039e5780633d6d3598146103b157806340c10f19146103b957806342842e0e146103cc57806342966c68146103df57806347c4ef25146103f2578063572b6c05146104155780635ced058e146104285780635ea3ab85146104395780636352211e1461044c5780636d70f7ae1461045f5780636fac889b146104725780636fd902e11461049857806370a082311461049e578063715018a6146104b157806382c947b7146104b957806385be5724146104d35780638da5cb5b146104e857806391d14854146104f057806395d89b41146105035780639713c8071461050b578063a0712d681461051e578063a217fddf14610531578063a22cb46514610539578063ab9de2301461054c578063b219f7d714610554578063b88d4fde14610567578063c87b56dd1461057a578063ce1b815f1461058d578063d242310514610595578063d547741f146105a8578063ded96d48146105bb578063e8a3d485146105ce578063e985e9c5146105d6578063e9c1e045146105e9578063f2fde38b146105fc575b600080fd5b61025e610259366004612660565b61060f565b60405190151581526020015b60405180910390f35b610286610281366004612692565b61064a565b005b61029b61029636600461278f565b610674565b60405161026a91906128a8565b6102b061087d565b60405161026a919061290c565b61029b6102cb36600461291f565b61090f565b6102866102de366004612938565b610936565b61025e6102f1366004612692565b3b151590565b6102ff610a62565b60405190815260200161026a565b61028661031b366004612964565b610a73565b61028661032e3660046129a0565b610aa8565b6102ff61034136600461291f565b610ae0565b610286610354366004612692565b610af5565b61036c6103673660046129e1565b610b60565b604080516001600160a01b03909316835260208301919091520161026a565b610286610399366004612a03565b610bb6565b6102866103ac366004612a03565b610bd2565b610286610c5c565b6102866103c7366004612938565b610c7d565b6102866103da3660046129a0565b610e78565b6102866103ed36600461291f565b610e93565b61040561040036600461291f565b611023565b60405161026a9493929190612a33565b61025e610423366004612692565b611120565b61029b61043636600461291f565b90565b6102ff610447366004612a64565b611145565b61029b61045a36600461291f565b611194565b61025e61046d366004612692565b6111c8565b7f558ca716db21d83b70cc8d2d10d668b806a0bee2671687cb5817a310e8de67836102ff565b436102ff565b6102ff6104ac366004612692565b6111e2565b610286611268565b6102ff6104c7366004612692565b6001600160a01b031690565b6102ff60008051602061339483398151915281565b61029b61127a565b61025e6104fe366004612a03565b611289565b6102b06112b4565b610286610519366004612af4565b6112c3565b61028661052c36600461291f565b6112f5565b6102ff600081565b610286610547366004612b29565b611306565b61029b611318565b610286610562366004612692565b611327565b610286610575366004612b57565b61138f565b6102b061058836600461291f565b6113ce565b61029b61146f565b6102866105a3366004612bd6565b6114fa565b6102866105b6366004612a03565b611556565b6102866105c9366004612c0a565b611572565b6102b0611696565b61025e6105e4366004612cbf565b6116a5565b60ff5461029b906001600160a01b031681565b61028661060a366004612692565b6116df565b600061061a82611755565b80610629575061062982611776565b8061064457506001600160e01b0319821663152a902d60e11b145b92915050565b6106526117c6565b60ff80546001600160a01b0319166001600160a01b0392909216919091179055565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000906001600160a01b0316806106aa5750305b60006106b582611835565b9050806001600160a01b03811663ded96d486106cf6118cf565b610101546040516001600160e01b031960e085901b16815261070692916001600160a01b0316908e908e908e908e90600401612ced565b600060405180830381600087803b15801561072057600080fd5b505af1158015610734573d6000803e3d6000fd5b5050505060005b85518110156107ce57816001600160a01b03166327ac0c5887838151811061076557610765612d53565b60200260200101516040518263ffffffff1660e01b815260040161078991906128a8565b600060405180830381600087803b1580156107a357600080fd5b505af11580156107b7573d6000803e3d6000fd5b5050505080806107c690612d7f565b91505061073b565b50806001600160a01b0316633d6d35986040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561080a57600080fd5b505af115801561081e573d6000803e3d6000fd5b50505050826001600160a01b0316826001600160a01b03167f60b02f0439b830955522ba890ebaeed1012ac175aba5742b6032a7b79d0cd7346102d160405161086991815260200190565b60405180910390a350979650505050505050565b60606097805461088c90612d98565b80601f01602080910402602001604051908101604052809291908181526020018280546108b890612d98565b80156109055780601f106108da57610100808354040283529160200191610905565b820191906000526020600020905b8154815290600101906020018083116108e857829003601f168201915b5050505050905090565b600061091a826118d9565b506000908152609b60205260409020546001600160a01b031690565b600061094182611194565b9050806001600160a01b0316836001600160a01b0316036109b35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b806001600160a01b03166109c56118cf565b6001600160a01b031614806109e157506109e1816105e46118cf565b610a535760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109aa565b610a5d83836118fe565b505050565b6000610a6e6101025490565b905090565b610a7e61046d6118cf565b610a9a5760405162461bcd60e51b81526004016109aa90612dcc565b610aa4828261196c565b5050565b610ab9610ab36118cf565b82611992565b610ad55760405162461bcd60e51b81526004016109aa90612df7565b610a5d8383836119f1565b600090815260c9602052604090206001015490565b610afd6118cf565b6001600160a01b0316610b0e61127a565b6001600160a01b03161480610b295750610b2961046d6118cf565b610b455760405162461bcd60e51b81526004016109aa90612e44565b610b5d60008051602061339483398151915282611b50565b50565b600082815260fb60209081526040808320815180830190925280546001600160a01b03168083526001909101549282018390529291606490610ba29086612e74565b610bac9190612e8b565b9150509250929050565b610bbf82610ae0565b610bc881611b5a565b610a5d8383611b6b565b610bda6118cf565b6001600160a01b0316816001600160a01b031614610c525760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109aa565b610aa48282611bf2565b610c7b600080516020613394833981519152610c766118cf565b611bf2565b565b610c8861046d6118cf565b80610cab5750610c9661127a565b6001600160a01b0316826001600160a01b0316145b610cf45760405162461bcd60e51b815260206004820152601a6024820152791bdb9b1e481b999d081bdc195c985d1bdc8818d85b881b5a5b9d60321b60448201526064016109aa565b610100541580610d0957506101005461010254105b610d4a5760405162461bcd60e51b8152602060048201526012602482015271115490cdcc8c4e8810d85c08195e18d9595960721b60448201526064016109aa565b610d5961010280546001019055565b61010254600082815260fc60208181526040808420600181019590955580518083019091528381529285905252600390910190610d969082612ef3565b50610101546001600160a01b031663bb794d9282610db26118cf565b600143604051602001610dc89493929190612fc9565b604051602081830303815290604052805190602001208360001b610dea6118cf565b7fdaf0b3c5710379609eb5495f1ecd348cb28167711b73609fe565a727345503546040518563ffffffff1660e01b8152600401610e2a9493929190613008565b6020604051808303816000875af1158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d9190613048565b50610aa48282611c77565b610a5d8383836040518060200160405280600081525061138f565b610e9e61046d6118cf565b80610eb357506000610eb16104ac6118cf565b115b610f175760405162461bcd60e51b815260206004820152602f60248201527f4552433732313a2063616c6c6572206973206e6f74206f776e6572206f72206e60448201526e6f7420686176652062616c616e636560881b60648201526084016109aa565b600160fc60008381526020019081526020016000206001016000828254610f3e9190613065565b9091555050610101546001600160a01b031663bb794d9282610f5e6118cf565b600143604051602001610f74949392919061308f565b604051602081830303815290604052805190602001208360001b610f966118cf565b7ff43e8cfd4725c1e28fa4a6e3e468b4fcf75367166b850ac5f04e33ec843e82c16040518563ffffffff1660e01b8152600401610fd694939291906130b8565b6020604051808303816000875af1158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190613048565b50610b5d81611d80565b600081815260fc602090815260408083208151608081018352815460ff1615158152600182015493810193909352600281015491830191909152600381018054849384936060938593838601919061107a90612d98565b80601f01602080910402602001604051908101604052809291908181526020018280546110a690612d98565b80156110f35780601f106110c8576101008083540402835291602001916110f3565b820191906000526020600020905b8154815290600101906020018083116110d657829003601f168201915b505050919092525050815160208301516040840151606090940151919a9099509297509550909350505050565b600061112a61146f565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561118d5783818151811061116657611166612d53565b60200260200101518261117991906130f8565b91508061118581612d7f565b91505061114b565b5092915050565b6000806111a083611e11565b90506001600160a01b0381166106445760405162461bcd60e51b81526004016109aa9061310b565b600061064460008051602061339483398151915283611289565b60006001600160a01b03821661124c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109aa565b506001600160a01b03166000908152609a602052604090205490565b6112706117c6565b610c7b6000611e2c565b6033546001600160a01b031690565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606098805461088c90612d98565b6112ce61046d6118cf565b6112ea5760405162461bcd60e51b81526004016109aa90612dcc565b610a5d838383611e7e565b610b5d6113006118cf565b82610c7d565b610aa46113116118cf565b8383611f16565b60ff546001600160a01b031690565b61132f6118cf565b6001600160a01b031661134061127a565b6001600160a01b0316148061135b575061135b61046d6118cf565b6113775760405162461bcd60e51b81526004016109aa90612e44565b610b5d60008051602061339483398151915282611bf2565b6113a061139a6118cf565b83611992565b6113bc5760405162461bcd60e51b81526004016109aa90612df7565b6113c884848484611fe0565b50505050565b606060006113da612013565b90506113e58361201d565b1561143a5760008151116114085760405180602001604052806000815250611433565b806114128461203a565b60405160200161142392919061313d565b6040516020818303038152906040525b9392505050565b60008151116114585760405180602001604052806000815250611433565b80604051602001611423919061316c565b50919050565b60008061147a611318565b90506001600160a01b03811661149257600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f49190613188565b91505090565b6115026118cf565b6001600160a01b031661151361127a565b6001600160a01b0316148061152e575061152e61046d6118cf565b61154a5760405162461bcd60e51b81526004016109aa90612e44565b60fe610aa48282612ef3565b61155f82610ae0565b61156881611b5a565b610a5d8383611bf2565b600054610100900460ff16158080156115925750600054600160ff909116105b806115b357506115a130612051565b1580156115b3575060005460ff166001145b6116165760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016109aa565b6000805460ff191660011790558015611639576000805461ff0019166101001790555b611647878787878787612060565b801561168d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b606060fe805461088c90612d98565b6001600160a01b038083166000908152609c6020908152604080832093851683529290529081205460ff16806114335750611433826111c8565b6116e76117c6565b6001600160a01b03811661174c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109aa565b610b5d81611e2c565b60006001600160e01b03198216637965db0b60e01b14806106445750610644825b60006001600160e01b031982166380ac58cd60e01b14806117a757506001600160e01b03198216635b5e139f60e01b145b8061064457506301ffc9a760e01b6001600160e01b0319831614610644565b6117ce6118cf565b6001600160a01b03166117df61127a565b6001600160a01b031614610c7b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109aa565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166118ca5760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b60448201526064016109aa565b919050565b6000610a6e6120c5565b6118e28161201d565b610b5d5760405162461bcd60e51b81526004016109aa9061310b565b6000818152609b6020526040902080546001600160a01b0319166001600160a01b038416908117909155819061193382611194565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082815260fc60205260409020805460ff19166001178155600301610a5d8282612ef3565b60008061199e83611194565b9050806001600160a01b0316846001600160a01b031614806119c557506119c581856116a5565b806119e95750836001600160a01b03166119de8461090f565b6001600160a01b0316145b949350505050565b826001600160a01b0316611a0482611194565b6001600160a01b031614611a2a5760405162461bcd60e51b81526004016109aa906131a5565b6001600160a01b038216611a8c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109aa565b611a9983838360016120f3565b826001600160a01b0316611aac82611194565b6001600160a01b031614611ad25760405162461bcd60e51b81526004016109aa906131a5565b6000818152609b6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652609a8552838620805460001901905590871680865283862080546001019055868652609990945282852080549092168417909155905184936000805160206133b483398151915291a4505050565b610aa48282611b6b565b610b5d81611b666118cf565b61215f565b611b758282611289565b610aa457600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611bae6118cf565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611bfc8282611289565b15610aa457600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19169055611c336118cf565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b038216611ccd5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109aa565b611cd68161201d565b15611cf35760405162461bcd60e51b81526004016109aa906131ea565b611d016000838360016120f3565b611d0a8161201d565b15611d275760405162461bcd60e51b81526004016109aa906131ea565b6001600160a01b0382166000818152609a6020908152604080832080546001019055848352609990915280822080546001600160a01b0319168417905551839291906000805160206133b4833981519152908290a45050565b6000611d8b82611194565b9050611d9b8160008460016120f3565b611da482611194565b6000838152609b6020908152604080832080546001600160a01b03199081169091556001600160a01b038516808552609a845282852080546000190190558785526099909352818420805490911690555192935084926000805160206133b4833981519152908390a45050565b6000908152609960205260409020546001600160a01b031690565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620f4240811115611ece5760405162461bcd60e51b815260206004820152601a60248201527908aa48664727062a4def2c2d8e8d2cae67440a8dede40d0d2ced60331b60448201526064016109aa565b6040805180820182526001600160a01b0393841681526020808201938452600095865260fb90529320925183546001600160a01b031916921691909117825551600190910155565b816001600160a01b0316836001600160a01b031603611f735760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016109aa565b6001600160a01b038381166000818152609c6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611feb8484846119f1565b611ff7848484846121b8565b6113c85760405162461bcd60e51b81526004016109aa90613220565b6060610a6e611696565b60008061202983611e11565b6001600160a01b0316141592915050565b606061064482612049846122c7565b600101612331565b6001600160a01b03163b151590565b600054610100900460ff166120875760405162461bcd60e51b81526004016109aa90613272565b61208f6124cc565b6120976124cc565b6120a184846124f3565b6120a9612533565b6120b16124cc565b6120bd8686848461256a565b505050505050565b6000601436108015906120dc57506120dc33611120565b156120ee575060131936013560601c90565b503390565b6001600160a01b038416158061211057506001600160a01b038316155b80612121575061212161046d6118cf565b61215a5760405162461bcd60e51b815260206004820152600a6024820152696f6e6c792070726f787960b01b60448201526064016109aa565b6113c8565b6121698282611289565b610aa45761217681612634565b612181836020612331565b6040516020016121929291906132bd565b60408051601f198184030181529082905262461bcd60e51b82526109aa9160040161290c565b60006121cc846001600160a01b0316612051565b156122bc57836001600160a01b031663150b7a026121e86118cf565b8786866040518563ffffffff1660e01b815260040161220a949392919061332c565b6020604051808303816000875af1925050508015612245575060408051601f3d908101601f191682019092526122429181019061335f565b60015b6122a2573d808015612273576040519150601f19603f3d011682016040523d82523d6000602084013e612278565b606091505b50805160000361229a5760405162461bcd60e51b81526004016109aa90613220565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119e9565b506001949350505050565b600080608083901c156122df5760809290921c916010015b604083901c156122f45760409290921c916008015b602083901c156123095760209290921c916004015b601083901c1561231e5760109290921c916002015b600883901c156106445760010192915050565b60606000612340836002612e74565b61234b9060026130f8565b6001600160401b03811115612362576123626126af565b6040519080825280601f01601f19166020018201604052801561238c576020820181803683370190505b509050600360fc1b816000815181106123a7576123a7612d53565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106123d6576123d6612d53565b60200101906001600160f81b031916908160001a90535060006123fa846002612e74565b6124059060016130f8565b90505b600181111561247d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061243957612439612d53565b1a60f81b82828151811061244f5761244f612d53565b60200101906001600160f81b031916908160001a90535060049490941c936124768161337c565b9050612408565b5083156114335760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109aa565b600054610100900460ff16610c7b5760405162461bcd60e51b81526004016109aa90613272565b600054610100900460ff1661251a5760405162461bcd60e51b81526004016109aa90613272565b60976125268382612ef3565b506098610a5d8282612ef3565b600054610100900460ff1661255a5760405162461bcd60e51b81526004016109aa90613272565b610c7b6125656118cf565b611e2c565b600054610100900460ff166125915760405162461bcd60e51b81526004016109aa90613272565b6125b06000805160206133948339815191526125ab6118cf565b611b50565b6125c860008051602061339483398151915284611b50565b6125e060008051602061339483398151915285611b50565b6125e9826114fa565b61010081905561010180546001600160a01b0319166001600160a01b0385161790556126136118cf565b6001600160a01b0316846001600160a01b0316146113c8576113c8846116df565b60606106446001600160a01b0383166014612331565b6001600160e01b031981168114610b5d57600080fd5b60006020828403121561267257600080fd5b81356114338161264a565b6001600160a01b0381168114610b5d57600080fd5b6000602082840312156126a457600080fd5b81356114338161267d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126ed576126ed6126af565b604052919050565b60006001600160401b0383111561270e5761270e6126af565b612721601f8401601f19166020016126c5565b905082815283838301111561273557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261275d57600080fd5b611433838335602085016126f5565b60006001600160401b03821115612785576127856126af565b5060051b60200190565b600080600080600060a086880312156127a757600080fd5b85356001600160401b03808211156127be57600080fd5b6127ca89838a0161274c565b96506020915081880135818111156127e157600080fd5b6127ed8a828b0161274c565b96505060408801358181111561280257600080fd5b61280e8a828b0161274c565b9550506060880135935060808801358181111561282a57600080fd5b88019050601f8101891361283d57600080fd5b803561285061284b8261276c565b6126c5565b81815260059190911b8201830190838101908b83111561286f57600080fd5b928401925b828410156128965783356128878161267d565b82529284019290840190612874565b80955050505050509295509295909350565b6001600160a01b0391909116815260200190565b60005b838110156128d75781810151838201526020016128bf565b50506000910152565b600081518084526128f88160208601602086016128bc565b601f01601f19169290920160200192915050565b60208152600061143360208301846128e0565b60006020828403121561293157600080fd5b5035919050565b6000806040838503121561294b57600080fd5b82356129568161267d565b946020939093013593505050565b6000806040838503121561297757600080fd5b8235915060208301356001600160401b0381111561299457600080fd5b610bac8582860161274c565b6000806000606084860312156129b557600080fd5b83356129c08161267d565b925060208401356129d08161267d565b929592945050506040919091013590565b600080604083850312156129f457600080fd5b50508035926020909101359150565b60008060408385031215612a1657600080fd5b823591506020830135612a288161267d565b809150509250929050565b8415158152836020820152826040820152608060608201526000612a5a60808301846128e0565b9695505050505050565b60006020808385031215612a7757600080fd5b82356001600160401b03811115612a8d57600080fd5b8301601f81018513612a9e57600080fd5b8035612aac61284b8261276c565b81815260059190911b82018301908381019087831115612acb57600080fd5b928401925b82841015612ae957833582529284019290840190612ad0565b979650505050505050565b600080600060608486031215612b0957600080fd5b8335925060208401356129d08161267d565b8015158114610b5d57600080fd5b60008060408385031215612b3c57600080fd5b8235612b478161267d565b91506020830135612a2881612b1b565b60008060008060808587031215612b6d57600080fd5b8435612b788161267d565b93506020850135612b888161267d565b92506040850135915060608501356001600160401b03811115612baa57600080fd5b8501601f81018713612bbb57600080fd5b612bca878235602084016126f5565b91505092959194509250565b600060208284031215612be857600080fd5b81356001600160401b03811115612bfe57600080fd5b6119e98482850161274c565b60008060008060008060c08789031215612c2357600080fd5b8635612c2e8161267d565b95506020870135612c3e8161267d565b945060408701356001600160401b0380821115612c5a57600080fd5b612c668a838b0161274c565b95506060890135915080821115612c7c57600080fd5b612c888a838b0161274c565b94506080890135915080821115612c9e57600080fd5b50612cab89828a0161274c565b92505060a087013590509295509295509295565b60008060408385031215612cd257600080fd5b8235612cdd8161267d565b91506020830135612a288161267d565b6001600160a01b0387811682528616602082015260c060408201819052600090612d19908301876128e0565b8281036060840152612d2b81876128e0565b90508281036080840152612d3f81866128e0565b9150508260a0830152979650505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612d9157612d91612d69565b5060010190565b600181811c90821680612dac57607f821691505b60208210810361146957634e487b7160e01b600052602260045260246000fd5b60208082526011908201527037b7363c9037333a1037b832b930ba37b960791b604082015260600190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526016908201527527b7363c9037b832b930ba37b91037b91037bbb732b960511b604082015260600190565b808202811582820484141761064457610644612d69565b600082612ea857634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610a5d57600081815260208120601f850160051c81016020861015612ed45750805b601f850160051c820191505b818110156120bd57828155600101612ee0565b81516001600160401b03811115612f0c57612f0c6126af565b612f2081612f1a8454612d98565b84612ead565b602080601f831160018114612f555760008415612f3d5750858301515b600019600386901b1c1916600185901b1785556120bd565b600085815260208120601f198616915b82811015612f8457888601518255948401946001909101908401612f65565b5085821015612fa25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60048152631b5a5b9d60e21b602082015260400190565b8481526001600160a01b038416602082015260a060408201819052600090612ff2908301612fb2565b60ff949094166060830152506080015292915050565b84815283602082015260018060a01b038316604082015281606082015260c06080820152600060c082015260e060a08201526000612a5a60e08301612fb2565b60006020828403121561305a57600080fd5b815161143381612b1b565b8181038181111561064457610644612d69565b6004815263313ab93760e11b602082015260400190565b8481526001600160a01b038416602082015260a060408201819052600090612ff2908301613078565b84815283602082015260018060a01b038316604082015281606082015260c06080820152600060c082015260e060a08201526000612a5a60e08301613078565b8082018082111561064457610644612d69565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b6000835161314f8184602088016128bc565b8351908301906131638183602088016128bc565b01949350505050565b6000825161317e8184602087016128bc565b9190910192915050565b60006020828403121561319a57600080fd5b81516114338161267d565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252601c908201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516132ef8160178501602088016128bc565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516133208160288401602088016128bc565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a5a908301846128e0565b60006020828403121561337157600080fd5b81516114338161264a565b60008161338b5761338b612d69565b50600019019056fef7a17991623d7e30ebf9bd089b2f4dcf33b0aa34727454bfa3dbc351ed7d6835ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122018f2539b91f260706a0f97de08bca97d29784108913f40a3776cd5f3d8c6621064736f6c63430008110033", + "address": "0x3ebCF78A74741541Fd16459F93dCD99860Ea9ba1", + "implementation": "0x5d101841F1c1758657F0503122553B28fE069318", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTAccessCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTAccessCondition.geth-localnet.json new file mode 100644 index 0000000..a2aee3d --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTAccessCondition.geth-localnet.json @@ -0,0 +1,484 @@ +{ + "name": "NFTAccessCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + } + ], + "name": "checkPermissions", + "outputs": [ + { + "internalType": "bool", + "name": "permissionGranted", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xb36a9a7c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "internalType": "address", + "name": "_contractAddress", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x70457337" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd9250da4" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + } + ], + "name": "grantPermission", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf38a8262" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xeea0a725" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_documentId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_grantee", + "type": "address" + }, + { + "internalType": "address", + "name": "_contractAddress", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xf7bebc88" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506111e9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c806316279055146101015780631ce191851461012a578063572b6c051461014a5780635ced058e1461015d5780635ea3ab85146101865780636fd902e1146101a757806370457337146101ad578063715018a6146101c057806382c947b7146101ca5780638da5cb5b146101e4578063ab9de230146101ec578063b36a9a7c146101f4578063c0c53b8b14610207578063cb4e57e81461021a578063ce1b815f1461025a578063d9250da414610262578063eea0a72514610275578063f2fde38b14610288578063f38a82621461029b578063f7bebc88146102ae575b600080fd5b61011561010f366004610d4b565b3b151590565b60405190151581526020015b60405180910390f35b61013d610138366004610d68565b6102c1565b6040516101219190610da3565b610115610158366004610d4b565b6103fc565b61016e61016b366004610d68565b90565b6040516001600160a01b039091168152602001610121565b610199610194366004610dc7565b610421565b604051908152602001610121565b43610199565b61013d6101bb366004610e84565b610470565b6101c8610547565b005b6101996101d8366004610d4b565b6001600160a01b031690565b61016e61055b565b61016e61056a565b610115610202366004610ece565b6105ff565b6101c8610215366004610efa565b610725565b610199610228366004610f45565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b61016e6108c2565b61013d610270366004610f67565b61094d565b610199610283366004610f95565b610973565b6101c8610296366004610d4b565b61098f565b6101c86102a9366004610ece565b610a08565b6101996102bc366004610fc5565b610b01565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa15801561030b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032f9190610fec565b6103805760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906103b390859060039060040161100e565b6020604051808303816000875af11580156103d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f69190611022565b92915050565b60006104066108c2565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156104695783818151811061044257610442611043565b602002602001015182610455919061106f565b91508061046181611082565b915050610427565b5092915050565b60006001600160a01b0382166104985760405162461bcd60e51b81526004016103779061109b565b6104a28385610a08565b60006104b386610228878787610b01565b905060006104f6826002886040518060400160405280601281526020017127232a20b1b1b2b9b9a1b7b73234ba34b7b760711b8152506104f1610b51565b610b5b565b9050846001600160a01b031686887f6855f7a98b24193f81092c1736cdb5bd7e647de52ca83d767d735c3735ddb2d28560405161053591815260200190565b60405180910390a49695505050505050565b61054f610be1565b6105596000610c50565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166105835750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa91906110c4565b905090565b606754604051633c6aa7b760e01b81526000916001600160a01b031690633c6aa7b79061063290859087906004016110e1565b602060405180830381865afa15801561064f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106739190610fec565b806106ee57506067546040516331c51c0360e21b81526001600160a01b038581166004830152602482018590529091169063c714700c90604401602060405180830381865afa1580156106ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ee9190610fec565b8061071e575060008281526066602090815260408083206001600160a01b038716845260010190915290205460ff165b9392505050565b600054610100900460ff16158080156107455750600054600160ff909116105b8061075f5750303b15801561075f575060005460ff166001145b6107c25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610377565b6000805460ff1916600117905580156107e5576000805461ff0019166101001790555b6001600160a01b0383161580159061080557506001600160a01b03841615155b801561081957506001600160a01b03821615155b6108355760405162461bcd60e51b81526004016103779061109b565b61083d610ca2565b6108468461098f565b606580546001600160a01b038086166001600160a01b031992831617909255606780549285169290911691909117905580156108bc576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6000806108cd61056a565b90506001600160a01b0381166108e557600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610923573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094791906110c4565b91505090565b60675460009061096b908590859085906001600160a01b0316610470565b949350505050565b60675460009061071e90849084906001600160a01b0316610b01565b610997610be1565b6001600160a01b0381166109fc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610377565b610a0581610c50565b50565b60675481906001600160a01b03166349791a9182610a24610b51565b6040518363ffffffff1660e01b8152600401610a419291906110e1565b602060405180830381865afa158015610a5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a829190610fec565b610acb5760405162461bcd60e51b815260206004820152601a60248201527924b73b30b634b2102224a21037bbb732b917b83937bb34b232b960311b6044820152606401610377565b5060009081526066602090815260408083206001600160a01b03909416835260019384019091529020805460ff19169091179055565b6000838383604051602001610b32939291909283526001600160a01b03918216602084015216604082015260600190565b6040516020818303038152906040528051906020012090509392505050565b60006105fa610cd1565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610b949089908890889088908c906004016110f8565b6020604051808303816000875af1158015610bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd79190611022565b9695505050505050565b610be9610b51565b6001600160a01b0316610bfa61055b565b6001600160a01b0316146105595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610377565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610cc95760405162461bcd60e51b815260040161037790611168565b610559610cff565b600060143610801590610ce85750610ce8336103fc565b15610cfa575060131936013560601c90565b503390565b600054610100900460ff16610d265760405162461bcd60e51b815260040161037790611168565b610559610d31610b51565b610c50565b6001600160a01b0381168114610a0557600080fd5b600060208284031215610d5d57600080fd5b813561071e81610d36565b600060208284031215610d7a57600080fd5b5035919050565b60048110610d9f57634e487b7160e01b600052602160045260246000fd5b9052565b602081016103f68284610d81565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610dda57600080fd5b82356001600160401b0380821115610df157600080fd5b818501915085601f830112610e0557600080fd5b813581811115610e1757610e17610db1565b8060051b604051601f19603f83011681018181108582111715610e3c57610e3c610db1565b604052918252848201925083810185019188831115610e5a57600080fd5b938501935b82851015610e7857843584529385019392850192610e5f565b98975050505050505050565b60008060008060808587031215610e9a57600080fd5b84359350602085013592506040850135610eb381610d36565b91506060850135610ec381610d36565b939692955090935050565b60008060408385031215610ee157600080fd5b8235610eec81610d36565b946020939093013593505050565b600080600060608486031215610f0f57600080fd5b8335610f1a81610d36565b92506020840135610f2a81610d36565b91506040840135610f3a81610d36565b809150509250925092565b60008060408385031215610f5857600080fd5b50508035926020909101359150565b600080600060608486031215610f7c57600080fd5b83359250602084013591506040840135610f3a81610d36565b60008060408385031215610fa857600080fd5b823591506020830135610fba81610d36565b809150509250929050565b600080600060608486031215610fda57600080fd5b833592506020840135610f2a81610d36565b600060208284031215610ffe57600080fd5b8151801515811461071e57600080fd5b8281526040810161071e6020830184610d81565b60006020828403121561103457600080fd5b81516004811061071e57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103f6576103f6611059565b60006001820161109457611094611059565b5060010190565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b6000602082840312156110d657600080fd5b815161071e81610d36565b9182526001600160a01b0316602082015260400190565b85815260006020868184015260a0604084015285518060a085015260005b818110156111325787810183015185820160c001528201611116565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610bd76080830184610d81565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212208b57ddadb2ebfe40d33bb977b579f744d1b24e66a095034c7cc7ee437af9d9aa64736f6c63430008110033", + "address": "0x1Fa1C4073903712d0cb1186146B6508363E66bC6", + "implementation": "0x1Fa1C4073903712d0cb1186146B6508363E66bC6", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTAccessDLEQTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTAccessDLEQTemplate.geth-localnet.json new file mode 100644 index 0000000..564544f --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTAccessDLEQTemplate.geth-localnet.json @@ -0,0 +1,556 @@ +{ + "name": "NFTAccessDLEQTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftHolderConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aaf806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063ce1b815f146102ce578063f2fde38b146102e3578063f8c8765e14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610fa8565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f3660046110a0565b610336565b005b34801561014257600080fd5b5061013461015136600461113b565b6103dd565b34801561016257600080fd5b506100ff610171366004610fa8565b610400565b34801561018257600080fd5b506101946101913660046111e9565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c736600461120f565b610425565b60405190815260200161010b565b6101346101e83660046112af565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111e9565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610fa8565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611404565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b50610194610821565b3480156102ef57600080fd5b506101346102fe366004610fa8565b6108ac565b34801561030f57600080fd5b5061013461031e366004611417565b61092a565b610134610331366004611473565b610bda565b6066546001600160a01b031663955d0c2a86610350610c07565b60405160200161036192919061159e565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115e5565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c11565b505050505050565b600061040a610821565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d578381815181106104465761044661164b565b6020026020010151826104599190611677565b9150806104658161168a565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c07565b6040516020016104b292919061159e565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c07565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b815260040161055291906116a3565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c9565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118de565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c861164b565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cdd565b6107196000610d4c565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c9565b905090565b60008061082c61078c565b90506001600160a01b03811661084457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906117c9565b91505090565b6108b4610cdd565b6001600160a01b03811661091e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61092781610d4c565b50565b600054610100900460ff161580801561094a5750600054600160ff909116105b806109645750303b158015610964575060005460ff166001145b6109c75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610915565b6000805460ff1916600117905580156109ea576000805461ff0019166101001790555b6001600160a01b03851615801590610a0a57506001600160a01b03841615155b8015610a1e57506001600160a01b03831615155b8015610a3257506001600160a01b03821615155b610a705760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610915565b610a78610d9e565b610a81856108ac565b606680546001600160a01b0319166001600160a01b0386169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906117c9565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216868416908117909155606b80548316868516178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c79182018054871690951790945591548154938401909155910180549190931691161790558015610bd3576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610bec8b8b8b8b8b8a8a8a8a8a610474565b610bfa8b8b8a8a8a8e610c11565b5050505050505050505050565b600061081c610dcd565b600086610c1c610c07565b604051602001610c2d92919061159e565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610cb08f82610dfb565b8f610cb9610c07565b604051610ccc97969594939291906119b6565b60405180910390a450505050505050565b610ce5610c07565b6001600160a01b0316610cf661071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610915565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610dc55760405162461bcd60e51b815260040161091590611a2e565b610719610f4c565b600060143610801590610de45750610de433610400565b15610df6575060131936013560601c90565b503390565b6060600083610e08610c07565b604051602001610e1992919061159e565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e4c57610e4c610fcc565b604051908082528060200260200182016040528015610e75578160200160208202803683370190505b50905060005b8151811015610f41578260658281548110610e9857610e9861164b565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ec857610ec861164b565b6020026020010151604051602001610efc939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f2457610f2461164b565b602090810291909101015280610f398161168a565b915050610e7b565b509150505b92915050565b600054610100900460ff16610f735760405162461bcd60e51b815260040161091590611a2e565b610719610f7e610c07565b610d4c565b6001600160a01b038116811461092757600080fd5b8035610fa381610f83565b919050565b600060208284031215610fba57600080fd5b8135610fc581610f83565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561100a5761100a610fcc565b604052919050565b60006001600160401b0382111561102b5761102b610fcc565b5060051b60200190565b600082601f83011261104657600080fd5b8135602061105b61105683611012565b610fe2565b82815260059290921b8401810191818101908684111561107a57600080fd5b8286015b84811015611095578035835291830191830161107e565b509695505050505050565b600080600080600060a086880312156110b857600080fd5b853594506020860135935060408601356001600160401b03808211156110dd57600080fd5b6110e989838a01611035565b945060608801359150808211156110ff57600080fd5b61110b89838a01611035565b9350608088013591508082111561112157600080fd5b5061112e88828901611035565b9150509295509295909350565b60008060008060008060c0878903121561115457600080fd5b863595506020870135945060408701356001600160401b038082111561117957600080fd5b6111858a838b01611035565b9550606089013591508082111561119b57600080fd5b6111a78a838b01611035565b945060808901359150808211156111bd57600080fd5b506111ca89828a01611035565b92505060a08701356111db81610f83565b809150509295509295509295565b6000602082840312156111fb57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561122157600080fd5b81356001600160401b0381111561123757600080fd5b61124384828501611035565b949350505050565b600082601f83011261125c57600080fd5b8135602061126c61105683611012565b82815260059290921b8401810191818101908684111561128b57600080fd5b8286015b848110156110955780356112a281610f83565b835291830191830161128f565b6000806000806000806000806000806101408b8d0312156112cf57600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112f457600080fd5b6113008e838f01611035565b995060608d013591508082111561131657600080fd5b6113228e838f01611035565b985060808d013591508082111561133857600080fd5b6113448e838f01611035565b975060a08d0135965061135960c08e01610f98565b955061136760e08e01610f98565b94506101008d013591508082111561137e57600080fd5b61138a8e838f01611035565b93506101208d01359150808211156113a157600080fd5b506113ae8d828e0161124b565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113f95781516001600160a01b0316875295820195908201906001016113d4565b509495945050505050565b602081526000610fc560208301846113c0565b6000806000806080858703121561142d57600080fd5b843561143881610f83565b9350602085013561144881610f83565b9250604085013561145881610f83565b9150606085013561146881610f83565b939692955090935050565b60008060008060008060008060008060006101608c8e03121561149557600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b957600080fd5b6114c98e60408f01358f01611035565b99508060608e013511156114dc57600080fd5b6114ec8e60608f01358f01611035565b98508060808e013511156114ff57600080fd5b61150f8e60808f01358f01611035565b975061151d60a08e01610f98565b965060c08d0135955061153260e08e01610f98565b94506115416101008e01610f98565b9350806101208e0135111561155557600080fd5b6115668e6101208f01358f01611035565b9250806101408e0135111561157a57600080fd5b5061158c8d6101408e01358e0161124b565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113f9578151875295820195908201906001016115c9565b86815285602082015260c06040820152600061160460c08301876113c0565b828103606084015261161681876115b5565b9050828103608084015261162a81866115b5565b905082810360a084015261163e81856115b5565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f4657610f46611661565b60006001820161169c5761169c611661565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116d66101a08501836113c0565b91506060850151601f19808685030160808701526116f484836115b5565b935060808701519150808685030160a087015261171184836115b5565b935060a08701519150808685030160c087015261172e84836115b5565b935060c0870151915061174460e0870183611202565b60e087015161010087810191909152870151915061012061176781880184611202565b870151915061014061177b87820184611202565b8088015192505061016081878603018188015261179885846115b5565b9088015187820390920184880152935090506117b483826113c0565b9695505050505050565b8051610fa381610f83565b6000602082840312156117db57600080fd5b8151610fc581610f83565b600082601f8301126117f757600080fd5b81516001600160401b0381111561181057611810610fcc565b6020611824601f8301601f19168201610fe2565b828152858284870101111561183857600080fd5b60005b8381101561185657858101830151828201840152820161183b565b506000928101909101919091529392505050565b600082601f83011261187b57600080fd5b8151602061188b61105683611012565b82815260059290921b840181019181810190868411156118aa57600080fd5b8286015b848110156110955780516118c181610f83565b83529183019183016118ae565b80518015158114610fa357600080fd5b60008060008060008060008060006101208a8c0312156118fd57600080fd5b6119068a6117be565b60208b015160408c0151919a5098506001600160401b038082111561192a57600080fd5b6119368d838e016117e6565b985061194460608d016117be565b975060808c0151965060a08c015191508082111561196157600080fd5b61196d8d838e0161186a565b955060c08c0151945060e08c015191508082111561198a57600080fd5b506119978c828d016117e6565b9250506119a76101008b016118ce565b90509295985092959850929598565b87815260e0602082015260006119cf60e08301896115b5565b82810360408401526119e181896115b5565b905082810360608401526119f581886115b5565b90508281036080840152611a0981876115b5565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220c88facdbe763aa14b3b8db4ed7316f8aecc571f326fb353e1a5dffd79004214c64736f6c63430008110033", + "address": "0xFD1200d9415F2c023541D98F97Ac22CEBF0ba37D", + "implementation": "0xFD1200d9415F2c023541D98F97Ac22CEBF0ba37D", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTAccessProofTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTAccessProofTemplate.geth-localnet.json new file mode 100644 index 0000000..78afd77 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTAccessProofTemplate.geth-localnet.json @@ -0,0 +1,556 @@ +{ + "name": "NFTAccessProofTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftHolderConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aaf806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063ce1b815f146102ce578063f2fde38b146102e3578063f8c8765e14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610fa8565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f3660046110a0565b610336565b005b34801561014257600080fd5b5061013461015136600461113b565b6103dd565b34801561016257600080fd5b506100ff610171366004610fa8565b610400565b34801561018257600080fd5b506101946101913660046111e9565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c736600461120f565b610425565b60405190815260200161010b565b6101346101e83660046112af565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111e9565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610fa8565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611404565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b50610194610821565b3480156102ef57600080fd5b506101346102fe366004610fa8565b6108ac565b34801561030f57600080fd5b5061013461031e366004611417565b61092a565b610134610331366004611473565b610bda565b6066546001600160a01b031663955d0c2a86610350610c07565b60405160200161036192919061159e565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115e5565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c11565b505050505050565b600061040a610821565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d578381815181106104465761044661164b565b6020026020010151826104599190611677565b9150806104658161168a565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c07565b6040516020016104b292919061159e565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c07565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b815260040161055291906116a3565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c9565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118de565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c861164b565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cdd565b6107196000610d4c565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c9565b905090565b60008061082c61078c565b90506001600160a01b03811661084457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906117c9565b91505090565b6108b4610cdd565b6001600160a01b03811661091e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61092781610d4c565b50565b600054610100900460ff161580801561094a5750600054600160ff909116105b806109645750303b158015610964575060005460ff166001145b6109c75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610915565b6000805460ff1916600117905580156109ea576000805461ff0019166101001790555b6001600160a01b03851615801590610a0a57506001600160a01b03841615155b8015610a1e57506001600160a01b03831615155b8015610a3257506001600160a01b03821615155b610a705760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610915565b610a78610d9e565b610a81856108ac565b606680546001600160a01b0319166001600160a01b0386169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906117c9565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216868416908117909155606b80548316868516178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c79182018054871690951790945591548154938401909155910180549190931691161790558015610bd3576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610bec8b8b8b8b8b8a8a8a8a8a610474565b610bfa8b8b8a8a8a8e610c11565b5050505050505050505050565b600061081c610dcd565b600086610c1c610c07565b604051602001610c2d92919061159e565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610cb08f82610dfb565b8f610cb9610c07565b604051610ccc97969594939291906119b6565b60405180910390a450505050505050565b610ce5610c07565b6001600160a01b0316610cf661071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610915565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610dc55760405162461bcd60e51b815260040161091590611a2e565b610719610f4c565b600060143610801590610de45750610de433610400565b15610df6575060131936013560601c90565b503390565b6060600083610e08610c07565b604051602001610e1992919061159e565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e4c57610e4c610fcc565b604051908082528060200260200182016040528015610e75578160200160208202803683370190505b50905060005b8151811015610f41578260658281548110610e9857610e9861164b565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ec857610ec861164b565b6020026020010151604051602001610efc939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f2457610f2461164b565b602090810291909101015280610f398161168a565b915050610e7b565b509150505b92915050565b600054610100900460ff16610f735760405162461bcd60e51b815260040161091590611a2e565b610719610f7e610c07565b610d4c565b6001600160a01b038116811461092757600080fd5b8035610fa381610f83565b919050565b600060208284031215610fba57600080fd5b8135610fc581610f83565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561100a5761100a610fcc565b604052919050565b60006001600160401b0382111561102b5761102b610fcc565b5060051b60200190565b600082601f83011261104657600080fd5b8135602061105b61105683611012565b610fe2565b82815260059290921b8401810191818101908684111561107a57600080fd5b8286015b84811015611095578035835291830191830161107e565b509695505050505050565b600080600080600060a086880312156110b857600080fd5b853594506020860135935060408601356001600160401b03808211156110dd57600080fd5b6110e989838a01611035565b945060608801359150808211156110ff57600080fd5b61110b89838a01611035565b9350608088013591508082111561112157600080fd5b5061112e88828901611035565b9150509295509295909350565b60008060008060008060c0878903121561115457600080fd5b863595506020870135945060408701356001600160401b038082111561117957600080fd5b6111858a838b01611035565b9550606089013591508082111561119b57600080fd5b6111a78a838b01611035565b945060808901359150808211156111bd57600080fd5b506111ca89828a01611035565b92505060a08701356111db81610f83565b809150509295509295509295565b6000602082840312156111fb57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561122157600080fd5b81356001600160401b0381111561123757600080fd5b61124384828501611035565b949350505050565b600082601f83011261125c57600080fd5b8135602061126c61105683611012565b82815260059290921b8401810191818101908684111561128b57600080fd5b8286015b848110156110955780356112a281610f83565b835291830191830161128f565b6000806000806000806000806000806101408b8d0312156112cf57600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112f457600080fd5b6113008e838f01611035565b995060608d013591508082111561131657600080fd5b6113228e838f01611035565b985060808d013591508082111561133857600080fd5b6113448e838f01611035565b975060a08d0135965061135960c08e01610f98565b955061136760e08e01610f98565b94506101008d013591508082111561137e57600080fd5b61138a8e838f01611035565b93506101208d01359150808211156113a157600080fd5b506113ae8d828e0161124b565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113f95781516001600160a01b0316875295820195908201906001016113d4565b509495945050505050565b602081526000610fc560208301846113c0565b6000806000806080858703121561142d57600080fd5b843561143881610f83565b9350602085013561144881610f83565b9250604085013561145881610f83565b9150606085013561146881610f83565b939692955090935050565b60008060008060008060008060008060006101608c8e03121561149557600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b957600080fd5b6114c98e60408f01358f01611035565b99508060608e013511156114dc57600080fd5b6114ec8e60608f01358f01611035565b98508060808e013511156114ff57600080fd5b61150f8e60808f01358f01611035565b975061151d60a08e01610f98565b965060c08d0135955061153260e08e01610f98565b94506115416101008e01610f98565b9350806101208e0135111561155557600080fd5b6115668e6101208f01358f01611035565b9250806101408e0135111561157a57600080fd5b5061158c8d6101408e01358e0161124b565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113f9578151875295820195908201906001016115c9565b86815285602082015260c06040820152600061160460c08301876113c0565b828103606084015261161681876115b5565b9050828103608084015261162a81866115b5565b905082810360a084015261163e81856115b5565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f4657610f46611661565b60006001820161169c5761169c611661565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116d66101a08501836113c0565b91506060850151601f19808685030160808701526116f484836115b5565b935060808701519150808685030160a087015261171184836115b5565b935060a08701519150808685030160c087015261172e84836115b5565b935060c0870151915061174460e0870183611202565b60e087015161010087810191909152870151915061012061176781880184611202565b870151915061014061177b87820184611202565b8088015192505061016081878603018188015261179885846115b5565b9088015187820390920184880152935090506117b483826113c0565b9695505050505050565b8051610fa381610f83565b6000602082840312156117db57600080fd5b8151610fc581610f83565b600082601f8301126117f757600080fd5b81516001600160401b0381111561181057611810610fcc565b6020611824601f8301601f19168201610fe2565b828152858284870101111561183857600080fd5b60005b8381101561185657858101830151828201840152820161183b565b506000928101909101919091529392505050565b600082601f83011261187b57600080fd5b8151602061188b61105683611012565b82815260059290921b840181019181810190868411156118aa57600080fd5b8286015b848110156110955780516118c181610f83565b83529183019183016118ae565b80518015158114610fa357600080fd5b60008060008060008060008060006101208a8c0312156118fd57600080fd5b6119068a6117be565b60208b015160408c0151919a5098506001600160401b038082111561192a57600080fd5b6119368d838e016117e6565b985061194460608d016117be565b975060808c0151965060a08c015191508082111561196157600080fd5b61196d8d838e0161186a565b955060c08c0151945060e08c015191508082111561198a57600080fd5b506119978c828d016117e6565b9250506119a76101008b016118ce565b90509295985092959850929598565b87815260e0602082015260006119cf60e08301896115b5565b82810360408401526119e181896115b5565b905082810360608401526119f581886115b5565b90508281036080840152611a0981876115b5565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212204b283c5886ddd895a26c9f525116e9f6f38102e13eceb05c90d5ced95ce5eea364736f6c63430008110033", + "address": "0x4DD4c877B347a29298CAc72AD2d041B18d5b34D3", + "implementation": "0x4DD4c877B347a29298CAc72AD2d041B18d5b34D3", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTAccessSwapTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTAccessSwapTemplate.geth-localnet.json new file mode 100644 index 0000000..9f73a0c --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTAccessSwapTemplate.geth-localnet.json @@ -0,0 +1,575 @@ +{ + "name": "NFTAccessSwapTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [], + "name": "id", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xaf640d0f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessCondition", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b15806100206000396000f3fe6080604052600436106100e45760003560e01c80631459457a146100e9578063162790551461010b5780632e166f3e146101415780634183e72b14610161578063572b6c05146101815780635ced058e146101a15780635ea3ab85146101d75780636104ff1a146102055780636fd902e1146102185780636ff015ae1461022b578063715018a61461027157806382c947b7146102865780638da5cb5b146102ad57806391a169bf146102c2578063ab9de230146102e4578063af640d0f146102f9578063ce1b815f1461030d578063f2fde38b14610322578063f8fe107014610342575b600080fd5b3480156100f557600080fd5b50610109610104366004610ff9565b610355565b005b34801561011757600080fd5b5061012c61012636600461106a565b3b151590565b60405190151581526020015b60405180910390f35b34801561014d57600080fd5b5061010961015c366004611162565b610644565b34801561016d57600080fd5b5061010961017c3660046111fd565b6106eb565b34801561018d57600080fd5b5061012c61019c36600461106a565b610706565b3480156101ad57600080fd5b506101bf6101bc3660046112ab565b90565b6040516001600160a01b039091168152602001610138565b3480156101e357600080fd5b506101f76101f23660046112d1565b61072b565b604051908152602001610138565b610109610213366004611371565b61077a565b34801561022457600080fd5b50436101f7565b34801561023757600080fd5b5061024b6102463660046112ab565b610896565b604080516001600160a01b03948516815293909216602084015290820152606001610138565b34801561027d57600080fd5b50610109610a0d565b34801561029257600080fd5b506101f76102a136600461106a565b6001600160a01b031690565b3480156102b957600080fd5b506101bf610a21565b3480156102ce57600080fd5b506102d7610a30565b60405161013891906114c6565b3480156102f057600080fd5b506101bf610a92565b34801561030557600080fd5b5060006101f7565b34801561031957600080fd5b506101bf610b27565b34801561032e57600080fd5b5061010961033d36600461106a565b610bb2565b6101096103503660046114d9565b610c2b565b600054610100900460ff16158080156103755750600054600160ff909116105b8061038f5750303b15801561038f575060005460ff166001145b6103f75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801561041a576000805461ff0019166101001790555b6001600160a01b0386161580159061043a57506001600160a01b03851615155b801561044e57506001600160a01b03841615155b801561046257506001600160a01b03831615155b801561047657506001600160a01b03821615155b6104b45760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103ee565b6104bc610c58565b6104c586610bb2565b606680546001600160a01b0319166001600160a01b0387169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061160f565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c791820180548816909617909555925481548086018355840180549188169187169190911790559054815493840190915591018054919093169116179055801561063c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6066546001600160a01b031663955d0c2a8661065e610c87565b60405160200161066f92919061162c565b604051602081830303815290604052805190602001208661068e610a30565b8787876040518763ffffffff1660e01b81526004016106b296959493929190611673565b600060405180830381600087803b1580156106cc57600080fd5b505af11580156106e0573d6000803e3d6000fd5b505050505050505050565b6106f88686868686610644565b61063c868685858589610c91565b6000610710610b27565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156107735783818151811061074c5761074c6116d9565b60200260200101518261075f9190611705565b91508061076b81611718565b915050610731565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6107a7610c87565b6040516020016107b892919061162c565b6040516020818303038152906040528051906020012081526020018d81526020016107e1610a30565b81526020018c81526020018b81526020018a8152602001610800610c87565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b81526004016108589190611731565b6000604051808303818588803b15801561087157600080fd5b505af1158015610885573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091b919061160f565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b5199161095f9160040190815260200190565b600060405180830381865afa15801561097c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109a49190810190611944565b5050815196995090975050931593506109dd9250505057816000815181106109ce576109ce6116d9565b602002602001015194506109e1565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b610a15610d5d565b610a1f6000610dcc565b565b6033546001600160a01b031690565b60606065805480602002602001604051908101604052809291908181526020018280548015610a8857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610a6a575b5050505050905090565b6066546000906001600160a01b0316610aab5750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b22919061160f565b905090565b600080610b32610a92565b90506001600160a01b038116610b4a57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac919061160f565b91505090565b610bba610d5d565b6001600160a01b038116610c1f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ee565b610c2881610dcc565b50565b610c3d8b8b8b8b8b8a8a8a8a8a61077a565b610c4b8b8b8a8a8a8e610c91565b5050505050505050505050565b600054610100900460ff16610c7f5760405162461bcd60e51b81526004016103ee90611a1c565b610a1f610e1e565b6000610b22610e55565b600086610c9c610c87565b604051602001610cad92919061162c565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610d308f82610e83565b8f610d39610c87565b604051610d4c9796959493929190611a67565b60405180910390a450505050505050565b610d65610c87565b6001600160a01b0316610d76610a21565b6001600160a01b031614610a1f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ee565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e455760405162461bcd60e51b81526004016103ee90611a1c565b610a1f610e50610c87565b610dcc565b600060143610801590610e6c5750610e6c33610706565b15610e7e575060131936013560601c90565b503390565b6060600083610e90610c87565b604051602001610ea192919061162c565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610ed457610ed461108e565b604051908082528060200260200182016040528015610efd578160200160208202803683370190505b50905060005b8151811015610fc9578260658281548110610f2057610f206116d9565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f5057610f506116d9565b6020026020010151604051602001610f84939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610fac57610fac6116d9565b602090810291909101015280610fc181611718565b915050610f03565b509150505b92915050565b6001600160a01b0381168114610c2857600080fd5b8035610ff481610fd4565b919050565b600080600080600060a0868803121561101157600080fd5b853561101c81610fd4565b9450602086013561102c81610fd4565b9350604086013561103c81610fd4565b9250606086013561104c81610fd4565b9150608086013561105c81610fd4565b809150509295509295909350565b60006020828403121561107c57600080fd5b813561108781610fd4565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156110cc576110cc61108e565b604052919050565b60006001600160401b038211156110ed576110ed61108e565b5060051b60200190565b600082601f83011261110857600080fd5b8135602061111d611118836110d4565b6110a4565b82815260059290921b8401810191818101908684111561113c57600080fd5b8286015b848110156111575780358352918301918301611140565b509695505050505050565b600080600080600060a0868803121561117a57600080fd5b853594506020860135935060408601356001600160401b038082111561119f57600080fd5b6111ab89838a016110f7565b945060608801359150808211156111c157600080fd5b6111cd89838a016110f7565b935060808801359150808211156111e357600080fd5b506111f0888289016110f7565b9150509295509295909350565b60008060008060008060c0878903121561121657600080fd5b863595506020870135945060408701356001600160401b038082111561123b57600080fd5b6112478a838b016110f7565b9550606089013591508082111561125d57600080fd5b6112698a838b016110f7565b9450608089013591508082111561127f57600080fd5b5061128c89828a016110f7565b92505060a087013561129d81610fd4565b809150509295509295509295565b6000602082840312156112bd57600080fd5b5035919050565b6001600160a01b03169052565b6000602082840312156112e357600080fd5b81356001600160401b038111156112f957600080fd5b611305848285016110f7565b949350505050565b600082601f83011261131e57600080fd5b8135602061132e611118836110d4565b82815260059290921b8401810191818101908684111561134d57600080fd5b8286015b8481101561115757803561136481610fd4565b8352918301918301611351565b6000806000806000806000806000806101408b8d03121561139157600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156113b657600080fd5b6113c28e838f016110f7565b995060608d01359150808211156113d857600080fd5b6113e48e838f016110f7565b985060808d01359150808211156113fa57600080fd5b6114068e838f016110f7565b975060a08d0135965061141b60c08e01610fe9565b955061142960e08e01610fe9565b94506101008d013591508082111561144057600080fd5b61144c8e838f016110f7565b93506101208d013591508082111561146357600080fd5b506114708d828e0161130d565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156114bb5781516001600160a01b031687529582019590820190600101611496565b509495945050505050565b6020815260006110876020830184611482565b60008060008060008060008060008060006101608c8e0312156114fb57600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561151f57600080fd5b61152f8e60408f01358f016110f7565b99508060608e0135111561154257600080fd5b6115528e60608f01358f016110f7565b98508060808e0135111561156557600080fd5b6115758e60808f01358f016110f7565b975061158360a08e01610fe9565b965060c08d0135955061159860e08e01610fe9565b94506115a76101008e01610fe9565b9350806101208e013511156115bb57600080fd5b6115cc8e6101208f01358f016110f7565b9250806101408e013511156115e057600080fd5b506115f28d6101408e01358e0161130d565b90509295989b509295989b9093969950565b8051610ff481610fd4565b60006020828403121561162157600080fd5b815161108781610fd4565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156114bb57815187529582019590820190600101611657565b86815285602082015260c06040820152600061169260c0830187611482565b82810360608401526116a48187611643565b905082810360808401526116b88186611643565b905082810360a08401526116cc8185611643565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610fce57610fce6116ef565b60006001820161172a5761172a6116ef565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117646101a0850183611482565b91506060850151601f19808685030160808701526117828483611643565b935060808701519150808685030160a087015261179f8483611643565b935060a08701519150808685030160c08701526117bc8483611643565b935060c087015191506117d260e08701836112c4565b60e08701516101008781019190915287015191506101206117f5818801846112c4565b8701519150610140611809878201846112c4565b808801519250506101608187860301818801526118268584611643565b9088015187820390920184880152935090506118428382611482565b9695505050505050565b600082601f83011261185d57600080fd5b81516001600160401b038111156118765761187661108e565b602061188a601f8301601f191682016110a4565b828152858284870101111561189e57600080fd5b60005b838110156118bc5785810183015182820184015282016118a1565b506000928101909101919091529392505050565b600082601f8301126118e157600080fd5b815160206118f1611118836110d4565b82815260059290921b8401810191818101908684111561191057600080fd5b8286015b8481101561115757805161192781610fd4565b8352918301918301611914565b80518015158114610ff457600080fd5b60008060008060008060008060006101208a8c03121561196357600080fd5b61196c8a611604565b60208b015160408c0151919a5098506001600160401b038082111561199057600080fd5b61199c8d838e0161184c565b98506119aa60608d01611604565b975060808c0151965060a08c01519150808211156119c757600080fd5b6119d38d838e016118d0565b955060c08c0151945060e08c01519150808211156119f057600080fd5b506119fd8c828d0161184c565b925050611a0d6101008b01611934565b90509295985092959850929598565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b87815260e060208201526000611a8060e0830189611643565b8281036040840152611a928189611643565b90508281036060840152611aa68188611643565b90508281036080840152611aba8187611643565b60a084019590955250506001600160a01b039190911660c0909101529594505050505056fea2646970667358221220b1e47977b7d350d2f95c47b53815501003b5542256b7119efef78158d2b7671c64736f6c63430008110033", + "address": "0x99a9F881b4C3b03877d2058D14471ADb69991831", + "implementation": "0x99a9F881b4C3b03877d2058D14471ADb69991831", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTAccessTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTAccessTemplate.geth-localnet.json new file mode 100644 index 0000000..5658459 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTAccessTemplate.geth-localnet.json @@ -0,0 +1,556 @@ +{ + "name": "NFTAccessTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftHolderConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf8c8765e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611aaf806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063ce1b815f146102ce578063f2fde38b146102e3578063f8c8765e14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f9366004610fa8565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f3660046110a0565b610336565b005b34801561014257600080fd5b5061013461015136600461113b565b6103dd565b34801561016257600080fd5b506100ff610171366004610fa8565b610400565b34801561018257600080fd5b506101946101913660046111e9565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c736600461120f565b610425565b60405190815260200161010b565b6101346101e83660046112af565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b3660046111e9565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc610276366004610fa8565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611404565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b50610194610821565b3480156102ef57600080fd5b506101346102fe366004610fa8565b6108ac565b34801561030f57600080fd5b5061013461031e366004611417565b61092a565b610134610331366004611473565b610bda565b6066546001600160a01b031663955d0c2a86610350610c07565b60405160200161036192919061159e565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a4969594939291906115e5565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c11565b505050505050565b600061040a610821565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d578381815181106104465761044661164b565b6020026020010151826104599190611677565b9150806104658161168a565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c07565b6040516020016104b292919061159e565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c07565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b815260040161055291906116a3565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061591906117c9565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e91908101906118de565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c861164b565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610cdd565b6107196000610d4c565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906117c9565b905090565b60008061082c61078c565b90506001600160a01b03811661084457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906117c9565b91505090565b6108b4610cdd565b6001600160a01b03811661091e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61092781610d4c565b50565b600054610100900460ff161580801561094a5750600054600160ff909116105b806109645750303b158015610964575060005460ff166001145b6109c75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610915565b6000805460ff1916600117905580156109ea576000805461ff0019166101001790555b6001600160a01b03851615801590610a0a57506001600160a01b03841615155b8015610a1e57506001600160a01b03831615155b8015610a3257506001600160a01b03821615155b610a705760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610915565b610a78610d9e565b610a81856108ac565b606680546001600160a01b0319166001600160a01b0386169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906117c9565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216868416908117909155606b80548316868516178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c79182018054871690951790945591548154938401909155910180549190931691161790558015610bd3576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610bec8b8b8b8b8b8a8a8a8a8a610474565b610bfa8b8b8a8a8a8e610c11565b5050505050505050505050565b600061081c610dcd565b600086610c1c610c07565b604051602001610c2d92919061159e565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610cb08f82610dfb565b8f610cb9610c07565b604051610ccc97969594939291906119b6565b60405180910390a450505050505050565b610ce5610c07565b6001600160a01b0316610cf661071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610915565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610dc55760405162461bcd60e51b815260040161091590611a2e565b610719610f4c565b600060143610801590610de45750610de433610400565b15610df6575060131936013560601c90565b503390565b6060600083610e08610c07565b604051602001610e1992919061159e565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610e4c57610e4c610fcc565b604051908082528060200260200182016040528015610e75578160200160208202803683370190505b50905060005b8151811015610f41578260658281548110610e9857610e9861164b565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610ec857610ec861164b565b6020026020010151604051602001610efc939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f2457610f2461164b565b602090810291909101015280610f398161168a565b915050610e7b565b509150505b92915050565b600054610100900460ff16610f735760405162461bcd60e51b815260040161091590611a2e565b610719610f7e610c07565b610d4c565b6001600160a01b038116811461092757600080fd5b8035610fa381610f83565b919050565b600060208284031215610fba57600080fd5b8135610fc581610f83565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561100a5761100a610fcc565b604052919050565b60006001600160401b0382111561102b5761102b610fcc565b5060051b60200190565b600082601f83011261104657600080fd5b8135602061105b61105683611012565b610fe2565b82815260059290921b8401810191818101908684111561107a57600080fd5b8286015b84811015611095578035835291830191830161107e565b509695505050505050565b600080600080600060a086880312156110b857600080fd5b853594506020860135935060408601356001600160401b03808211156110dd57600080fd5b6110e989838a01611035565b945060608801359150808211156110ff57600080fd5b61110b89838a01611035565b9350608088013591508082111561112157600080fd5b5061112e88828901611035565b9150509295509295909350565b60008060008060008060c0878903121561115457600080fd5b863595506020870135945060408701356001600160401b038082111561117957600080fd5b6111858a838b01611035565b9550606089013591508082111561119b57600080fd5b6111a78a838b01611035565b945060808901359150808211156111bd57600080fd5b506111ca89828a01611035565b92505060a08701356111db81610f83565b809150509295509295509295565b6000602082840312156111fb57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561122157600080fd5b81356001600160401b0381111561123757600080fd5b61124384828501611035565b949350505050565b600082601f83011261125c57600080fd5b8135602061126c61105683611012565b82815260059290921b8401810191818101908684111561128b57600080fd5b8286015b848110156110955780356112a281610f83565b835291830191830161128f565b6000806000806000806000806000806101408b8d0312156112cf57600080fd5b8a35995060208b0135985060408b01356001600160401b03808211156112f457600080fd5b6113008e838f01611035565b995060608d013591508082111561131657600080fd5b6113228e838f01611035565b985060808d013591508082111561133857600080fd5b6113448e838f01611035565b975060a08d0135965061135960c08e01610f98565b955061136760e08e01610f98565b94506101008d013591508082111561137e57600080fd5b61138a8e838f01611035565b93506101208d01359150808211156113a157600080fd5b506113ae8d828e0161124b565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b838110156113f95781516001600160a01b0316875295820195908201906001016113d4565b509495945050505050565b602081526000610fc560208301846113c0565b6000806000806080858703121561142d57600080fd5b843561143881610f83565b9350602085013561144881610f83565b9250604085013561145881610f83565b9150606085013561146881610f83565b939692955090935050565b60008060008060008060008060008060006101608c8e03121561149557600080fd5b8b359a5060208c013599506001600160401b0360408d01358110156114b957600080fd5b6114c98e60408f01358f01611035565b99508060608e013511156114dc57600080fd5b6114ec8e60608f01358f01611035565b98508060808e013511156114ff57600080fd5b61150f8e60808f01358f01611035565b975061151d60a08e01610f98565b965060c08d0135955061153260e08e01610f98565b94506115416101008e01610f98565b9350806101208e0135111561155557600080fd5b6115668e6101208f01358f01611035565b9250806101408e0135111561157a57600080fd5b5061158c8d6101408e01358e0161124b565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b838110156113f9578151875295820195908201906001016115c9565b86815285602082015260c06040820152600061160460c08301876113c0565b828103606084015261161681876115b5565b9050828103608084015261162a81866115b5565b905082810360a084015261163e81856115b5565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610f4657610f46611661565b60006001820161169c5761169c611661565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526116d66101a08501836113c0565b91506060850151601f19808685030160808701526116f484836115b5565b935060808701519150808685030160a087015261171184836115b5565b935060a08701519150808685030160c087015261172e84836115b5565b935060c0870151915061174460e0870183611202565b60e087015161010087810191909152870151915061012061176781880184611202565b870151915061014061177b87820184611202565b8088015192505061016081878603018188015261179885846115b5565b9088015187820390920184880152935090506117b483826113c0565b9695505050505050565b8051610fa381610f83565b6000602082840312156117db57600080fd5b8151610fc581610f83565b600082601f8301126117f757600080fd5b81516001600160401b0381111561181057611810610fcc565b6020611824601f8301601f19168201610fe2565b828152858284870101111561183857600080fd5b60005b8381101561185657858101830151828201840152820161183b565b506000928101909101919091529392505050565b600082601f83011261187b57600080fd5b8151602061188b61105683611012565b82815260059290921b840181019181810190868411156118aa57600080fd5b8286015b848110156110955780516118c181610f83565b83529183019183016118ae565b80518015158114610fa357600080fd5b60008060008060008060008060006101208a8c0312156118fd57600080fd5b6119068a6117be565b60208b015160408c0151919a5098506001600160401b038082111561192a57600080fd5b6119368d838e016117e6565b985061194460608d016117be565b975060808c0151965060a08c015191508082111561196157600080fd5b61196d8d838e0161186a565b955060c08c0151945060e08c015191508082111561198a57600080fd5b506119978c828d016117e6565b9250506119a76101008b016118ce565b90509295985092959850929598565b87815260e0602082015260006119cf60e08301896115b5565b82810360408401526119e181896115b5565b905082810360608401526119f581886115b5565b90508281036080840152611a0981876115b5565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122001656ba64bbd2caeba35a7bc28e8f8902abb6d58fc5a958b6a782df58798b04864736f6c63430008110033", + "address": "0x320651bE9C69cd27410A380cdb9bcB89348A1D28", + "implementation": "0x320651bE9C69cd27410A380cdb9bcB89348A1D28", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTEscrowPaymentCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTEscrowPaymentCondition.geth-localnet.json new file mode 100644 index 0000000..795c0aa --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTEscrowPaymentCondition.geth-localnet.json @@ -0,0 +1,633 @@ +{ + "name": "NFTEscrowPaymentCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_receivers", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amounts", + "type": "uint256" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "Received", + "type": "event" + }, + { + "inputs": [], + "name": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [], + "name": "LOCK_CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x2da36cc6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e4933da" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_amounts", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receivers", + "type": "address" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x4c5f1273" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "hashValuesLockPayment", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xe847131c" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "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", + "signature": "0xbc197c81" + }, + { + "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", + "signature": "0xf23a6e61" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b58806100206000396000f3fe6080604052600436106101095760003560e01c806301ffc9a71461015f57806315c87f851461019457806316279055146101d65780631ce19185146101f75780632da36cc6146102245780632e4933da14610246578063485cc955146102665780634c5f127314610288578063572b6c05146102a85780635ced058e146102c85780635ea3ab85146102fe5780636fd902e11461031e578063715018a61461033157806382c947b7146103465780638da5cb5b1461036d578063ab9de23014610382578063bc197c8114610397578063cb4e57e8146103df578063ce1b815f146103ff578063e847131c14610414578063f23a6e6114610434578063f2fde38b1461045457600080fd5b3661015a57610116610474565b6001600160a01b03167f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743460405161015091815260200190565b60405180910390a2005b600080fd5b34801561016b57600080fd5b5061017f61017a3660046112c5565b610483565b60405190151581526020015b60405180910390f35b3480156101a057600080fd5b506101c87f8d07418068271276abc4e5863167e6bffec40d353ff654c30db5ec9a64a43ed581565b60405190815260200161018b565b3480156101e257600080fd5b5061017f6101f136600461130b565b3b151590565b34801561020357600080fd5b50610217610212366004611328565b6104ba565b60405161018b9190611379565b34801561023057600080fd5b506101c8600080516020611b0383398151915281565b34801561025257600080fd5b5061021761026136600461145b565b6105ef565b34801561027257600080fd5b50610286610281366004611509565b61067e565b005b34801561029457600080fd5b506101c86102a3366004611542565b6107fd565b3480156102b457600080fd5b5061017f6102c336600461130b565b610842565b3480156102d457600080fd5b506102e66102e3366004611328565b90565b6040516001600160a01b03909116815260200161018b565b34801561030a57600080fd5b506101c86103193660046115e6565b610867565b34801561032a57600080fd5b50436101c8565b34801561033d57600080fd5b506102866108b6565b34801561035257600080fd5b506101c861036136600461130b565b6001600160a01b031690565b34801561037957600080fd5b506102e66108ca565b34801561038e57600080fd5b506102e66108d9565b3480156103a357600080fd5b506103c66103b2366004611702565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b0319909116815260200161018b565b3480156103eb57600080fd5b506101c86103fa3660046117c0565b610969565b34801561040b57600080fd5b506102e661099e565b34801561042057600080fd5b506101c861042f3660046117e2565b610a29565b34801561044057600080fd5b506103c661044f366004611841565b610a94565b34801561046057600080fd5b5061028661046f36600461130b565b610aa7565b600061047e610b20565b905090565b60006301ffc9a760e01b6001600160e01b0319831614806104b45750630271189760e51b6001600160e01b03198316145b92915050565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610504573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052891906118bc565b6105795760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906105ac9085906003906004016118de565b6020604051808303816000875af11580156105cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b491906118f2565b60006105f9610b4e565b6106656040518061012001604052808c81526020018b81526020018a8152602001896001600160a01b03168152602001886001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b0316815260200185815260200184815250610ba7565b90506106716001606655565b9998505050505050505050565b600054610100900460ff161580801561069e5750600054600160ff909116105b806106b85750303b1580156106b8575060005460ff166001145b61071b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610570565b6000805460ff19166001179055801561073e576000805461ff0019166101001790555b6001600160a01b0382166107865760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610570565b61078e610ff7565b61079783610aa7565b606580546001600160a01b0319166001600160a01b03841617905580156107f8576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6000888888888888888860405160200161081e989796959493929190611913565b60405160208183030381529060405280519060200120905098975050505050505050565b600061084c61099e565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156108af578381815181106108885761088861199d565b60200260200101518261089b91906119c9565b9150806108a7816119dc565b91505061086d565b5092915050565b6108be611026565b6108c86000611095565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166108f25750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047e91906119f5565b600082308360405160200161098093929190611a12565b60405160208183030381529060405280519060200120905092915050565b6000806109a96108d9565b90506001600160a01b0381166109c157600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2391906119f5565b91505090565b60408051600080516020611b0383398151915260208201529081018690526001600160a01b0380861660608301526080820184905280831660a0830152841660c082015260009060e00160405160208183030381529060405280519060200120905095945050505050565b63f23a6e6160e01b5b9695505050505050565b610aaf611026565b6001600160a01b038116610b145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610570565b610b1d81611095565b50565b600060143610801590610b375750610b3733610842565b15610b49575060131936013560601c90565b503390565b600260665403610ba05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610570565b6002606655565b60e0810151815160655460405163c0c786a760e01b81526004810184905260009392916001600160a01b03169063c0c786a790602401602060405180830381865afa158015610bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1e91906119f5565b610c3f85602001518660a001518760c0015188604001518960600151610a29565b604051602001610c5193929190611a12565b6040516020818303038152906040528051906020012014610cb45760405162461bcd60e51b815260206004820152601f60248201527f4c6f636b436f6e646974696f6e20494420646f6573206e6f74206d61746368006044820152606401610570565b60655460e08301516040516319b6289160e11b815260048101919091526002916001600160a01b03169063336c512290602401602060405180830381865afa158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2891906118f2565b6003811115610d3957610d39611341565b14610d925760405162461bcd60e51b815260206004820152602360248201527f4c6f636b436f6e646974696f6e206e6565647320746f2062652046756c66696c6044820152621b195960ea1b6064820152608401610570565b60016000805b84610100015151811015610e8c5760655461010086015180516000926001600160a01b03169163336c51229185908110610dd457610dd461199d565b60200260200101516040518263ffffffff1660e01b8152600401610dfa91815260200190565b602060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b91906118f2565b90506002816003811115610e5157610e51611341565b14610e5b57600093505b6003816003811115610e6f57610e6f611341565b03610e7957600192505b5080610e84816119dc565b915050610d98565b508080610e965750815b610ee25760405162461bcd60e51b815260206004820152601d60248201527f52656c6561736520636f6e646974696f6e7320756e7265736f6c7665640000006044820152606401610570565b306001600160a01b031684606001516001600160a01b031603610f555760405162461bcd60e51b815260206004820152602560248201527f457363726f7720636f6e74726163742063616e206e6f7420626520612072656360448201526432b4bb32b960d91b6064820152608401610570565b6000610f9085600001516103fa8760200151886040015189606001518a608001518b60a001518c60c001518d60e001518e61010001516107fd565b90508215610fc357610fba85600001518287602001518860c0015189606001518a604001516110e7565b95945050505050565b600182151514610fd557610fd5611a31565b610fba85600001518287602001518860c0015189608001518a604001516110e7565b600054610100900460ff1661101e5760405162461bcd60e51b815260040161057090611a47565b6108c8611212565b61102e610474565b6001600160a01b031661103f6108ca565b6001600160a01b0316146108c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610570565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051637921219560e11b81523060048201526001600160a01b038381166024830152604482018690526064820183905260a06084830152600060a4830181905291859182169063f242432a9060c401600060405180830381600087803b15801561115157600080fd5b505af1158015611165573d6000803e3d6000fd5b5050604080518981526001600160a01b0388811660208301529181018b90526060810187905290881692508a91507fc220d793b925792c953f01840b8fc5b8e27f1ab36db13caf1301e176effc475a9060800160405180910390a3611206876002886040518060400160405280601981526020017827232a22b9b1b937bba830bcb6b2b73a21b7b73234ba34b7b760391b815250611201610474565b611249565b98975050505050505050565b600054610100900460ff166112395760405162461bcd60e51b815260040161057090611a47565b6108c8611244610474565b611095565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae81906112829089908890889088908c90600401611a92565b6020604051808303816000875af11580156112a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9d91906118f2565b6000602082840312156112d757600080fd5b81356001600160e01b0319811681146112ef57600080fd5b9392505050565b6001600160a01b0381168114610b1d57600080fd5b60006020828403121561131d57600080fd5b81356112ef816112f6565b60006020828403121561133a57600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6004811061137557634e487b7160e01b600052602160045260246000fd5b9052565b602081016104b48284611357565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156113c5576113c5611387565b604052919050565b60006001600160401b038211156113e6576113e6611387565b5060051b60200190565b600082601f83011261140157600080fd5b81356020611416611411836113cd565b61139d565b82815260059290921b8401810191818101908684111561143557600080fd5b8286015b848110156114505780358352918301918301611439565b509695505050505050565b60008060008060008060008060006101208a8c03121561147a57600080fd5b8935985060208a0135975060408a0135965060608a013561149a816112f6565b955060808a01356114aa816112f6565b945060a08a01356114ba816112f6565b935060c08a01356114ca816112f6565b925060e08a013591506101008a01356001600160401b038111156114ed57600080fd5b6114f98c828d016113f0565b9150509295985092959850929598565b6000806040838503121561151c57600080fd5b8235611527816112f6565b91506020830135611537816112f6565b809150509250929050565b600080600080600080600080610100898b03121561155f57600080fd5b88359750602089013596506040890135611578816112f6565b95506060890135611588816112f6565b94506080890135611598816112f6565b935060a08901356115a8816112f6565b925060c0890135915060e08901356001600160401b038111156115ca57600080fd5b6115d68b828c016113f0565b9150509295985092959890939650565b600060208083850312156115f957600080fd5b82356001600160401b0381111561160f57600080fd5b8301601f8101851361162057600080fd5b803561162e611411826113cd565b81815260059190911b8201830190838101908783111561164d57600080fd5b928401925b8284101561166b57833582529284019290840190611652565b979650505050505050565b60008083601f84011261168857600080fd5b5081356001600160401b0381111561169f57600080fd5b6020830191508360208260051b85010111156116ba57600080fd5b9250929050565b60008083601f8401126116d357600080fd5b5081356001600160401b038111156116ea57600080fd5b6020830191508360208285010111156116ba57600080fd5b60008060008060008060008060a0898b03121561171e57600080fd5b8835611729816112f6565b97506020890135611739816112f6565b965060408901356001600160401b038082111561175557600080fd5b6117618c838d01611676565b909850965060608b013591508082111561177a57600080fd5b6117868c838d01611676565b909650945060808b013591508082111561179f57600080fd5b506117ac8b828c016116c1565b999c989b5096995094979396929594505050565b600080604083850312156117d357600080fd5b50508035926020909101359150565b600080600080600060a086880312156117fa57600080fd5b85359450602086013561180c816112f6565b9350604086013561181c816112f6565b9250606086013591506080860135611833816112f6565b809150509295509295909350565b60008060008060008060a0878903121561185a57600080fd5b8635611865816112f6565b95506020870135611875816112f6565b9450604087013593506060870135925060808701356001600160401b0381111561189e57600080fd5b6118aa89828a016116c1565b979a9699509497509295939492505050565b6000602082840312156118ce57600080fd5b815180151581146112ef57600080fd5b828152604081016112ef6020830184611357565b60006020828403121561190457600080fd5b8151600481106112ef57600080fd5b88815260208082018990526001600160a01b03888116604084015287811660608401528681166080840152851660a083015260c0820184905261010060e0830181905283519083018190526000916101208401918582019190845b8181101561198a5783518552938201939282019260010161196e565b50929d9c50505050505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156104b4576104b46119b3565b6000600182016119ee576119ee6119b3565b5060010190565b600060208284031215611a0757600080fd5b81516112ef816112f6565b9283526001600160a01b03919091166020830152604082015260600190565b634e487b7160e01b600052600160045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b81811015611acc5787810183015185820160c001528201611ab0565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610a9d608083018461135756fec3384b1e5c6f717830cb91336cd651e781616c33fcffd0e16ca64f6bcc84c0c8a26469706673582212203fa2d12a32113b892250db71836c2d87af0f83438b4c096f80206cbf78bf3c4364736f6c63430008110033", + "address": "0xA7e6631D03B8401a8c0F5076a41F12BFFe63B3CF", + "implementation": "0xA7e6631D03B8401a8c0F5076a41F12BFFe63B3CF", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTHolderCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTHolderCondition.geth-localnet.json new file mode 100644 index 0000000..a3b8870 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTHolderCondition.geth-localnet.json @@ -0,0 +1,466 @@ +{ + "name": "NFTHolderCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_address", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_holderAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36721a10" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_holderAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_contractAddress", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x658cad5d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_holderAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_contractAddress", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x57d2b8b1" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_holderAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa20ce23c" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_ercAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061106c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c806316279055146100eb5780631ce191851461011457806336721a1014610134578063572b6c051461014757806357d2b8b11461015a5780635ced058e1461017b5780635ea3ab85146101a4578063658cad5d146101b75780636fd902e1146101ca578063715018a6146101d057806382c947b7146101da5780638da5cb5b146101f4578063a20ce23c146101fc578063ab9de2301461020f578063c0c53b8b14610217578063cb4e57e81461022a578063ce1b815f1461026a578063f2fde38b14610272575b600080fd5b6100ff6100f9366004610bd9565b3b151590565b60405190151581526020015b60405180910390f35b610127610122366004610bf6565b610285565b60405161010b9190610c31565b610127610142366004610c3f565b6103c0565b6100ff610155366004610bd9565b6103e9565b61016d610168366004610c7e565b61040e565b60405190815260200161010b565b61018c610189366004610bf6565b90565b6040516001600160a01b03909116815260200161010b565b61016d6101b2366004610cde565b610457565b6101276101c5366004610d9b565b6104a6565b4361016d565b6101d861063c565b005b61016d6101e8366004610bd9565b6001600160a01b031690565b61018c610650565b61016d61020a366004610df1565b61065f565b61018c610687565b6101d8610225366004610e29565b61071c565b61016d610238366004610e74565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b61018c6108db565b6101d8610280366004610bd9565b610966565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156102cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f39190610e96565b6103445760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610377908590600390600401610eb8565b6020604051808303816000875af1158015610396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ba9190610ecc565b92915050565b6066546000906103e09086908690869086906001600160a01b03166104a6565b95945050505050565b60006103f36108db565b6001600160a01b0316826001600160a01b0316149050919050565b604080516020808201969096526001600160a01b0394851681830152606081019390935292166080808301919091528251808303909101815260a0909101909152805191012090565b60008060005b835181101561049f5783818151811061047857610478610eed565b60200260200101518261048b9190610f19565b91508061049781610f2c565b91505061045d565b5092915050565b604051627eeac760e11b81526001600160a01b03848116600483015260248201869052600091849184169062fdd58e90604401602060405180830381865afa1580156104f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051a9190610f45565b101561058c5760405162461bcd60e51b815260206004820152603b60248201527f54686520686f6c64657220646f65736e74206861766520656e6f756768204e4660448201527a2a103130b630b731b2903337b9103a3432903234b21033b4bb32b760291b606482015260840161033b565b600061059e876102388888888861040e565b905060006105e1826002896040518060400160405280601281526020017127232a2437b63232b921b7b73234ba34b7b760711b8152506105dc6109df565b6109e9565b9050856001600160a01b031687897f9ba901e9f9a3b97d24508ca5e05edcaf6d21e2a10cbeb53d8d087fbc9c4cd9238589604051610629929190918252602082015260400190565b60405180910390a4979650505050505050565b610644610a6f565b61064e6000610ade565b565b6033546001600160a01b031690565b60665460009061067d908590859085906001600160a01b031661040e565b90505b9392505050565b6065546000906001600160a01b03166106a05750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107179190610f5e565b905090565b600054610100900460ff161580801561073c5750600054600160ff909116105b806107565750303b158015610756575060005460ff166001145b6107b95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161033b565b6000805460ff1916600117905580156107dc576000805461ff0019166101001790555b6001600160a01b038416158015906107fc57506001600160a01b03821615155b801561081057506001600160a01b03831615155b61084e5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161033b565b610856610b30565b61085f84610966565b606580546001600160a01b038086166001600160a01b031992831617909255606680549285169290911691909117905580156108d5576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6000806108e6610687565b90506001600160a01b0381166108fe57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561093c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109609190610f5e565b91505090565b61096e610a6f565b6001600160a01b0381166109d35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161033b565b6109dc81610ade565b50565b6000610717610b5f565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610a229089908890889088908c90600401610f7b565b6020604051808303816000875af1158015610a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a659190610ecc565b9695505050505050565b610a776109df565b6001600160a01b0316610a88610650565b6001600160a01b03161461064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161033b565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610b575760405162461bcd60e51b815260040161033b90610feb565b61064e610b8d565b600060143610801590610b765750610b76336103e9565b15610b88575060131936013560601c90565b503390565b600054610100900460ff16610bb45760405162461bcd60e51b815260040161033b90610feb565b61064e610bbf6109df565b610ade565b6001600160a01b03811681146109dc57600080fd5b600060208284031215610beb57600080fd5b813561068081610bc4565b600060208284031215610c0857600080fd5b5035919050565b60048110610c2d57634e487b7160e01b600052602160045260246000fd5b9052565b602081016103ba8284610c0f565b60008060008060808587031215610c5557600080fd5b84359350602085013592506040850135610c6e81610bc4565b9396929550929360600135925050565b60008060008060808587031215610c9457600080fd5b843593506020850135610ca681610bc4565b9250604085013591506060850135610cbd81610bc4565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610cf157600080fd5b82356001600160401b0380821115610d0857600080fd5b818501915085601f830112610d1c57600080fd5b813581811115610d2e57610d2e610cc8565b8060051b604051601f19603f83011681018181108582111715610d5357610d53610cc8565b604052918252848201925083810185019188831115610d7157600080fd5b938501935b82851015610d8f57843584529385019392850192610d76565b98975050505050505050565b600080600080600060a08688031215610db357600080fd5b85359450602086013593506040860135610dcc81610bc4565b9250606086013591506080860135610de381610bc4565b809150509295509295909350565b600080600060608486031215610e0657600080fd5b833592506020840135610e1881610bc4565b929592945050506040919091013590565b600080600060608486031215610e3e57600080fd5b8335610e4981610bc4565b92506020840135610e5981610bc4565b91506040840135610e6981610bc4565b809150509250925092565b60008060408385031215610e8757600080fd5b50508035926020909101359150565b600060208284031215610ea857600080fd5b8151801515811461068057600080fd5b828152604081016106806020830184610c0f565b600060208284031215610ede57600080fd5b81516004811061068057600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103ba576103ba610f03565b600060018201610f3e57610f3e610f03565b5060010190565b600060208284031215610f5757600080fd5b5051919050565b600060208284031215610f7057600080fd5b815161068081610bc4565b85815260006020868184015260a0604084015285518060a085015260005b81811015610fb55787810183015185820160c001528201610f99565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610a656080830184610c0f565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212203b72cda29a6061b0c24be53a4b148e0cd886c33dc404197c62b1c074341fa47164736f6c63430008110033", + "address": "0xe9bc51947fEFC5991FA26ba487ca913d5D892146", + "implementation": "0xe9bc51947fEFC5991FA26ba487ca913d5D892146", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTLockCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTLockCondition.geth-localnet.json new file mode 100644 index 0000000..2026833 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTLockCondition.geth-localnet.json @@ -0,0 +1,677 @@ +{ + "name": "NFTLockCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36721a10" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_nft", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x658cad5d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "fulfillMarked", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x50d0f2ba" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x57d2b8b1" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa20ce23c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_lockAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "hashValuesMarked", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x3985d597" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_ercAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "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", + "signature": "0xbc197c81" + }, + { + "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", + "signature": "0xf23a6e61" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611483806100206000396000f3fe608060405234801561001057600080fd5b50600436106101285760003560e01c806301ffc9a71461012d57806315c87f851461015557806316279055146101785780631ce191851461018c57806336721a10146101ac5780633985d597146101bf57806350d0f2ba146101d2578063572b6c05146101e557806357d2b8b1146101f85780635ced058e1461020b5780635ea3ab8514610234578063658cad5d146102475780636fd902e11461025a578063715018a61461026057806382c947b71461026a5780638da5cb5b14610284578063a20ce23c1461028c578063ab9de2301461029f578063bc197c81146102a7578063c0c53b8b146102e2578063cb4e57e8146102f5578063ce1b815f14610335578063f23a6e611461033d578063f2fde38b1461035d575b600080fd5b61014061013b366004610d2d565b610370565b60405190151581526020015b60405180910390f35b61016a60008051602061142e83398151915281565b60405190815260200161014c565b610140610186366004610d6c565b3b151590565b61019f61019a366004610d89565b6103a7565b60405161014c9190610dc4565b61019f6101ba366004610dd2565b6104dc565b61016a6101cd366004610e11565b610505565b61019f6101e0366004610e70565b610570565b6101406101f3366004610d6c565b6106d5565b61016a610206366004610ed7565b6106fa565b61021c610219366004610d89565b90565b6040516001600160a01b03909116815260200161014c565b61016a610242366004610f37565b61070a565b61019f610255366004610ff4565b610759565b4361016a565b61026861076a565b005b61016a610278366004610d6c565b6001600160a01b031690565b61021c61077e565b61016a61029a36600461103c565b61078d565b61021c6107b5565b6102c96102b5366004611100565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b0319909116815260200161014c565b6102686102f03660046111be565b61084a565b61016a610303366004611209565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b61021c6109f5565b6102c961034b36600461122b565b63f23a6e6160e01b9695505050505050565b61026861036b366004610d6c565b610a80565b60006301ffc9a760e01b6001600160e01b0319831614806103a15750630271189760e51b6001600160e01b03198316145b92915050565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156103f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041591906112a6565b6104665760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906104999085906003906004016112c8565b6020604051808303816000875af11580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a191906112dc565b6098546000906104fc9086908690869086906001600160a01b0316610759565b95945050505050565b6040805160008051602061142e83398151915260208201529081018690526001600160a01b0380861660608301526080820185905280841660a0830152821660c082015260009060e00160405160208183030381529060405280519060200120905095945050505050565b600061057a610af9565b816001600160a01b031663f242432a610591610b52565b60405160e083901b6001600160e01b03191681526001600160a01b0391821660048201529088166024820152604481018990526064810187905260a06084820152600060a482015260c401600060405180830381600087803b1580156105f657600080fd5b505af115801561060a573d6000803e3d6000fd5b505050506000610621886103038989898989610505565b905060006106628260028a6040518060400160405280601081526020016f27232a2637b1b5a1b7b73234ba34b7b760811b81525061065d610b52565b610b5c565b60408051848152602081018990526001600160a01b038881168284015287811660608301529151929350908916918a918c917f04f9aff1e038b53ebdbdfb6de4fc8e35c284f641c112be8c99bdfb4bf10d07549181900360800190a49150506106cb6001606655565b9695505050505050565b60006106df6109f5565b6001600160a01b0316826001600160a01b0316149050919050565b60006104fc858585600086610505565b60008060005b83518110156107525783818151811061072b5761072b6112fd565b60200260200101518261073e9190611329565b91508061074a8161133c565b915050610710565b5092915050565b60006106cb86868686600087610570565b610772610bd8565b61077c6000610c47565b565b6033546001600160a01b031690565b6098546000906107ab908590859085906001600160a01b03166106fa565b90505b9392505050565b6065546000906001600160a01b03166107ce5750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108459190611355565b905090565b600054610100900460ff161580801561086a5750600054600160ff909116105b806108845750303b158015610884575060005460ff166001145b6108e75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161045d565b6000805460ff19166001179055801561090a576000805461ff0019166101001790555b6001600160a01b0383161580159061092a57506001600160a01b03821615155b6109685760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161045d565b610970610c99565b61097984610a80565b606580546001600160a01b038086166001600160a01b031992831617909255609880549285169290911691909117905580156109ef576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b600080610a006107b5565b90506001600160a01b038116610a1857600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7a9190611355565b91505090565b610a88610bd8565b6001600160a01b038116610aed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161045d565b610af681610c47565b50565b600260665403610b4b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161045d565b6002606655565b6000610845610cc8565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610b959089908890889088908c90600401611372565b6020604051808303816000875af1158015610bb4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cb91906112dc565b610be0610b52565b6001600160a01b0316610bf161077e565b6001600160a01b03161461077c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045d565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610cc05760405162461bcd60e51b815260040161045d906113e2565b61077c610cf6565b600060143610801590610cdf5750610cdf336106d5565b15610cf1575060131936013560601c90565b503390565b600054610100900460ff16610d1d5760405162461bcd60e51b815260040161045d906113e2565b61077c610d28610b52565b610c47565b600060208284031215610d3f57600080fd5b81356001600160e01b0319811681146107ae57600080fd5b6001600160a01b0381168114610af657600080fd5b600060208284031215610d7e57600080fd5b81356107ae81610d57565b600060208284031215610d9b57600080fd5b5035919050565b60048110610dc057634e487b7160e01b600052602160045260246000fd5b9052565b602081016103a18284610da2565b60008060008060808587031215610de857600080fd5b84359350602085013592506040850135610e0181610d57565b9396929550929360600135925050565b600080600080600060a08688031215610e2957600080fd5b853594506020860135610e3b81610d57565b9350604086013592506060860135610e5281610d57565b91506080860135610e6281610d57565b809150509295509295909350565b60008060008060008060c08789031215610e8957600080fd5b86359550602087013594506040870135610ea281610d57565b9350606087013592506080870135610eb981610d57565b915060a0870135610ec981610d57565b809150509295509295509295565b60008060008060808587031215610eed57600080fd5b843593506020850135610eff81610d57565b9250604085013591506060850135610f1681610d57565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610f4a57600080fd5b82356001600160401b0380821115610f6157600080fd5b818501915085601f830112610f7557600080fd5b813581811115610f8757610f87610f21565b8060051b604051601f19603f83011681018181108582111715610fac57610fac610f21565b604052918252848201925083810185019188831115610fca57600080fd5b938501935b82851015610fe857843584529385019392850192610fcf565b98975050505050505050565b600080600080600060a0868803121561100c57600080fd5b8535945060208601359350604086013561102581610d57565b9250606086013591506080860135610e6281610d57565b60008060006060848603121561105157600080fd5b83359250602084013561106381610d57565b929592945050506040919091013590565b60008083601f84011261108657600080fd5b5081356001600160401b0381111561109d57600080fd5b6020830191508360208260051b85010111156110b857600080fd5b9250929050565b60008083601f8401126110d157600080fd5b5081356001600160401b038111156110e857600080fd5b6020830191508360208285010111156110b857600080fd5b60008060008060008060008060a0898b03121561111c57600080fd5b883561112781610d57565b9750602089013561113781610d57565b965060408901356001600160401b038082111561115357600080fd5b61115f8c838d01611074565b909850965060608b013591508082111561117857600080fd5b6111848c838d01611074565b909650945060808b013591508082111561119d57600080fd5b506111aa8b828c016110bf565b999c989b5096995094979396929594505050565b6000806000606084860312156111d357600080fd5b83356111de81610d57565b925060208401356111ee81610d57565b915060408401356111fe81610d57565b809150509250925092565b6000806040838503121561121c57600080fd5b50508035926020909101359150565b60008060008060008060a0878903121561124457600080fd5b863561124f81610d57565b9550602087013561125f81610d57565b9450604087013593506060870135925060808701356001600160401b0381111561128857600080fd5b61129489828a016110bf565b979a9699509497509295939492505050565b6000602082840312156112b857600080fd5b815180151581146107ae57600080fd5b828152604081016107ae6020830184610da2565b6000602082840312156112ee57600080fd5b8151600481106107ae57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103a1576103a1611313565b60006001820161134e5761134e611313565b5060010190565b60006020828403121561136757600080fd5b81516107ae81610d57565b85815260006020868184015260a0604084015285518060a085015260005b818110156113ac5787810183015185820160c001528201611390565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b03841660608301526106cb6080830184610da2565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fec3384b1e5c6f717830cb91336cd651e781616c33fcffd0e16ca64f6bcc84c0c8a2646970667358221220de2a265abdc018779707fd7a1f9696ea5ce54bbd85edf5b5a82a03fbd5de4ef464736f6c63430008110033", + "address": "0xC94cFBb9E8f432228bCC153cd797eaA2279E282A", + "implementation": "0xC94cFBb9E8f432228bCC153cd797eaA2279E282A", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTSalesTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTSalesTemplate.geth-localnet.json new file mode 100644 index 0000000..d6242f9 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTSalesTemplate.geth-localnet.json @@ -0,0 +1,678 @@ +{ + "name": "NFTSalesTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "bytes[]", + "name": "_params", + "type": "bytes[]" + } + ], + "name": "createAgreementFulfill", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xe4fe989c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [], + "name": "id", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xaf640d0f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "nftPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x49199215" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "nftAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "nftId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "nftSale", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x0416aae8" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50612acf806100206000396000f3fe6080604052600436106101055760003560e01c80630416aae81461010a5780631459457a1461012c578063162790551461014c5780632e166f3e146101825780634183e72b146101a257806349199215146101c2578063572b6c05146102175780635ced058e146102375780635ea3ab851461026d5780636104ff1a1461028d5780636fd902e1146102a05780636ff015ae146102b3578063715018a6146102f957806382c947b71461030e5780638da5cb5b1461033557806391a169bf1461034a578063ab9de2301461036c578063af640d0f14610381578063ce1b815f14610395578063e4fe989c146103aa578063f2fde38b146103bd578063f8fe1070146103dd575b600080fd5b34801561011657600080fd5b5061012a610125366004611a1d565b6103f0565b005b34801561013857600080fd5b5061012a610147366004611a65565b610440565b34801561015857600080fd5b5061016d610167366004611ad6565b3b151590565b60405190151581526020015b60405180910390f35b34801561018e57600080fd5b5061012a61019d366004611bce565b61072f565b3480156101ae57600080fd5b5061012a6101bd366004611c69565b6107d6565b3480156101ce57600080fd5b506102096101dd366004611d17565b606d60209081526000948552604080862082529385528385208152918452828420909152825290205481565b604051908152602001610179565b34801561022357600080fd5b5061016d610232366004611ad6565b6107f1565b34801561024357600080fd5b50610255610252366004611d58565b90565b6040516001600160a01b039091168152602001610179565b34801561027957600080fd5b50610209610288366004611d7e565b610816565b61012a61029b366004611e1e565b610865565b3480156102ac57600080fd5b5043610209565b3480156102bf57600080fd5b506102d36102ce366004611d58565b610981565b604080516001600160a01b03948516815293909216602084015290820152606001610179565b34801561030557600080fd5b5061012a610af8565b34801561031a57600080fd5b50610209610329366004611ad6565b6001600160a01b031690565b34801561034157600080fd5b50610255610b0c565b34801561035657600080fd5b5061035f610b1b565b6040516101799190611f73565b34801561037857600080fd5b50610255610b7d565b34801561038d57600080fd5b506001610209565b3480156103a157600080fd5b50610255610c12565b61012a6103b8366004611fad565b610c9d565b3480156103c957600080fd5b5061012a6103d8366004611ad6565b610fcb565b61012a6103eb36600461211e565b611044565b80606d60006103fd611071565b6001600160a01b03908116825260208083019390935260409182016000908120988216815297835281882095168752938152838620948652939093525090912055565b600054610100900460ff16158080156104605750600054600160ff909116105b8061047a5750303b15801561047a575060005460ff166001145b6104e25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015610505576000805461ff0019166101001790555b6001600160a01b0386161580159061052557506001600160a01b03851615155b801561053957506001600160a01b03841615155b801561054d57506001600160a01b03831615155b801561056157506001600160a01b03821615155b61059f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016104d9565b6105a761107b565b6105b086610fcb565b606680546001600160a01b0319166001600160a01b0387169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d9190612254565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216878416908117909155606b80548316878516178155606c80548416878616178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805488169096179095559254815480860183558401805491881691871691909117905590548154938401909155910180549190931691161790558015610727576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6066546001600160a01b031663955d0c2a86610749611071565b60405160200161075a929190612271565b6040516020818303038152906040528051906020012086610779610b1b565b8787876040518763ffffffff1660e01b815260040161079d969594939291906122b8565b600060405180830381600087803b1580156107b757600080fd5b505af11580156107cb573d6000803e3d6000fd5b505050505050505050565b6107e3868686868661072f565b6107278686858585896110aa565b60006107fb610c12565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561085e578381815181106108375761083761231e565b60200260200101518261084a919061234a565b9150806108568161235d565b91505061081c565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e610892611071565b6040516020016108a3929190612271565b6040516020818303038152906040528051906020012081526020018d81526020016108cc610b1b565b81526020018c81526020018b81526020018a81526020016108eb611071565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b81526004016109439190612376565b6000604051808303818588803b15801561095c57600080fd5b505af1158015610970573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a069190612254565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b51991610a4a9160040190815260200190565b600060405180830381865afa158015610a67573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8f919081019061256e565b505081519699509097505093159350610ac8925050505781600081518110610ab957610ab961231e565b60200260200101519450610acc565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b610b00611176565b610b0a60006111e5565b565b6033546001600160a01b031690565b60606065805480602002602001604051908101604052809291908181526020018280548015610b7357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610b55575b5050505050905090565b6066546000906001600160a01b0316610b965750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d9190612254565b905090565b600080610c1d610b7d565b90506001600160a01b038116610c3557600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c979190612254565b91505090565b600086610ca8611071565b604051602001610cb9929190612271565b60408051601f1981840301815282825280516020918201206003808552608085019093529350600092919082016060803683375050604080516002808252606082018352939450600093909250906020830190803683375050604080516002808252606082018352939450600093909250906020830190803683375050604080516002808252606082019092529293506000929150602082015b6060815260200190600190039081610d53579050509050610d72611071565b82600081518110610d8557610d8561231e565b60200260200101906001600160a01b031690816001600160a01b03168152505060005b6002811015610e1a5780848281518110610dc457610dc461231e565b602002602001018181525050868181518110610de257610de261231e565b6020026020010151828281518110610dfc57610dfc61231e565b60200260200101819052508080610e129061235d565b915050610da8565b5060005b6003811015610e7757868181518110610e3957610e3961231e565b602002602001015180519060200120858281518110610e5a57610e5a61231e565b602090810291909101015280610e6f8161235d565b915050610e1e565b506000856065600081548110610e8f57610e8f61231e565b600091825260208220015487516001600160a01b03909116918891610eb657610eb661231e565b6020026020010151604051602001610ed093929190612646565b6040516020818303038152906040528051906020012090506000866065600181548110610eff57610eff61231e565b9060005260206000200160009054906101000a90046001600160a01b031687600181518110610f3057610f3061231e565b6020026020010151604051602001610f4a93929190612646565b604051602081830303815290604052805190602001209050610f6d88838e611237565b84600181518110610f8057610f8061231e565b60200260200101906001600160a01b031690816001600160a01b031681525050610fab888383611584565b610fbc8d8d888e8e8e8b8b8b61179c565b50505050505050505050505050565b610fd3611176565b6001600160a01b0381166110385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d9565b611041816111e5565b50565b6110568b8b8b8b8b8a8a8a8a8a610865565b6110648b8b8a8a8a8e6110aa565b5050505050505050505050565b6000610c0d6117ba565b600054610100900460ff166110a25760405162461bcd60e51b81526004016104d990612665565b610b0a6117e8565b6000866110b5611071565b6040516020016110c6929190612271565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be34898989886111498f8261181f565b8f611152611071565b60405161116597969594939291906126b0565b60405180910390a450505050505050565b61117e611071565b6001600160a01b031661118f610b0c565b6001600160a01b031614610b0a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104d9565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080600080606080886000815181106112535761125361231e565b602002602001015180602001905181019061126e9190612783565b809550819650829750839850849950505050505060008060008060008d60018151811061129d5761129d61231e565b60200260200101518060200190518101906112b8919061280a565b949950919750955093509091505089851480156112d45750898c145b61130f5760405162461bcd60e51b815260206004820152600c60248201526b0c8d2c840dad2e6dac2e8c6d60a31b60448201526064016104d9565b8c82146113515760405162461bcd60e51b815260206004820152601060248201526f0d8dec6d640d2c840dad2e6dac2e8c6d60831b60448201526064016104d9565b60656002815481106113655761136561231e565b6000918252602090912001546001600160a01b038a81169116146113bf5760405162461bcd60e51b8152602060048201526011602482015270726577617264206e6f7420657363726f7760781b60448201526064016104d9565b606d6000876000815181106113d6576113d661231e565b6020908102919091018101516001600160a01b039081168352828201939093526040918201600090812085851682528252828120938c1681529281528183208f8452905281205490036114595760405162461bcd60e51b815260206004820152600b60248201526a6e6f74206f6e2073616c6560a81b60448201526064016104d9565b8660008151811061146c5761146c61231e565b602002602001015183606d60008960008151811061148c5761148c61231e565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000846001600160a01b03166001600160a01b0316815260200190815260200160002060008b6001600160a01b03166001600160a01b0316815260200190815260200160002060008f8152602001908152602001600020546115169190612866565b11156115565760405162461bcd60e51b815260206004820152600f60248201526e746f6f20736d616c6c20707269636560881b60448201526064016104d9565b856000815181106115695761156961231e565b60200260200101519a50505050505050505050509392505050565b60008060006060808760008151811061159f5761159f61231e565b60200260200101518060200190518101906115ba9190612783565b80955081965082975083985084995050505050506000606080600080600060608e6002815181106115ed576115ed61231e565b6020026020010151806020019051810190611608919061287d565b969d50949b509299509750909550909350909150508d821461165e5760405162461bcd60e51b815260206004820152600f60248201526e3637b1b59036b4b9b6b0ba31b4101960891b60448201526064016104d9565b80516001146116a75760405162461bcd60e51b81526020600482015260156024820152743130b2103932b632b0b9b29031b7b73234ba34b7b760591b60448201526064016104d9565b868387876040516020016116be949392919061294b565b604051602081830303815290604052805190602001208c8b8b8b6040516020016116eb949392919061294b565b60405160208183030381529060405280519060200120146117405760405162461bcd60e51b815260206004820152600f60248201526e0cae6c6e4deee40dad2e6dac2e8c6d608b1b60448201526064016104d9565b8c816000815181106117545761175461231e565b6020026020010151146109705760405162461bcd60e51b815260206004820152601060248201526f0e8e4c2dccccae440dad2e6dac2e8c6d60831b60448201526064016104d9565b6117ac8989898989888888611956565b6107cb89898888888c6110aa565b6000601436108015906117d157506117d1336107f1565b156117e3575060131936013560601c90565b503390565b600054610100900460ff1661180f5760405162461bcd60e51b81526004016104d990612665565b610b0a61181a611071565b6111e5565b606060008361182c611071565b60405160200161183d929190612271565b604051602081830303815290604052805190602001209050600083516001600160401b0381111561187057611870611afa565b604051908082528060200260200182016040528015611899578160200160208202803683370190505b50905060005b815181101561194b5782606582815481106118bc576118bc61231e565b9060005260206000200160009054906101000a90046001600160a01b03168683815181106118ec576118ec61231e565b602002602001015160405160200161190693929190612646565b6040516020818303038152906040528051906020012082828151811061192e5761192e61231e565b6020908102919091010152806119438161235d565b91505061189f565b509150505b92915050565b6066546001600160a01b031663122b3d45348a611971611071565b604051602001611982929190612271565b604051602081830303815290604052805190602001208a6119a1610b1b565b8b8b8b8a8c8b6040518b63ffffffff1660e01b81526004016119cb99989796959493929190612992565b6000604051808303818588803b1580156119e457600080fd5b505af1158015610fbc573d6000803e3d6000fd5b6001600160a01b038116811461104157600080fd5b8035611a18816119f8565b919050565b60008060008060808587031215611a3357600080fd5b8435611a3e816119f8565b9350602085013592506040850135611a55816119f8565b9396929550929360600135925050565b600080600080600060a08688031215611a7d57600080fd5b8535611a88816119f8565b94506020860135611a98816119f8565b93506040860135611aa8816119f8565b92506060860135611ab8816119f8565b91506080860135611ac8816119f8565b809150509295509295909350565b600060208284031215611ae857600080fd5b8135611af3816119f8565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611b3857611b38611afa565b604052919050565b60006001600160401b03821115611b5957611b59611afa565b5060051b60200190565b600082601f830112611b7457600080fd5b81356020611b89611b8483611b40565b611b10565b82815260059290921b84018101918181019086841115611ba857600080fd5b8286015b84811015611bc35780358352918301918301611bac565b509695505050505050565b600080600080600060a08688031215611be657600080fd5b853594506020860135935060408601356001600160401b0380821115611c0b57600080fd5b611c1789838a01611b63565b94506060880135915080821115611c2d57600080fd5b611c3989838a01611b63565b93506080880135915080821115611c4f57600080fd5b50611c5c88828901611b63565b9150509295509295909350565b60008060008060008060c08789031215611c8257600080fd5b863595506020870135945060408701356001600160401b0380821115611ca757600080fd5b611cb38a838b01611b63565b95506060890135915080821115611cc957600080fd5b611cd58a838b01611b63565b94506080890135915080821115611ceb57600080fd5b50611cf889828a01611b63565b92505060a0870135611d09816119f8565b809150509295509295509295565b60008060008060808587031215611d2d57600080fd5b8435611d38816119f8565b93506020850135611d48816119f8565b92506040850135611a55816119f8565b600060208284031215611d6a57600080fd5b5035919050565b6001600160a01b03169052565b600060208284031215611d9057600080fd5b81356001600160401b03811115611da657600080fd5b611db284828501611b63565b949350505050565b600082601f830112611dcb57600080fd5b81356020611ddb611b8483611b40565b82815260059290921b84018101918181019086841115611dfa57600080fd5b8286015b84811015611bc3578035611e11816119f8565b8352918301918301611dfe565b6000806000806000806000806000806101408b8d031215611e3e57600080fd5b8a35995060208b0135985060408b01356001600160401b0380821115611e6357600080fd5b611e6f8e838f01611b63565b995060608d0135915080821115611e8557600080fd5b611e918e838f01611b63565b985060808d0135915080821115611ea757600080fd5b611eb38e838f01611b63565b975060a08d01359650611ec860c08e01611a0d565b9550611ed660e08e01611a0d565b94506101008d0135915080821115611eed57600080fd5b611ef98e838f01611b63565b93506101208d0135915080821115611f1057600080fd5b50611f1d8d828e01611dba565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b83811015611f685781516001600160a01b031687529582019590820190600101611f43565b509495945050505050565b602081526000611af36020830184611f2f565b60006001600160401b03821115611f9f57611f9f611afa565b50601f01601f191660200190565b60008060008060008060c08789031215611fc657600080fd5b86359550602087013594506001600160401b036040880135811015611fea57600080fd5b611ffa8960408a01358a01611b63565b9450806060890135111561200d57600080fd5b61201d8960608a01358a01611b63565b935061202c60808901356119f8565b608088013592508060a0890135111561204457600080fd5b60a0880135880189601f82011261205a57600080fd5b612067611b848235611b40565b81358082526020808301929160051b8401018c101561208557600080fd5b602083015b6020843560051b85010181101561210c5784813511156120a957600080fd5b803584018d603f8201126120bc57600080fd5b60208101356120cd611b8482611f86565b8181528f60408385010111156120e257600080fd5b8160408401602083013760006020838301015280865250505060208301925060208101905061208a565b50809450505050509295509295509295565b60008060008060008060008060008060006101608c8e03121561214057600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561216457600080fd5b6121748e60408f01358f01611b63565b99508060608e0135111561218757600080fd5b6121978e60608f01358f01611b63565b98508060808e013511156121aa57600080fd5b6121ba8e60808f01358f01611b63565b97506121c860a08e01611a0d565b965060c08d013595506121dd60e08e01611a0d565b94506121ec6101008e01611a0d565b9350806101208e0135111561220057600080fd5b6122118e6101208f01358f01611b63565b9250806101408e0135111561222557600080fd5b506122378d6101408e01358e01611dba565b90509295989b509295989b9093969950565b8051611a18816119f8565b60006020828403121561226657600080fd5b8151611af3816119f8565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b83811015611f685781518752958201959082019060010161229c565b86815285602082015260c0604082015260006122d760c0830187611f2f565b82810360608401526122e98187612288565b905082810360808401526122fd8186612288565b905082810360a08401526123118185612288565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561195057611950612334565b60006001820161236f5761236f612334565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526123a96101a0850183611f2f565b91506060850151601f19808685030160808701526123c78483612288565b935060808701519150808685030160a08701526123e48483612288565b935060a08701519150808685030160c08701526124018483612288565b935060c0870151915061241760e0870183611d71565b60e087015161010087810191909152870151915061012061243a81880184611d71565b870151915061014061244e87820184611d71565b8088015192505061016081878603018188015261246b8584612288565b9088015187820390920184880152935090506124878382611f2f565b9695505050505050565b60005b838110156124ac578181015183820152602001612494565b50506000910152565b600082601f8301126124c657600080fd5b81516124d4611b8482611f86565b8181528460208386010111156124e957600080fd5b611db2826020830160208701612491565b600082601f83011261250b57600080fd5b8151602061251b611b8483611b40565b82815260059290921b8401810191818101908684111561253a57600080fd5b8286015b84811015611bc3578051612551816119f8565b835291830191830161253e565b80518015158114611a1857600080fd5b60008060008060008060008060006101208a8c03121561258d57600080fd5b6125968a612249565b60208b015160408c0151919a5098506001600160401b03808211156125ba57600080fd5b6125c68d838e016124b5565b98506125d460608d01612249565b975060808c0151965060a08c01519150808211156125f157600080fd5b6125fd8d838e016124fa565b955060c08c0151945060e08c015191508082111561261a57600080fd5b506126278c828d016124b5565b9250506126376101008b0161255e565b90509295985092959850929598565b9283526001600160a01b03919091166020830152604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b87815260e0602082015260006126c960e0830189612288565b82810360408401526126db8189612288565b905082810360608401526126ef8188612288565b905082810360808401526127038187612288565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b600082601f83011261273957600080fd5b81516020612749611b8483611b40565b82815260059290921b8401810191818101908684111561276857600080fd5b8286015b84811015611bc3578051835291830191830161276c565b600080600080600060a0868803121561279b57600080fd5b8551945060208601516127ad816119f8565b60408701519094506127be816119f8565b60608701519093506001600160401b03808211156127db57600080fd5b6127e789838a01612728565b935060808801519150808211156127fd57600080fd5b50611c5c888289016124fa565b60008060008060008060c0878903121561282357600080fd5b865195506020870151612835816119f8565b6040880151909550612846816119f8565b80945050606087015192506080870151915060a0870151611d09816119f8565b808202811582820484141761195057611950612334565b600080600080600080600080610100898b03121561289a57600080fd5b885160208a01519098506001600160401b03808211156128b957600080fd5b6128c58c838d01612728565b985060408b01519150808211156128db57600080fd5b6128e78c838d016124fa565b97506128f560608c01612249565b965061290360808c01612249565b955061291160a08c01612249565b945060c08b0151935060e08b015191508082111561292e57600080fd5b5061293b8b828c01612728565b9150509295985092959890939650565b8481526001600160a01b038416602082015260806040820181905260009061297590830185612288565b82810360608401526129878185611f2f565b979650505050505050565b60006101208b835260208b818501528160408501526129b38285018c611f2f565b915083820360608501526129c7828b612288565b915083820360808501526129db828a612288565b915083820360a08501526129ef8289612288565b915083820360c0850152612a038288611f2f565b915083820360e0850152612a178287612288565b91508382036101008501528185518084528284019150828160051b85010183880160005b83811015612a8157601f198088850301865282518051808652612a63818a88018b8501612491565b96880196601f01909116939093018601925090850190600101612a3b565b505080955050505050509a995050505050505050505056fea2646970667358221220441ddbdca32804f8b8e80276ac53ba92f18d0d8749a555120e774994ddc9df5164736f6c63430008110033", + "address": "0xFE062b3d2bfc6Cd3319842f754703843cD301fe9", + "implementation": "0xFE062b3d2bfc6Cd3319842f754703843cD301fe9", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTSalesWithAccessTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTSalesWithAccessTemplate.geth-localnet.json new file mode 100644 index 0000000..09eb842 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTSalesWithAccessTemplate.geth-localnet.json @@ -0,0 +1,566 @@ +{ + "name": "NFTSalesWithAccessTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessCondition", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b3a806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063cc2a9a5b146102ce578063ce1b815f146102ee578063f2fde38b14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f936600461101b565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f366004611113565b610336565b005b34801561014257600080fd5b506101346101513660046111ae565b6103dd565b34801561016257600080fd5b506100ff61017136600461101b565b610400565b34801561018257600080fd5b5061019461019136600461125c565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c7366004611282565b610425565b60405190815260200161010b565b6101346101e8366004611322565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b36600461125c565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc61027636600461101b565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611477565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b506101346102e936600461148a565b610821565b3480156102fa57600080fd5b50610194610b49565b34801561030f57600080fd5b5061013461031e36600461101b565b610bd4565b6101346103313660046114fe565b610c4d565b6066546001600160a01b031663955d0c2a86610350610c7a565b604051602001610361929190611629565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a496959493929190611670565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c84565b505050505050565b600061040a610b49565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d57838181518110610446576104466116d6565b6020026020010151826104599190611702565b91508061046581611715565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c7a565b6040516020016104b2929190611629565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c7a565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b8152600401610552919061172e565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106159190611854565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e9190810190611969565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c86116d6565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610d50565b6107196000610dbf565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c9190611854565b905090565b600054610100900460ff16158080156108415750600054600160ff909116105b8061085b5750303b15801561085b575060005460ff166001145b6108c35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156108e6576000805461ff0019166101001790555b6001600160a01b0387161580159061090657506001600160a01b03861615155b801561091a57506001600160a01b03851615155b801561092e57506001600160a01b03841615155b801561094257506001600160a01b03831615155b801561095657506001600160a01b03821615155b6109945760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016108ba565b61099c610e11565b6109a587610bd4565b606680546001600160a01b0319166001600160a01b0388169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a229190611854565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216888416908117909155606b80548316888516178155606c80548416888616178155606d80548516888716178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805489169097179096559354815480870183558501805491891691881691909117905591548254808601845584018054918816918716919091179055548154938401909155910180549190931691161790558015610b40576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610b5461078c565b90506001600160a01b038116610b6c57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce9190611854565b91505090565b610bdc610d50565b6001600160a01b038116610c415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ba565b610c4a81610dbf565b50565b610c5f8b8b8b8b8b8a8a8a8a8a610474565b610c6d8b8b8a8a8a8e610c84565b5050505050505050505050565b600061081c610e40565b600086610c8f610c7a565b604051602001610ca0929190611629565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610d238f82610e6e565b8f610d2c610c7a565b604051610d3f9796959493929190611a41565b60405180910390a450505050505050565b610d58610c7a565b6001600160a01b0316610d6961071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ba565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e385760405162461bcd60e51b81526004016108ba90611ab9565b610719610fbf565b600060143610801590610e575750610e5733610400565b15610e69575060131936013560601c90565b503390565b6060600083610e7b610c7a565b604051602001610e8c929190611629565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610ebf57610ebf61103f565b604051908082528060200260200182016040528015610ee8578160200160208202803683370190505b50905060005b8151811015610fb4578260658281548110610f0b57610f0b6116d6565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f3b57610f3b6116d6565b6020026020010151604051602001610f6f939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f9757610f976116d6565b602090810291909101015280610fac81611715565b915050610eee565b509150505b92915050565b600054610100900460ff16610fe65760405162461bcd60e51b81526004016108ba90611ab9565b610719610ff1610c7a565b610dbf565b6001600160a01b0381168114610c4a57600080fd5b803561101681610ff6565b919050565b60006020828403121561102d57600080fd5b813561103881610ff6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561107d5761107d61103f565b604052919050565b60006001600160401b0382111561109e5761109e61103f565b5060051b60200190565b600082601f8301126110b957600080fd5b813560206110ce6110c983611085565b611055565b82815260059290921b840181019181810190868411156110ed57600080fd5b8286015b8481101561110857803583529183019183016110f1565b509695505050505050565b600080600080600060a0868803121561112b57600080fd5b853594506020860135935060408601356001600160401b038082111561115057600080fd5b61115c89838a016110a8565b9450606088013591508082111561117257600080fd5b61117e89838a016110a8565b9350608088013591508082111561119457600080fd5b506111a1888289016110a8565b9150509295509295909350565b60008060008060008060c087890312156111c757600080fd5b863595506020870135945060408701356001600160401b03808211156111ec57600080fd5b6111f88a838b016110a8565b9550606089013591508082111561120e57600080fd5b61121a8a838b016110a8565b9450608089013591508082111561123057600080fd5b5061123d89828a016110a8565b92505060a087013561124e81610ff6565b809150509295509295509295565b60006020828403121561126e57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561129457600080fd5b81356001600160401b038111156112aa57600080fd5b6112b6848285016110a8565b949350505050565b600082601f8301126112cf57600080fd5b813560206112df6110c983611085565b82815260059290921b840181019181810190868411156112fe57600080fd5b8286015b8481101561110857803561131581610ff6565b8352918301918301611302565b6000806000806000806000806000806101408b8d03121561134257600080fd5b8a35995060208b0135985060408b01356001600160401b038082111561136757600080fd5b6113738e838f016110a8565b995060608d013591508082111561138957600080fd5b6113958e838f016110a8565b985060808d01359150808211156113ab57600080fd5b6113b78e838f016110a8565b975060a08d013596506113cc60c08e0161100b565b95506113da60e08e0161100b565b94506101008d01359150808211156113f157600080fd5b6113fd8e838f016110a8565b93506101208d013591508082111561141457600080fd5b506114218d828e016112be565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b8381101561146c5781516001600160a01b031687529582019590820190600101611447565b509495945050505050565b6020815260006110386020830184611433565b60008060008060008060c087890312156114a357600080fd5b86356114ae81610ff6565b955060208701356114be81610ff6565b945060408701356114ce81610ff6565b935060608701356114de81610ff6565b925060808701356114ee81610ff6565b915060a087013561124e81610ff6565b60008060008060008060008060008060006101608c8e03121561152057600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561154457600080fd5b6115548e60408f01358f016110a8565b99508060608e0135111561156757600080fd5b6115778e60608f01358f016110a8565b98508060808e0135111561158a57600080fd5b61159a8e60808f01358f016110a8565b97506115a860a08e0161100b565b965060c08d013595506115bd60e08e0161100b565b94506115cc6101008e0161100b565b9350806101208e013511156115e057600080fd5b6115f18e6101208f01358f016110a8565b9250806101408e0135111561160557600080fd5b506116178d6101408e01358e016112be565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b8381101561146c57815187529582019590820190600101611654565b86815285602082015260c06040820152600061168f60c0830187611433565b82810360608401526116a18187611640565b905082810360808401526116b58186611640565b905082810360a08401526116c98185611640565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610fb957610fb96116ec565b600060018201611727576117276116ec565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117616101a0850183611433565b91506060850151601f198086850301608087015261177f8483611640565b935060808701519150808685030160a087015261179c8483611640565b935060a08701519150808685030160c08701526117b98483611640565b935060c087015191506117cf60e0870183611275565b60e08701516101008781019190915287015191506101206117f281880184611275565b870151915061014061180687820184611275565b808801519250506101608187860301818801526118238584611640565b90880151878203909201848801529350905061183f8382611433565b9695505050505050565b805161101681610ff6565b60006020828403121561186657600080fd5b815161103881610ff6565b600082601f83011261188257600080fd5b81516001600160401b0381111561189b5761189b61103f565b60206118af601f8301601f19168201611055565b82815285828487010111156118c357600080fd5b60005b838110156118e15785810183015182820184015282016118c6565b506000928101909101919091529392505050565b600082601f83011261190657600080fd5b815160206119166110c983611085565b82815260059290921b8401810191818101908684111561193557600080fd5b8286015b8481101561110857805161194c81610ff6565b8352918301918301611939565b8051801515811461101657600080fd5b60008060008060008060008060006101208a8c03121561198857600080fd5b6119918a611849565b60208b015160408c0151919a5098506001600160401b03808211156119b557600080fd5b6119c18d838e01611871565b98506119cf60608d01611849565b975060808c0151965060a08c01519150808211156119ec57600080fd5b6119f88d838e016118f5565b955060c08c0151945060e08c0151915080821115611a1557600080fd5b50611a228c828d01611871565b925050611a326101008b01611959565b90509295985092959850929598565b87815260e060208201526000611a5a60e0830189611640565b8281036040840152611a6c8189611640565b90508281036060840152611a808188611640565b90508281036080840152611a948187611640565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122006eaf61c11e21ea0f2e3d05da2b33bdce568b7cf751fc1e4ec036c57b2ee3b3864736f6c63430008110033", + "address": "0x3e4E4555bd6f2fb7f1BC1bDADF22638Ab5c99B84", + "implementation": "0x3e4E4555bd6f2fb7f1BC1bDADF22638Ab5c99B84", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NFTSalesWithDLEQTemplate.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NFTSalesWithDLEQTemplate.geth-localnet.json new file mode 100644 index 0000000..1329fb8 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NFTSalesWithDLEQTemplate.geth-localnet.json @@ -0,0 +1,566 @@ +{ + "name": "NFTSalesWithDLEQTemplate", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "_accessProvider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIdSeeds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_idSeed", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_creator", + "type": "address" + } + ], + "name": "AgreementCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2e166f3e" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + } + ], + "name": "createAgreement", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4183e72b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPay", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0x6104ff1a" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_conditionIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "_timeLocks", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_timeOuts", + "type": "uint256[]" + }, + { + "internalType": "address", + "name": "_accessConsumer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_idx", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_rewardAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + } + ], + "name": "createAgreementAndPayEscrow", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf8fe1070" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAgreementData", + "outputs": [ + { + "internalType": "address", + "name": "accessConsumer", + "type": "address" + }, + { + "internalType": "address", + "name": "accessProvider", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "did", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6ff015ae" + }, + { + "inputs": [], + "name": "getConditionTypes", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91a169bf" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_agreementStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentConditionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_transferConditionAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_escrowPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_accessCondition", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcc2a9a5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611b3a806100206000396000f3fe6080604052600436106100d95760003560e01c806316279055146100de5780632e166f3e146101145780634183e72b14610136578063572b6c05146101565780635ced058e146101765780635ea3ab85146101ac5780636104ff1a146101da5780636fd902e1146101ed5780636ff015ae14610200578063715018a61461024657806382c947b71461025b5780638da5cb5b1461028257806391a169bf14610297578063ab9de230146102b9578063cc2a9a5b146102ce578063ce1b815f146102ee578063f2fde38b14610303578063f8fe107014610323575b600080fd5b3480156100ea57600080fd5b506100ff6100f936600461101b565b3b151590565b60405190151581526020015b60405180910390f35b34801561012057600080fd5b5061013461012f366004611113565b610336565b005b34801561014257600080fd5b506101346101513660046111ae565b6103dd565b34801561016257600080fd5b506100ff61017136600461101b565b610400565b34801561018257600080fd5b5061019461019136600461125c565b90565b6040516001600160a01b03909116815260200161010b565b3480156101b857600080fd5b506101cc6101c7366004611282565b610425565b60405190815260200161010b565b6101346101e8366004611322565b610474565b3480156101f957600080fd5b50436101cc565b34801561020c57600080fd5b5061022061021b36600461125c565b610590565b604080516001600160a01b0394851681529390921660208401529082015260600161010b565b34801561025257600080fd5b50610134610707565b34801561026757600080fd5b506101cc61027636600461101b565b6001600160a01b031690565b34801561028e57600080fd5b5061019461071b565b3480156102a357600080fd5b506102ac61072a565b60405161010b9190611477565b3480156102c557600080fd5b5061019461078c565b3480156102da57600080fd5b506101346102e936600461148a565b610821565b3480156102fa57600080fd5b50610194610b49565b34801561030f57600080fd5b5061013461031e36600461101b565b610bd4565b6101346103313660046114fe565b610c4d565b6066546001600160a01b031663955d0c2a86610350610c7a565b604051602001610361929190611629565b604051602081830303815290604052805190602001208661038061072a565b8787876040518763ffffffff1660e01b81526004016103a496959493929190611670565b600060405180830381600087803b1580156103be57600080fd5b505af11580156103d2573d6000803e3d6000fd5b505050505050505050565b6103ea8686868686610336565b6103f8868685858589610c84565b505050505050565b600061040a610b49565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561046d57838181518110610446576104466116d6565b6020026020010151826104599190611702565b91508061046581611715565b91505061042b565b5092915050565b6066546040805161018081019091526001600160a01b0390911690637c719793903490808e6104a1610c7a565b6040516020016104b2929190611629565b6040516020818303038152906040528051906020012081526020018d81526020016104db61072a565b81526020018c81526020018b81526020018a81526020016104fa610c7a565b6001600160a01b03168152602001898152602001886001600160a01b03168152602001876001600160a01b03168152602001868152602001858152506040518363ffffffff1660e01b8152600401610552919061172e565b6000604051808303818588803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b505050505050505050505050505050565b6000806000806000905060606000606660009054906101000a90046001600160a01b03166001600160a01b031663579e6e3f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106159190611854565b600088815260676020526040908190206002015490516322c6b51960e01b81529192506001600160a01b038316916322c6b519916106599160040190815260200190565b600060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069e9190810190611969565b5050815196995090975050931593506106d79250505057816000815181106106c8576106c86116d6565b602002602001015194506106db565b8294505b5050506000938452506067602052604090922080546002909101546001600160a01b0390911693909150565b61070f610d50565b6107196000610dbf565b565b6033546001600160a01b031690565b6060606580548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610764575b5050505050905090565b6066546000906001600160a01b03166107a55750600090565b606660009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c9190611854565b905090565b600054610100900460ff16158080156108415750600054600160ff909116105b8061085b5750303b15801561085b575060005460ff166001145b6108c35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156108e6576000805461ff0019166101001790555b6001600160a01b0387161580159061090657506001600160a01b03861615155b801561091a57506001600160a01b03851615155b801561092e57506001600160a01b03841615155b801561094257506001600160a01b03831615155b801561095657506001600160a01b03821615155b6109945760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016108ba565b61099c610e11565b6109a587610bd4565b606680546001600160a01b0319166001600160a01b0388169081179091556040805163579e6e3f60e01b8152905163579e6e3f916004808201926020929091908290030181865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a229190611854565b606980546001600160a01b03199081166001600160a01b0393841617909155606a80548216888416908117909155606b80548316888516178155606c80548416888616178155606d80548516888716178155606580546001818101835560008390527f8ff97419363ffd7000167f130ef7168fbea05faf9251824ca5043f113cc6a7c7918201805489169097179096559354815480870183558501805491891691881691909117905591548254808601845584018054918816918716919091179055548154938401909155910180549190931691161790558015610b40576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b600080610b5461078c565b90506001600160a01b038116610b6c57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce9190611854565b91505090565b610bdc610d50565b6001600160a01b038116610c415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ba565b610c4a81610dbf565b50565b610c5f8b8b8b8b8b8a8a8a8a8a610474565b610c6d8b8b8a8a8a8e610c84565b5050505050505050505050565b600061081c610e40565b600086610c8f610c7a565b604051602001610ca0929190611629565b60408051808303601f19018152918152815160209283012060008181526067909352912080546001600160a01b0319166001600160a01b038681169182178355600283018a9055600190920154929350911690827f07999de014823a9b9957f806838838c2ef506d5cea4edf7a268607b0b3a0be3489898988610d238f82610e6e565b8f610d2c610c7a565b604051610d3f9796959493929190611a41565b60405180910390a450505050505050565b610d58610c7a565b6001600160a01b0316610d6961071b565b6001600160a01b0316146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ba565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610e385760405162461bcd60e51b81526004016108ba90611ab9565b610719610fbf565b600060143610801590610e575750610e5733610400565b15610e69575060131936013560601c90565b503390565b6060600083610e7b610c7a565b604051602001610e8c929190611629565b604051602081830303815290604052805190602001209050600083516001600160401b03811115610ebf57610ebf61103f565b604051908082528060200260200182016040528015610ee8578160200160208202803683370190505b50905060005b8151811015610fb4578260658281548110610f0b57610f0b6116d6565b9060005260206000200160009054906101000a90046001600160a01b0316868381518110610f3b57610f3b6116d6565b6020026020010151604051602001610f6f939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120828281518110610f9757610f976116d6565b602090810291909101015280610fac81611715565b915050610eee565b509150505b92915050565b600054610100900460ff16610fe65760405162461bcd60e51b81526004016108ba90611ab9565b610719610ff1610c7a565b610dbf565b6001600160a01b0381168114610c4a57600080fd5b803561101681610ff6565b919050565b60006020828403121561102d57600080fd5b813561103881610ff6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561107d5761107d61103f565b604052919050565b60006001600160401b0382111561109e5761109e61103f565b5060051b60200190565b600082601f8301126110b957600080fd5b813560206110ce6110c983611085565b611055565b82815260059290921b840181019181810190868411156110ed57600080fd5b8286015b8481101561110857803583529183019183016110f1565b509695505050505050565b600080600080600060a0868803121561112b57600080fd5b853594506020860135935060408601356001600160401b038082111561115057600080fd5b61115c89838a016110a8565b9450606088013591508082111561117257600080fd5b61117e89838a016110a8565b9350608088013591508082111561119457600080fd5b506111a1888289016110a8565b9150509295509295909350565b60008060008060008060c087890312156111c757600080fd5b863595506020870135945060408701356001600160401b03808211156111ec57600080fd5b6111f88a838b016110a8565b9550606089013591508082111561120e57600080fd5b61121a8a838b016110a8565b9450608089013591508082111561123057600080fd5b5061123d89828a016110a8565b92505060a087013561124e81610ff6565b809150509295509295509295565b60006020828403121561126e57600080fd5b5035919050565b6001600160a01b03169052565b60006020828403121561129457600080fd5b81356001600160401b038111156112aa57600080fd5b6112b6848285016110a8565b949350505050565b600082601f8301126112cf57600080fd5b813560206112df6110c983611085565b82815260059290921b840181019181810190868411156112fe57600080fd5b8286015b8481101561110857803561131581610ff6565b8352918301918301611302565b6000806000806000806000806000806101408b8d03121561134257600080fd5b8a35995060208b0135985060408b01356001600160401b038082111561136757600080fd5b6113738e838f016110a8565b995060608d013591508082111561138957600080fd5b6113958e838f016110a8565b985060808d01359150808211156113ab57600080fd5b6113b78e838f016110a8565b975060a08d013596506113cc60c08e0161100b565b95506113da60e08e0161100b565b94506101008d01359150808211156113f157600080fd5b6113fd8e838f016110a8565b93506101208d013591508082111561141457600080fd5b506114218d828e016112be565b9150509295989b9194979a5092959850565b600081518084526020808501945080840160005b8381101561146c5781516001600160a01b031687529582019590820190600101611447565b509495945050505050565b6020815260006110386020830184611433565b60008060008060008060c087890312156114a357600080fd5b86356114ae81610ff6565b955060208701356114be81610ff6565b945060408701356114ce81610ff6565b935060608701356114de81610ff6565b925060808701356114ee81610ff6565b915060a087013561124e81610ff6565b60008060008060008060008060008060006101608c8e03121561152057600080fd5b8b359a5060208c013599506001600160401b0360408d013581101561154457600080fd5b6115548e60408f01358f016110a8565b99508060608e0135111561156757600080fd5b6115778e60608f01358f016110a8565b98508060808e0135111561158a57600080fd5b61159a8e60808f01358f016110a8565b97506115a860a08e0161100b565b965060c08d013595506115bd60e08e0161100b565b94506115cc6101008e0161100b565b9350806101208e013511156115e057600080fd5b6115f18e6101208f01358f016110a8565b9250806101408e0135111561160557600080fd5b506116178d6101408e01358e016112be565b90509295989b509295989b9093969950565b9182526001600160a01b0316602082015260400190565b600081518084526020808501945080840160005b8381101561146c57815187529582019590820190600101611654565b86815285602082015260c06040820152600061168f60c0830187611433565b82810360608401526116a18187611640565b905082810360808401526116b58186611640565b905082810360a08401526116c98185611640565b9998505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610fb957610fb96116ec565b600060018201611727576117276116ec565b5060010190565b602081528151602082015260208201516040820152600060408301516101808060608501526117616101a0850183611433565b91506060850151601f198086850301608087015261177f8483611640565b935060808701519150808685030160a087015261179c8483611640565b935060a08701519150808685030160c08701526117b98483611640565b935060c087015191506117cf60e0870183611275565b60e08701516101008781019190915287015191506101206117f281880184611275565b870151915061014061180687820184611275565b808801519250506101608187860301818801526118238584611640565b90880151878203909201848801529350905061183f8382611433565b9695505050505050565b805161101681610ff6565b60006020828403121561186657600080fd5b815161103881610ff6565b600082601f83011261188257600080fd5b81516001600160401b0381111561189b5761189b61103f565b60206118af601f8301601f19168201611055565b82815285828487010111156118c357600080fd5b60005b838110156118e15785810183015182820184015282016118c6565b506000928101909101919091529392505050565b600082601f83011261190657600080fd5b815160206119166110c983611085565b82815260059290921b8401810191818101908684111561193557600080fd5b8286015b8481101561110857805161194c81610ff6565b8352918301918301611939565b8051801515811461101657600080fd5b60008060008060008060008060006101208a8c03121561198857600080fd5b6119918a611849565b60208b015160408c0151919a5098506001600160401b03808211156119b557600080fd5b6119c18d838e01611871565b98506119cf60608d01611849565b975060808c0151965060a08c01519150808211156119ec57600080fd5b6119f88d838e016118f5565b955060c08c0151945060e08c0151915080821115611a1557600080fd5b50611a228c828d01611871565b925050611a326101008b01611959565b90509295985092959850929598565b87815260e060208201526000611a5a60e0830189611640565b8281036040840152611a6c8189611640565b90508281036060840152611a808188611640565b90508281036080840152611a948187611640565b60a084019590955250506001600160a01b039190911660c09091015295945050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122008ce4ecf1ffa2504aab8007fc5a4e29b1bc51ed536bdf01989fa7467e18cbee164736f6c63430008110033", + "address": "0x0003E25406C7Bec132EC07319690F3eE0ED420a4", + "implementation": "0x0003E25406C7Bec132EC07319690F3eE0ED420a4", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NeverminedConfig.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NeverminedConfig.geth-localnet.json new file mode 100644 index 0000000..ae2742c --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NeverminedConfig.geth-localnet.json @@ -0,0 +1,525 @@ +{ + "name": "NeverminedConfig", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_whoChanged", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_parameter", + "type": "bytes32" + } + ], + "name": "NeverminedConfigChange", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "GOVERNOR_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xccc57490" + }, + { + "inputs": [], + "name": "feeReceiver", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xb3f00674" + }, + { + "inputs": [], + "name": "getFeeReceiver", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe8a35392" + }, + { + "inputs": [], + "name": "getMarketplaceFee", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x26a7b37b" + }, + { + "inputs": [], + "name": "getProvenanceStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x3b7f8923" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_governor", + "type": "address" + }, + { + "internalType": "bool", + "name": "_provenanceOff", + "type": "bool" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe4bbb5a8" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "isGovernor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe43581b8" + }, + { + "inputs": [], + "name": "marketplaceFee", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6a166964" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "provenanceOff", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x83859d57" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "setGovernor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc42cf535" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_marketplaceFee", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_feeReceiver", + "type": "address" + } + ], + "name": "setMarketplaceFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xaa32ed60" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "setTrustedForwarder", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xda742228" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [], + "name": "trustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x7da0a877" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610fe8806100206000396000f3fe608060405234801561001057600080fd5b50600436106101285760003560e01c806301ffc9a71461012d578063248a9ca31461015557806326a7b37b146101765780632f2ff15d1461017e57806336568abe146101935780633b7f8923146101a65780636a166964146101b9578063715018a6146101c25780637da0a877146101ca57806383859d57146101f55780638da5cb5b1461020957806391d1485414610211578063a217fddf14610224578063aa32ed601461022c578063b3f006741461023f578063c42cf53514610252578063ccc5749014610265578063ce1b815f1461027a578063d547741f1461028b578063da7422281461029e578063e43581b8146102b1578063e4bbb5a8146102c4578063e8a35392146102d7578063f2fde38b146102e8575b600080fd5b61014061013b366004610cb5565b6102fb565b60405190151581526020015b60405180910390f35b610168610163366004610cdf565b610332565b60405190815260200161014c565b60c954610168565b61019161018c366004610d14565b610347565b005b6101916101a1366004610d14565b610368565b60ca54600160a01b900460ff1615610140565b61016860c95481565b6101916103eb565b60cb546101dd906001600160a01b031681565b6040516001600160a01b03909116815260200161014c565b60ca5461014090600160a01b900460ff1681565b6101dd6103ff565b61014061021f366004610d14565b61040e565b610168600081565b61019161023a366004610d14565b610439565b60ca546101dd906001600160a01b031681565b610191610260366004610d40565b6105ea565b610168600080516020610f7383398151915281565b60cb546001600160a01b03166101dd565b610191610299366004610d14565b61060d565b6101916102ac366004610d40565b610629565b6101406102bf366004610d40565b610681565b6101916102d2366004610d5b565b61069b565b60ca546001600160a01b03166101dd565b6101916102f6366004610d40565b6107fa565b60006001600160e01b03198216637965db0b60e01b148061032c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60009081526097602052604090206001015490565b61035082610332565b61035981610870565b610363838361087a565b505050565b6001600160a01b03811633146103dd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6103e78282610900565b5050565b6103f3610967565b6103fd60006109c6565b565b6033546001600160a01b031690565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b33610452600080516020610f738339815191528261040e565b61046e5760405162461bcd60e51b81526004016103d490610da7565b620f42408311156104e15760405162461bcd60e51b815260206004820152603760248201527f4e657665726d696e6564436f6e6669673a20466565206d7573742062652062656044820152761d1dd9595b880c08185b99080c4c0c081c195c98d95b9d604a1b60648201526084016103d4565b821561054f576001600160a01b03821661054f5760405162461bcd60e51b815260206004820152602960248201527f4e657665726d696e6564436f6e6669673a2052656365697665722063616e206e60448201526806f74206265203078360bc1b60648201526084016103d4565b60c983905560ca80546001600160a01b0319166001600160a01b0384161790556040517fee265260b6f7400b6f80ca3c64267ab53846ce48af5bef74bf25f5cae0d58edb903390600080516020610f9383398151915290600090a36040517f389e7cbf003e878980985f1a72c90dbe5b79c41a44fb160ac26b4fef395d0916903390600080516020610f9383398151915290600090a3505050565b6105f2610967565b61060a600080516020610f738339815191528261087a565b50565b61061682610332565b61061f81610870565b6103638383610900565b33610642600080516020610f738339815191528261040e565b61065e5760405162461bcd60e51b81526004016103d490610da7565b5060cb80546001600160a01b0319166001600160a01b0392909216919091179055565b600061032c600080516020610f738339815191528361040e565b600054610100900460ff16158080156106bb5750600054600160ff909116105b806106d55750303b1580156106d5575060005460ff166001145b6107385760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103d4565b6000805460ff19166001179055801561075b576000805461ff0019166101001790555b610763610a18565b61076c846107fa565b610774610a47565b61077f600085610a6e565b610797600080516020610f7383398151915284610a6e565b60ca805460ff60a01b1916600160a01b8415150217905580156107f4576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b610802610967565b6001600160a01b0381166108675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d4565b61060a816109c6565b61060a8133610a78565b610884828261040e565b6103e75760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191660011790556108bc3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61090a828261040e565b156103e75760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b336109706103ff565b6001600160a01b0316146103fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103d4565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610a3f5760405162461bcd60e51b81526004016103d490610dde565b6103fd610ad1565b600054610100900460ff166103fd5760405162461bcd60e51b81526004016103d490610dde565b6103e7828261087a565b610a82828261040e565b6103e757610a8f81610b01565b610a9a836020610b13565b604051602001610aab929190610e4d565b60408051601f198184030181529082905262461bcd60e51b82526103d491600401610ebc565b600054610100900460ff16610af85760405162461bcd60e51b81526004016103d490610dde565b6103fd336109c6565b606061032c6001600160a01b03831660145b60606000610b22836002610f05565b610b2d906002610f1c565b6001600160401b03811115610b4457610b44610f2f565b6040519080825280601f01601f191660200182016040528015610b6e576020820181803683370190505b509050600360fc1b81600081518110610b8957610b89610f45565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610bb857610bb8610f45565b60200101906001600160f81b031916908160001a9053506000610bdc846002610f05565b610be7906001610f1c565b90505b6001811115610c5f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610c1b57610c1b610f45565b1a60f81b828281518110610c3157610c31610f45565b60200101906001600160f81b031916908160001a90535060049490941c93610c5881610f5b565b9050610bea565b508315610cae5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016103d4565b9392505050565b600060208284031215610cc757600080fd5b81356001600160e01b031981168114610cae57600080fd5b600060208284031215610cf157600080fd5b5035919050565b80356001600160a01b0381168114610d0f57600080fd5b919050565b60008060408385031215610d2757600080fd5b82359150610d3760208401610cf8565b90509250929050565b600060208284031215610d5257600080fd5b610cae82610cf8565b600080600060608486031215610d7057600080fd5b610d7984610cf8565b9250610d8760208501610cf8565b915060408401358015158114610d9c57600080fd5b809150509250925092565b6020808252601f908201527f4e657665726d696e6564436f6e6669673a204f6e6c7920676f7665726e6f7200604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60005b83811015610e44578181015183820152602001610e2c565b50506000910152565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351610e7f816017850160208801610e29565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610eb0816028840160208801610e29565b01602801949350505050565b6020815260008251806020840152610edb816040850160208701610e29565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761032c5761032c610eef565b8082018082111561032c5761032c610eef565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081610f6a57610f6a610eef565b50600019019056fe84dc795734050671741a791b768e85599401a837fc8df342a6e85d5dd29f8dad3b507973096b005f8c3169023d77692d542071db559c003da6fe0ef6c679c47da26469706673582212200e2576d939247150d8c037e01e8e9dd4b8342409f79de48bc67b90f8ee036d3264736f6c63430008110033", + "address": "0x61b8391902eB75D679F02E21bcBFffF6f0FA2416", + "implementation": "0x0dB0aa982238311D4F320299C8Ce993D74eF5091", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/NeverminedToken.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/NeverminedToken.geth-localnet.json new file mode 100644 index 0000000..aa135c1 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/NeverminedToken.geth-localnet.json @@ -0,0 +1,798 @@ +{ + "name": "NeverminedToken", + "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": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "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": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "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", + "signature": "0xdd62ed3e" + }, + { + "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", + "signature": "0x095ea7b3" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x70a08231" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [], + "name": "cap", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x355274ea" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x313ce567" + }, + { + "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", + "signature": "0xa457c2d7" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "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", + "signature": "0x39509351" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_initialMinter", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x40c10f19" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" + }, + { + "inputs": [], + "name": "nvmConfig", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe9c1e045" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "setNvmConfigAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x02acb9a6" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x95d89b41" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x18160ddd" + }, + { + "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", + "signature": "0xa9059cbb" + }, + { + "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", + "signature": "0x23b872dd" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611ae0806100206000396000f3fe608060405234801561001057600080fd5b50600436106101965760003560e01c806301ffc9a71461019b57806302acb9a6146101c357806306fdde03146101d8578063095ea7b3146101ed578063162790551461020057806318160ddd1461021457806323b872dd14610226578063248a9ca3146102395780632f2ff15d1461024c578063313ce5671461025f578063355274ea1461026e57806336568abe14610276578063395093511461028957806340c10f191461029c578063485cc955146102af578063572b6c05146102c25780635ced058e146102d55780635ea3ab85146102fe5780636fd902e11461031157806370a0823114610317578063715018a61461034057806382c947b7146103485780638da5cb5b1461036257806391d148541461036a57806395d89b411461037d578063a217fddf14610385578063a457c2d71461038d578063a9059cbb146103a0578063ab9de230146103b3578063ce1b815f146103bb578063d547741f146103c3578063dd62ed3e146103d6578063e9c1e045146103e9578063f2fde38b146103fd575b600080fd5b6101ae6101a936600461157c565b610410565b60405190151581526020015b60405180910390f35b6101d66101d13660046115bb565b610447565b005b6101e0610472565b6040516101ba91906115fc565b6101ae6101fb36600461162f565b610504565b6101ae61020e3660046115bb565b3b151590565b60cb545b6040519081526020016101ba565b6101ae61023436600461165b565b610526565b61021861024736600461169c565b610554565b6101d661025a3660046116b5565b610569565b604051601281526020016101ba565b60fb54610218565b6101d66102843660046116b5565b61058a565b6101ae61029736600461162f565b61061d565b6101ae6102aa36600461162f565b610649565b6101d66102bd3660046116e5565b6106ce565b6101ae6102d03660046115bb565b610881565b6102e66102e336600461169c565b90565b6040516001600160a01b0390911681526020016101ba565b61021861030c366004611729565b6108a6565b43610218565b6102186103253660046115bb565b6001600160a01b0316600090815260c9602052604090205490565b6101d66108f5565b6102186103563660046115bb565b6001600160a01b031690565b6102e6610909565b6101ae6103783660046116b5565b610918565b6101e0610943565b610218600081565b6101ae61039b36600461162f565b610952565b6101ae6103ae36600461162f565b6109d8565b6102e66109f0565b6102e6610a00565b6101d66103d13660046116b5565b610a8b565b6102186103e43660046116e5565b610aa7565b61012e546102e6906001600160a01b031681565b6101d661040b3660046115bb565b610ad2565b60006001600160e01b03198216637965db0b60e01b148061044157506301ffc9a760e01b6001600160e01b03198316145b92915050565b61044f610b4b565b61012e80546001600160a01b0319166001600160a01b0392909216919091179055565b606060cc8054610481906117e6565b80601f01602080910402602001604051908101604052809291908181526020018280546104ad906117e6565b80156104fa5780601f106104cf576101008083540402835291602001916104fa565b820191906000526020600020905b8154815290600101906020018083116104dd57829003601f168201915b5050505050905090565b60008061050f610bba565b905061051c818585610bc9565b5060019392505050565b600080610531610bba565b905061053e858285610ced565b610549858585610d67565b506001949350505050565b60009081526065602052604090206001015490565b61057282610554565b61057b81610f00565b6105858383610f11565b505050565b610592610bba565b6001600160a01b0316816001600160a01b03161461060f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106198282610f98565b5050565b600080610628610bba565b905061051c81858561063a8589610aa7565b6106449190611836565b610bc9565b60006106606536b4b73a32b960d11b610378610bba565b6106bb5760405162461bcd60e51b815260206004820152602660248201527f41646472657373206e6f74206772616e74656420666f72206d696e74696e6720604482015265746f6b656e7360d01b6064820152608401610606565b6106c5838361101d565b50600192915050565b600054610100900460ff16158080156106ee5750600054600160ff909116105b806107085750303b158015610708575060005460ff166001145b61076b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610606565b6000805460ff19166001179055801561078e576000805461ff0019166101001790555b6359682f0060006107a782670de0b6b3a7640000611088565b90506107f56040518060400160405280600f81526020016e2732bb32b936b4b732b22a37b5b2b760891b815250604051806040016040528060038152602001624e564d60e81b81525061109b565b6107fe816110cc565b6108066110fc565b61080f85610ad2565b61081761112b565b610822600033611152565b6108356536b4b73a32b960d11b85611152565b50508015610585576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b600061088b610a00565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156108ee578381815181106108c7576108c7611849565b6020026020010151826108da9190611836565b9150806108e68161185f565b9150506108ac565b5092915050565b6108fd610b4b565b610907600061115c565b565b6097546001600160a01b031690565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060cd8054610481906117e6565b60008061095d610bba565b9050600061096b8286610aa7565b9050838110156109cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610606565b6105498286868403610bc9565b6000806109e3610bba565b905061051c818585610d67565b61012e546001600160a01b031690565b600080610a0b6109f0565b90506001600160a01b038116610a2357600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a859190611878565b91505090565b610a9482610554565b610a9d81610f00565b6105858383610f98565b6001600160a01b03918216600090815260ca6020908152604080832093909416825291909152205490565b610ada610b4b565b6001600160a01b038116610b3f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610606565b610b488161115c565b50565b610b53610bba565b6001600160a01b0316610b64610909565b6001600160a01b0316146109075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610606565b6000610bc46111ae565b905090565b6001600160a01b038316610c2b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610606565b6001600160a01b038216610c8c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610606565b6001600160a01b03838116600081815260ca602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610cf98484610aa7565b90506000198114610d615781811015610d545760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610606565b610d618484848403610bc9565b50505050565b6001600160a01b038316610dcb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610606565b6001600160a01b038216610e2d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610606565b6001600160a01b038316600090815260c9602052604090205481811015610ea55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610606565b6001600160a01b03808516600081815260c960205260408082208686039055928616808252908390208054860190559151600080516020611a8b83398151915290610ef39086815260200190565b60405180910390a3610d61565b610b4881610f0c610bba565b6111dc565b610f1b8282610918565b6106195760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610f54610bba565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610fa28282610918565b156106195760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19169055610fd9610bba565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60fb548161102a60cb5490565b6110349190611836565b111561107e5760405162461bcd60e51b8152602060048201526019602482015278115490cc8c10d85c1c19590e8818d85c08195e18d959591959603a1b6044820152606401610606565b6106198282611235565b60006110948284611895565b9392505050565b600054610100900460ff166110c25760405162461bcd60e51b8152600401610606906118ac565b61061982826112e4565b600054610100900460ff166110f35760405162461bcd60e51b8152600401610606906118ac565b610b4881611324565b600054610100900460ff166111235760405162461bcd60e51b8152600401610606906118ac565b610907611398565b600054610100900460ff166109075760405162461bcd60e51b8152600401610606906118ac565b6106198282610f11565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000601436108015906111c557506111c533610881565b156111d7575060131936013560601c90565b503390565b6111e68282610918565b610619576111f3816113cf565b6111fe8360206113e1565b60405160200161120f9291906118f7565b60408051601f198184030181529082905262461bcd60e51b8252610606916004016115fc565b6001600160a01b03821661128b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610606565b8060cb600082825461129d9190611836565b90915550506001600160a01b038216600081815260c96020908152604080832080548601905551848152600080516020611a8b833981519152910160405180910390a35050565b600054610100900460ff1661130b5760405162461bcd60e51b8152600401610606906118ac565b60cc61131783826119b4565b5060cd61058582826119b4565b600054610100900460ff1661134b5760405162461bcd60e51b8152600401610606906118ac565b600081116113935760405162461bcd60e51b8152602060048201526015602482015274045524332304361707065643a20636170206973203605c1b6044820152606401610606565b60fb55565b600054610100900460ff166113bf5760405162461bcd60e51b8152600401610606906118ac565b6109076113ca610bba565b61115c565b60606104416001600160a01b03831660145b606060006113f0836002611895565b6113fb906002611836565b6001600160401b0381111561141257611412611713565b6040519080825280601f01601f19166020018201604052801561143c576020820181803683370190505b509050600360fc1b8160008151811061145757611457611849565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061148657611486611849565b60200101906001600160f81b031916908160001a90535060006114aa846002611895565b6114b5906001611836565b90505b600181111561152d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106114e9576114e9611849565b1a60f81b8282815181106114ff576114ff611849565b60200101906001600160f81b031916908160001a90535060049490941c9361152681611a73565b90506114b8565b5083156110945760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610606565b60006020828403121561158e57600080fd5b81356001600160e01b03198116811461109457600080fd5b6001600160a01b0381168114610b4857600080fd5b6000602082840312156115cd57600080fd5b8135611094816115a6565b60005b838110156115f35781810151838201526020016115db565b50506000910152565b602081526000825180602084015261161b8160408501602087016115d8565b601f01601f19169190910160400192915050565b6000806040838503121561164257600080fd5b823561164d816115a6565b946020939093013593505050565b60008060006060848603121561167057600080fd5b833561167b816115a6565b9250602084013561168b816115a6565b929592945050506040919091013590565b6000602082840312156116ae57600080fd5b5035919050565b600080604083850312156116c857600080fd5b8235915060208301356116da816115a6565b809150509250929050565b600080604083850312156116f857600080fd5b8235611703816115a6565b915060208301356116da816115a6565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561173c57600080fd5b82356001600160401b038082111561175357600080fd5b818501915085601f83011261176757600080fd5b81358181111561177957611779611713565b8060051b604051601f19603f8301168101818110858211171561179e5761179e611713565b6040529182528482019250838101850191888311156117bc57600080fd5b938501935b828510156117da578435845293850193928501926117c1565b98975050505050505050565b600181811c908216806117fa57607f821691505b60208210810361181a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561044157610441611820565b634e487b7160e01b600052603260045260246000fd5b60006001820161187157611871611820565b5060010190565b60006020828403121561188a57600080fd5b8151611094816115a6565b808202811582820484141761044157610441611820565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516119298160178501602088016115d8565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161195a8160288401602088016115d8565b01602801949350505050565b601f82111561058557600081815260208120601f850160051c8101602086101561198d5750805b601f850160051c820191505b818110156119ac57828155600101611999565b505050505050565b81516001600160401b038111156119cd576119cd611713565b6119e1816119db84546117e6565b84611966565b602080601f831160018114611a1657600084156119fe5750858301515b600019600386901b1c1916600185901b1785556119ac565b600085815260208120601f198616915b82811015611a4557888601518255948401946001909101908401611a26565b5085821015611a635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600081611a8257611a82611820565b50600019019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a540e80eca84fbb4c49dc7570e9ce9d3ea1e53dc877dbcfafd9bbe3112d2e37964736f6c63430008110033", + "address": "0xB4e92c6e1a1ad3f7b42463d11804BE6ca2be79D3", + "implementation": "0x56f671c227540fdea47c99f10584D096a16c5857", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/PlonkVerifier.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/PlonkVerifier.geth-localnet.json new file mode 100644 index 0000000..93cd808 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/PlonkVerifier.geth-localnet.json @@ -0,0 +1,35 @@ +{ + "name": "PlonkVerifier", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "proof", + "type": "bytes" + }, + { + "internalType": "uint256[]", + "name": "pubSignals", + "type": "uint256[]" + } + ], + "name": "verifyProof", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x1e8e1e13" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506119b4806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80631e8e1e1314610030575b600080fd5b61004361003e366004611867565b610057565b604051901515815260200160405180910390f35b6000611737565b600080600184846000805b821561008b575092938183058581029091039350909181830290039081610069565b505050600181111561009c57600080fd5b505060008112156100aa5783015b9392505050565b60405181602084028301815160208301925060005b828410156100f75781855260008051602061195f8339815191528451830991506020850194506020840193506100c6565b61010f60008051602061195f8339815191528361005e565b91506020850394506020840393508592505b828411156101665760008051602061195f83398151915285518309905060008051602061195f83398151915284518309818552601f1995860195909401939150610121565b5090915250505050565b60008051602061195f833981519152811061018f576000805260206000f35b50565b6103208151146101a6576000805260206000f35b6101b4610260820151610170565b6101c2610280820151610170565b6101d06102a0820151610170565b6101de6102c0820151610170565b6101ec6102e0820151610170565b6101fa610300820151610170565b61018f610320820151610170565b600080602085015161038085015260408501516103a085015260608501516103c085015260808501516103e085015260a085015161040085015260c085015161042085015260e085015161044085015260208301516104608501526020800183015161048085015260406020018301516104a085015260606020018301516104c085015260806020018301516104e085015260a060200183015161050085015260008051602061195f8339815191526101a061038086012006905080602085015260008051602061195f83398151915260208086012006604085015260008051602061195f833981519152604060e085012006600085015260008051602061195f83398151915260c061012085012006915081606085015260008051602061195f83398151915282820960a08501525060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905060008051602061195f833981519152818209905080608084015260008051602061195f833981519152806001830301069050806102608401528061028084015260008051602061195f83398151915260e0610260840120068060c085015260008051602061195f83398151915281820991508160e085015260008051602061195f83398151915281830991508161010085015260008051602061195f83398151915281830991508161012085015260008051602061195f83398151915281830991508161014085015260008051602061195f833981519152818309610160850152505060806101e0919091012060008051602061195f83398151915290066101809091015250565b600160008051602061195f8339815191528060008051602061195f833981519152836060860151030106614000096102a083015260008051602061195f83398151915260008051602061191f8339815191528209905060008051602061195f8339815191528060008051602061195f833981519152836060860151030106614000096102c083015260008051602061195f83398151915260008051602061191f8339815191528209905060008051602061195f8339815191528060008051602061195f833981519152836060860151030106614000096102e083015260008051602061195f83398151915260008051602061191f8339815191528209905060008051602061195f8339815191528060008051602061195f8339815191528360608601510301066140000961030083015260008051602061195f83398151915260008051602061191f8339815191528209905060008051602061195f8339815191528060008051602061195f8339815191528360608601510301066140000961032083015260008051602061195f83398151915260008051602061191f8339815191528209905060008051602061195f8339815191528060008051602061195f8339815191528360608601510301066140000961034083015260008051602061195f83398151915260008051602061191f8339815191528209905060008051602061195f8339815191528060008051602061195f8339815191528360608601510301066140000961036083015261077f600861028084016100b1565b6102608201516001915060008051602061195f833981519152816102a0850151096102a084015260008051602061195f83398151915260008051602061191f8339815191528309915060008051602061195f83398151915280826102c08601510983096102c084015260008051602061195f83398151915260008051602061191f8339815191528309915060008051602061195f83398151915280826102e08601510983096102e084015260008051602061195f83398151915260008051602061191f8339815191528309915060008051602061195f833981519152808261030086015109830961030084015260008051602061195f83398151915260008051602061191f8339815191528309915060008051602061195f833981519152808261032086015109830961032084015260008051602061195f83398151915260008051602061191f8339815191528309915060008051602061195f833981519152808261034086015109830961034084015260008051602061195f83398151915260008051602061191f8339815191528309915060008051602061195f8339815191528082610360860151098309610360840152505050565b600060008051602061195f8339815191528060008051602061195f83398151915260208601516102a08601510983030106905060008051602061195f8339815191528060008051602061195f83398151915260408601516102c08601510983030106905060008051602061195f8339815191528060008051602061195f83398151915260608601516102e08601510983030106905060008051602061195f8339815191528060008051602061195f83398151915260808601516103008601510983030106905060008051602061195f8339815191528060008051602061195f83398151915260a08601516103208601510983030106905060008051602061195f8339815191528060008051602061195f83398151915260c08601516103408601510983030106905060008051602061195f8339815191528060008051602061195f83398151915260e086015161036086015109830301069050806101a0830152505050565b600080600060008051602061195f8339815191526101a086015161032086015108925060008051602061195f83398151915260208601516102c086015109915060008051602061195f8339815191526102608501518308915060008051602061195f83398151915260408601518308915060008051602061195f83398151915260208601516102e086015109905060008051602061195f8339815191526102808501518208905060008051602061195f83398151915260408601518208905060008051602061195f833981519152818309915060008051602061195f83398151915260408601516102a086015108905060008051602061195f833981519152818309915060008051602061195f8339815191526103008501518309915060008051602061195f83398151915260008601518309915060008051602061195f83398151915260008601516102a087015109905060008051602061195f83398151915260008601518209905060008051602061195f83398151915281830891505060008051602061195f8339815191528160008051602061195f8339815191528401030691505060008051602061195f83398151915261028084015182099050806101c0840152505050565b6040518151815260208201516020820152825160408201526020830151606082015260408260808360066107d05a03fa905080610ca7576000805260206000f35b505050565b6000604051835181526020840151602082015284604082015260408160608360076107d05a03fa915081610ce4576000805260206000f35b825160408201526020830151606082015260408360808360066107d05a03fa91505080610d15576000805260206000f35b50505050565b600060405183815284602082015285604082015260408160608360076107d05a03fa915081610d4e576000805260206000f35b825160408201526020830151606082015260408360808360066107d05a03fa91505080610d7f576000805260206000f35b5050505050565b600060405183815284602082015285604082015260408360608360076107d05a03fa91505080610d7f576000805260206000f35b6101e08201610dd76101e083018281518152602091820151910152565b610ca7610180840151610220840183610cac565b600080610220840160008051602061195f83398151915260c0860151610260860151099250610e5c837f069fb7e790625d0b413e22cb5e294dd5275a196e9ebcf262e7be88041d930aaa7f1126d31a227aee5327e3b5a3775498af5835edbf7885d08dd5e0dde922cd044684610d86565b60008051602061195f83398151915261028085015184099250610ec1837f17511cb4ba5593c717cbae05a7210fc41c14f04b4929a812e61ac13f7f96223e7f0e6eb4d06e6cb5f4bb39987875e25b4bb28101524eb6e8afed40529e50b2a15584610d1b565b60008051602061195f83398151915260c0860151610280860151099250610f2a837f104c4c9a4761f77ec9c9456611d04f68075cd57b7667b7dcee7971fd4cd131d77f0b6c1955494ddc7b46c5633ad08884d212d116f22d6d3d25ad83c4d9136ed81184610d1b565b60008051602061195f83398151915260c08601516102a0860151099250610f93837f07c7ac949f33bd8790283a2b659f9746c1f8efd85eb25e7328969af0957a46fe7f2a61c4ea9e085a707e6173ce0a6cb1214eb7c022e13b194d6323cc7b249c8a9684610d1b565b60c08501519250610fe6837f082c2dd284ce08dd43c2d5f17eddfbbaf294ba328ccf4db2a437a73147912b697f124225f84ddb3b7c34a34cca0aa71c5d4244f4a159367b8fdb9b913eb7851bde84610d1b565b60008051602061195f83398151915260a086015161026086015108925060008051602061195f83398151915260408601518408925060008051602061195f83398151915260a0860151600209915060008051602061195f8339815191526102808501518308915060008051602061195f83398151915260408601518308915060008051602061195f833981519152828409925060008051602061195f83398151915260a0860151600309915060008051602061195f8339815191526102a08501518308915060008051602061195f83398151915260408601518308915060008051602061195f833981519152828409925060008051602061195f83398151915260008601518409925060008051602061195f83398151915260c08601518409925060008051602061195f83398151915260008601516102a087015109915060008051602061195f83398151915260008601518309915060008051602061195f83398151915260c08601518309915060008051602061195f833981519152828408925060008051602061195f8339815191526101808601518408925061118f8360e0860183610cac565b60008051602061195f8339815191526102c0850151602087015109925060008051602061195f8339815191526102608501518408925060008051602061195f83398151915260408601518408925060008051602061195f8339815191526102e0850151602087015109915060008051602061195f8339815191526102808501518308915060008051602061195f83398151915260408601518308915060008051602061195f833981519152828409925060008051602061195f83398151915260008601518409925060008051602061195f83398151915260c08601518409925060008051602061195f83398151915260208601518409925060008051602061195f833981519152610300850151840960008051602061195f8339815191529081030692506112ff837f10afa56b5618ac7e0908120c2db69f25ec0c8ac3e4da6e83a9ba9085792ac2c47f2a2f22d944ab5cb089ebe3ec2f240f847c4ee272dadd2005465ea97c5b233d6b84610d1b565b61130d610120850182610c66565b6080850151925061132383610160860183610cac565b60008051602061195f8339815191528384099250611346836101a0860183610cac565b61135860e08601516020860183610cac565b61136b6101008601516060860183610cac565b61137e61012086015160a0860183610cac565b6113cf6101408601517f081c3085641e98cbe58d2a3359d8c38bf456c35cf6f5dd1bf4e36b901a344e2c7f21806cd1876fae75357fae4c0a7e56530005ac2f23afcb5faa1b08a1903b393484610d1b565b6114206101608601517f141fcfd1730e6f2e010f1c94e875ebf1ced42dd3aa25bda2f60aea571d849bb97f02b99b96b5dee1859e3b6160386ce8d38a7d907e1e55bbbdf91dc76960e0512584610d1b565b6101c0850151925060008051602061195f8339815191528060c0870151610320870151098408925060008051602061195f8339815191528060e0870151610260870151098408925060008051602061195f83398151915280610100870151610280870151098408925060008051602061195f833981519152806101208701516102a0870151098408925060008051602061195f833981519152806101408701516102c0870151098408925060008051602061195f833981519152806101608701516102e0870151098408925060008051602061195f8339815191528061018087015161030087015109840860008051602061195f83398151915290810306925061152e836002600184610d1b565b60608501519250611544836101e0860183610cac565b60008051602061195f833981519152606086015161018087015109925060008051602061195f83398151915260008051602061191f83398151915284099250610d7f83610220860183610cac565b60006040516101e0830151815260206101e08401015160208201527f26186a2d65ee4d2f9c9a5b91f86597d35f192cd120caf7e935d8443d1938e23d60408201527f30441fd1b5d3370482c42152a8899027716989a6996c2535bc9f7fee8aaef79e60608201527f1970ea81dd6992adfbc571effb03503adbbb6a857f578403c6c40e22d65b3c0260808201527f054793348f12c0cf5622c340573cb277586319de359ab9389778f689786b1e4860a082015261022083015160c082015260206102208401015160008051602061193f8339815191528160008051602061193f833981519152030690508060e0830152507f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c26101008201527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed6101208201527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b6101408201527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa6101608201526020816101808360086107d05a03fa90511692915050565b604051610380810160405261174b84610192565b611756838286610208565b61175f81610544565b6117698382610937565b6117738185610a9c565b61177d8185610dba565b6117878185610deb565b61179081611592565b61038082036040528060005260206000f35b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156117e0576117e06117a2565b604052919050565b600082601f8301126117f957600080fd5b813560206001600160401b03821115611814576118146117a2565b8160051b6118238282016117b8565b928352848101820192828101908785111561183d57600080fd5b83870192505b8483101561185c57823582529183019190830190611843565b979650505050505050565b6000806040838503121561187a57600080fd5b82356001600160401b038082111561189157600080fd5b818501915085601f8301126118a557600080fd5b81356020828211156118b9576118b96117a2565b6118cb601f8301601f191682016117b8565b82815288828487010111156118df57600080fd5b8282860183830137600092810182019290925290945085013591508082111561190757600080fd5b50611914858286016117e8565b915050925092905056fe2d965651cdd9e4811f4e51b80ddca8a8b4a93ee17420aae6adaa01c2617c6e8530644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4730644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001a264697066735822122012dfa3a71f0a425ad65a3508b49b6537ebac1b3b337da661b31d3db5b51c487964736f6c63430008110033", + "address": "0x73E0a732ade166E4537C3F5A7399db7588F0e602", + "implementation": "0x73E0a732ade166E4537C3F5A7399db7588F0e602", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/RewardsDistributor.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/RewardsDistributor.geth-localnet.json new file mode 100644 index 0000000..b7d4b61 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/RewardsDistributor.geth-localnet.json @@ -0,0 +1,207 @@ +{ + "name": "RewardsDistributor", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "_returnAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockPaymentAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_releaseConditions", + "type": "bytes32[]" + } + ], + "name": "claimReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x39e5e39f" + }, + { + "inputs": [], + "name": "conditionStoreManager", + "outputs": [ + { + "internalType": "contract ConditionStoreManager", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x983a7893" + }, + { + "inputs": [], + "name": "escrow", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe2fdcc17" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_registry", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManager", + "type": "address" + }, + { + "internalType": "address", + "name": "_escrow", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "receivers", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xfad2562f" + }, + { + "inputs": [], + "name": "registry", + "outputs": [ + { + "internalType": "contract DIDRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x7b103999" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address[]", + "name": "_addr", + "type": "address[]" + } + ], + "name": "setReceivers", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x87adf685" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "used", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xb07c411f" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506111a1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100785760003560e01c806339e5e39f1461007d5780637b1039991461009257806387adf685146100c2578063983a7893146100d5578063b07c411f146100e8578063c0c53b8b1461011b578063e2fdcc171461012e578063fad2562f14610141575b600080fd5b61009061008b366004610d06565b610154565b005b6003546100a5906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100906100d0366004610ddd565b6105f8565b6004546100a5906001600160a01b031681565b61010b6100f6366004610e23565b60016020526000908152604090205460ff1681565b60405190151581526020016100b9565b610090610129366004610e3c565b6106e3565b6005546100a5906001600160a01b031681565b6100a561014f366004610e94565b610833565b6005546040516000918b916001600160a01b0390911690610187908c908c908c908c908c908c908c908c90602001610f2a565b604051602081830303815290604052805190602001206040516020016101c9939291909283526001600160a01b03919091166020830152604082015260600190565b60408051601f19818403018152919052805160209091012090506002600480546040516319b6289160e11b81529182018490526001600160a01b03169063336c512290602401602060405180830381865afa15801561022c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102509190610fe7565b600381111561026157610261610fd1565b146102ad5760405162461bcd60e51b815260206004820152601760248201527618dbdb991a5d1a5bdb881b9bdd08199d5b199a5b1b1959604a1b60448201526064015b60405180910390fd5b60008181526001602052604090205460ff16156102fe5760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064016102a4565b60009081526001602081905260408220805460ff19169091179055805b875181101561039057306001600160a01b03168882815181106103405761034061100f565b60200260200101516001600160a01b03160361037e578881815181106103685761036861100f565b60200260200101518261037b919061103b565b91505b8061038881611054565b91505061031b565b506000898152600260205260409020546001600160a01b0385166105075760005b81811015610501578060000361046a5760008b81526002602052604081208054839081106103e1576103e161100f565b6000918252602090912001546001600160a01b031661040160018561106d565b61040b8587611080565b61041591906110a2565b61041f908661106d565b604051600081818185875af1925050503d806000811461045b576040519150601f19603f3d011682016040523d82523d6000602084013e610460565b606091505b506104ef92505050565b60008b815260026020526040812080548390811061048a5761048a61100f565b6000918252602090912001546001600160a01b03166104a98486611080565b604051600081818185875af1925050503d80600081146104e5576040519150601f19603f3d011682016040523d82523d6000602084013e6104ea565b606091505b505050505b806104f981611054565b9150506103b1565b506105eb565b60005b818110156105e957806000036105935760008b8152600260205260409020805461058e91908390811061053f5761053f61100f565b6000918252602090912001546001600160a01b031661055f60018561106d565b6105698587611080565b61057391906110a2565b61057d908661106d565b6001600160a01b038916919061086b565b6105d7565b60008b815260026020526040902080546105d79190839081106105b8576105b861100f565b6000918252602090912001546001600160a01b031661057d8486611080565b806105e181611054565b91505061050a565b505b5050505050505050505050565b60035460405163234f04cd60e01b8152600481018490526001600160a01b039091169063234f04cd90602401602060405180830381865afa158015610641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066591906110b9565b6001600160a01b0316336001600160a01b0316146106bf5760405162461bcd60e51b81526020600482015260176024820152766f6e6c792063726561746f722063616e206368616e676560481b60448201526064016102a4565b600082815260026020908152604090912082516106de92840190610b2c565b505050565b600054610100900460ff16158080156107035750600054600160ff909116105b806107245750610712306108bd565b158015610724575060005460ff166001145b6107875760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102a4565b6000805460ff1916600117905580156107aa576000805461ff0019166101001790555b600380546001600160a01b038087166001600160a01b031992831617909255600480548684169083161790556005805492851692909116919091179055801561082d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6002602052816000526040600020818154811061084f57600080fd5b6000918252602090912001546001600160a01b03169150829050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106de9084906108cc565b6001600160a01b03163b151590565b6000610921826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661099e9092919063ffffffff16565b8051909150156106de578080602001905181019061093f91906110d6565b6106de5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102a4565b60606109ad84846000856109b5565b949350505050565b606082471015610a165760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102a4565b600080866001600160a01b03168587604051610a32919061111c565b60006040518083038185875af1925050503d8060008114610a6f576040519150601f19603f3d011682016040523d82523d6000602084013e610a74565b606091505b5091509150610a8587838387610a90565b979650505050505050565b60608315610afd578251600003610af657610aaa856108bd565b610af65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102a4565b50816109ad565b6109ad8383815115610b125781518083602001fd5b8060405162461bcd60e51b81526004016102a49190611138565b828054828255906000526020600020908101928215610b81579160200282015b82811115610b8157825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190610b4c565b50610b8d929150610b91565b5090565b5b80821115610b8d5760008155600101610b92565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610be457610be4610ba6565b604052919050565b60006001600160401b03821115610c0557610c05610ba6565b5060051b60200190565b600082601f830112610c2057600080fd5b81356020610c35610c3083610bec565b610bbc565b82815260059290921b84018101918181019086841115610c5457600080fd5b8286015b84811015610c6f5780358352918301918301610c58565b509695505050505050565b6001600160a01b0381168114610c8f57600080fd5b50565b8035610c9d81610c7a565b919050565b600082601f830112610cb357600080fd5b81356020610cc3610c3083610bec565b82815260059290921b84018101918181019086841115610ce257600080fd5b8286015b84811015610c6f578035610cf981610c7a565b8352918301918301610ce6565b60008060008060008060008060006101208a8c031215610d2557600080fd5b8935985060208a0135975060408a01356001600160401b0380821115610d4a57600080fd5b610d568d838e01610c0f565b985060608c0135915080821115610d6c57600080fd5b610d788d838e01610ca2565b9750610d8660808d01610c92565b9650610d9460a08d01610c92565b9550610da260c08d01610c92565b945060e08c013593506101008c0135915080821115610dc057600080fd5b50610dcd8c828d01610c0f565b9150509295985092959850929598565b60008060408385031215610df057600080fd5b8235915060208301356001600160401b03811115610e0d57600080fd5b610e1985828601610ca2565b9150509250929050565b600060208284031215610e3557600080fd5b5035919050565b600080600060608486031215610e5157600080fd5b8335610e5c81610c7a565b92506020840135610e6c81610c7a565b91506040840135610e7c81610c7a565b809150509250925092565b6001600160a01b03169052565b60008060408385031215610ea757600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b83811015610eef5781516001600160a01b031687529582019590820190600101610eca565b509495945050505050565b600081518084526020808501945080840160005b83811015610eef57815187529582019590820190600101610f0e565b888152610100602080830182905289519183018290526000916101208401918b810191845b81811015610f6b57835185529382019392820192600101610f4f565b505050508281036040840152610f81818a610eb6565b9050610f906060840189610e87565b610f9d6080840188610e87565b610faa60a0840187610e87565b8460c084015282810360e0840152610fc28185610efa565b9b9a5050505050505050505050565b634e487b7160e01b600052602160045260246000fd5b600060208284031215610ff957600080fd5b81516004811061100857600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561104e5761104e611025565b92915050565b60006001820161106657611066611025565b5060010190565b8181038181111561104e5761104e611025565b60008261109d57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761104e5761104e611025565b6000602082840312156110cb57600080fd5b815161100881610c7a565b6000602082840312156110e857600080fd5b8151801515811461100857600080fd5b60005b838110156111135781810151838201526020016110fb565b50506000910152565b6000825161112e8184602087016110f8565b9190910192915050565b60208152600082518060208401526111578160408501602087016110f8565b601f01601f1916919091016040019291505056fea2646970667358221220d3df2e4773da22273a9b0b12c29b59e06019cc9bdd9dbf2c3a56bf22c1e5413664736f6c63430008110033", + "address": "0xA99A4B00EA89948586fe07a4873407ACCE49789c", + "implementation": "0xA99A4B00EA89948586fe07a4873407ACCE49789c", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/SignCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/SignCondition.geth-localnet.json new file mode 100644 index 0000000..00aaed7 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/SignCondition.geth-localnet.json @@ -0,0 +1,358 @@ +{ + "name": "SignCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_message", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_publicKey", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_signature", + "type": "bytes" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcf897d3d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_message", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_publicKey", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xeea0a725" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611070806100206000396000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c806315c87f85146100e0578063162790551461011a5780631ce191851461013e578063485cc9551461015e578063572b6c05146101735780635ced058e146101865780635ea3ab85146101af5780636fd902e1146101c2578063715018a6146101c857806382c947b7146101d05780638da5cb5b146101ea578063ab9de230146101f2578063cb4e57e8146101fa578063ce1b815f1461020d578063cf897d3d14610215578063eea0a72514610228578063f2fde38b1461023b575b600080fd5b6101077fc1bd76842d9e49b11a92f6e07c28fdd925693ec19a6ea7ee29f756dfa8d6e7b681565b6040519081526020015b60405180910390f35b61012e610128366004610c82565b3b151590565b6040519015158152602001610111565b61015161014c366004610c9f565b61024e565b6040516101119190610cf0565b61017161016c366004610cfe565b610389565b005b61012e610181366004610c82565b610508565b610197610194366004610c9f565b90565b6040516001600160a01b039091168152602001610111565b6101076101bd366004610d7d565b61052d565b43610107565b61017161057c565b6101076101de366004610c82565b6001600160a01b031690565b610197610590565b61019761059f565b610107610208366004610e22565b610634565b610197610673565b610151610223366004610e44565b6106fe565b610107610236366004610efe565b610789565b610171610249366004610c82565b6107b0565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bc9190610f23565b61030d5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610340908590600390600401610f45565b6020604051808303816000875af115801561035f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103839190610f59565b92915050565b600054610100900460ff16158080156103a95750600054600160ff909116105b806103c35750303b1580156103c3575060005460ff166001145b6104265760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610304565b6000805460ff191660011790558015610449576000805461ff0019166101001790555b6001600160a01b0382166104915760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610304565b610499610829565b6104a2836107b0565b606580546001600160a01b0319166001600160a01b0384161790558015610503576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6000610512610673565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156105755783818151811061054e5761054e610f7a565b6020026020010151826105619190610fa6565b91508061056d81610fb9565b915050610533565b5092915050565b610584610858565b61058e60006108c7565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166105b85750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa15801561060b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062f9190610fd2565b905090565b60408051602081018490523091810191909152606081018290526000906080015b60405160208183030381529060405280519060200120905092915050565b60008061067e61059f565b90506001600160a01b03811661069657600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f89190610fd2565b91505090565b6000826001600160a01b03166107148584610919565b6001600160a01b0316146107685760405162461bcd60e51b815260206004820152601b60248201527a436f756c64206e6f74207265636f766572207369676e617475726560281b6044820152606401610304565b610780610779866102088787610789565b600261093d565b95945050505050565b600082826040516020016106559291909182526001600160a01b0316602082015260400190565b6107b8610858565b6001600160a01b03811661081d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610304565b610826816108c7565b50565b600054610100900460ff166108505760405162461bcd60e51b815260040161030490610fef565b61058e6109ba565b6108606109f1565b6001600160a01b0316610871610590565b6001600160a01b03161461058e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610304565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080600061092885856109fb565b9150915061093581610a40565b509392505050565b60655460405163295e072360e11b81526000916001600160a01b0316906352bc0e46906109709086908690600401610f45565b6020604051808303816000875af115801561098f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b39190610f59565b9392505050565b600054610100900460ff166109e15760405162461bcd60e51b815260040161030490610fef565b61058e6109ec6109f1565b6108c7565b600061062f610b85565b6000808251604103610a315760208301516040840151606085015160001a610a2587828585610bb3565b94509450505050610a39565b506000905060025b9250929050565b6000816004811115610a5457610a54610cb8565b03610a5c5750565b6001816004811115610a7057610a70610cb8565b03610ab85760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610304565b6002816004811115610acc57610acc610cb8565b03610b195760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610304565b6003816004811115610b2d57610b2d610cb8565b036108265760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610304565b600060143610801590610b9c5750610b9c33610508565b15610bae575060131936013560601c90565b503390565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115610be05750600090506003610c64565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610c34573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c5d57600060019250925050610c64565b9150600090505b94509492505050565b6001600160a01b038116811461082657600080fd5b600060208284031215610c9457600080fd5b81356109b381610c6d565b600060208284031215610cb157600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60048110610cec57634e487b7160e01b600052602160045260246000fd5b9052565b602081016103838284610cce565b60008060408385031215610d1157600080fd5b8235610d1c81610c6d565b91506020830135610d2c81610c6d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610d7557610d75610d37565b604052919050565b60006020808385031215610d9057600080fd5b82356001600160401b0380821115610da757600080fd5b818501915085601f830112610dbb57600080fd5b813581811115610dcd57610dcd610d37565b8060051b9150610dde848301610d4d565b8181529183018401918481019088841115610df857600080fd5b938501935b83851015610e1657843582529385019390850190610dfd565b98975050505050505050565b60008060408385031215610e3557600080fd5b50508035926020909101359150565b60008060008060808587031215610e5a57600080fd5b8435935060208086013593506040860135610e7481610c6d565b925060608601356001600160401b0380821115610e9057600080fd5b818801915088601f830112610ea457600080fd5b813581811115610eb657610eb6610d37565b610ec8601f8201601f19168501610d4d565b91508082528984828501011115610ede57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215610f1157600080fd5b823591506020830135610d2c81610c6d565b600060208284031215610f3557600080fd5b815180151581146109b357600080fd5b828152604081016109b36020830184610cce565b600060208284031215610f6b57600080fd5b8151600481106109b357600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561038357610383610f90565b600060018201610fcb57610fcb610f90565b5060010190565b600060208284031215610fe457600080fd5b81516109b381610c6d565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122029ee42e54179a7aa2fff20a701ef85fcaca5906601b9b6d8b2a379dd4424eda164736f6c63430008110033", + "address": "0x7eFBDb90869644522D7E005ceE6c800f92277457", + "implementation": "0x7eFBDb90869644522D7E005ceE6c800f92277457", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/StandardRoyalties.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/StandardRoyalties.geth-localnet.json new file mode 100644 index 0000000..0b04298 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/StandardRoyalties.geth-localnet.json @@ -0,0 +1,281 @@ +{ + "name": "StandardRoyalties", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "inputs": [], + "name": "DENOMINATOR", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x918f8674" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_receivers", + "type": "address[]" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "check", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8c41304b" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_registry", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc4d66de8" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "registry", + "outputs": [ + { + "internalType": "contract DIDRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x7b103999" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "name": "royalties", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x9f5ac2da" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_royalty", + "type": "uint256" + } + ], + "name": "setRoyalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc2b1824a" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610ba2806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ba5760003560e01c806316279055146100bf578063572b6c05146100e85780635ced058e146100fb5780635ea3ab85146101245780636fd902e1146101455780637b1039991461014b57806382c947b7146101645780638c41304b1461017e578063918f8674146101915780639f5ac2da1461019b578063ab9de230146101bb578063c2b1824a146101c3578063c4d66de8146101d8578063ce1b815f146101eb575b600080fd5b6100d36100cd366004610875565b3b151590565b60405190151581526020015b60405180910390f35b6100d36100f6366004610875565b6101f3565b61010c610109366004610899565b90565b6040516001600160a01b0390911681526020016100df565b610137610132366004610986565b610218565b6040519081526020016100df565b43610137565b60005461010c906201000090046001600160a01b031681565b610137610172366004610875565b6001600160a01b031690565b6100d361018c3660046109ba565b610267565b610137620f424081565b6101376101a9366004610899565b60016020526000908152604090205481565b61010c61040f565b6101d66101d1366004610a96565b6104a8565b005b6101d66101e6366004610875565b610668565b61010c610794565b60006101fd610794565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156102605783818151811061023957610239610ab8565b60200260200101518261024c9190610ae4565b91508061025881610afd565b91505061021e565b5092915050565b600084815260016020526040812054808203610287576001915050610407565b6000805b86518110156102cd578681815181106102a6576102a6610ab8565b6020026020010151826102b99190610ae4565b9150806102c581610afd565b91505061028b565b506000620f42406102de8484610b16565b6102e89190610b2d565b9050806000036102fe5760019350505050610407565b60008054604051633b21f84f60e01b8152600481018b9052620100009091046001600160a01b031690633b21f84f90602401602060405180830381865afa15801561034d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103719190610b4f565b90506000805b88518110156103cd5788818151811061039257610392610ab8565b60200260200101516001600160a01b0316836001600160a01b0316036103bb57600191506103cd565b806103c581610afd565b915050610377565b816103e15760009650505050505050610407565b838a82815181106103f4576103f4610ab8565b6020026020010151101596505050505050505b949350505050565b600080546201000090046001600160a01b031661042c5750600090565b600060029054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa15801561047f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a39190610b4f565b905090565b620f42408111156105005760405162461bcd60e51b815260206004820181905260248201527f726f79616c74792063616e6e6f74206265206d6f7265207468616e203130302560448201526064015b60405180910390fd5b60005460405163234f04cd60e01b815260048101849052620100009091046001600160a01b03169063234f04cd90602401602060405180830381865afa15801561054e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105729190610b4f565b6001600160a01b031661058361081f565b6001600160a01b031614806105b857506000546201000090046001600160a01b03166105ad61081f565b6001600160a01b0316145b6105fc5760405162461bcd60e51b81526020600482015260156024820152746f6e6c79206f776e65722063616e206368616e676560581b60448201526064016104f7565b600082815260016020526040902054156106565760405162461bcd60e51b815260206004820152601b60248201527a1c9bde585b1d1a595cc818d85b9b9bdd0818994818da185b99d959602a1b60448201526064016104f7565b60009182526001602052604090912055565b600054610100900460ff16158080156106885750600054600160ff909116105b806106a25750303b1580156106a2575060005460ff166001145b6107055760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104f7565b6000805460ff191660011790558015610728576000805461ff0019166101001790555b6000805462010000600160b01b031916620100006001600160a01b038516021790558015610790576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60008061079f61040f565b90506001600160a01b0381166107b757600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190610b4f565b91505090565b6000601436108015906108365750610836336101f3565b15610848575060131936013560601c90565b503390565b6001600160a01b038116811461086257600080fd5b50565b80356108708161084d565b919050565b60006020828403121561088757600080fd5b81356108928161084d565b9392505050565b6000602082840312156108ab57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156108f0576108f06108b2565b604052919050565b60006001600160401b03821115610911576109116108b2565b5060051b60200190565b600082601f83011261092c57600080fd5b8135602061094161093c836108f8565b6108c8565b82815260059290921b8401810191818101908684111561096057600080fd5b8286015b8481101561097b5780358352918301918301610964565b509695505050505050565b60006020828403121561099857600080fd5b81356001600160401b038111156109ae57600080fd5b6104078482850161091b565b600080600080608085870312156109d057600080fd5b843593506020808601356001600160401b03808211156109ef57600080fd5b6109fb89838a0161091b565b95506040880135915080821115610a1157600080fd5b508601601f81018813610a2357600080fd5b8035610a3161093c826108f8565b81815260059190911b8201830190838101908a831115610a5057600080fd5b928401925b82841015610a77578335610a688161084d565b82529284019290840190610a55565b8096505050505050610a8b60608601610865565b905092959194509250565b60008060408385031215610aa957600080fd5b50508035926020909101359150565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610af757610af7610ace565b92915050565b600060018201610b0f57610b0f610ace565b5060010190565b8082028115828204841417610af757610af7610ace565b600082610b4a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610b6157600080fd5b81516108928161084d56fea2646970667358221220cb52992950e58c1980792a657315cd1ee0cc0bbd1d833055b119f0bdb9c914f864736f6c63430008110033", + "address": "0x459b553aBD0398429AE98F3C1B2769483bc46091", + "implementation": "0x39d09B3142c0549f791590757aF2E4B4eE559D4a", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/TemplateStoreManager.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/TemplateStoreManager.geth-localnet.json new file mode 100644 index 0000000..556f92c --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/TemplateStoreManager.geth-localnet.json @@ -0,0 +1,379 @@ +{ + "name": "TemplateStoreManager", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_id", + "type": "address" + } + ], + "name": "approveTemplate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa79cf51c" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_id", + "type": "address" + } + ], + "name": "getTemplate", + "outputs": [ + { + "internalType": "enum TemplateStoreLibrary.TemplateState", + "name": "state", + "type": "uint8" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "lastUpdatedBy", + "type": "address" + }, + { + "internalType": "uint256", + "name": "blockNumberUpdated", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xf0d6f5d7" + }, + { + "inputs": [], + "name": "getTemplateListSize", + "outputs": [ + { + "internalType": "uint256", + "name": "size", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x722e0b0e" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc4d66de8" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_id", + "type": "address" + } + ], + "name": "isTemplateApproved", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xb727a255" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "nvmConfig", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe9c1e045" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_id", + "type": "address" + } + ], + "name": "proposeTemplate", + "outputs": [ + { + "internalType": "uint256", + "name": "size", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xfe4b7724" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_id", + "type": "address" + } + ], + "name": "revokeTemplate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xdb80bb9a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "setNvmConfigAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x02acb9a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610dd7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c806302acb9a6146101015780631627905514610116578063572b6c051461013f5780635ced058e146101525780635ea3ab851461017b5780636fd902e11461019c578063715018a6146101a2578063722e0b0e146101aa57806382c947b7146101b25780638da5cb5b146101cc578063a79cf51c146101d4578063ab9de230146101e7578063b727a255146101ef578063c4d66de814610202578063ce1b815f14610215578063db80bb9a1461021d578063e9c1e04514610230578063f0d6f5d714610243578063f2fde38b1461029d578063fe4b7724146102b0575b600080fd5b61011461010f366004610b76565b6102c3565b005b61012a610124366004610b76565b3b151590565b60405190151581526020015b60405180910390f35b61012a61014d366004610b76565b6102ed565b610163610160366004610b9a565b90565b6040516001600160a01b039091168152602001610136565b61018e610189366004610bc9565b610312565b604051908152602001610136565b4361018e565b610114610361565b60665461018e565b61018e6101c0366004610b76565b6001600160a01b031690565b610163610375565b6101146101e2366004610b76565b610384565b6101636103a4565b61012a6101fd366004610b76565b6103b3565b610114610210366004610b76565b6103eb565b610163610553565b61011461022b366004610b76565b6105de565b606754610163906001600160a01b031681565b61028d610251366004610b76565b6001600160a01b0390811660009081526065602052604090208054600182015460029092015460ff821694610100909204841693929092169190565b6040516101369493929190610c9c565b6101146102ab366004610b76565b61068b565b61018e6102be366004610b76565b610701565b6102cb61071e565b606780546001600160a01b0319166001600160a01b0392909216919091179055565b60006102f7610553565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b835181101561035a5783818151811061033357610333610ce1565b6020026020010151826103469190610d0d565b91508061035281610d20565b915050610318565b5092915050565b61036961071e565b610373600061078d565b565b6033546001600160a01b031690565b61038c61071e565b6103a1816103986107df565b606591906107ee565b50565b6067546001600160a01b031690565b600060026001600160a01b03831660009081526065602052604090205460ff1660038111156103e4576103e4610c86565b1492915050565b600054610100900460ff161580801561040b5750600054600160ff909116105b806104255750303b158015610425575060005460ff166001145b61048d5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156104b0576000805461ff0019166101001790555b6001600160a01b0382166104f85760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610484565b6105006108cb565b6105098261068b565b801561054f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60008061055e6103a4565b90506001600160a01b03811661057657600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d89190610d39565b91505090565b806105e7610375565b6001600160a01b03166105f86107df565b6001600160a01b0316148061063557506106106107df565b6001600160a01b03828116600090815260656020526040902054610100900481169116145b6106765760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420557064617465526f6c6560701b6044820152606401610484565b61054f826106826107df565b606591906108fa565b61069361071e565b6001600160a01b0381166106f85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610484565b6103a18161078d565b60006107188261070f6107df565b60659190610998565b92915050565b6107266107df565b6001600160a01b0316610737610375565b6001600160a01b0316146103735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610484565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006107e9610afc565b905090565b60016001600160a01b03831660009081526020859052604090205460ff16600381111561081d5761081d610c86565b146108625760405162461bcd60e51b815260206004820152601560248201527415195b5c1b185d19481b9bdd08141c9bdc1bdcd959605a1b6044820152606401610484565b6001600160a01b038216600090815260208490526040902080546002919060ff19166001835b02179055506001600160a01b03918216600090815260209390935260409092206001810180546001600160a01b0319169390921692909217905543600290910155565b600054610100900460ff166108f25760405162461bcd60e51b815260040161048490610d56565b610373610b2a565b60026001600160a01b03831660009081526020859052604090205460ff16600381111561092957610929610c86565b1461096e5760405162461bcd60e51b815260206004820152601560248201527415195b5c1b185d19481b9bdd08105c1c1c9bdd9959605a1b6044820152606401610484565b6001600160a01b038216600090815260208490526040902080546003919060ff1916600183610888565b6000806001600160a01b03841660009081526020869052604090205460ff1660038111156109c8576109c8610c86565b14610a155760405162461bcd60e51b815260206004820152601e60248201527f54656d706c617465496420616c726561647920696e697469616c697a656400006044820152606401610484565b604080516080810190915280600181526001600160a01b03808516602080840182905260408085019290925243606090940193909352908616600090815291879052902081518154829060ff19166001836003811115610a7757610a77610c86565b021790555060208281015182546001600160a01b0391821661010002610100600160a81b03199091161783556040840151600180850180549284166001600160a01b0319938416179055606090950151600290940193909355968301805493840181556000818152919091209092018054959096169416939093179093555054919050565b600060143610801590610b135750610b13336102ed565b15610b25575060131936013560601c90565b503390565b600054610100900460ff16610b515760405162461bcd60e51b815260040161048490610d56565b610373610b5c6107df565b61078d565b6001600160a01b03811681146103a157600080fd5b600060208284031215610b8857600080fd5b8135610b9381610b61565b9392505050565b600060208284031215610bac57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610bdc57600080fd5b82356001600160401b0380821115610bf357600080fd5b818501915085601f830112610c0757600080fd5b813581811115610c1957610c19610bb3565b8060051b604051601f19603f83011681018181108582111715610c3e57610c3e610bb3565b604052918252848201925083810185019188831115610c5c57600080fd5b938501935b82851015610c7a57843584529385019392850192610c61565b98975050505050505050565b634e487b7160e01b600052602160045260246000fd5b6080810160048610610cbe57634e487b7160e01b600052602160045260246000fd5b9481526001600160a01b0393841660208201529190921660408201526060015290565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561071857610718610cf7565b600060018201610d3257610d32610cf7565b5060010190565b600060208284031215610d4b57600080fd5b8151610b9381610b61565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220f2c86f6c8ffa70f37889ff08c646194ae461e9b650d8dd3e48d54dc9f71fd43c64736f6c63430008110033", + "address": "0xCc26259119953158BD7656a990389CFDd769dBC7", + "implementation": "0xCc26259119953158BD7656a990389CFDd769dBC7", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/ThresholdCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/ThresholdCondition.geth-localnet.json new file mode 100644 index 0000000..3cc9caf --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/ThresholdCondition.geth-localnet.json @@ -0,0 +1,353 @@ +{ + "name": "ThresholdCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32[]", + "name": "_inputConditions", + "type": "bytes32[]" + }, + { + "internalType": "uint256", + "name": "threshold", + "type": "uint256" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f946031" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "inputConditions", + "type": "bytes32[]" + }, + { + "internalType": "uint256", + "name": "threshold", + "type": "uint256" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xd2a3a106" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506110a3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c806315c87f85146100e0578063162790551461011a5780631ce191851461013e5780632f9460311461015e578063485cc95514610171578063572b6c05146101865780635ced058e146101995780635ea3ab85146101c25780636fd902e1146101d5578063715018a6146101db57806382c947b7146101e35780638da5cb5b146101fd578063ab9de23014610205578063cb4e57e81461020d578063ce1b815f14610220578063d2a3a10614610228578063f2fde38b1461023b575b600080fd5b6101077f2ca4f0e155fec995ae3f9b23dd1be938cf7544e114e173d32112f6e029c3697681565b6040519081526020015b60405180910390f35b61012e610128366004610bc1565b3b151590565b6040519015158152602001610111565b61015161014c366004610bde565b61024e565b6040516101119190610c2f565b61015161016c366004610c3d565b610389565b61018461017f366004610cc1565b6104c6565b005b61012e610194366004610bc1565b610645565b6101aa6101a7366004610bde565b90565b6040516001600160a01b039091168152602001610111565b6101076101d0366004610d63565b61066a565b43610107565b6101846106b9565b6101076101f1366004610bc1565b6001600160a01b031690565b6101aa6106cd565b6101aa6106dc565b61010761021b366004610df8565b610771565b6101aa6107b0565b610107610236366004610e1a565b61083b565b610184610249366004610bc1565b610850565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bc9190610eb0565b61030d5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610340908590600390600401610ed2565b6020604051808303816000875af115801561035f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103839190610efa565b92915050565b60006002831080159061039c5750828211155b6103e85760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420696e70757420636f6e646974696f6e73206c656e677468006044820152606401610304565b6104268484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508692506108c9915050565b6104715760405162461bcd60e51b815260206004820152601c60248201527b125b9d985b1a59081d1a1c995cda1bdb1908199d5b199a5b1b595b9d60221b6044820152606401610304565b6104bd6104b68661021b87878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525089925061083b915050565b60026109d5565b95945050505050565b600054610100900460ff16158080156104e65750600054600160ff909116105b806105005750303b158015610500575060005460ff166001145b6105635760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610304565b6000805460ff191660011790558015610586576000805461ff0019166101001790555b6001600160a01b0382166105ce5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610304565b6105d6610a52565b6105df83610850565b606580546001600160a01b0319166001600160a01b0384161790558015610640576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b600061064f6107b0565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156106b25783818151811061068b5761068b610f15565b60200260200101518261069e9190610f41565b9150806106aa81610f54565b915050610670565b5092915050565b6106c1610a81565b6106cb6000610af0565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166106f55750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076c9190610f6d565b905090565b60408051602081018490523091810191909152606081018290526000906080015b60405160208183030381529060405280519060200120905092915050565b6000806107bb6106dc565b90506001600160a01b0381166107d357600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610811573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108359190610f6d565b91505090565b60008282604051602001610792929190610f8a565b610858610a81565b6001600160a01b0381166108bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610304565b6108c681610af0565b50565b600080806002815b86518110156109cb5760655487516001600160a01b0390911690632934a0ee9089908490811061090357610903610f15565b60200260200101516040518263ffffffff1660e01b815260040161092991815260200190565b60a060405180830381865afa158015610946573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096a9190610fd2565b509195508492505050600381111561098457610984610bf7565b83600381111561099657610996610bf7565b036109a957836109a581610f54565b9450505b8584106109b957600194506109cb565b806109c381610f54565b9150506108d1565b5050505092915050565b60655460405163295e072360e11b81526000916001600160a01b0316906352bc0e4690610a089086908690600401610ed2565b6020604051808303816000875af1158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190610efa565b9392505050565b600054610100900460ff16610a795760405162461bcd60e51b815260040161030490611022565b6106cb610b42565b610a89610b79565b6001600160a01b0316610a9a6106cd565b6001600160a01b0316146106cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610304565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610b695760405162461bcd60e51b815260040161030490611022565b6106cb610b74610b79565b610af0565b600061076c600060143610801590610b955750610b9533610645565b15610ba7575060131936013560601c90565b503390565b6001600160a01b03811681146108c657600080fd5b600060208284031215610bd357600080fd5b8135610a4b81610bac565b600060208284031215610bf057600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60048110610c2b57634e487b7160e01b600052602160045260246000fd5b9052565b602081016103838284610c0d565b60008060008060608587031215610c5357600080fd5b8435935060208501356001600160401b0380821115610c7157600080fd5b818701915087601f830112610c8557600080fd5b813581811115610c9457600080fd5b8860208260051b8501011115610ca957600080fd5b95986020929092019750949560400135945092505050565b60008060408385031215610cd457600080fd5b8235610cdf81610bac565b91506020830135610cef81610bac565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610d3857610d38610cfa565b604052919050565b60006001600160401b03821115610d5957610d59610cfa565b5060051b60200190565b60006020808385031215610d7657600080fd5b82356001600160401b03811115610d8c57600080fd5b8301601f81018513610d9d57600080fd5b8035610db0610dab82610d40565b610d10565b81815260059190911b82018301908381019087831115610dcf57600080fd5b928401925b82841015610ded57833582529284019290840190610dd4565b979650505050505050565b60008060408385031215610e0b57600080fd5b50508035926020909101359150565b60008060408385031215610e2d57600080fd5b82356001600160401b03811115610e4357600080fd5b8301601f81018513610e5457600080fd5b80356020610e64610dab83610d40565b82815260059290921b83018101918181019088841115610e8357600080fd5b938201935b83851015610ea157843582529382019390820190610e88565b98969091013596505050505050565b600060208284031215610ec257600080fd5b81518015158114610a4b57600080fd5b82815260408101610a4b6020830184610c0d565b805160048110610ef557600080fd5b919050565b600060208284031215610f0c57600080fd5b610a4b82610ee6565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561038357610383610f2b565b600060018201610f6657610f66610f2b565b5060010190565b600060208284031215610f7f57600080fd5b8151610a4b81610bac565b604080825283519082018190526000906020906060840190828701845b82811015610fc357815184529284019290840190600101610fa7565b50505092019290925292915050565b600080600080600060a08688031215610fea57600080fd5b8551610ff581610bac565b945061100360208701610ee6565b6040870151606088015160809098015196999198509695945092505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122042136dc1497de06fbfa3720caa6db211701156dac8c64ff91290d21194f6156a64736f6c63430008110033", + "address": "0x89e292ae6e8A5ECaE023051e6Ae46B63B94Ee1B1", + "implementation": "0x89e292ae6e8A5ECaE023051e6Ae46B63B94Ee1B1", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/TransferDIDOwnershipCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/TransferDIDOwnershipCondition.geth-localnet.json new file mode 100644 index 0000000..fe4446f --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/TransferDIDOwnershipCondition.geth-localnet.json @@ -0,0 +1,389 @@ +{ + "name": "TransferDIDOwnershipCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd9250da4" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xeea0a725" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc0c53b8b" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610eb9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c806315c87f85146100e0578063162790551461011a5780631ce191851461013e578063572b6c051461015e5780635ced058e146101715780635ea3ab851461019a5780636fd902e1146101ad578063715018a6146101b357806382c947b7146101bd5780638da5cb5b146101d7578063ab9de230146101df578063c0c53b8b146101e7578063cb4e57e8146101fa578063ce1b815f1461020d578063d9250da414610215578063eea0a72514610228578063f2fde38b1461023b575b600080fd5b6101077f29a01ae7ac707924b7693fb03d59b7e09af923fb1b03dd3bd544e2cf2655d88d81565b6040519081526020015b60405180910390f35b61012e610128366004610af8565b3b151590565b6040519015158152602001610111565b61015161014c366004610b15565b61024e565b6040516101119190610b50565b61012e61016c366004610af8565b610389565b61018261017f366004610b15565b90565b6040516001600160a01b039091168152602001610111565b6101076101a8366004610b74565b6103ae565b43610107565b6101bb6103fd565b005b6101076101cb366004610af8565b6001600160a01b031690565b610182610411565b610182610420565b6101bb6101f5366004610c31565b6104b5565b610107610208366004610c7c565b610660565b61018261069f565b610151610223366004610c9e565b61072a565b610107610236366004610ccc565b61085e565b6101bb610249366004610af8565b610885565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa158015610298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bc9190610cfc565b61030d5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610340908590600390600401610d1e565b6020604051808303816000875af115801561035f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103839190610d32565b92915050565b600061039361069f565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156103f6578381815181106103cf576103cf610d53565b6020026020010151826103e29190610d7f565b9150806103ee81610d92565b9150506103b4565b5092915050565b6104056108fe565b61040f600061096d565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166104395750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa15801561048c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b09190610dab565b905090565b600054610100900460ff16158080156104d55750600054600160ff909116105b806104ef5750303b1580156104ef575060005460ff166001145b6105525760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610304565b6000805460ff191660011790558015610575576000805461ff0019166101001790555b6001600160a01b0383161580159061059557506001600160a01b03821615155b6105d35760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610304565b6105db6109bf565b6105e484610885565b606580546001600160a01b038086166001600160a01b0319928316179092556066805492851692909116919091179055801561065a576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b60408051602081018490523091810191909152606081018290526000906080015b60405160208183030381529060405280519060200120905092915050565b6000806106aa610420565b90506001600160a01b0381166106c257600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107249190610dab565b91505090565b6066546000906001600160a01b031663a22b1b8c6107466109ee565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152602481018790529085166044820152606401600060405180830381600087803b15801561079657600080fd5b505af11580156107aa573d6000803e3d6000fd5b5050505060006107be85610208868661085e565b9050600061080c826002876040518060400160405280601d81526020017f5472616e736665724449444f776e657273686970436f6e646974696f6e0000008152506108076109ee565b6109f8565b9050836001600160a01b031685877f6855f7a98b24193f81092c1736cdb5bd7e647de52ca83d767d735c3735ddb2d28560405161084b91815260200190565b60405180910390a49150505b9392505050565b600082826040516020016106819291909182526001600160a01b0316602082015260400190565b61088d6108fe565b6001600160a01b0381166108f25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610304565b6108fb8161096d565b50565b6109066109ee565b6001600160a01b0316610917610411565b6001600160a01b03161461040f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610304565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166109e65760405162461bcd60e51b815260040161030490610dc8565b61040f610a7e565b60006104b0610ab5565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae8190610a319089908890889088908c90600401610e13565b6020604051808303816000875af1158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a749190610d32565b9695505050505050565b600054610100900460ff16610aa55760405162461bcd60e51b815260040161030490610dc8565b61040f610ab06109ee565b61096d565b600060143610801590610acc5750610acc33610389565b15610ade575060131936013560601c90565b503390565b6001600160a01b03811681146108fb57600080fd5b600060208284031215610b0a57600080fd5b813561085781610ae3565b600060208284031215610b2757600080fd5b5035919050565b60048110610b4c57634e487b7160e01b600052602160045260246000fd5b9052565b602081016103838284610b2e565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610b8757600080fd5b82356001600160401b0380821115610b9e57600080fd5b818501915085601f830112610bb257600080fd5b813581811115610bc457610bc4610b5e565b8060051b604051601f19603f83011681018181108582111715610be957610be9610b5e565b604052918252848201925083810185019188831115610c0757600080fd5b938501935b82851015610c2557843584529385019392850192610c0c565b98975050505050505050565b600080600060608486031215610c4657600080fd5b8335610c5181610ae3565b92506020840135610c6181610ae3565b91506040840135610c7181610ae3565b809150509250925092565b60008060408385031215610c8f57600080fd5b50508035926020909101359150565b600080600060608486031215610cb357600080fd5b83359250602084013591506040840135610c7181610ae3565b60008060408385031215610cdf57600080fd5b823591506020830135610cf181610ae3565b809150509250929050565b600060208284031215610d0e57600080fd5b8151801515811461085757600080fd5b828152604081016108576020830184610b2e565b600060208284031215610d4457600080fd5b81516004811061085757600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561038357610383610d69565b600060018201610da457610da4610d69565b5060010190565b600060208284031215610dbd57600080fd5b815161085781610ae3565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b85815260006020868184015260a0604084015285518060a085015260005b81811015610e4d5787810183015185820160c001528201610e31565b50600060c0828601015260c0601f19601f8301168501019250505060018060a01b0384166060830152610a746080830184610b2e56fea2646970667358221220b992b012f01d8c6e9cc2f4f4a2501bb9578efc82e65014e5abaf5a789884d95064736f6c63430008110033", + "address": "0x8E55d45BfCDF04Ae1e30A034B308A6E05EA54867", + "implementation": "0x8E55d45BfCDF04Ae1e30A034B308A6E05EA54867", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/TransferNFT721Condition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/TransferNFT721Condition.geth-localnet.json new file mode 100644 index 0000000..d62f4b9 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/TransferNFT721Condition.geth-localnet.json @@ -0,0 +1,893 @@ +{ + "name": "TransferNFT721Condition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_contract", + "type": "address" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "PROXY_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xe48bf15b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "encodeParams", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xbfa69a00" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x75d3b4ba" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "fulfillForDelegate", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x600f7ae4" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_expirationBlock", + "type": "uint256" + } + ], + "name": "fulfillForDelegate", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6db147a8" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_account", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_params", + "type": "bytes" + } + ], + "name": "fulfillProxy", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf3c998ce" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNFTDefaultAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x7771f0fe" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "grantProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf0e325ee" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_contract", + "type": "address" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xd95a3777" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_ercAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_lockNFTConditionAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "revokeProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1111ab15" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506122f9806100206000396000f3fe6080604052600436106101685760003560e01c806301ffc9a71461016d5780631111ab15146101a25780631459457a146101c457806316279055146101e45780631ce1918514610205578063248a9ca3146102325780632f2ff15d1461026057806336568abe14610280578063572b6c05146102a05780635ced058e146102c05780635ea3ab85146102f6578063600f7ae4146103165780636db147a8146103365780636fd902e114610356578063715018a61461036957806375d3b4ba1461037e5780637771f0fe1461039e57806382c947b7146103bc5780638da5cb5b146103e357806391d14854146103f8578063a217fddf14610418578063ab9de2301461042d578063bfa69a0014610442578063cb4e57e81461046f578063ce1b815f146104bc578063d547741f146104d1578063d95a3777146104f1578063e48bf15b14610511578063f0e325ee14610533578063f2fde38b14610553578063f3c998ce14610573575b600080fd5b34801561017957600080fd5b5061018d610188366004611a84565b610586565b60405190151581526020015b60405180910390f35b3480156101ae57600080fd5b506101c26101bd366004611ac3565b6105bd565b005b3480156101d057600080fd5b506101c26101df366004611ae0565b6105e0565b3480156101f057600080fd5b5061018d6101ff366004611ac3565b3b151590565b34801561021157600080fd5b50610225610220366004611b51565b6107f1565b6040516101999190611ba2565b34801561023e57600080fd5b5061025261024d366004611b51565b610921565b604051908152602001610199565b34801561026c57600080fd5b506101c261027b366004611bb0565b610936565b34801561028c57600080fd5b506101c261029b366004611bb0565b610957565b3480156102ac57600080fd5b5061018d6102bb366004611ac3565b6109e5565b3480156102cc57600080fd5b506102de6102db366004611b51565b90565b6040516001600160a01b039091168152602001610199565b34801561030257600080fd5b50610252610311366004611c26565b610a0a565b34801561032257600080fd5b50610225610331366004611cd9565b610a59565b34801561034257600080fd5b50610225610351366004611d4b565b610a90565b34801561036257600080fd5b5043610252565b34801561037557600080fd5b506101c2610c04565b34801561038a57600080fd5b50610225610399366004611dda565b610c18565b3480156103aa57600080fd5b5060fc546001600160a01b03166102de565b3480156103c857600080fd5b506102526103d7366004611ac3565b6001600160a01b031690565b3480156103ef57600080fd5b506102de610c47565b34801561040457600080fd5b5061018d610413366004611bb0565b610c56565b34801561042457600080fd5b50610252600081565b34801561043957600080fd5b506102de610c81565b34801561044e57600080fd5b5061046261045d366004611e3c565b610d16565b6040516101999190611ec9565b34801561047b57600080fd5b5061025261048a366004611edc565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b3480156104c857600080fd5b506102de610d51565b3480156104dd57600080fd5b506101c26104ec366004611bb0565b610ddc565b3480156104fd57600080fd5b5061025261050c366004611e3c565b610df8565b34801561051d57600080fd5b506102526000805160206122a483398151915281565b34801561053f57600080fd5b506101c261054e366004611ac3565b610e3a565b34801561055f57600080fd5b506101c261056e366004611ac3565b610e5a565b6101c2610581366004611efe565b610ed0565b60006001600160e01b03198216637965db0b60e01b14806105b757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6105c5610f63565b6105dd6000805160206122a483398151915282610fd2565b50565b600054610100900460ff16158080156106005750600054600160ff909116105b8061061a5750303b15801561061a575060005460ff166001145b6106825760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff1916600117905580156106a5576000805461ff0019166101001790555b6001600160a01b038616158015906106c557506001600160a01b03851615155b80156106d957506001600160a01b03831615155b80156106ed57506001600160a01b03821615155b61072b5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610679565b610733611057565b61073c86610e5a565b606580546001600160a01b038088166001600160a01b03199283161790925560fe805487841690831617905560fc805486841690831617905560fd8054928516929091169190911790556107986000610793611086565b611090565b6107a3600087611090565b80156107e9576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa15801561083b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085f9190611fae565b6108ab5760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f7574006044820152606401610679565b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e46906108de908590600390600401611fcb565b6020604051808303816000875af11580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190611fdf565b600090815260ca602052604090206001015490565b61093f82610921565b6109488161109a565b61095283836110ab565b505050565b61095f611086565b6001600160a01b0316816001600160a01b0316146109d75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610679565b6109e18282610fd2565b5050565b60006109ef610d51565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b8351811015610a5257838181518110610a2b57610a2b612000565b602002602001015182610a3e919061202c565b915080610a4a8161203f565b915050610a10565b5092915050565b6000610a828888888888888860fc60009054906101000a90046001600160a01b03166000610a90565b90505b979650505050505050565b6000610abe7f0ea61da3a8a09ad801432653699f8c1860b1ae9d2ea4a141fadfd63227717bc8610413611086565b80610b4b5750826001600160a01b031663e985e9c589610adc611086565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190611fae565b80610bc9575060fe546001600160a01b03166349791a918a610b6b611086565b6040518363ffffffff1660e01b8152600401610b88929190612058565b602060405180830381865afa158015610ba5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc99190611fae565b610be55760405162461bcd60e51b81526004016106799061206f565b610bf6888b8b8a8a8a898b8a611132565b9a9950505050505050505050565b610c0c610f63565b610c1660006116e1565b565b6000610c22611733565b610c3b610c2d611086565b898989898989896000611132565b9050610a856001606655565b6033546001600160a01b031690565b600091825260ca602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6065546000906001600160a01b0316610c9a5750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ced573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d11919061209c565b905090565b606087878787878787604051602001610d3597969594939291906120b9565b6040516020818303038152906040529050979650505050505050565b600080610d5c610c81565b90506001600160a01b038116610d7457600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd6919061209c565b91505090565b610de582610921565b610dee8161109a565b6109528383610fd2565b600087878787878787604051602001610e1797969594939291906120b9565b604051602081830303815290604052805190602001209050979650505050505050565b610e42610f63565b6105dd6000805160206122a4833981519152826110ab565b610e62610f63565b6001600160a01b038116610ec75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610679565b6105dd816116e1565b610ed8611733565b600080600080600080600087806020019051810190610ef791906120f6565b959c50929a50929850965090945092509050610f236000805160206122a4833981519152610413611086565b610f3f5760405162461bcd60e51b81526004016106799061206f565b610f518a8a8989888888886000611132565b50505050505050506109526001606655565b610f6b611086565b6001600160a01b0316610f7c610c47565b6001600160a01b031614610c165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610679565b610fdc8282610c56565b156109e157600082815260ca602090815260408083206001600160a01b03851684529091529020805460ff19169055611013611086565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600054610100900460ff1661107e5760405162461bcd60e51b815260040161067990612165565b610c1661178c565b6000610d116117c3565b6109e182826110ab565b6105dd816110a6611086565b6117f1565b6110b58282610c56565b6109e157600082815260ca602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110ee611086565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000806111488a61048a8b8e8c8c8c8c8c610df8565b905060026065546040516319b6289160e11b8152600481018990526001600160a01b039091169063336c512290602401602060405180830381865afa158015611195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b99190611fdf565b60038111156111ca576111ca611b6a565b146112235760405162461bcd60e51b815260206004820152602360248201527f4c6f636b436f6e646974696f6e206e6565647320746f2062652046756c66696c6044820152621b195960ea1b6064820152608401610679565b8484156113de578715806112b657508760011480156112b657506040516331a9108f60e11b8152600481018b90526001600160a01b038d81169190831690636352211e90602401602060405180830381865afa158015611287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ab919061209c565b6001600160a01b0316145b6112f75760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b6044820152606401610679565b876001036113d9576040516331a9108f60e11b8152600481018b90526001600160a01b038216906342842e0e908290636352211e90602401602060405180830381865afa15801561134c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611370919061209c565b60405160e083901b6001600160e01b03191681526001600160a01b039182166004820152908c166024820152604481018d9052606401600060405180830381600087803b1580156113c057600080fd5b505af11580156113d4573d6000803e3d6000fd5b505050505b611628565b60fe546001600160a01b03166349791a918b6113f8611086565b6040518363ffffffff1660e01b8152600401611415929190612058565b602060405180830381865afa158015611432573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114569190611fae565b61149b5760405162461bcd60e51b815260206004820152601660248201527527b7363c9037bbb732b91037b910383937bb34b232b960511b6044820152606401610679565b60408051602081018c90529081018c90526000906060016040516020818303038152906040528051906020012060001c90507f3cf8e80a7a55dd870201fe38c468fe694473dbe8d59a63381f1da07dc1c2b655826001600160a01b0316636fac889b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155091906121b0565b036115c357604051630ab714fb60e11b81526001600160a01b038b81166004830152602482018390526044820187905288169063156e29f690606401600060405180830381600087803b1580156115a657600080fd5b505af11580156115ba573d6000803e3d6000fd5b50505050611626565b6040516340c10f1960e01b81526001600160a01b038b81166004830152602482018390528316906340c10f1990604401600060405180830381600087803b15801561160d57600080fd5b505af1158015611621573d6000803e3d6000fd5b505050505b505b600061166e8360028d604051806040016040528060178152602001762a3930b739b332b927232a1b9918a1b7b73234ba34b7b760491b815250611669611086565b61184a565b9050896001600160a01b03168b8d7f122332ecf67f9735c1db76d2b5753c109e6fdb25695c0b89b99b1ad91f7620de8c878c6040516116c99392919092835260208301919091526001600160a01b0316604082015260600190565b60405180910390a49c9b505050505050505050505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002606654036117855760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610679565b6002606655565b600054610100900460ff166117b35760405162461bcd60e51b815260040161067990612165565b610c166117be611086565b6116e1565b6000601436108015906117da57506117da336109e5565b156117ec575060131936013560601c90565b503390565b6117fb8282610c56565b6109e157611808816118d0565b6118138360206118e2565b6040516020016118249291906121c9565b60408051601f198184030181529082905262461bcd60e51b825261067991600401611ec9565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae81906118839089908890889088908c90600401612238565b6020604051808303816000875af11580156118a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c69190611fdf565b9695505050505050565b60606105b76001600160a01b03831660145b606060006118f1836002612275565b6118fc90600261202c565b6001600160401b0381111561191357611913611be0565b6040519080825280601f01601f19166020018201604052801561193d576020820181803683370190505b509050600360fc1b8160008151811061195857611958612000565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061198757611987612000565b60200101906001600160f81b031916908160001a90535060006119ab846002612275565b6119b690600161202c565b90505b6001811115611a2e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106119ea576119ea612000565b1a60f81b828281518110611a0057611a00612000565b60200101906001600160f81b031916908160001a90535060049490941c93611a278161228c565b90506119b9565b508315611a7d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610679565b9392505050565b600060208284031215611a9657600080fd5b81356001600160e01b031981168114611a7d57600080fd5b6001600160a01b03811681146105dd57600080fd5b600060208284031215611ad557600080fd5b8135611a7d81611aae565b600080600080600060a08688031215611af857600080fd5b8535611b0381611aae565b94506020860135611b1381611aae565b93506040860135611b2381611aae565b92506060860135611b3381611aae565b91506080860135611b4381611aae565b809150509295509295909350565b600060208284031215611b6357600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60048110611b9e57634e487b7160e01b600052602160045260246000fd5b9052565b602081016105b78284611b80565b60008060408385031215611bc357600080fd5b823591506020830135611bd581611aae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611c1e57611c1e611be0565b604052919050565b60006020808385031215611c3957600080fd5b82356001600160401b0380821115611c5057600080fd5b818501915085601f830112611c6457600080fd5b813581811115611c7657611c76611be0565b8060051b9150611c87848301611bf6565b8181529183018401918481019088841115611ca157600080fd5b938501935b83851015611cbf57843582529385019390850190611ca6565b98975050505050505050565b80151581146105dd57600080fd5b600080600080600080600060e0888a031215611cf457600080fd5b87359650602088013595506040880135611d0d81611aae565b94506060880135611d1d81611aae565b93506080880135925060a0880135915060c0880135611d3b81611ccb565b8091505092959891949750929550565b60008060008060008060008060006101208a8c031215611d6a57600080fd5b8935985060208a0135975060408a0135611d8381611aae565b965060608a0135611d9381611aae565b955060808a0135945060a08a0135935060c08a0135611db181611ccb565b925060e08a0135611dc181611aae565b809250506101008a013590509295985092959850929598565b600080600080600080600060e0888a031215611df557600080fd5b87359650602088013595506040880135611e0e81611aae565b9450606088013593506080880135925060a0880135611e2c81611aae565b915060c0880135611d3b81611ccb565b600080600080600080600060e0888a031215611e5757600080fd5b873596506020880135611e6981611aae565b95506040880135611e0e81611aae565b60005b83811015611e94578181015183820152602001611e7c565b50506000910152565b60008151808452611eb5816020860160208601611e79565b601f01601f19169290920160200192915050565b602081526000611a7d6020830184611e9d565b60008060408385031215611eef57600080fd5b50508035926020909101359150565b600080600060608486031215611f1357600080fd5b8335611f1e81611aae565b9250602084810135925060408501356001600160401b0380821115611f4257600080fd5b818701915087601f830112611f5657600080fd5b813581811115611f6857611f68611be0565b611f7a601f8201601f19168501611bf6565b91508082528884828501011115611f9057600080fd5b80848401858401376000848284010152508093505050509250925092565b600060208284031215611fc057600080fd5b8151611a7d81611ccb565b82815260408101611a7d6020830184611b80565b600060208284031215611ff157600080fd5b815160048110611a7d57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105b7576105b7612016565b60006001820161205157612051612016565b5060010190565b9182526001600160a01b0316602082015260400190565b602080825260139082015272496e76616c69642061636365737320726f6c6560681b604082015260600190565b6000602082840312156120ae57600080fd5b8151611a7d81611aae565b9687526001600160a01b03958616602088015293851660408701526060860192909252608085015290911660a0830152151560c082015260e00190565b600080600080600080600060e0888a03121561211157600080fd5b87519650602088015161212381611aae565b604089015190965061213481611aae565b80955050606088015193506080880151925060a088015161215481611aae565b60c0890151909250611d3b81611ccb565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000602082840312156121c257600080fd5b5051919050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516121fb816017850160208801611e79565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161222c816028840160208801611e79565b01602801949350505050565b85815284602082015260a06040820152600061225760a0830186611e9d565b6001600160a01b038516606084015290506118c66080830184611b80565b80820281158282048414176105b7576105b7612016565b60008161229b5761229b612016565b50600019019056fe77d72916e966418e6dc58a19999ae9934bef3f749f1547cde0a86e809f19c89ba2646970667358221220863ec64438df57bd8839568db125f7ccb0d0ff3e3a6c2ed9b5903f84156667a264736f6c63430008110033", + "address": "0xF841Ff2C8abF1751A83923755EbD2F66bBAa5BFE", + "implementation": "0xF841Ff2C8abF1751A83923755EbD2F66bBAa5BFE", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/TransferNFTCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/TransferNFTCondition.geth-localnet.json new file mode 100644 index 0000000..797ec9f --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/TransferNFTCondition.geth-localnet.json @@ -0,0 +1,982 @@ +{ + "name": "TransferNFTCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "_conditionId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "_contract", + "type": "address" + } + ], + "name": "Fulfilled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xa217fddf" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "encodeParams", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xbfa69a00" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x75d3b4ba" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe48b81e6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "fulfillForDelegate", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x600f7ae4" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockPaymentCondition", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "fulfillForDelegate", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xcb03e8eb" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_account", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_params", + "type": "bytes" + } + ], + "name": "fulfillProxy", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "signature": "0xf3c998ce" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNFTDefaultAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x7771f0fe" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x248a9ca3" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "grantMarketRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb8b7c213" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "grantProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf0e325ee" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xbde12415" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_did", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftHolder", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftReceiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_nftAmount", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "_lockCondition", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + }, + { + "internalType": "bool", + "name": "_transfer", + "type": "bool" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xd95a3777" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_didRegistryAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_ercAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1459457a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_nftContractAddress", + "type": "address" + } + ], + "name": "revokeMarketRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x08c3e766" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "revokeProxyRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1111ab15" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x01ffc9a7" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061225e806100206000396000f3fe6080604052600436106101895760003560e01c806301ffc9a71461018e57806308c3e766146101c35780631111ab15146101e55780631459457a1461020557806316279055146102255780631ce1918514610246578063248a9ca3146102735780632f2ff15d146102a157806336568abe146102c1578063572b6c05146102e15780635ced058e146103015780635ea3ab8514610337578063600f7ae4146103575780636fd902e114610377578063715018a61461038a57806375d3b4ba1461039f5780637771f0fe146103bf57806382c947b7146103dd5780638da5cb5b1461040457806391d1485414610419578063a217fddf14610439578063ab9de2301461044e578063b8b7c21314610463578063bde1241514610483578063bfa69a00146104a3578063cb03e8eb146104d0578063cb4e57e8146104f0578063ce1b815f1461053d578063d547741f14610552578063d95a377714610572578063e48b81e614610592578063f0e325ee146105b2578063f2fde38b146105d2578063f3c998ce146105f2575b600080fd5b34801561019a57600080fd5b506101ae6101a9366004611996565b610605565b60405190151581526020015b60405180910390f35b3480156101cf57600080fd5b506101e36101de3660046119d5565b61063c565b005b3480156101f157600080fd5b506101e36102003660046119d5565b61065f565b34801561021157600080fd5b506101e36102203660046119f2565b61067f565b34801561023157600080fd5b506101ae6102403660046119d5565b3b151590565b34801561025257600080fd5b50610266610261366004611a63565b610896565b6040516101ba9190611ab4565b34801561027f57600080fd5b5061029361028e366004611a63565b6109c6565b6040519081526020016101ba565b3480156102ad57600080fd5b506101e36102bc366004611ac2565b6109db565b3480156102cd57600080fd5b506101e36102dc366004611ac2565b6109fc565b3480156102ed57600080fd5b506101ae6102fc3660046119d5565b610a8a565b34801561030d57600080fd5b5061031f61031c366004611a63565b90565b6040516001600160a01b0390911681526020016101ba565b34801561034357600080fd5b50610293610352366004611b38565b610aaf565b34801561036357600080fd5b50610266610372366004611beb565b610afe565b34801561038357600080fd5b5043610293565b34801561039657600080fd5b506101e3610b33565b3480156103ab57600080fd5b506102666103ba366004611c5d565b610b47565b3480156103cb57600080fd5b5060fc546001600160a01b031661031f565b3480156103e957600080fd5b506102936103f83660046119d5565b6001600160a01b031690565b34801561041057600080fd5b5061031f610b74565b34801561042557600080fd5b506101ae610434366004611ac2565b610b83565b34801561044557600080fd5b50610293600081565b34801561045a57600080fd5b5061031f610bae565b34801561046f57600080fd5b506101e361047e3660046119d5565b610c43565b34801561048f57600080fd5b5061029361049e366004611cbf565b610c63565b3480156104af57600080fd5b506104c36104be366004611d11565b610c94565b6040516101ba9190611d9e565b3480156104dc57600080fd5b506102666104eb366004611db1565b610ccf565b3480156104fc57600080fd5b5061029361050b366004611e36565b604080516020808201949094523081830152606080820193909352815180820390930183526080019052805191012090565b34801561054957600080fd5b5061031f610e6a565b34801561055e57600080fd5b506101e361056d366004611ac2565b610ef5565b34801561057e57600080fd5b5061029361058d366004611d11565b610f11565b34801561059e57600080fd5b506102666105ad366004611e58565b610f53565b3480156105be57600080fd5b506101e36105cd3660046119d5565b610f7a565b3480156105de57600080fd5b506101e36105ed3660046119d5565b610f9a565b6101e3610600366004611e89565b611010565b60006001600160e01b03198216637965db0b60e01b148061063657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6106446110c7565b61065c6000805160206121e983398151915282610ef5565b50565b6106676110c7565b61065c60008051602061220983398151915282610ef5565b600054610100900460ff161580801561069f5750600054600160ff909116105b806106b95750303b1580156106b9575060005460ff166001145b6107215760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff191660011790558015610744576000805461ff0019166101001790555b6001600160a01b0386161580159061076457506001600160a01b03851615155b801561077857506001600160a01b03831615155b6107b65760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610718565b6107be611136565b6107c786610f9a565b606580546001600160a01b038088166001600160a01b03199283161790925560fd805487841690831617905560fc8054928616929091169190911790556108166000610811611165565b61116f565b6001600160a01b0382161561083d5761083d6000805160206121e9833981519152836109db565b61084860008761116f565b801561088e576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa1580156108e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109049190611f39565b6109505760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f7574006044820152606401610718565b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610983908590600390600401611f56565b6020604051808303816000875af11580156109a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106369190611f6a565b600090815260ca602052604090206001015490565b6109e4826109c6565b6109ed81611179565b6109f7838361118a565b505050565b610a04611165565b6001600160a01b0316816001600160a01b031614610a7c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610718565b610a868282611211565b5050565b6000610a94610e6a565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b8351811015610af757838181518110610ad057610ad0611f8b565b602002602001015182610ae39190611fb7565b915080610aef81611fca565b915050610ab5565b5092915050565b6000610b2588888888888860fc60009054906101000a90046001600160a01b031689610ccf565b90505b979650505050505050565b610b3b6110c7565b610b456000611296565b565b6000610b516112e8565b610b68610b5c611165565b89898989898989611341565b9050610b286001606655565b6033546001600160a01b031690565b600091825260ca602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6065546000906001600160a01b0316610bc75750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3e9190611fe3565b905090565b610c4b6110c7565b61065c6000805160206121e9833981519152826109db565b6000610c8a868686868660fc60009054906101000a90046001600160a01b03166001610f11565b9695505050505050565b606087878787878787604051602001610cb39796959493929190612000565b6040516020818303038152906040529050979650505050505050565b6000610ceb6000805160206121e9833981519152610434611165565b80610d785750826001600160a01b031663e985e9c588610d09611165565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190611f39565b80610df6575060fd546001600160a01b03166349791a9189610d98611165565b6040518363ffffffff1660e01b8152600401610db592919061203d565b602060405180830381865afa158015610dd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df69190611f39565b610e4d5760405162461bcd60e51b815260206004820152602260248201527f4f6e6c79204d61726b657420726f6c65206f7220617070726f766564466f72416044820152611b1b60f21b6064820152608401610718565b610e5d878a8a8989898989611341565b9998505050505050505050565b600080610e75610bae565b90506001600160a01b038116610e8d57600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef9190611fe3565b91505090565b610efe826109c6565b610f0781611179565b6109f78383611211565b600087878787878787604051602001610f309796959493929190612000565b604051602081830303815290604052805190602001209050979650505050505050565b6000610c8a868686868660fc60009054906101000a90046001600160a01b03166001610b47565b610f826110c7565b61065c600080516020612209833981519152826109db565b610fa26110c7565b6001600160a01b0381166110075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610718565b61065c81611296565b6110186112e8565b6000806000806000806000878060200190518101906110379190612054565b959c50929a50929850965090945092509050611063600080516020612209833981519152610434611165565b6110a55760405162461bcd60e51b8152602060048201526013602482015272141c9bde1e481c9bdb19481c995c5d5a5c9959606a1b6044820152606401610718565b6110b58a8a898988888888611341565b50505050505050506109f76001606655565b6110cf611165565b6001600160a01b03166110e0610b74565b6001600160a01b031614610b455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600054610100900460ff1661115d5760405162461bcd60e51b8152600401610718906120c3565b610b456116a8565b6000610c3e6116df565b610a86828261118a565b61065c81611185611165565b61170d565b6111948282610b83565b610a8657600082815260ca602090815260408083206001600160a01b03851684529091529020805460ff191660011790556111cd611165565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61121b8282610b83565b15610a8657600082815260ca602090815260408083206001600160a01b03851684529091529020805460ff19169055611252611165565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60026066540361133a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610718565b6002606655565b6000806113578961050b8a8d8b8b8b8b8b610f11565b905060026065546040516319b6289160e11b8152600481018890526001600160a01b039091169063336c512290602401602060405180830381865afa1580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c89190611f6a565b60038111156113d9576113d9611a7c565b146114325760405162461bcd60e51b815260206004820152602360248201527f4c6f636b436f6e646974696f6e206e6565647320746f2062652046756c66696c6044820152621b195960ea1b6064820152608401610718565b8386156115f35783156114c357604051637921219560e11b81526001600160a01b038c811660048301528981166024830152604482018b90526064820189905260a06084830152600060a483015282169063f242432a9060c401600060405180830381600087803b1580156114a657600080fd5b505af11580156114ba573d6000803e3d6000fd5b505050506115f3565b60fd546040516349791a9160e01b81526001600160a01b03909116906349791a91906114f5908c908f9060040161203d565b602060405180830381865afa158015611512573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115369190611f39565b61157b5760405162461bcd60e51b815260206004820152601660248201527527b7363c9037bbb732b91037b910383937bb34b232b960511b6044820152606401610718565b60405163731133e960e01b81526001600160a01b038981166004830152602482018b905260448201899052608060648301526000608483015282169063731133e99060a401600060405180830381600087803b1580156115da57600080fd5b505af11580156115ee573d6000803e3d6000fd5b505050505b60006116368360028c604051806040016040528060148152602001732a3930b739b332b927232a21b7b73234ba34b7b760611b815250611631611165565b611766565b9050886001600160a01b03168a8c7f122332ecf67f9735c1db76d2b5753c109e6fdb25695c0b89b99b1ad91f7620de8b878b6040516116919392919092835260208301919091526001600160a01b0316604082015260600190565b60405180910390a49b9a5050505050505050505050565b600054610100900460ff166116cf5760405162461bcd60e51b8152600401610718906120c3565b610b456116da611165565b611296565b6000601436108015906116f657506116f633610a8a565b15611708575060131936013560601c90565b503390565b6117178282610b83565b610a8657611724816117e2565b61172f8360206117f4565b60405160200161174092919061210e565b60408051601f198184030181529082905262461bcd60e51b825261071891600401611d9e565b60655460405163d1a8ae8160e01b81526000916001600160a01b03169063d1a8ae819061179f9089908890889088908c9060040161217d565b6020604051808303816000875af11580156117be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190611f6a565b60606106366001600160a01b03831660145b606060006118038360026121ba565b61180e906002611fb7565b6001600160401b0381111561182557611825611af2565b6040519080825280601f01601f19166020018201604052801561184f576020820181803683370190505b509050600360fc1b8160008151811061186a5761186a611f8b565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061189957611899611f8b565b60200101906001600160f81b031916908160001a90535060006118bd8460026121ba565b6118c8906001611fb7565b90505b6001811115611940576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106118fc576118fc611f8b565b1a60f81b82828151811061191257611912611f8b565b60200101906001600160f81b031916908160001a90535060049490941c93611939816121d1565b90506118cb565b50831561198f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610718565b9392505050565b6000602082840312156119a857600080fd5b81356001600160e01b03198116811461198f57600080fd5b6001600160a01b038116811461065c57600080fd5b6000602082840312156119e757600080fd5b813561198f816119c0565b600080600080600060a08688031215611a0a57600080fd5b8535611a15816119c0565b94506020860135611a25816119c0565b93506040860135611a35816119c0565b92506060860135611a45816119c0565b91506080860135611a55816119c0565b809150509295509295909350565b600060208284031215611a7557600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60048110611ab057634e487b7160e01b600052602160045260246000fd5b9052565b602081016106368284611a92565b60008060408385031215611ad557600080fd5b823591506020830135611ae7816119c0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611b3057611b30611af2565b604052919050565b60006020808385031215611b4b57600080fd5b82356001600160401b0380821115611b6257600080fd5b818501915085601f830112611b7657600080fd5b813581811115611b8857611b88611af2565b8060051b9150611b99848301611b08565b8181529183018401918481019088841115611bb357600080fd5b938501935b83851015611bd157843582529385019390850190611bb8565b98975050505050505050565b801515811461065c57600080fd5b600080600080600080600060e0888a031215611c0657600080fd5b87359650602088013595506040880135611c1f816119c0565b94506060880135611c2f816119c0565b93506080880135925060a0880135915060c0880135611c4d81611bdd565b8091505092959891949750929550565b600080600080600080600060e0888a031215611c7857600080fd5b87359650602088013595506040880135611c91816119c0565b9450606088013593506080880135925060a0880135611caf816119c0565b915060c0880135611c4d81611bdd565b600080600080600060a08688031215611cd757600080fd5b853594506020860135611ce9816119c0565b93506040860135611cf9816119c0565b94979396509394606081013594506080013592915050565b600080600080600080600060e0888a031215611d2c57600080fd5b873596506020880135611d3e816119c0565b95506040880135611c91816119c0565b60005b83811015611d69578181015183820152602001611d51565b50506000910152565b60008151808452611d8a816020860160208601611d4e565b601f01601f19169290920160200192915050565b60208152600061198f6020830184611d72565b600080600080600080600080610100898b031215611dce57600080fd5b88359750602089013596506040890135611de7816119c0565b95506060890135611df7816119c0565b94506080890135935060a0890135925060c0890135611e15816119c0565b915060e0890135611e2581611bdd565b809150509295985092959890939650565b60008060408385031215611e4957600080fd5b50508035926020909101359150565b600080600080600060a08688031215611e7057600080fd5b85359450602086013593506040860135611cf9816119c0565b600080600060608486031215611e9e57600080fd5b8335611ea9816119c0565b9250602084810135925060408501356001600160401b0380821115611ecd57600080fd5b818701915087601f830112611ee157600080fd5b813581811115611ef357611ef3611af2565b611f05601f8201601f19168501611b08565b91508082528884828501011115611f1b57600080fd5b80848401858401376000848284010152508093505050509250925092565b600060208284031215611f4b57600080fd5b815161198f81611bdd565b8281526040810161198f6020830184611a92565b600060208284031215611f7c57600080fd5b81516004811061198f57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561063657610636611fa1565b600060018201611fdc57611fdc611fa1565b5060010190565b600060208284031215611ff557600080fd5b815161198f816119c0565b9687526001600160a01b03958616602088015293851660408701526060860192909252608085015290911660a0830152151560c082015260e00190565b9182526001600160a01b0316602082015260400190565b600080600080600080600060e0888a03121561206f57600080fd5b875196506020880151612081816119c0565b6040890151909650612092816119c0565b80955050606088015193506080880151925060a08801516120b2816119c0565b60c0890151909250611c4d81611bdd565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351612140816017850160208801611d4e565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612171816028840160208801611d4e565b01602801949350505050565b85815284602082015260a06040820152600061219c60a0830186611d72565b6001600160a01b03851660608401529050610c8a6080830184611a92565b808202811582820484141761063657610636611fa1565b6000816121e0576121e0611fa1565b50600019019056fe0ea61da3a8a09ad801432653699f8c1860b1ae9d2ea4a141fadfd63227717bc877d72916e966418e6dc58a19999ae9934bef3f749f1547cde0a86e809f19c89ba26469706673582212205bc5689445de77964d3080dfd57cdbf409df9db99badc92770a945ee8584565364736f6c63430008110033", + "address": "0x1F803BD077807fa223d9e846b6F431d39D320357", + "implementation": "0x1F803BD077807fa223d9e846b6F431d39D320357", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/WhitelistingCondition.geth-localnet.json b/subscriptions/002-Web_Access/public/contracts/WhitelistingCondition.geth-localnet.json new file mode 100644 index 0000000..1feebe2 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/WhitelistingCondition.geth-localnet.json @@ -0,0 +1,353 @@ +{ + "name": "WhitelistingCondition", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "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": "CONDITION_TYPE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x15c87f85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "abortByTimeOut", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x1ce19185" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + } + ], + "name": "addressToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x82c947b7" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_b32", + "type": "bytes32" + } + ], + "name": "bytes32ToAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ced058e" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_amounts", + "type": "uint256[]" + } + ], + "name": "calculateTotalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0x5ea3ab85" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_listAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_item", + "type": "bytes32" + } + ], + "name": "fulfill", + "outputs": [ + { + "internalType": "enum ConditionStoreLibrary.ConditionState", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf32d73d0" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_agreementId", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_valueHash", + "type": "bytes32" + } + ], + "name": "generateId", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xcb4e57e8" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x6fd902e1" + }, + { + "inputs": [], + "name": "getNvmConfigAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xab9de230" + }, + { + "inputs": [], + "name": "getTrustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0xce1b815f" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_listAddress", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_item", + "type": "bytes32" + } + ], + "name": "hashValues", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function", + "signature": "0xfcc9a2e1" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_conditionStoreManagerAddress", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x485cc955" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "isContract", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x16279055" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x572b6c05" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "signature": "0x8da5cb5b" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x715018a6" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610e42806100206000396000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c806315c87f85146100e0578063162790551461011a5780631ce191851461013e578063485cc9551461015e578063572b6c05146101735780635ced058e146101865780635ea3ab85146101a45780636fd902e1146101b7578063715018a6146101bd57806382c947b7146101c55780638da5cb5b146101df578063ab9de230146101e7578063cb4e57e8146101ef578063ce1b815f14610202578063f2fde38b1461020a578063f32d73d01461021d578063fcc9a2e114610230575b600080fd5b6101077f303605c615a7aabdafc168c6f8ecd346b82b23905181e6db00225e04005bc25781565b6040519081526020015b60405180910390f35b61012e610128366004610ae9565b3b151590565b6040519015158152602001610111565b61015161014c366004610b06565b610243565b6040516101119190610b41565b61017161016c366004610b4f565b61037e565b005b61012e610181366004610ae9565b610504565b610197610194366004610b06565b90565b6040516101119190610b88565b6101076101b2366004610bb2565b610529565b43610107565b610171610578565b6101076101d3366004610ae9565b6001600160a01b031690565b61019761058c565b61019761059b565b6101076101fd366004610c6f565b610630565b61019761066f565b610171610218366004610ae9565b6106fa565b61015161022b366004610c91565b610773565b61010761023e366004610cc9565b6108cc565b606554604051636ed93cc560e01b8152600481018390526000916001600160a01b031690636ed93cc590602401602060405180830381865afa15801561028d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b19190610cf5565b6103025760405162461bcd60e51b815260206004820152601f60248201527f436f6e646974696f6e206e6565647320746f2062652074696d6564206f75740060448201526064015b60405180910390fd5b60655460405163295e072360e11b81526001600160a01b03909116906352bc0e4690610335908590600390600401610d17565b6020604051808303816000875af1158015610354573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103789190610d2b565b92915050565b600054610100900460ff161580801561039e5750600054600160ff909116105b806103bf57506103ad306108f0565b1580156103bf575060005460ff166001145b6104225760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102f9565b6000805460ff191660011790558015610445576000805461ff0019166101001790555b6001600160a01b03821661048d5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016102f9565b6104956108ff565b61049e836106fa565b606580546001600160a01b0319166001600160a01b03841617905580156104ff576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b600061050e61066f565b6001600160a01b0316826001600160a01b0316149050919050565b60008060005b83518110156105715783818151811061054a5761054a610d4c565b60200260200101518261055d9190610d78565b91508061056981610d8b565b91505061052f565b5092915050565b61058061092e565b61058a600061099d565b565b6033546001600160a01b031690565b6065546000906001600160a01b03166105b45750600090565b606560009054906101000a90046001600160a01b03166001600160a01b031663ab9de2306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190610da4565b905090565b60408051602081018490523091810191909152606081018290526000906080015b60405160208183030381529060405280519060200120905092915050565b60008061067a61059b565b90506001600160a01b03811661069257600091505090565b806001600160a01b031663ce1b815f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f49190610da4565b91505090565b61070261092e565b6001600160a01b0381166107675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102f9565b6107708161099d565b50565b600061077e836108f0565b6107c55760405162461bcd60e51b8152602060048201526018602482015277496e76616c696420636f6e7472616374206164647265737360401b60448201526064016102f9565b826001600160a01b0381166341b9dc2b6107dd6109ef565b6040516020016107ed9190610b88565b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260248101869052604401602060405180830381865afa158015610843573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108679190610cf5565b6108a95760405162461bcd60e51b8152602060048201526013602482015272125d195b48191bd95cc81b9bdd08195e1a5cdd606a1b60448201526064016102f9565b6108c16108ba866101fd87876108cc565b60026109f9565b9150505b9392505050565b604080516001600160a01b0384166020820152908101829052600090606001610651565b6001600160a01b03163b151590565b600054610100900460ff166109265760405162461bcd60e51b81526004016102f990610dc1565b61058a610a6f565b6109366109ef565b6001600160a01b031661094761058c565b6001600160a01b03161461058a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102f9565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061062b610aa6565b60655460405163295e072360e11b81526000916001600160a01b0316906352bc0e4690610a2c9086908690600401610d17565b6020604051808303816000875af1158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c59190610d2b565b600054610100900460ff16610a965760405162461bcd60e51b81526004016102f990610dc1565b61058a610aa16109ef565b61099d565b600060143610801590610abd5750610abd33610504565b15610acf575060131936013560601c90565b503390565b6001600160a01b038116811461077057600080fd5b600060208284031215610afb57600080fd5b81356108c581610ad4565b600060208284031215610b1857600080fd5b5035919050565b60048110610b3d57634e487b7160e01b600052602160045260246000fd5b9052565b602081016103788284610b1f565b60008060408385031215610b6257600080fd5b8235610b6d81610ad4565b91506020830135610b7d81610ad4565b809150509250929050565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610bc557600080fd5b82356001600160401b0380821115610bdc57600080fd5b818501915085601f830112610bf057600080fd5b813581811115610c0257610c02610b9c565b8060051b604051601f19603f83011681018181108582111715610c2757610c27610b9c565b604052918252848201925083810185019188831115610c4557600080fd5b938501935b82851015610c6357843584529385019392850192610c4a565b98975050505050505050565b60008060408385031215610c8257600080fd5b50508035926020909101359150565b600080600060608486031215610ca657600080fd5b833592506020840135610cb881610ad4565b929592945050506040919091013590565b60008060408385031215610cdc57600080fd5b8235610ce781610ad4565b946020939093013593505050565b600060208284031215610d0757600080fd5b815180151581146108c557600080fd5b828152604081016108c56020830184610b1f565b600060208284031215610d3d57600080fd5b8151600481106108c557600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561037857610378610d62565b600060018201610d9d57610d9d610d62565b5060010190565b600060208284031215610db657600080fd5b81516108c581610ad4565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212208f6a41ef8a16d198a2c0e2eaf90ca87439e455c12d85460f2369a7a0b33f8ecd64736f6c63430008110033", + "address": "0x5C129d941A9E678630b189e146DAF20aD9F7b2c1", + "implementation": "0x5C129d941A9E678630b189e146DAF20aD9F7b2c1", + "version": "v3.2.2", + "libraries": {} +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/opengsn.json b/subscriptions/002-Web_Access/public/contracts/opengsn.json new file mode 100644 index 0000000..5d06775 --- /dev/null +++ b/subscriptions/002-Web_Access/public/contracts/opengsn.json @@ -0,0 +1 @@ +{"relayHubAddress":"0x6C739EFC863FD6f1B6001F29e098ed466d6554AA","stakeManagerAddress":"0xFfBA64e59969604d89AC6AB33CB3B804866948a3","penalizerAddress":"0x1Ef2EB7Fc36804888e85261a6C38b3abac55aDEA","forwarderAddress":"0xA1501Bb25Fcac07e2e7d9eA0ea7882EFecC77865","versionRegistryAddress":"0x3a854957671daDF9cBE0E7B733F8A5f4Abe775DD","paymasterAddress":"0x4c5Ee88C1Ad541867561D8a22D1d168017fCEdaB"} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/contracts/ready b/subscriptions/002-Web_Access/public/contracts/ready new file mode 100644 index 0000000..e69de29 diff --git a/subscriptions/002-Web_Access/public/next.svg b/subscriptions/002-Web_Access/public/next.svg new file mode 100644 index 0000000..5174b28 --- /dev/null +++ b/subscriptions/002-Web_Access/public/next.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/subscriptions/002-Web_Access/public/vercel.svg b/subscriptions/002-Web_Access/public/vercel.svg new file mode 100644 index 0000000..d2f8422 --- /dev/null +++ b/subscriptions/002-Web_Access/public/vercel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/subscriptions/002-Web_Access/src/app/NavBar.tsx b/subscriptions/002-Web_Access/src/app/NavBar.tsx new file mode 100644 index 0000000..e22bd2b --- /dev/null +++ b/subscriptions/002-Web_Access/src/app/NavBar.tsx @@ -0,0 +1,70 @@ +import { acceptedChainId, appConfig } from '@/config/config' +import { Catalog } from '@nevermined-io/catalog' +import { useWallet } from '@nevermined-io/providers' + + +// This component is used to display the navbar and integrate the connection with your Metamask wallet. +export const NavBar = () => { + + const { isLoadingSDK } = Catalog.useNevermined() + const { login, logout, walletAddress, getConnectors } = useWallet() + + // const web3 = new Web3(window.ethereum) + appConfig.web3Provider = window.ethereum! + + + return ( +
+ +
+ ) +} \ No newline at end of file diff --git a/subscriptions/002-Web_Access/src/app/favicon.ico b/subscriptions/002-Web_Access/src/app/favicon.ico new file mode 100644 index 0000000..718d6fe Binary files /dev/null and b/subscriptions/002-Web_Access/src/app/favicon.ico differ diff --git a/subscriptions/002-Web_Access/src/app/globals.css b/subscriptions/002-Web_Access/src/app/globals.css new file mode 100644 index 0000000..fd81e88 --- /dev/null +++ b/subscriptions/002-Web_Access/src/app/globals.css @@ -0,0 +1,27 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +:root { + --foreground-rgb: 0, 0, 0; + --background-start-rgb: 214, 219, 220; + --background-end-rgb: 255, 255, 255; +} + +@media (prefers-color-scheme: dark) { + :root { + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; + } +} + +body { + color: rgb(var(--foreground-rgb)); + background: linear-gradient( + to bottom, + transparent, + rgb(var(--background-end-rgb)) + ) + rgb(var(--background-start-rgb)); +} diff --git a/subscriptions/002-Web_Access/src/app/layout.tsx b/subscriptions/002-Web_Access/src/app/layout.tsx new file mode 100644 index 0000000..5ece2eb --- /dev/null +++ b/subscriptions/002-Web_Access/src/app/layout.tsx @@ -0,0 +1,21 @@ +import './globals.css' +import { Inter } from 'next/font/google' + +const inter = Inter({ subsets: ['latin'] }) + +export const metadata = { + title: 'Nevermined App', + description: 'Generated by create next app', +} + +export default function RootLayout({ + children, +}: { + children: React.ReactNode +}) { + return ( + + {children} + + ) +} diff --git a/subscriptions/002-Web_Access/src/app/page.tsx b/subscriptions/002-Web_Access/src/app/page.tsx new file mode 100644 index 0000000..427814c --- /dev/null +++ b/subscriptions/002-Web_Access/src/app/page.tsx @@ -0,0 +1,117 @@ +'use client' + +import Image from 'next/image' +import { NavBar } from './NavBar' + +export default function Home() { + return ( +
+ +
+

+ Get started by editing  + src/app/page.tsx +

+
+ + By{' '} + Vercel Logo + +
+
+ +
+ Next.js Logo +
+ +
+ +

+ Docs{' '} + + -> + +

+

+ Find in-depth information about Next.js features and API. +

+
+ + +

+ Learn{' '} + + -> + +

+

+ Learn about Next.js in an interactive course with quizzes! +

+
+ + +

+ Templates{' '} + + -> + +

+

+ Explore the Next.js 13 playground. +

+
+ + +

+ Deploy{' '} + + -> + +

+

+ Instantly deploy your Next.js site to a shareable URL with Vercel. +

+
+
+
+ ) +} diff --git a/subscriptions/002-Web_Access/src/config/config.ts b/subscriptions/002-Web_Access/src/config/config.ts new file mode 100644 index 0000000..44c5150 --- /dev/null +++ b/subscriptions/002-Web_Access/src/config/config.ts @@ -0,0 +1,78 @@ +import { AuthToken, NeverminedOptions, zeroXTransformer } from '@nevermined-io/catalog' +import { Wagmi } from '@nevermined-io/providers' +import { arbitrum, arbitrumGoerli } from 'wagmi/chains' +import { ethers } from 'ethers' + +// It is needed to add this env var in order to set the correct network for each deployment +export const networkId = process.env.NEXT_PUBLIC_NETWORK_ID || '421613' + +export const web3ProviderUri = process.env.NEXT_PUBLIC_WEB3_PROVIDER_URI || 'https://goerli-rollup.arbitrum.io/rpc' + +export const neverminedNodeAddress = process.env.NEXT_PUBLIC_NODE_ADDRESS || '0x5838B5512cF9f12FE9f2beccB20eb47211F9B0bc' + +export const neverminedNodeUri = process.env.NEXT_PUBLIC_NODE_URI || 'https://node.goerli.nevermined.app' + +export const marketplaceUri = process.env.NEXT_PUBLIC_MARKETPLACE_API || 'https://marketplace-api.arbitrum.nevermined.app' + +export const acceptedChainId = Number.parseInt(process.env.NEXT_PUBLIC_NETWORK_ID || '421613', 10) + +export const rootUri = () => { + if (process.env.NEXT_PUBLIC_BASE_URL) { + return process.env.NEXT_PUBLIC_BASE_URL + } + + if (typeof window !== 'undefined') { + return `${window.location.protocol}//${window.location.host}` + } + + return 'http://localhost:3000' +} + + +const graphHttpUri = process.env.NEXT_PUBLIC_GRAPH_HTTP_URI || '' + +export const erc20TokenAddress = process.env.NEXT_PUBLIC_ERC20_TOKEN_ADDRESS || '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' + +export const ipfsGatewayUri = process.env.NEXT_PUBLIC_IPFS_GATEWAY_URI || '' + +export const acceptedChainIdHex = zeroXTransformer(acceptedChainId.toString(16), true) + +export const appConfig: NeverminedOptions = { + //@ts-ignore + web3Provider: typeof window !== 'undefined' ? window.ethereum : new ethers.providers.JsonRpcProvider(neverminedNodeUri), + web3ProviderUri, + neverminedNodeAddress, + neverminedNodeUri, + verbose: true, + graphHttpUri, + marketplaceAuthToken: + typeof window === 'undefined' ? '' : AuthToken.fetchMarketplaceApiTokenFromLocalStorage().token, + marketplaceUri, + artifactsFolder: `${rootUri()}${process.env.NEXT_PUBLIC_ARTIFACTS_FOLDER as string}`, + // artifactsFolder: `http://localhost:3000/contracts/`, +} + +export const chainsConfig: Wagmi.Chain[] = [ + + arbitrum, + arbitrumGoerli, + { + id: 1337, + name: "Localhost development", + network: "spree", + nativeCurrency: { + name: "Ethereum", + symbol: "ETH", + decimals: 18, + }, + rpcUrls: { + public: { + http: ["http://localhost:8545"] + }, + default: { + http: ["http://localhost:8545"] + } + }, + testnet: true + }, +] \ No newline at end of file diff --git a/subscriptions/002-Web_Access/tailwind.config.js b/subscriptions/002-Web_Access/tailwind.config.js new file mode 100644 index 0000000..d53b2ea --- /dev/null +++ b/subscriptions/002-Web_Access/tailwind.config.js @@ -0,0 +1,18 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ + './src/pages/**/*.{js,ts,jsx,tsx,mdx}', + './src/components/**/*.{js,ts,jsx,tsx,mdx}', + './src/app/**/*.{js,ts,jsx,tsx,mdx}', + ], + theme: { + extend: { + backgroundImage: { + 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', + 'gradient-conic': + 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + }, + }, + }, + plugins: [], +} diff --git a/subscriptions/002-Web_Access/tsconfig.json b/subscriptions/002-Web_Access/tsconfig.json new file mode 100644 index 0000000..0c7555f --- /dev/null +++ b/subscriptions/002-Web_Access/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/subscriptions/002-Web_Access/yarn.lock b/subscriptions/002-Web_Access/yarn.lock new file mode 100644 index 0000000..3bc5c20 --- /dev/null +++ b/subscriptions/002-Web_Access/yarn.lock @@ -0,0 +1,6767 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@aashutoshrathi/word-wrap@^1.2.3": + version "1.2.6" + resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" + integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== + +"@adraffy/ens-normalize@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.9.0.tgz#223572538f6bea336750039bb43a4016dcc8182d" + integrity sha512-iowxq3U30sghZotgl4s/oJRci6WPBfNO5YYgk2cIOMCHr3LeGPcsZjCEr+33Q4N+oV3OABDAtA+pyvWjbvBifQ== + +"@alloc/quick-lru@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" + integrity sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw== + +"@babel/code-frame@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658" + integrity sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ== + dependencies: + "@babel/highlight" "^7.22.5" + +"@babel/generator@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.5.tgz#1e7bf768688acfb05cf30b2369ef855e82d984f7" + integrity sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA== + dependencies: + "@babel/types" "^7.22.5" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882" + integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-environment-visitor@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" + integrity sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q== + +"@babel/helper-function-name@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be" + integrity sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ== + dependencies: + "@babel/template" "^7.22.5" + "@babel/types" "^7.22.5" + +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" + integrity sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-plugin-utils@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== + +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-string-parser@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" + integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== + +"@babel/helper-validator-identifier@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" + integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== + +"@babel/highlight@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031" + integrity sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw== + dependencies: + "@babel/helper-validator-identifier" "^7.22.5" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@^7.22.5", "@babel/parser@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.6.tgz#201f8b47be20c76c7c5743b9c16129760bf9a975" + integrity sha512-EIQu22vNkceq3LbjAq7knDf/UmtI2qbcNI8GRBlijez6TpQLvSodJPYfydQmNA5buwkxxxa/PVI44jjYZ+/cLw== + +"@babel/plugin-syntax-jsx@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918" + integrity sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.17.2", "@babel/runtime@^7.20.7": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.6.tgz#57d64b9ae3cff1d67eb067ae117dac087f5bd438" + integrity sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ== + dependencies: + regenerator-runtime "^0.13.11" + +"@babel/template@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" + integrity sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/parser" "^7.22.5" + "@babel/types" "^7.22.5" + +"@babel/traverse@^7.4.5": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.6.tgz#8f2f83a5c588251584914debeee38f35f661a300" + integrity sha512-53CijMvKlLIDlOTrdWiHileRddlIiwUIyCKqYa7lYnnPldXCG5dUSN38uT0cA6i7rHWNKJLH0VU/Kxdr1GzB3w== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/generator" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.6" + "@babel/types" "^7.22.5" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" + integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.5" + to-fast-properties "^2.0.0" + +"@coinbase/wallet-sdk@^3.5.4", "@coinbase/wallet-sdk@^3.6.6": + version "3.7.1" + resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.1.tgz#44b3b7a925ff5cc974e4cbf7a44199ffdcf03541" + integrity sha512-LjyoDCB+7p0waQXfK+fUgcAs3Ezk6S6e+LYaoFjpJ6c9VTop3NyZF40Pi7df4z7QJohCwzuIDjz0Rhtig6Y7Pg== + dependencies: + "@metamask/safe-event-emitter" "2.0.0" + "@solana/web3.js" "^1.70.1" + bind-decorator "^1.0.11" + bn.js "^5.1.1" + buffer "^6.0.3" + clsx "^1.1.0" + eth-block-tracker "6.1.0" + eth-json-rpc-filters "5.1.0" + eth-rpc-errors "4.0.2" + json-rpc-engine "6.1.0" + keccak "^3.0.1" + preact "^10.5.9" + qs "^6.10.3" + rxjs "^6.6.3" + sha.js "^2.4.11" + stream-browserify "^3.0.0" + util "^0.12.4" + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.1.0": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz#23116cf1ed18bfeac910ec6436561ecb1a3885cc" + integrity sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw== + dependencies: + "@emotion/memoize" "^0.8.1" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.1": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.1.tgz#c1ddb040429c6d21d38cc945fe75c818cfb68e17" + integrity sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA== + +"@emotion/stylis@^0.8.4": + version "0.8.5" + resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04" + integrity sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ== + +"@emotion/unitless@^0.7.4": + version "0.7.5" + resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed" + integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== + +"@eslint-community/eslint-utils@^4.2.0": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" + +"@eslint-community/regexpp@^4.4.0": + version "4.5.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884" + integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== + +"@eslint/eslintrc@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.0.tgz#82256f164cc9e0b59669efc19d57f8092706841d" + integrity sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.6.0" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + +"@eslint/js@8.44.0": + version "8.44.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.44.0.tgz#961a5903c74139390478bdc808bcde3fc45ab7af" + integrity sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw== + +"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" + integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== + dependencies: + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" + integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + +"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" + integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + +"@ethersproject/address@5.7.0", "@ethersproject/address@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" + integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== + dependencies: + "@ethersproject/bytes" "^5.7.0" + +"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" + integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + +"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.6.2", "@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.6.1", "@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" + integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + +"@ethersproject/contracts@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e" + integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg== + dependencies: + "@ethersproject/abi" "^5.7.0" + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + +"@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" + integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" + integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/pbkdf2" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/wordlists" "^5.7.0" + +"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" + integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hdnode" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/pbkdf2" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + aes-js "3.0.0" + scrypt-js "3.0.1" + +"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.7.0": + version "5.7.1" + resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" + integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" + integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + +"@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" + integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/providers@5.7.2": + version "5.7.2" + resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb" + integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + bech32 "1.1.4" + ws "7.4.6" + +"@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" + integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" + integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + hash.js "1.1.7" + +"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" + integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + bn.js "^5.2.1" + elliptic "6.5.4" + hash.js "1.1.7" + +"@ethersproject/solidity@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8" + integrity sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" + integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" + integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== + dependencies: + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + +"@ethersproject/units@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1" + integrity sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/wallet@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d" + integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/hdnode" "^5.7.0" + "@ethersproject/json-wallets" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/wordlists" "^5.7.0" + +"@ethersproject/web@5.7.1", "@ethersproject/web@^5.7.0": + version "5.7.1" + resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" + integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== + dependencies: + "@ethersproject/base64" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" + integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@humanwhocodes/config-array@^0.11.10": + version "0.11.10" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2" + integrity sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.5" + +"@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + +"@humanwhocodes/object-schema@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" + integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== + +"@iden3/bigarray@0.0.2": + version "0.0.2" + resolved "https://registry.yarnpkg.com/@iden3/bigarray/-/bigarray-0.0.2.tgz#6fc4ba5be18daf8a26ee393f2fb62b80d98c05e9" + integrity sha512-Xzdyxqm1bOFF6pdIsiHLLl3HkSLjbhqJHVyqaTxXt3RqXBEnmsUmEW47H7VOi/ak7TdkRpNkxjyK5Zbkm+y52g== + +"@iden3/binfileutils@0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@iden3/binfileutils/-/binfileutils-0.0.11.tgz#9ffbbcc1279f2b2182bb6dcff4eee8a5b2167911" + integrity sha512-LylnJoZ0CTdgErnKY8OxohvW4K+p6UHD3sxt+3P9AmMyBQjYR4IpoqoYZZ+9aMj89cmCQ21UvdhndAx04er3NA== + dependencies: + fastfile "0.0.20" + ffjavascript "^0.2.48" + +"@jridgewell/gen-mapping@^0.3.2": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@1.4.14": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.18" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" + integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + +"@json-rpc-tools/provider@^1.5.5": + version "1.7.6" + resolved "https://registry.yarnpkg.com/@json-rpc-tools/provider/-/provider-1.7.6.tgz#8a17c34c493fa892632e278fd9331104e8491ec6" + integrity sha512-z7D3xvJ33UfCGv77n40lbzOYjZKVM3k2+5cV7xS8G6SCvKTzMkhkUYuD/qzQUNT4cG/lv0e9mRToweEEVLVVmA== + dependencies: + "@json-rpc-tools/utils" "^1.7.6" + axios "^0.21.0" + safe-json-utils "^1.1.1" + ws "^7.4.0" + +"@json-rpc-tools/types@^1.7.6": + version "1.7.6" + resolved "https://registry.yarnpkg.com/@json-rpc-tools/types/-/types-1.7.6.tgz#5abd5fde01364a130c46093b501715bcce5bdc0e" + integrity sha512-nDSqmyRNEqEK9TZHtM15uNnDljczhCUdBmRhpNZ95bIPKEDQ+nTDmGMFd2lLin3upc5h2VVVd9tkTDdbXUhDIQ== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@json-rpc-tools/utils@^1.7.6": + version "1.7.6" + resolved "https://registry.yarnpkg.com/@json-rpc-tools/utils/-/utils-1.7.6.tgz#67f04987dbaa2e7adb6adff1575367b75a9a9ba1" + integrity sha512-HjA8x/U/Q78HRRe19yh8HVKoZ+Iaoo3YZjakJYxR+rw52NHo6jM+VE9b8+7ygkCFXl/EHID5wh/MkXaE/jGyYw== + dependencies: + "@json-rpc-tools/types" "^1.7.6" + "@pedrouid/environment" "^1.0.1" + +"@ledgerhq/connect-kit-loader@^1.0.1": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/connect-kit-loader/-/connect-kit-loader-1.1.0.tgz#10343b78ef13436818bf3453568a559c0eeb9d48" + integrity sha512-HUy12FEczoWY2FPubnsm1uOA8tkVWc0j90i47suThV3C9NL2xx69ZAIEU3Ytzs2bwLek9S1Q2S1VQJvA+3Ygkg== + +"@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.1.tgz#64df34e2f12e68e78ac57e571d25ec07fa460ca9" + integrity sha512-kXOeFbfCm4fFf2A3WwVEeQj55tMZa8c8/f9AKHMobQMkzNUfUj+antR3fRPaZJawsa1aZiP/Da3ndpZrwEe4rQ== + +"@lit/reactive-element@^1.3.0", "@lit/reactive-element@^1.6.0": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.6.2.tgz#c256690f82f2d7d0ffb0b1cdf68dcb1ec86cea28" + integrity sha512-rDfl+QnCYjuIGf5xI2sVJWdYIi56CTCwWa+nidKYX6oIuBYwUbT/vX4qbUDlHiZKJ/3FRNQ/tWJui44p6/stSA== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.0.0" + +"@metamask/safe-event-emitter@2.0.0", "@metamask/safe-event-emitter@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c" + integrity sha512-/kSXhY692qiV1MXu6EeOZvg5nECLclxNXcKCxJ3cXQgYuRymRHpdx/t7JXfsK+JLjwA1e1c1/SBrlQYpusC29Q== + +"@metamask/utils@^3.0.1": + version "3.6.0" + resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-3.6.0.tgz#b218b969a05ca7a8093b5d1670f6625061de707d" + integrity sha512-9cIRrfkWvHblSiNDVXsjivqa9Ak0RYo/1H6tqTqTbAx+oBK2Sva0lWDHxGchOqA7bySGUJKAWSNJvH6gdHZ0gQ== + dependencies: + "@types/debug" "^4.1.7" + debug "^4.3.4" + semver "^7.3.8" + superstruct "^1.0.3" + +"@motionone/animation@^10.12.0", "@motionone/animation@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.15.1.tgz#4a85596c31cbc5100ae8eb8b34c459fb0ccf6807" + integrity sha512-mZcJxLjHor+bhcPuIFErMDNyrdb2vJur8lSfMCsuCB4UyV8ILZLvK+t+pg56erv8ud9xQGK/1OGPt10agPrCyQ== + dependencies: + "@motionone/easing" "^10.15.1" + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" + tslib "^2.3.1" + +"@motionone/dom@10.12.0": + version "10.12.0" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.12.0.tgz#ae30827fd53219efca4e1150a5ff2165c28351ed" + integrity sha512-UdPTtLMAktHiqV0atOczNYyDd/d8Cf5fFsd1tua03PqTwwCe/6lwhLSQ8a7TbnQ5SN0gm44N1slBfj+ORIhrqw== + dependencies: + "@motionone/animation" "^10.12.0" + "@motionone/generators" "^10.12.0" + "@motionone/types" "^10.12.0" + "@motionone/utils" "^10.12.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/dom@^10.16.2": + version "10.16.2" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.16.2.tgz#0c44df8ee3d1cfc50ee11d27050b27824355a61a" + integrity sha512-bnuHdNbge1FutZXv+k7xub9oPWcF0hsu8y1HTH/qg6av58YI0VufZ3ngfC7p2xhMJMnoh0LXFma2EGTgPeCkeg== + dependencies: + "@motionone/animation" "^10.15.1" + "@motionone/generators" "^10.15.1" + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.15.1.tgz#95cf3adaef34da6deebb83940d8143ede3deb693" + integrity sha512-6hIHBSV+ZVehf9dcKZLT7p5PEKHGhDwky2k8RKkmOvUoYP3S+dXsKupyZpqx5apjd9f+php4vXk4LuS+ADsrWw== + dependencies: + "@motionone/utils" "^10.15.1" + tslib "^2.3.1" + +"@motionone/generators@^10.12.0", "@motionone/generators@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.15.1.tgz#dc6abb11139d1bafe758a41c134d4c753a9b871c" + integrity sha512-67HLsvHJbw6cIbLA/o+gsm7h+6D4Sn7AUrB/GPxvujse1cGZ38F5H7DzoH7PhX+sjvtDnt2IhFYF2Zp1QTMKWQ== + dependencies: + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" + tslib "^2.3.1" + +"@motionone/svelte@^10.16.2": + version "10.16.2" + resolved "https://registry.yarnpkg.com/@motionone/svelte/-/svelte-10.16.2.tgz#0b37c3b12927814d31d24941d1ca0ff49981b444" + integrity sha512-38xsroKrfK+aHYhuQlE6eFcGy0EwrB43Q7RGjF73j/kRUTcLNu/LAaKiLLsN5lyqVzCgTBVt4TMT/ShWbTbc5Q== + dependencies: + "@motionone/dom" "^10.16.2" + tslib "^2.3.1" + +"@motionone/types@^10.12.0", "@motionone/types@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.15.1.tgz#89441b54285012795cbba8612cbaa0fa420db3eb" + integrity sha512-iIUd/EgUsRZGrvW0jqdst8st7zKTzS9EsKkP+6c6n4MPZoQHwiHuVtTQLD6Kp0bsBLhNzKIBlHXponn/SDT4hA== + +"@motionone/utils@^10.12.0", "@motionone/utils@^10.15.1": + version "10.15.1" + resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.15.1.tgz#6b5f51bde75be88b5411e084310299050368a438" + integrity sha512-p0YncgU+iklvYr/Dq4NobTRdAPv9PveRDUXabPEeOjBLSO/1FNB2phNTZxOxpi1/GZwYpAoECEa0Wam+nsmhSw== + dependencies: + "@motionone/types" "^10.15.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/vue@^10.16.2": + version "10.16.2" + resolved "https://registry.yarnpkg.com/@motionone/vue/-/vue-10.16.2.tgz#faf13afc27620a2df870c71c58a04ee8de8dea65" + integrity sha512-7/dEK/nWQXOkJ70bqb2KyNfSWbNvWqKKq1C8juj+0Mg/AorgD8O5wE3naddK0G+aXuNMqRuc4jlsYHHWHtIzVw== + dependencies: + "@motionone/dom" "^10.16.2" + tslib "^2.3.1" + +"@nevermined-io/catalog@1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@nevermined-io/catalog/-/catalog-1.8.0.tgz#65a5563395f346f7880eda8ffd9487fd8a3e10b4" + integrity sha512-1R6eZxR+9bpaASpuogo2Owll2nOLrp2D0mlHSkIB/9vo1LLoQL5eismNXDybSIFu7rowiGGtraZvxa7nZDeCkQ== + dependencies: + "@nevermined-io/sdk" "^1.5.4" + "@nevermined-io/sdk-dtp" "^0.5.2" + "@types/jsonwebtoken" "^8.5.8" + axios "^0.27.2" + axios-retry "^3.3.1" + ethers "^5.6.9" + js-file-download "^0.4.12" + jsonwebtoken "^8.5.1" + +"@nevermined-io/providers@1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@nevermined-io/providers/-/providers-1.8.0.tgz#152d8023c50d3580afc0ce4832619b129f96d593" + integrity sha512-09JvKBvd98pymy9EDuvO+m3SBwb7hl8cALv8UiI3DompfwV4Cpjk/aVtJjstj2u0KC6EoZzT8ESbVx6MtG+cGw== + dependencies: + "@wagmi/core" "^0.8.15" + connectkit "^1.2.2" + ethers "^5.7.2" + wagmi "^0.12.10" + +"@nevermined-io/sdk-dtp@^0.5.2": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@nevermined-io/sdk-dtp/-/sdk-dtp-0.5.2.tgz#fd1cc81058e1c76c52503f5810058d14f9980269" + integrity sha512-Sz9OwSj1FZybomxpMm8Yjj0qgZv4vPZGIMtgnUxzYkUqgkaHty6GB0UfmCmmxI52hc+WhK8ZRENgLhjNI768cg== + dependencies: + "@nevermined-io/sdk" "^1.5.4" + circomlibjs "^0.1.1" + eciesjs "^0.3.15" + ffjavascript "^0.2.55" + node-rsa "^1.1.1" + snarkjs "^0.4.26" + web3-utils "^1.7.4" + +"@nevermined-io/sdk@^1.5.4": + version "1.5.4" + resolved "https://registry.yarnpkg.com/@nevermined-io/sdk/-/sdk-1.5.4.tgz#310d1268b712b496a120e3b639b6bab334d0cc3c" + integrity sha512-bv6eld2hvgk3BriVGoxT2A1KQ2niCShBTr0C2lWpOnWMsyUe2sLxMiXTwQM8dAKjWpcGB8g5D6ckehXtql261A== + dependencies: + "@nevermined-io/subgraphs" "0.5.1" + assert "^2.0.0" + codegen-graph-ts "npm:@nevermined-io/codegen-graph-ts@0.1.4" + crypto-browserify "^3.12.0" + deprecated-decorator "^0.1.6" + ethers "^5.6.9" + https-browserify "^1.0.0" + jose "^4.5.1" + js-file-download "^0.4.12" + node-fetch "^2.6.1" + os-browserify "^0.3.0" + path-browserify "^1.0.1" + save-file "^2.3.1" + stream-browserify "^3.0.0" + stream-http "^3.2.0" + url "^0.11.0" + uuid "^3.4.0" + whatwg-url "^7.1.0" + +"@nevermined-io/subgraphs@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@nevermined-io/subgraphs/-/subgraphs-0.5.1.tgz#04af20d9010f6d21ad2bb03cf1d630896ccd721e" + integrity sha512-uWrEZNiOaAMpeYa7jKq7smBujfBgQq/QfUUFCzBYHm384b/RPzmIL8+h7mrtln5+e3xzxw9PWZBpA2hnpKEVnw== + dependencies: + codegen-graph-ts "npm:@nevermined-io/codegen-graph-ts@0.1.4" + glob "^7.2.0" + js-yaml "^4.1.0" + +"@next/env@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.8.tgz#8048ef3c3d770a3f3d1dd51d159593acfbd4e517" + integrity sha512-twuSf1klb3k9wXI7IZhbZGtFCWvGD4wXTY2rmvzIgVhXhs7ISThrbNyutBx3jWIL8Y/Hk9+woytFz5QsgtcRKQ== + +"@next/eslint-plugin-next@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.4.8.tgz#2aa7a0bbfc87fbed5aa0e938d0d16dca85061ee4" + integrity sha512-cmfVHpxWjjcETFt2WHnoFU6EmY69QcPJRlRNAooQlNe53Ke90vg1Ci/dkPffryJZaxxiRziP9bQrV8lDVCn3Fw== + dependencies: + glob "7.1.7" + +"@next/swc-darwin-arm64@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.8.tgz#3838d7c96750b7f427ac47b97503fc013734f6e6" + integrity sha512-MSFplVM4dTWOuKAUv0XR9gY7AWtMSBu9os9f+kp+s5rWhM1I2CdR3obFttd6366nS/W/VZxbPM5oEIdlIa46zA== + +"@next/swc-darwin-x64@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.8.tgz#3de9c26a2ee7b189f22433bf8137256a2517f258" + integrity sha512-Reox+UXgonon9P0WNDE6w85DGtyBqGitl/ryznOvn6TvfxEaZIpTgeu3ZrJLU9dHSMhiK7YAM793mE/Zii2/Qw== + +"@next/swc-linux-arm64-gnu@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.8.tgz#9536314c931b9e78f20e4a424eace9993015c6e1" + integrity sha512-kdyzYvAYtqQVgzIKNN7e1rLU8aZv86FDSRqPlOkKZlvqudvTO0iohuTPmnEEDlECeBM6qRPShNffotDcU/R2KA== + +"@next/swc-linux-arm64-musl@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.8.tgz#a894ec6a078edd28f5cfab60593a61e05b6b605b" + integrity sha512-oWxx4yRkUGcR81XwbI+T0zhZ3bDF6V1aVLpG+C7hSG50ULpV8gC39UxVO22/bv93ZlcfMY4zl8xkz9Klct6dpQ== + +"@next/swc-linux-x64-gnu@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.8.tgz#b8af198dc0b4a8c64deb0494ae285e3e1a465910" + integrity sha512-anhtvuO6eE9YRhYnaEGTfbpH3L5gT/9qPFcNoi6xS432r/4DAtpJY8kNktqkTVevVIC/pVumqO8tV59PR3zbNg== + +"@next/swc-linux-x64-musl@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.8.tgz#d2ad24001020665a78405f595995c22750ec63c4" + integrity sha512-aR+J4wWfNgH1DwCCBNjan7Iumx0lLtn+2/rEYuhIrYLY4vnxqSVGz9u3fXcgUwo6Q9LT8NFkaqK1vPprdq+BXg== + +"@next/swc-win32-arm64-msvc@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.8.tgz#e5c4bfaa105fbe2bdb21a6d01467edd39a29cf37" + integrity sha512-OWBKIrJwQBTqrat0xhxEB/jcsjJR3+diD9nc/Y8F1mRdQzsn4bPsomgJyuqPVZs6Lz3K18qdIkvywmfSq75SsQ== + +"@next/swc-win32-ia32-msvc@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.8.tgz#c49c4d9f91845855bf544d5d14e8e13311da9931" + integrity sha512-agiPWGjUndXGTOn4ChbKipQXRA6/UPkywAWIkx7BhgGv48TiJfHTK6MGfBoL9tS6B4mtW39++uy0wFPnfD0JWg== + +"@next/swc-win32-x64-msvc@13.4.8": + version "13.4.8" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.8.tgz#22c5c8fa05680f2775a29c6c5a74cf04b8cc9d90" + integrity sha512-UIRKoByVKbuR6SnFG4JM8EMFlJrfEGuUQ1ihxzEleWcNwRMMiVaCj1KyqfTOW8VTQhJ0u8P1Ngg6q1RwnIBTtw== + +"@noble/curves@1.0.0", "@noble/curves@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.0.0.tgz#e40be8c7daf088aaf291887cbc73f43464a92932" + integrity sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw== + dependencies: + "@noble/hashes" "1.3.0" + +"@noble/curves@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.1.0.tgz#f13fc667c89184bc04cccb9b11e8e7bae27d8c3d" + integrity sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA== + dependencies: + "@noble/hashes" "1.3.1" + +"@noble/hashes@1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" + integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== + +"@noble/hashes@1.3.1", "@noble/hashes@^1.3.0", "@noble/hashes@~1.3.0": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" + integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@pedrouid/environment@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@pedrouid/environment/-/environment-1.0.1.tgz#858f0f8a057340e0b250398b75ead77d6f4342ec" + integrity sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug== + +"@pkgr/utils@^2.3.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.4.1.tgz#adf291d0357834c410ce80af16e711b56c7b1cd3" + integrity sha512-JOqwkgFEyi+OROIyq7l4Jy28h/WwhDnG/cPkXG2Z1iFbubB6jsHW1NDvmyOzTBxHr3yg68YGirmh1JUgMqa+9w== + dependencies: + cross-spawn "^7.0.3" + fast-glob "^3.2.12" + is-glob "^4.0.3" + open "^9.1.0" + picocolors "^1.0.0" + tslib "^2.5.0" + +"@rushstack/eslint-patch@^1.1.3": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.3.2.tgz#31b9c510d8cada9683549e1dbb4284cca5001faf" + integrity sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw== + +"@safe-global/safe-apps-provider@^0.15.2": + version "0.15.2" + resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-provider/-/safe-apps-provider-0.15.2.tgz#fa5c30140134e72bb969da76b80a16c545323e3a" + integrity sha512-BaoGAuY7h6jLBL7P+M6b7hd+1QfTv8uMyNF3udhiNUwA0XwfzH2ePQB13IEV3Mn7wdcIMEEUDS5kHbtAsj60qQ== + dependencies: + "@safe-global/safe-apps-sdk" "7.9.0" + events "^3.3.0" + +"@safe-global/safe-apps-sdk@7.9.0": + version "7.9.0" + resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-7.9.0.tgz#0c79a7760470bfdaf4cce9aa5bceef56898c7037" + integrity sha512-S2EI+JL8ocSgE3uGNaDZCzKmwfhtxXZFDUP76vN0FeaY35itFMyi8F0Vhxu0XnZm3yLzJE3tp5px6GhuQFLU6w== + dependencies: + "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" + ethers "^5.7.2" + +"@safe-global/safe-apps-sdk@^7.9.0": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-7.11.0.tgz#2cbc164fb70141cdf4d3331ff222cd98a2529316" + integrity sha512-RDamzPM1Lhhiiz0O+Dn6FkFqIh47jmZX+HCV/BBnBBOSKfBJE//IGD3+02zMgojXHTikQAburdPes9qmH1SA1A== + dependencies: + "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" + ethers "^5.7.2" + +"@safe-global/safe-gateway-typescript-sdk@^3.5.3": + version "3.7.3" + resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.7.3.tgz#68ec7d82711e2d0f82ce2e577b1df67ba8da2bed" + integrity sha512-O6JCgXNZWG0Vv8FnOEjKfcbsP0WxGvoPJk5ufqUrsyBlHup16It6oaLnn+25nXFLBZOHI1bz8429JlqAc2t2hg== + dependencies: + cross-fetch "^3.1.5" + +"@scure/base@~1.1.0": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" + integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== + +"@scure/bip32@1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.0.tgz#6c8d980ef3f290987736acd0ee2e0f0d50068d87" + integrity sha512-bcKpo1oj54hGholplGLpqPHRbIsnbixFtc06nwuNM5/dwSXOq/AAYoIBRsBmnZJSdfeNW5rnff7NTAz3ZCqR9Q== + dependencies: + "@noble/curves" "~1.0.0" + "@noble/hashes" "~1.3.0" + "@scure/base" "~1.1.0" + +"@scure/bip39@1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.0.tgz#a207e2ef96de354de7d0002292ba1503538fc77b" + integrity sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg== + dependencies: + "@noble/hashes" "~1.3.0" + "@scure/base" "~1.1.0" + +"@solana/buffer-layout@^4.0.0": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" + integrity sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA== + dependencies: + buffer "~6.0.3" + +"@solana/web3.js@^1.70.1": + version "1.77.3" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.77.3.tgz#2cbeaa1dd24f8fa386ac924115be82354dfbebab" + integrity sha512-PHaO0BdoiQRPpieC1p31wJsBaxwIOWLh8j2ocXNKX8boCQVldt26Jqm2tZE4KlrvnCIV78owPLv1pEUgqhxZ3w== + dependencies: + "@babel/runtime" "^7.12.5" + "@noble/curves" "^1.0.0" + "@noble/hashes" "^1.3.0" + "@solana/buffer-layout" "^4.0.0" + agentkeepalive "^4.2.1" + bigint-buffer "^1.1.5" + bn.js "^5.0.0" + borsh "^0.7.0" + bs58 "^4.0.1" + buffer "6.0.3" + fast-stable-stringify "^1.0.0" + jayson "^4.1.0" + node-fetch "^2.6.7" + rpc-websockets "^7.5.1" + superstruct "^0.14.2" + +"@stablelib/aead@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/aead/-/aead-1.0.1.tgz#c4b1106df9c23d1b867eb9b276d8f42d5fc4c0c3" + integrity sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg== + +"@stablelib/binary@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/binary/-/binary-1.0.1.tgz#c5900b94368baf00f811da5bdb1610963dfddf7f" + integrity sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q== + dependencies: + "@stablelib/int" "^1.0.1" + +"@stablelib/bytes@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/bytes/-/bytes-1.0.1.tgz#0f4aa7b03df3080b878c7dea927d01f42d6a20d8" + integrity sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ== + +"@stablelib/chacha20poly1305@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/chacha20poly1305/-/chacha20poly1305-1.0.1.tgz#de6b18e283a9cb9b7530d8767f99cde1fec4c2ee" + integrity sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA== + dependencies: + "@stablelib/aead" "^1.0.1" + "@stablelib/binary" "^1.0.1" + "@stablelib/chacha" "^1.0.1" + "@stablelib/constant-time" "^1.0.1" + "@stablelib/poly1305" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/chacha@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/chacha/-/chacha-1.0.1.tgz#deccfac95083e30600c3f92803a3a1a4fa761371" + integrity sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/constant-time@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/constant-time/-/constant-time-1.0.1.tgz#bde361465e1cf7b9753061b77e376b0ca4c77e35" + integrity sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg== + +"@stablelib/ed25519@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stablelib/ed25519/-/ed25519-1.0.3.tgz#f8fdeb6f77114897c887bb6a3138d659d3f35996" + integrity sha512-puIMWaX9QlRsbhxfDc5i+mNPMY+0TmQEskunY1rZEBPi1acBCVQAhnsk/1Hk50DGPtVsZtAWQg4NHGlVaO9Hqg== + dependencies: + "@stablelib/random" "^1.0.2" + "@stablelib/sha512" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/hash@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hash/-/hash-1.0.1.tgz#3c944403ff2239fad8ebb9015e33e98444058bc5" + integrity sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg== + +"@stablelib/hkdf@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hkdf/-/hkdf-1.0.1.tgz#b4efd47fd56fb43c6a13e8775a54b354f028d98d" + integrity sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g== + dependencies: + "@stablelib/hash" "^1.0.1" + "@stablelib/hmac" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/hmac@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hmac/-/hmac-1.0.1.tgz#3d4c1b8cf194cb05d28155f0eed8a299620a07ec" + integrity sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA== + dependencies: + "@stablelib/constant-time" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/int@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/int/-/int-1.0.1.tgz#75928cc25d59d73d75ae361f02128588c15fd008" + integrity sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w== + +"@stablelib/keyagreement@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz#4612efb0a30989deb437cd352cee637ca41fc50f" + integrity sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg== + dependencies: + "@stablelib/bytes" "^1.0.1" + +"@stablelib/poly1305@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/poly1305/-/poly1305-1.0.1.tgz#93bfb836c9384685d33d70080718deae4ddef1dc" + integrity sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA== + dependencies: + "@stablelib/constant-time" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c" + integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/sha256@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/sha256/-/sha256-1.0.1.tgz#77b6675b67f9b0ea081d2e31bda4866297a3ae4f" + integrity sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/sha512@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/sha512/-/sha512-1.0.1.tgz#6da700c901c2c0ceacbd3ae122a38ac57c72145f" + integrity sha512-13gl/iawHV9zvDKciLo1fQ8Bgn2Pvf7OV6amaRVKiq3pjQ3UmEpXxWiAfV8tYjUpeZroBxtyrwtdooQT/i3hzw== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/wipe@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" + integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== + +"@stablelib/x25519@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd" + integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw== + dependencies: + "@stablelib/keyagreement" "^1.0.1" + "@stablelib/random" "^1.0.2" + "@stablelib/wipe" "^1.0.1" + +"@swc/helpers@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.1.tgz#e9031491aa3f26bfcc974a67f48bd456c8a5357a" + integrity sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg== + dependencies: + tslib "^2.4.0" + +"@synthetixio/wei@^2.47.0-ovm.5": + version "2.74.4" + resolved "https://registry.yarnpkg.com/@synthetixio/wei/-/wei-2.74.4.tgz#490be861c38e71e098e28f915fdce959cd007b74" + integrity sha512-mecIlBsNv9fRmr4ZdmApnlyku1ZRLTx6DAKx96zfUxRaBq7O/q9eETAXdWwq687xdh40SaVPOu3vpS0Kt7+P2g== + dependencies: + "@ethersproject/bignumber" "^5.6.2" + "@ethersproject/bytes" "^5.6.1" + big.js "^6.1.1" + +"@tanstack/query-core@4.29.19": + version "4.29.19" + resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.29.19.tgz#49ccbd0606633d1e55baf3b91ab7cc7aef411b1d" + integrity sha512-uPe1DukeIpIHpQi6UzIgBcXsjjsDaLnc7hF+zLBKnaUlh7jFE/A+P8t4cU4VzKPMFB/C970n/9SxtpO5hmIRgw== + +"@tanstack/query-persist-client-core@4.29.19": + version "4.29.19" + resolved "https://registry.yarnpkg.com/@tanstack/query-persist-client-core/-/query-persist-client-core-4.29.19.tgz#c0cd03eca74d33e5aa40c95cadd5585620ff2320" + integrity sha512-rr6p3xwEZCz3cEDZsj3QGePf6PG44WxRUGQVcm2JFPZOq9TkG/0i5+hQ3STiHm1Fj6qwCH8xIi62L8kG0zRj/Q== + dependencies: + "@tanstack/query-core" "4.29.19" + +"@tanstack/query-sync-storage-persister@^4.27.1": + version "4.29.19" + resolved "https://registry.yarnpkg.com/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-4.29.19.tgz#292d33cdc9b38b11127f2f07b1935a73039cbba4" + integrity sha512-B3wDl3D3YBFTlY2yeXecEh4NEG/8Hr8pqsxnWJijRwBqvOKlqD4bUgk5kl5nbn1mShD2vnQ+yvH900/11X29Zw== + dependencies: + "@tanstack/query-persist-client-core" "4.29.19" + +"@tanstack/react-query-persist-client@^4.28.0": + version "4.29.19" + resolved "https://registry.yarnpkg.com/@tanstack/react-query-persist-client/-/react-query-persist-client-4.29.19.tgz#27b24ec5c8983894d6f23450e2f922d07f47706f" + integrity sha512-LfcasTosdnI9K66HTP0Rk72Ypza3tCgrcF9bc2qFlKsBleYOYo8bz7/GiiOHj1SQH4GRQlKB+P4+/it+qlJg4g== + dependencies: + "@tanstack/query-persist-client-core" "4.29.19" + +"@tanstack/react-query@^4.28.0": + version "4.29.19" + resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.29.19.tgz#6ba187f2d0ea36ae83ff1f67068f53c88ce7b228" + integrity sha512-XiTIOHHQ5Cw1WUlHaD4fmVUMhoWjuNJlAeJGq7eM4BraI5z7y8WkZO+NR8PSuRnQGblpuVdjClQbDFtwxTtTUw== + dependencies: + "@tanstack/query-core" "4.29.19" + use-sync-external-store "^1.2.0" + +"@types/bn.js@^5.1.0": + version "5.1.1" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" + integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== + dependencies: + "@types/node" "*" + +"@types/connect@^3.4.33": + version "3.4.35" + resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" + integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== + dependencies: + "@types/node" "*" + +"@types/debug@^4.1.7": + version "4.1.8" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.8.tgz#cef723a5d0a90990313faec2d1e22aee5eecb317" + integrity sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ== + dependencies: + "@types/ms" "*" + +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" + integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== + +"@types/jsonwebtoken@^8.5.8": + version "8.5.9" + resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-8.5.9.tgz#2c064ecb0b3128d837d2764aa0b117b0ff6e4586" + integrity sha512-272FMnFGzAVMGtu9tkr29hRL6bZj4Zs1KZNeHLnKqAvp06tAIcarTMwOh8/8bz4FmKRcMxZhZNeUAQsNLoiPhg== + dependencies: + "@types/node" "*" + +"@types/ms@*": + version "0.7.31" + resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" + integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== + +"@types/node@*", "@types/node@20.3.3": + version "20.3.3" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.3.3.tgz#329842940042d2b280897150e023e604d11657d6" + integrity sha512-wheIYdr4NYML61AjC8MKj/2jrR/kDQri/CIpVoZwldwhnIrD/j9jIU5bJ8yBKuB2VhpFV7Ab6G2XkBjv9r9Zzw== + +"@types/node@^12.12.54": + version "12.20.55" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" + integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== + +"@types/pbkdf2@^3.0.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@types/pbkdf2/-/pbkdf2-3.1.0.tgz#039a0e9b67da0cdc4ee5dab865caa6b267bb66b1" + integrity sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ== + dependencies: + "@types/node" "*" + +"@types/prop-types@*": + version "15.7.5" + resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" + integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== + +"@types/react-dom@18.2.6": + version "18.2.6" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.6.tgz#ad621fa71a8db29af7c31b41b2ea3d8a6f4144d1" + integrity sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A== + dependencies: + "@types/react" "*" + +"@types/react@*", "@types/react@18.2.14": + version "18.2.14" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.14.tgz#fa7a6fecf1ce35ca94e74874f70c56ce88f7a127" + integrity sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + +"@types/scheduler@*": + version "0.16.3" + resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.3.tgz#cef09e3ec9af1d63d2a6cc5b383a737e24e6dcf5" + integrity sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ== + +"@types/secp256k1@^4.0.1", "@types/secp256k1@^4.0.3": + version "4.0.3" + resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.3.tgz#1b8e55d8e00f08ee7220b4d59a6abe89c37a901c" + integrity sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w== + dependencies: + "@types/node" "*" + +"@types/trusted-types@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.3.tgz#a136f83b0758698df454e328759dbd3d44555311" + integrity sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g== + +"@types/ws@^7.4.4": + version "7.4.7" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.7.tgz#f7c390a36f7a0679aa69de2d501319f4f8d9b702" + integrity sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww== + dependencies: + "@types/node" "*" + +"@typescript-eslint/parser@^5.42.0": + version "5.61.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.61.0.tgz#7fbe3e2951904bb843f8932ebedd6e0635bffb70" + integrity sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg== + dependencies: + "@typescript-eslint/scope-manager" "5.61.0" + "@typescript-eslint/types" "5.61.0" + "@typescript-eslint/typescript-estree" "5.61.0" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.61.0": + version "5.61.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz#b670006d069c9abe6415c41f754b1b5d949ef2b2" + integrity sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw== + dependencies: + "@typescript-eslint/types" "5.61.0" + "@typescript-eslint/visitor-keys" "5.61.0" + +"@typescript-eslint/types@5.61.0": + version "5.61.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.61.0.tgz#e99ff11b5792d791554abab0f0370936d8ca50c0" + integrity sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ== + +"@typescript-eslint/typescript-estree@5.61.0": + version "5.61.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz#4c7caca84ce95bb41aa585d46a764bcc050b92f3" + integrity sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw== + dependencies: + "@typescript-eslint/types" "5.61.0" + "@typescript-eslint/visitor-keys" "5.61.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/visitor-keys@5.61.0": + version "5.61.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz#c79414fa42158fd23bd2bb70952dc5cdbb298140" + integrity sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg== + dependencies: + "@typescript-eslint/types" "5.61.0" + eslint-visitor-keys "^3.3.0" + +"@wagmi/chains@0.1.14": + version "0.1.14" + resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-0.1.14.tgz#2740762f2719df2c69c63ab30b67fdf4bef70305" + integrity sha512-hSzb6Ni/PejVzliKkc5T3ehzRJxr5k4fZMGYuouqwArWQ8z7R4jrIlm2j2nNOD7Epz6ZucdiVluU1YH0d/EEyw== + +"@wagmi/chains@0.2.22": + version "0.2.22" + resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-0.2.22.tgz#25e511e134a00742e4fbf5108613dadf876c5bd9" + integrity sha512-TdiOzJT6TO1JrztRNjTA5Quz+UmQlbvWFG8N41u9tta0boHA1JCAzGGvU6KuIcOmJfRJkKOUIt67wlbopCpVHg== + +"@wagmi/chains@1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.2.0.tgz#d59eaa70ec51a5fdcd113975926992acfb17ab12" + integrity sha512-dmDRipsE54JfyudOBkuhEexqQWcrZqxn/qiujG8SBzMh/az/AH5xlJSA+j1CPWTx9+QofSMF3B7A4gb6XRmSaQ== + +"@wagmi/connectors@0.1.10": + version "0.1.10" + resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-0.1.10.tgz#101a25fae908f29cc28caede0dde958711119adb" + integrity sha512-kEFzqNlB+EEl4gcvTMYZOSGlWXn53YGIiAsvXnqo3MEim4ZfTqcNZ71NV+DVmQu+N+F09wvq2FkbLO4lLVB78g== + dependencies: + "@coinbase/wallet-sdk" "^3.5.4" + "@ledgerhq/connect-kit-loader" "^1.0.1" + "@walletconnect/ethereum-provider" "^1.8.0" + "@walletconnect/universal-provider" "^2.2.1" + "@web3modal/standalone" "^2.0.0-rc.2" + eventemitter3 "^4.0.7" + +"@wagmi/connectors@0.3.22": + version "0.3.22" + resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-0.3.22.tgz#c06381c14353d6911b7e21b5cdfd7c94dbbbc50b" + integrity sha512-1SxkKNDMhhSdVWTDaTBdwUBnT5EO89AmTe6Uqa+xtgb2LeqoRLfwkvhZk3z1/e6+f+zA3MWPtRmtIRe/LXYAIQ== + dependencies: + "@coinbase/wallet-sdk" "^3.6.6" + "@ledgerhq/connect-kit-loader" "^1.0.1" + "@safe-global/safe-apps-provider" "^0.15.2" + "@safe-global/safe-apps-sdk" "^7.9.0" + "@walletconnect/ethereum-provider" "2.8.4" + "@walletconnect/legacy-provider" "^2.0.0" + "@walletconnect/modal" "^2.5.4" + abitype "^0.3.0" + eventemitter3 "^4.0.7" + +"@wagmi/core@0.10.16": + version "0.10.16" + resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-0.10.16.tgz#816eb84504acff08a7d1f146544d02d38e7adb20" + integrity sha512-x4FxnXDSv9VpYRHT3+MMBs3cqeU02AFejHt7C+Ds1Pr1dyRF6CoTM0o1OmEk+ikKaFjX68+JhydZ9ZaIYevzRw== + dependencies: + "@wagmi/chains" "0.2.22" + "@wagmi/connectors" "0.3.22" + abitype "^0.3.0" + eventemitter3 "^4.0.7" + zustand "^4.3.1" + +"@wagmi/core@^0.8.15": + version "0.8.19" + resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-0.8.19.tgz#5be36bae1e57da60bc3c3c63cc3d94b343337e7b" + integrity sha512-B1iXB4MRjxgoybZATRmBI7YEfUhpIl3aZGUjo5GXPU1SNtlXIA4/3wePlmLD64XzICXVBp99kynrrdlvJxc4gw== + dependencies: + "@wagmi/chains" "0.1.14" + "@wagmi/connectors" "0.1.10" + abitype "^0.2.5" + eventemitter3 "^4.0.7" + zustand "^4.3.1" + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.4.tgz#fc207c8fa35a53e30012b0c85b6ca933cec7d955" + integrity sha512-3CQHud4As0kPRvlW1w/wSWS2F3yXlAo5kSEJyRWLRPqXG+aSCVWM8cVM8ch5yoeyNIfOHhEINdsYMuJG1+yIJQ== + dependencies: + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-provider" "1.0.13" + "@walletconnect/jsonrpc-types" "1.0.3" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/jsonrpc-ws-connection" "^1.0.11" + "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/relay-api" "^1.0.9" + "@walletconnect/relay-auth" "^1.0.4" + "@walletconnect/safe-json" "^1.0.2" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.8.4" + "@walletconnect/utils" "2.8.4" + events "^3.3.0" + lodash.isequal "4.5.0" + uint8arrays "^3.1.0" + +"@walletconnect/core@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.6.tgz#1db6acae36437dbe7357be7767f1faeda5d4ca6c" + integrity sha512-rnSqm1KJLcww/v6+UH8JeibQkJ3EKgyUDPfEK0stSEkrIUIcXaFlq3Et8S+vgV8bPhI0MVUhAhFL5OJZ3t2ryg== + dependencies: + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-provider" "1.0.13" + "@walletconnect/jsonrpc-types" "1.0.3" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/jsonrpc-ws-connection" "^1.0.11" + "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/relay-api" "^1.0.9" + "@walletconnect/relay-auth" "^1.0.4" + "@walletconnect/safe-json" "^1.0.2" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" + events "^3.3.0" + lodash.isequal "4.5.0" + uint8arrays "^3.1.0" + +"@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2", "@walletconnect/crypto@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.3.tgz#7b8dd4d7e2884fe3543c7c07aea425eef5ef9dd4" + integrity sha512-+2jdORD7XQs76I2Odgr3wwrtyuLUXD/kprNVsjWRhhhdO9Mt6WqVzOPu0/t7OHSmgal8k7SoBQzUc5hu/8zL/g== + dependencies: + "@walletconnect/encoding" "^1.0.2" + "@walletconnect/environment" "^1.0.1" + "@walletconnect/randombytes" "^1.0.3" + aes-js "^3.1.2" + hash.js "^1.1.7" + tslib "1.14.1" + +"@walletconnect/encoding@^1.0.1", "@walletconnect/encoding@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.2.tgz#cb3942ad038d6a6bf01158f66773062dd25724da" + integrity sha512-CrwSBrjqJ7rpGQcTL3kU+Ief+Bcuu9PH6JLOb+wM6NITX1GTxR/MfNwnQfhLKK6xpRAyj2/nM04OOH6wS8Imag== + dependencies: + is-typedarray "1.0.0" + tslib "1.14.1" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.1.tgz#1d7f82f0009ab821a2ba5ad5e5a7b8ae3b214cd7" + integrity sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg== + dependencies: + tslib "1.14.1" + +"@walletconnect/ethereum-provider@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.4.tgz#c627c237b479194efc542b8475596bae12fde52d" + integrity sha512-z7Yz4w8t3eEFv8vQ8DLCgDWPah2aIIyC0iQdwhXgJenQTVuz7JJZRrJUUntzudipHK/owA394c1qTPF0rsMSeQ== + dependencies: + "@walletconnect/jsonrpc-http-connection" "^1.0.7" + "@walletconnect/jsonrpc-provider" "^1.0.13" + "@walletconnect/jsonrpc-types" "^1.0.3" + "@walletconnect/jsonrpc-utils" "^1.0.8" + "@walletconnect/sign-client" "2.8.4" + "@walletconnect/types" "2.8.4" + "@walletconnect/universal-provider" "2.8.4" + "@walletconnect/utils" "2.8.4" + events "^3.3.0" + +"@walletconnect/ethereum-provider@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-1.8.0.tgz#ed1dbf9cecc3b818758a060d2f9017c50bde1d32" + integrity sha512-Nq9m+oo5P0F+njsROHw9KMWdoc/8iGHYzQdkjJN/1C7DtsqFRg5k5a3hd9rzCLpbPsOC1q8Z5lRs6JQgDvPm6Q== + dependencies: + "@walletconnect/client" "^1.8.0" + "@walletconnect/jsonrpc-http-connection" "^1.0.2" + "@walletconnect/jsonrpc-provider" "^1.0.5" + "@walletconnect/signer-connection" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + eip1193-provider "1.0.1" + eventemitter3 "4.0.7" + +"@walletconnect/events@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c" + integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ== + dependencies: + keyvaluestorage-interface "^1.0.0" + tslib "1.14.1" + +"@walletconnect/heartbeat@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.1.tgz#afaa3a53232ae182d7c9cff41c1084472d8f32e9" + integrity sha512-yVzws616xsDLJxuG/28FqtZ5rzrTA4gUjdEMTbWB5Y8V1XHRmqq4efAxCw5ie7WjbXFSUyBHaWlMR+2/CpQC5Q== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/time" "^1.0.2" + tslib "1.14.1" + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-http-connection@^1.0.2", "@walletconnect/jsonrpc-http-connection@^1.0.4", "@walletconnect/jsonrpc-http-connection@^1.0.7": + version "1.0.7" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.7.tgz#a6973569b8854c22da707a759d241e4f5c2d5a98" + integrity sha512-qlfh8fCfu8LOM9JRR9KE0s0wxP6ZG9/Jom8M0qsoIQeKF3Ni0FyV4V1qy/cc7nfI46SLQLSl4tgWSfLiE1swyQ== + dependencies: + "@walletconnect/jsonrpc-utils" "^1.0.6" + "@walletconnect/safe-json" "^1.0.1" + cross-fetch "^3.1.4" + tslib "1.14.1" + +"@walletconnect/jsonrpc-provider@1.0.13", "@walletconnect/jsonrpc-provider@^1.0.13", "@walletconnect/jsonrpc-provider@^1.0.5", "@walletconnect/jsonrpc-provider@^1.0.6": + version "1.0.13" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.13.tgz#9a74da648d015e1fffc745f0c7d629457f53648b" + integrity sha512-K73EpThqHnSR26gOyNEL+acEex3P7VWZe6KE12ZwKzAt2H4e5gldZHbjsu2QR9cLeJ8AXuO7kEMOIcRv1QEc7g== + dependencies: + "@walletconnect/jsonrpc-utils" "^1.0.8" + "@walletconnect/safe-json" "^1.0.2" + tslib "1.14.1" + +"@walletconnect/jsonrpc-types@1.0.3", "@walletconnect/jsonrpc-types@^1.0.1", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c" + integrity sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw== + dependencies: + keyvaluestorage-interface "^1.0.0" + tslib "1.14.1" + +"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.3", "@walletconnect/jsonrpc-utils@^1.0.4", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.7", "@walletconnect/jsonrpc-utils@^1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72" + integrity sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw== + dependencies: + "@walletconnect/environment" "^1.0.1" + "@walletconnect/jsonrpc-types" "^1.0.3" + tslib "1.14.1" + +"@walletconnect/jsonrpc-ws-connection@^1.0.11": + version "1.0.12" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.12.tgz#2192314884fabdda6d0a9d22e157e5b352025ed8" + integrity sha512-HAcadga3Qjt1Cqy+qXEW6zjaCs8uJGdGQrqltzl3OjiK4epGZRdvSzTe63P+t/3z+D2wG+ffEPn0GVcDozmN1w== + dependencies: + "@walletconnect/jsonrpc-utils" "^1.0.6" + "@walletconnect/safe-json" "^1.0.2" + events "^3.3.0" + tslib "1.14.1" + ws "^7.5.1" + +"@walletconnect/keyvaluestorage@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.2.tgz#92f5ca0f54c1a88a093778842ce0c874d86369c8" + integrity sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ== + dependencies: + safe-json-utils "^1.1.1" + tslib "1.14.1" + +"@walletconnect/legacy-client@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/legacy-client/-/legacy-client-2.0.0.tgz#9f2c09694789fd4b6c5d68d6423b44bac55aed30" + integrity sha512-v5L7rYk9loVnfvUf0mF+76bUPFaU5/Vh7mzL6/950CD/yoGdzYZ3Kj+L7mkC6HPMEGeQsBP1+sqBuiVGZ/aODA== + dependencies: + "@walletconnect/crypto" "^1.0.3" + "@walletconnect/encoding" "^1.0.2" + "@walletconnect/jsonrpc-utils" "^1.0.4" + "@walletconnect/legacy-types" "^2.0.0" + "@walletconnect/legacy-utils" "^2.0.0" + "@walletconnect/safe-json" "^1.0.1" + "@walletconnect/window-getters" "^1.0.1" + "@walletconnect/window-metadata" "^1.0.1" + detect-browser "^5.3.0" + query-string "^6.13.5" + +"@walletconnect/legacy-modal@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/legacy-modal/-/legacy-modal-2.0.0.tgz#d0fab01a1337a8f5d88cdb1430cbef2d46072bbf" + integrity sha512-jckNd8lMhm4X7dX9TDdxM3bXKJnaqkRs6K2Mo5j6GmbIF9Eyx40jZ5+q457RVxvM6ciZEDT5s1wBHWdWoOo+9Q== + dependencies: + "@walletconnect/legacy-types" "^2.0.0" + "@walletconnect/legacy-utils" "^2.0.0" + copy-to-clipboard "^3.3.3" + preact "^10.12.0" + qrcode "^1.5.1" + +"@walletconnect/legacy-provider@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/legacy-provider/-/legacy-provider-2.0.0.tgz#08e2db1e4c234743b2f30422bc8100bc42e8fc44" + integrity sha512-A8xPebMI1A+50HbWwTpFCbwP7G+1NGKdTKyg8BUUg3h3Y9JucpC1W6w/x0v1Xw7qFEqQnz74LoIN/A3ytH9xrQ== + dependencies: + "@walletconnect/jsonrpc-http-connection" "^1.0.4" + "@walletconnect/jsonrpc-provider" "^1.0.6" + "@walletconnect/legacy-client" "^2.0.0" + "@walletconnect/legacy-modal" "^2.0.0" + "@walletconnect/legacy-types" "^2.0.0" + "@walletconnect/legacy-utils" "^2.0.0" + +"@walletconnect/legacy-types@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/legacy-types/-/legacy-types-2.0.0.tgz#224278ae2874c6a2ca805c2d1d062a511dcf7227" + integrity sha512-sOVrA7HUdbI1OwKyPOQU0/DdvTSVFlsXWpAk2K2WvP2erTkBWPMTJq6cv2BmKdoJ3p6gLApT7sd+jHi3OF71uw== + dependencies: + "@walletconnect/jsonrpc-types" "^1.0.2" + +"@walletconnect/legacy-utils@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/legacy-utils/-/legacy-utils-2.0.0.tgz#e3a637c00783f9cd2ae139b640f82223ab78ed9d" + integrity sha512-CPWxSVVXw0kgNCxvU126g4GiV3mzXmC8IPJ15twE46aJ1FX+RHEIfAzFMFz2F2+fEhBxL63A7dwNQKDXorRPcQ== + dependencies: + "@walletconnect/encoding" "^1.0.2" + "@walletconnect/jsonrpc-utils" "^1.0.4" + "@walletconnect/legacy-types" "^2.0.0" + "@walletconnect/safe-json" "^1.0.1" + "@walletconnect/window-getters" "^1.0.1" + "@walletconnect/window-metadata" "^1.0.1" + detect-browser "^5.3.0" + query-string "^6.13.5" + +"@walletconnect/logger@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.0.1.tgz#7f489b96e9a1ff6bf3e58f0fbd6d69718bf844a8" + integrity sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ== + dependencies: + pino "7.11.0" + tslib "1.14.1" + +"@walletconnect/mobile-registry@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz#502cf8ab87330841d794819081e748ebdef7aee5" + integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw== + +"@walletconnect/modal-core@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.9.tgz#45e0c25320d42855aaac39e6ba256a84f972b871" + integrity sha512-isIebwF9hOknGouhS/Ob4YJ9Sa/tqNYG2v6Ua9EkCqIoLimepkG5eC53tslUWW29SLSfQ9qqBNG2+iE7yQXqgw== + dependencies: + buffer "6.0.3" + valtio "1.10.6" + +"@walletconnect/modal-ui@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.9.tgz#4d07f1697147ec9f75d85d93f564cadae05a5e59" + integrity sha512-nfBaAT9Ls7RZTBBgAq+Nt/3AoUcinIJ9bcq5UHXTV3lOPu/qCKmUC/0HY3GvUK8ykabUAsjr0OAGmcqkB91qug== + dependencies: + "@walletconnect/modal-core" "2.5.9" + lit "2.7.5" + motion "10.16.2" + qrcode "1.5.3" + +"@walletconnect/modal@^2.5.4": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.9.tgz#28840f2a46bcd0a47c5fda60d18a5f1607a92a72" + integrity sha512-Zs2RvPwbBNRdBhb50FuJCxi3FJltt1KSpI7odjU/x9GTpTOcSOkmR66PBCy2JvNA0+ztnS1Xs0LVEr3lu7/Jzw== + dependencies: + "@walletconnect/modal-core" "2.5.9" + "@walletconnect/modal-ui" "2.5.9" + +"@walletconnect/qrcode-modal@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.8.0.tgz#ddd6f5c9b7ee52c16adf9aacec2a3eac4994caea" + integrity sha512-BueaFefaAi8mawE45eUtztg3ZFbsAH4DDXh1UNwdUlsvFMjqcYzLUG0xZvDd6z2eOpbgDg2N3bl6gF0KONj1dg== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/mobile-registry" "^1.4.0" + "@walletconnect/types" "^1.8.0" + copy-to-clipboard "^3.3.1" + preact "10.4.1" + qrcode "1.4.4" + +"@walletconnect/randombytes@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.3.tgz#e795e4918367fd1e6a2215e075e64ab93e23985b" + integrity sha512-35lpzxcHFbTN3ABefC9W+uBpNZl1GC4Wpx0ed30gibfO/y9oLdy1NznbV96HARQKSBV9J9M/rrtIvf6a23jfYw== + dependencies: + "@walletconnect/encoding" "^1.0.2" + "@walletconnect/environment" "^1.0.1" + randombytes "^2.1.0" + tslib "1.14.1" + +"@walletconnect/relay-api@^1.0.9": + version "1.0.9" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.9.tgz#f8c2c3993dddaa9f33ed42197fc9bfebd790ecaf" + integrity sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg== + dependencies: + "@walletconnect/jsonrpc-types" "^1.0.2" + tslib "1.14.1" + +"@walletconnect/relay-auth@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c" + integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ== + dependencies: + "@stablelib/ed25519" "^1.0.2" + "@stablelib/random" "^1.0.1" + "@walletconnect/safe-json" "^1.0.1" + "@walletconnect/time" "^1.0.2" + tslib "1.14.1" + uint8arrays "^3.0.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77" + integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA== + dependencies: + tslib "1.14.1" + +"@walletconnect/sign-client@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.4.tgz#35e7cfe9442c65d7f667a7c20f1a5ee7e2a6e576" + integrity sha512-eRvWtKBAgzo/rbIkw+rkKco2ulSW8Wor/58UsOBsl9DKr1rIazZd4ZcUdaTjg9q8AT1476IQakCAIuv+1FvJwQ== + dependencies: + "@walletconnect/core" "2.8.4" + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.8.4" + "@walletconnect/utils" "2.8.4" + events "^3.3.0" + +"@walletconnect/sign-client@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.6.tgz#7c83fa769d0403efd05172c72bd6b5f678e67a69" + integrity sha512-rOFTKTHP7oJfXgYHX7+SdB8VbcsEE3ZFG/bMdmZboWaBim1mrY3vUyDdKrNr0VgI3AwBiEQezQDfKxBX0pMSQQ== + dependencies: + "@walletconnect/core" "2.8.6" + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" + events "^3.3.0" + +"@walletconnect/signer-connection@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-1.8.0.tgz#6cdf490df770e504cc1a550bdb5bac7696b130bc" + integrity sha512-+YAaTAP52MWZJ2wWnqKClKCPlPHBo6reURFe0cWidLADh9mi/kPWGALZ5AENK22zpem1bbKV466rF5Rzvu0ehA== + dependencies: + "@walletconnect/client" "^1.8.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/qrcode-modal" "^1.8.0" + "@walletconnect/types" "^1.8.0" + eventemitter3 "4.0.7" + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/time@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523" + integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g== + dependencies: + tslib "1.14.1" + +"@walletconnect/types@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.4.tgz#23fad8593b094c7564d72f179e33b1cac9324a88" + integrity sha512-Fgqe87R7rjMOGSvx28YPLTtXM6jj+oUOorx8cE+jEw2PfpWp5myF21aCdaMBR39h0QHij5H1Z0/W9e7gm4oC1Q== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-types" "1.0.3" + "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/logger" "^2.0.1" + events "^3.3.0" + +"@walletconnect/types@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.6.tgz#71426144db3fa693170a95f89f5d6e594ab2d901" + integrity sha512-Z/PFa3W1XdxeTcCtdR6lUsFgZfU/69wWJBPyclPwn7cu1+eriuCr6XZXQpJjib3flU+HnwHiXeUuqZaheehPxw== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-types" "1.0.3" + "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/logger" "^2.0.1" + events "^3.3.0" + +"@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/universal-provider@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.4.tgz#7b62a76a7d99ea41c67374da54aaa4f1b4bc1d03" + integrity sha512-JRpOXKIciRMzd03zZxM1WDsYHo/ZS86zZrZ1aCHW1d45ZLP7SbGPRHzZgBY3xrST26yTvWIlRfTUEYn50fzB1g== + dependencies: + "@walletconnect/jsonrpc-http-connection" "^1.0.7" + "@walletconnect/jsonrpc-provider" "1.0.13" + "@walletconnect/jsonrpc-types" "^1.0.2" + "@walletconnect/jsonrpc-utils" "^1.0.7" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/sign-client" "2.8.4" + "@walletconnect/types" "2.8.4" + "@walletconnect/utils" "2.8.4" + events "^3.3.0" + +"@walletconnect/universal-provider@^2.2.1": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.6.tgz#f23640147f184c9a794a595db2d4f7b782ffdbfa" + integrity sha512-ln1RVv8+oHu9enOJ/oVkjiarneB+4vJCk16znOklIN2JtDHwB8iObDHlQH3UE6ynNTw1iRvaGuPR4g+YdIfB6w== + dependencies: + "@walletconnect/jsonrpc-http-connection" "^1.0.7" + "@walletconnect/jsonrpc-provider" "1.0.13" + "@walletconnect/jsonrpc-types" "^1.0.2" + "@walletconnect/jsonrpc-utils" "^1.0.7" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/sign-client" "2.8.6" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" + events "^3.3.0" + +"@walletconnect/utils@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.4.tgz#8dbd3beaef39388be2398145a5f9a061a0317518" + integrity sha512-NGw6BINYNeT9JrQrnxldAPheO2ymRrwGrgfExZMyrkb1MShnIX4nzo4KirKInM4LtrY6AA/v0Lu3ooUdfO+xIg== + dependencies: + "@stablelib/chacha20poly1305" "1.0.1" + "@stablelib/hkdf" "1.0.1" + "@stablelib/random" "^1.0.2" + "@stablelib/sha256" "1.0.1" + "@stablelib/x25519" "^1.0.3" + "@walletconnect/relay-api" "^1.0.9" + "@walletconnect/safe-json" "^1.0.2" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.8.4" + "@walletconnect/window-getters" "^1.0.1" + "@walletconnect/window-metadata" "^1.0.1" + detect-browser "5.3.0" + query-string "7.1.3" + uint8arrays "^3.1.0" + +"@walletconnect/utils@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.6.tgz#8a4f6b19525e33822f8da1aa94c4eef21482eeda" + integrity sha512-wcy6e5+COYo7tfNnW8YqidnATdJDIW6vDiWWE7A1F78Sl/VflkaevB9cIgyn8eLdxC1SxXgGoeC2oLP90nnHJg== + dependencies: + "@stablelib/chacha20poly1305" "1.0.1" + "@stablelib/hkdf" "1.0.1" + "@stablelib/random" "^1.0.2" + "@stablelib/sha256" "1.0.1" + "@stablelib/x25519" "^1.0.3" + "@walletconnect/relay-api" "^1.0.9" + "@walletconnect/safe-json" "^1.0.2" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.8.6" + "@walletconnect/window-getters" "^1.0.1" + "@walletconnect/window-metadata" "^1.0.1" + detect-browser "5.3.0" + query-string "7.1.3" + uint8arrays "^3.1.0" + +"@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-getters@^1.0.0", "@walletconnect/window-getters@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc" + integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q== + dependencies: + tslib "1.14.1" + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@walletconnect/window-metadata@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5" + integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA== + dependencies: + "@walletconnect/window-getters" "^1.0.1" + tslib "1.14.1" + +"@web3modal/core@2.4.3": + version "2.4.3" + resolved "https://registry.yarnpkg.com/@web3modal/core/-/core-2.4.3.tgz#ea6d3911e52a132c70defb7584f869d09a8af974" + integrity sha512-7Z/sDe9RIYQ2k9ITcxgEa/u7FvlI76vcVVZn9UY4ISivefqrH4JAS3GX4JmVNUUlovwuiZdyqBv4llAQOMK6Rg== + dependencies: + buffer "6.0.3" + valtio "1.10.5" + +"@web3modal/standalone@^2.0.0-rc.2": + version "2.4.3" + resolved "https://registry.yarnpkg.com/@web3modal/standalone/-/standalone-2.4.3.tgz#98aaa65eba725c34d5be9078ef04b4e9b769d0f3" + integrity sha512-5ATXBoa4GGm+TIUSsKWsfWCJunv1XevOizpgTFhqyeGgRDmWhqsz9UIPzH/1mk+g0iJ/xqMKs5F6v9D2QeKxag== + dependencies: + "@web3modal/core" "2.4.3" + "@web3modal/ui" "2.4.3" + +"@web3modal/ui@2.4.3": + version "2.4.3" + resolved "https://registry.yarnpkg.com/@web3modal/ui/-/ui-2.4.3.tgz#986c6bed528dccab679c734ff531e42f6605c5b2" + integrity sha512-J989p8CdtEhI9gZHf/rZ/WFqYlrAHWw9GmAhFoiNODwjAp0BoG/uoaPiijJMchXdngihZOjLGCQwDXU16DHiKg== + dependencies: + "@web3modal/core" "2.4.3" + lit "2.7.5" + motion "10.16.2" + qrcode "1.5.3" + +JSONStream@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" + integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== + dependencies: + jsonparse "^1.2.0" + through ">=2.2.7 <3" + +abitype@0.8.11: + version "0.8.11" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.8.11.tgz#66e1cf2cbf46f48d0e57132d7c1c392447536cc1" + integrity sha512-bM4v2dKvX08sZ9IU38IN5BKmN+ZkOSd2oI4a9f0ejHYZQYV6cDr7j+d95ga0z2XHG36Y4jzoG5Z7qDqxp7fi/A== + +abitype@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.2.5.tgz#e571ef2ed99db1cae551fffde5bcbcee4e446177" + integrity sha512-t1iiokWYpkrziu4WL2Gb6YdGvaP9ZKs7WnA39TI8TsW2E99GVRgDPW/xOKhzoCdyxOYt550CNYEFluCwGaFHaA== + +abitype@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.3.0.tgz#75150e337d88cc0b2423ed0d3fc36935f139d04c" + integrity sha512-0YokyAV4hKMcy97Pl+6QgZBlBdZJN2llslOs7kiFY+cu7kMlVXDBpxMExfv0krzBCQt2t7hNovpQ3y/zvEm18A== + +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn@^8.9.0: + version "8.10.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" + integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== + +aes-js@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" + integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +agentkeepalive@^4.2.1: + version "4.3.0" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.3.0.tgz#bb999ff07412653c1803b3ced35e50729830a255" + integrity sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg== + dependencies: + debug "^4.1.0" + depd "^2.0.0" + humanize-ms "^1.2.1" + +ajv@^6.10.0, ajv@^6.12.4: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^3.2.0, ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +arg@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" + integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +aria-query@^5.1.3: + version "5.3.0" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" + integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== + dependencies: + dequal "^2.0.3" + +array-buffer-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" + integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== + dependencies: + call-bind "^1.0.2" + is-array-buffer "^3.0.1" + +array-includes@^3.1.6: + version "3.1.6" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f" + integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + get-intrinsic "^1.1.3" + is-string "^1.0.7" + +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + +array.prototype.flat@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" + integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + es-shim-unscopables "^1.0.0" + +array.prototype.flatmap@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz#1aae7903c2100433cb8261cd4ed310aab5c4a183" + integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + es-shim-unscopables "^1.0.0" + +array.prototype.tosorted@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz#ccf44738aa2b5ac56578ffda97c03fd3e23dd532" + integrity sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + es-shim-unscopables "^1.0.0" + get-intrinsic "^1.1.3" + +asn1.js@^5.2.0: + version "5.4.1" + resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" + integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== + dependencies: + bn.js "^4.0.0" + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + safer-buffer "^2.1.0" + +asn1@^0.2.4: + version "0.2.6" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" + integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== + dependencies: + safer-buffer "~2.1.0" + +assert@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/assert/-/assert-2.0.0.tgz#95fc1c616d48713510680f2eaf2d10dd22e02d32" + integrity sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A== + dependencies: + es6-object-assign "^1.1.0" + is-nan "^1.2.1" + object-is "^1.0.1" + util "^0.12.0" + +ast-types-flow@^0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" + integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== + +async-mutex@^0.2.6: + version "0.2.6" + resolved "https://registry.yarnpkg.com/async-mutex/-/async-mutex-0.2.6.tgz#0d7a3deb978bc2b984d5908a2038e1ae2e54ff40" + integrity sha512-Hs4R+4SPgamu6rSGW8C7cV9gaWUKEHykfzCCvIRuaVv636Ju10ZdeUbvb4TBEW0INuq2DHZqXbK4Nd3yG4RaRw== + dependencies: + tslib "^2.0.0" + +async@^3.2.3: + version "3.2.4" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" + integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +atob-lite@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696" + integrity sha512-LEeSAWeh2Gfa2FtlQE1shxQ8zi5F9GHarrGKz08TMdODD5T4eH6BMsvtnhbWZ+XQn+Gb6om/917ucvRu7l7ukw== + +atomic-sleep@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b" + integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== + +autoprefixer@10.4.14: + version "10.4.14" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.14.tgz#e28d49902f8e759dd25b153264e862df2705f79d" + integrity sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ== + dependencies: + browserslist "^4.21.5" + caniuse-lite "^1.0.30001464" + fraction.js "^4.2.0" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + +available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== + +axe-core@^4.6.2: + version "4.7.2" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.2.tgz#040a7342b20765cb18bb50b628394c21bccc17a0" + integrity sha512-zIURGIS1E1Q4pcrMjp+nnEh+16G56eG/MUllJH8yEvw7asDo7Ac9uhC9KIH5jzpITueEZolfYglnCGIuSBz39g== + +axios-retry@^3.3.1: + version "3.5.1" + resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.5.1.tgz#d902f69fe1b2a71902e29605318f887bef0981c6" + integrity sha512-mQRJ4IyAUnYig14BQ4MnnNHHuH1cNH7NW4JxEUD6mNJwK6pwOY66wKLCwZ6Y0o3POpfStalqRC+J4+Hnn6Om7w== + dependencies: + "@babel/runtime" "^7.15.4" + is-retry-allowed "^2.2.0" + +axios@^0.21.0: + version "0.21.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +axios@^0.24.0: + version "0.24.0" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.24.0.tgz#804e6fa1e4b9c5288501dd9dff56a7a0940d20d6" + integrity sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA== + dependencies: + follow-redirects "^1.14.4" + +axios@^0.27.2: + version "0.27.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axobject-query@^3.1.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.2.1.tgz#39c378a6e3b06ca679f29138151e45b2b32da62a" + integrity sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg== + dependencies: + dequal "^2.0.3" + +b4a@^1.0.1: + version "1.6.4" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.4.tgz#ef1c1422cae5ce6535ec191baeed7567443f36c9" + integrity sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw== + +"babel-plugin-styled-components@>= 1.12.0": + version "2.1.4" + resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-2.1.4.tgz#9a1f37c7f32ef927b4b008b529feb4a2c82b1092" + integrity sha512-Xgp9g+A/cG47sUyRwwYxGM4bR/jDRg5N6it/8+HxCnbT5XNKSKDT9xm4oag/osgqjC2It/vH0yXsomOG6k558g== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-module-imports" "^7.22.5" + "@babel/plugin-syntax-jsx" "^7.22.5" + lodash "^4.17.21" + picomatch "^2.3.1" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +bfj@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/bfj/-/bfj-7.0.2.tgz#1988ce76f3add9ac2913fd8ba47aad9e651bfbb2" + integrity sha512-+e/UqUzwmzJamNF50tBV6tZPTORow7gQ96iFow+8b562OdMpEK0BcJEq2OSPEDmAbSMBQ7PKZ87ubFkgxpYWgw== + dependencies: + bluebird "^3.5.5" + check-types "^11.1.1" + hoopy "^0.1.4" + tryer "^1.0.1" + +big-integer@^1.6.42, big-integer@^1.6.44, big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +big.js@^6.1.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/big.js/-/big.js-6.2.1.tgz#7205ce763efb17c2e41f26f121c420c6a7c2744f" + integrity sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ== + +bigint-buffer@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/bigint-buffer/-/bigint-buffer-1.1.5.tgz#d038f31c8e4534c1f8d0015209bf34b4fa6dd442" + integrity sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA== + dependencies: + bindings "^1.3.0" + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +bind-decorator@^1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/bind-decorator/-/bind-decorator-1.0.11.tgz#e41bc06a1f65dd9cec476c91c5daf3978488252f" + integrity sha512-yzkH0uog6Vv/vQ9+rhSKxecnqGUZHYncg7qS7voz3Q76+TAi1SGiOKk2mlOvusQnFz9Dc4BC/NMkeXu11YgjJg== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +blake-hash@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/blake-hash/-/blake-hash-2.0.0.tgz#af184dce641951126d05b7d1c3de3224f538d66e" + integrity sha512-Igj8YowDu1PRkRsxZA7NVkdFNxH5rKv5cpLxQ0CVXSIA77pVYwCPRQJ2sMew/oneUpfuYRyjG6r8SmmmnbZb1w== + dependencies: + node-addon-api "^3.0.0" + node-gyp-build "^4.2.2" + readable-stream "^3.6.0" + +blake2b-wasm@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/blake2b-wasm/-/blake2b-wasm-2.4.0.tgz#9115649111edbbd87eb24ce7c04b427e4e2be5be" + integrity sha512-S1kwmW2ZhZFFFOghcx73+ZajEfKBqhP82JMssxtLVMxlaPea1p9uoLiUZ5WYyHn0KddwbLc+0vh4wR0KBNoT5w== + dependencies: + b4a "^1.0.1" + nanoassert "^2.0.0" + +blake2b@^2.1.3: + version "2.1.4" + resolved "https://registry.yarnpkg.com/blake2b/-/blake2b-2.1.4.tgz#817d278526ddb4cd673bfb1af16d1ad61e393ba3" + integrity sha512-AyBuuJNI64gIvwx13qiICz6H6hpmjvYS5DGkG6jbXMOT8Z3WUJ3V1X0FlhIoT1b/5JtHE3ki+xjtMvu1nn+t9A== + dependencies: + blake2b-wasm "^2.4.0" + nanoassert "^2.0.0" + +blakejs@^1.1.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" + integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ== + +bluebird@^3.5.5: + version "3.7.2" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" + integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== + +bn.js@4.11.6: + version "4.11.6" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" + integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +borsh@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/borsh/-/borsh-0.7.0.tgz#6e9560d719d86d90dc589bca60ffc8a6c51fec2a" + integrity sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA== + dependencies: + bn.js "^5.2.0" + bs58 "^4.0.0" + text-encoding-utf-8 "^1.0.2" + +bplist-parser@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.2.0.tgz#43a9d183e5bf9d545200ceac3e712f79ebbe8d0e" + integrity sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw== + dependencies: + big-integer "^1.6.44" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.2, braces@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +brorand@^1.0.1, brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +browserify-aes@^1.0.0, browserify-aes@^1.0.4, browserify-aes@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" + integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== + dependencies: + buffer-xor "^1.0.3" + cipher-base "^1.0.0" + create-hash "^1.1.0" + evp_bytestokey "^1.0.3" + inherits "^2.0.1" + safe-buffer "^5.0.1" + +browserify-cipher@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" + integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== + dependencies: + browserify-aes "^1.0.4" + browserify-des "^1.0.0" + evp_bytestokey "^1.0.0" + +browserify-des@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" + integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== + dependencies: + cipher-base "^1.0.1" + des.js "^1.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" + integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== + dependencies: + bn.js "^5.0.0" + randombytes "^2.0.1" + +browserify-sign@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" + integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== + dependencies: + bn.js "^5.1.1" + browserify-rsa "^4.0.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + elliptic "^6.5.3" + inherits "^2.0.4" + parse-asn1 "^5.1.5" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +browserslist@^4.21.5: + version "4.21.9" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.9.tgz#e11bdd3c313d7e2a9e87e8b4b0c7872b13897635" + integrity sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg== + dependencies: + caniuse-lite "^1.0.30001503" + electron-to-chromium "^1.4.431" + node-releases "^2.0.12" + update-browserslist-db "^1.0.11" + +bs58@^4.0.0, bs58@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer-alloc-unsafe@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" + integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg== + +buffer-alloc@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/buffer-alloc/-/buffer-alloc-1.2.0.tgz#890dd90d923a873e08e10e5fd51a57e5b7cce0ec" + integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow== + dependencies: + buffer-alloc-unsafe "^1.1.0" + buffer-fill "^1.0.0" + +buffer-equal-constant-time@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" + integrity sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA== + +buffer-fill@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" + integrity sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ== + +buffer-from@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +buffer-xor@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" + integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== + +buffer@6.0.3, buffer@^6.0.3, buffer@~6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@^5.4.3: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + +bufferutil@^4.0.1: + version "4.0.7" + resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.7.tgz#60c0d19ba2c992dd8273d3f73772ffc894c153ad" + integrity sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw== + dependencies: + node-gyp-build "^4.3.0" + +builtin-status-codes@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" + integrity sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ== + +bundle-name@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-3.0.0.tgz#ba59bcc9ac785fb67ccdbf104a2bf60c099f0e1a" + integrity sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw== + dependencies: + run-applescript "^5.0.0" + +busboy@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" + integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== + dependencies: + streamsearch "^1.1.0" + +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase-css@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" + integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== + +camelcase@^5.0.0: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelize@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.1.tgz#89b7e16884056331a35d6b5ad064332c91daa6c3" + integrity sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ== + +caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503: + version "1.0.30001512" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz#7450843fb581c39f290305a83523c7a9ef0d4cb4" + integrity sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw== + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0, chalk@^4.0.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +check-types@^11.1.1: + version "11.2.2" + resolved "https://registry.yarnpkg.com/check-types/-/check-types-11.2.2.tgz#7afc0b6a860d686885062f2dba888ba5710335b4" + integrity sha512-HBiYvXvn9Z70Z88XKjz3AEKd4HJhBXsa3j7xFnITAzoS8+q6eIGi8qDB8FKPBAjtuxjI/zFpwuiCb8oDtKOYrA== + +chokidar@^3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +circom_runtime@0.1.20: + version "0.1.20" + resolved "https://registry.yarnpkg.com/circom_runtime/-/circom_runtime-0.1.20.tgz#14411846448b541bcb71548a23e6d982e7a051a6" + integrity sha512-61AnccA8Ozo5apyDf3hR1JMDDNx1DttKll2bdxVpNjUaTiawDuuYE0VNmRvuoKlcy/WAY+HtD3K994WGrOFhJQ== + dependencies: + ffjavascript "0.2.55" + +circomlibjs@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/circomlibjs/-/circomlibjs-0.1.7.tgz#9f5a7d9a23323744b11ee456b05b0cd81f48b554" + integrity sha512-GRAUoAlKAsiiTa+PA725G9RmEmJJRc8tRFxw/zKktUxlQISGznT4hH4ESvW8FNTsrGg/nNd06sGP/Wlx0LUHVg== + dependencies: + blake-hash "^2.0.0" + blake2b "^2.1.3" + ethers "^5.5.1" + ffjavascript "^0.2.45" + +client-only@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1" + integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA== + +cliui@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" + integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== + dependencies: + string-width "^3.1.0" + strip-ansi "^5.2.0" + wrap-ansi "^5.1.0" + +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" + +clsx@^1.1.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" + integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== + +"codegen-graph-ts@npm:@nevermined-io/codegen-graph-ts@0.1.4": + version "0.1.4" + resolved "https://registry.yarnpkg.com/@nevermined-io/codegen-graph-ts/-/codegen-graph-ts-0.1.4.tgz#edb4aaf0e1ce4ea620763f30b8c53a59f74ff29b" + integrity sha512-DI9IeC54vm16YIvk1eX5+C3wpz3V34dz1wmSMbYyFGrKMFeUa8LLfYDjeCB4JTA7SDS8K6USFoMAl6b1R/bXTg== + dependencies: + "@synthetixio/wei" "^2.47.0-ovm.5" + axios "^0.24.0" + commander "^8.1.0" + graphql "^15.5.1" + graphql-request "^3.5.0" + lodash "^4.17.21" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +commander@^2.20.3: + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commander@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" + integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== + +commander@^8.1.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +connectkit@^1.2.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/connectkit/-/connectkit-1.4.0.tgz#2e58dca500ec9d3feb47d88c8254bb5d5080abea" + integrity sha512-gRfcb/7BDX4uKc3qghjVlV5rd3jfkivqSsUG5vywZYy4nSHE4q4NeHsgJTTC8WnNTWxfOz02oP8J2dCaeCHLNw== + dependencies: + buffer "^6.0.3" + detect-browser "^5.3.0" + framer-motion "^6.3.11" + qrcode "^1.5.0" + react-transition-state "^1.1.4" + react-use-measure "^2.1.1" + resize-observer-polyfill "^1.5.1" + styled-components "^5.3.5" + +copy-to-clipboard@^3.3.1, copy-to-clipboard@^3.3.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0" + integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA== + dependencies: + toggle-selection "^1.0.6" + +create-ecdh@^4.0.0: + version "4.0.4" + resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" + integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== + dependencies: + bn.js "^4.1.0" + elliptic "^6.5.3" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +cross-fetch@^3.0.6, cross-fetch@^3.1.4, cross-fetch@^3.1.5: + version "3.1.8" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.8.tgz#0327eba65fd68a7d119f8fb2bf9334a1a7956f82" + integrity sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg== + dependencies: + node-fetch "^2.6.12" + +cross-spawn@^7.0.2, cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypto-browserify@^3.12.0: + version "3.12.0" + resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" + integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== + dependencies: + browserify-cipher "^1.0.0" + browserify-sign "^4.0.0" + create-ecdh "^4.0.0" + create-hash "^1.1.0" + create-hmac "^1.1.0" + diffie-hellman "^5.0.0" + inherits "^2.0.1" + pbkdf2 "^3.0.3" + public-encrypt "^4.0.0" + randombytes "^2.0.0" + randomfill "^1.0.3" + +css-color-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" + integrity sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg== + +css-to-react-native@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-3.2.0.tgz#cdd8099f71024e149e4f6fe17a7d46ecd55f1e32" + integrity sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ== + dependencies: + camelize "^1.0.0" + css-color-keywords "^1.0.0" + postcss-value-parser "^4.0.2" + +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +csstype@^3.0.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" + integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== + +damerau-levenshtein@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" + integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== + +debounce@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" + integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== + +debug@^3.2.7: + version "3.2.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +decamelize@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== + +decode-uri-component@^0.2.0, decode-uri-component@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" + integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== + +deep-is@^0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +default-browser-id@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-3.0.0.tgz#bee7bbbef1f4e75d31f98f4d3f1556a14cea790c" + integrity sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA== + dependencies: + bplist-parser "^0.2.0" + untildify "^4.0.0" + +default-browser@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/default-browser/-/default-browser-4.0.0.tgz#53c9894f8810bf86696de117a6ce9085a3cbc7da" + integrity sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA== + dependencies: + bundle-name "^3.0.0" + default-browser-id "^3.0.0" + execa "^7.1.1" + titleize "^3.0.0" + +define-lazy-prop@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz#dbb19adfb746d7fc6d734a06b72f4a00d021255f" + integrity sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg== + +define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5" + integrity sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/delay/-/delay-5.0.0.tgz#137045ef1b96e5071060dd5be60bf9334436bd1d" + integrity sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +depd@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== + +deprecated-decorator@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/deprecated-decorator/-/deprecated-decorator-0.1.6.tgz#00966317b7a12fe92f3cc831f7583af329b86c37" + integrity sha512-MHidOOnCHGlZDKsI21+mbIIhf4Fff+hhCTB7gtVg4uoIqjcrTZc5v6M+GS2zVI0sV7PqK415rb8XaOSQsQkHOw== + +dequal@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + +des.js@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.1.0.tgz#1d37f5766f3bbff4ee9638e871a8768c173b81da" + integrity sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg== + dependencies: + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-browser@5.3.0, detect-browser@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" + integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== + +didyoumean@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" + integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw== + +diffie-hellman@^5.0.0: + version "5.0.3" + resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" + integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== + dependencies: + bn.js "^4.1.0" + miller-rabin "^4.0.0" + randombytes "^2.0.0" + +dijkstrajs@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/dijkstrajs/-/dijkstrajs-1.0.3.tgz#4c8dbdea1f0f6478bff94d9c49c784d623e4fc23" + integrity sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA== + +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +dlv@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" + integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" + integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== + dependencies: + esutils "^2.0.2" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +dtype@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dtype/-/dtype-2.0.0.tgz#cd052323ce061444ecd2e8f5748f69a29be28434" + integrity sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg== + +duplexify@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-4.1.2.tgz#18b4f8d28289132fa0b9573c898d9f903f81c7b0" + integrity sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw== + dependencies: + end-of-stream "^1.4.1" + inherits "^2.0.3" + readable-stream "^3.1.1" + stream-shift "^1.0.0" + +ecdsa-sig-formatter@1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz#ae0f0fa2d85045ef14a817daa3ce9acd0489e5bf" + integrity sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ== + dependencies: + safe-buffer "^5.0.1" + +eciesjs@^0.3.15: + version "0.3.17" + resolved "https://registry.yarnpkg.com/eciesjs/-/eciesjs-0.3.17.tgz#367b2b442c2e394f734a9f3b9a45ec7c3d144d9f" + integrity sha512-DKaAvHvFHTApJDFsA2ZbOJilVNXDV8JpOtbnJe/UcwTXjE7eB6TDJnu/SF1bqb7X3b/XYmR6wzO2Ge54AOMHQA== + dependencies: + "@types/secp256k1" "^4.0.3" + futoin-hkdf "^1.5.1" + secp256k1 "^5.0.0" + +eip1193-provider@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/eip1193-provider/-/eip1193-provider-1.0.1.tgz#420d29cf4f6c443e3f32e718fb16fafb250637c3" + integrity sha512-kSuqwQ26d7CzuS/t3yRXo2Su2cVH0QfvyKbr2H7Be7O5YDyIq4hQGCNTo5wRdP07bt+E2R/8nPCzey4ojBHf7g== + dependencies: + "@json-rpc-tools/provider" "^1.5.5" + +ejs@^3.1.6: + version "3.1.9" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" + integrity sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ== + dependencies: + jake "^10.8.5" + +electron-to-chromium@^1.4.431: + version "1.4.450" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz#df232c961ee9bf4e8980f86e96a6e9f291720138" + integrity sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw== + +elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: + version "6.5.4" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +emoji-regex@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" + integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +encode-utf8@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/encode-utf8/-/encode-utf8-1.0.3.tgz#f30fdd31da07fb596f281beb2f6b027851994cda" + integrity sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw== + +end-of-stream@^1.4.1: + version "1.4.4" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + +enhanced-resolve@^5.12.0: + version "5.15.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" + integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + +es-abstract@^1.19.0, es-abstract@^1.20.4: + version "1.21.2" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.2.tgz#a56b9695322c8a185dc25975aa3b8ec31d0e7eff" + integrity sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg== + dependencies: + array-buffer-byte-length "^1.0.0" + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-set-tostringtag "^2.0.1" + es-to-primitive "^1.2.1" + function.prototype.name "^1.1.5" + get-intrinsic "^1.2.0" + get-symbol-description "^1.0.0" + globalthis "^1.0.3" + gopd "^1.0.1" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-proto "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.5" + is-array-buffer "^3.0.2" + is-callable "^1.2.7" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-typed-array "^1.1.10" + is-weakref "^1.0.2" + object-inspect "^1.12.3" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.4.3" + safe-regex-test "^1.0.0" + string.prototype.trim "^1.2.7" + string.prototype.trimend "^1.0.6" + string.prototype.trimstart "^1.0.6" + typed-array-length "^1.0.4" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.9" + +es-set-tostringtag@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" + integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + dependencies: + get-intrinsic "^1.1.3" + has "^1.0.3" + has-tostringtag "^1.0.0" + +es-shim-unscopables@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" + integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + dependencies: + has "^1.0.3" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + +es6-object-assign@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" + integrity sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw== + +es6-promise@^4.0.3: + version "4.2.8" + resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" + integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== + +es6-promisify@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" + integrity sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ== + dependencies: + es6-promise "^4.0.3" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +eslint-config-next@13.4.8: + version "13.4.8" + resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.4.8.tgz#f2683d278ae72f7cf8854d571b05cce3bfd84143" + integrity sha512-2hE0b6lHuhtHBX8VgEXi8v4G8PVrPUBMOSLCTq8qtcQ2qQOX7+uBOLK2kU4FD2qDZzyXNlhmuH+WLT5ptY4XLA== + dependencies: + "@next/eslint-plugin-next" "13.4.8" + "@rushstack/eslint-patch" "^1.1.3" + "@typescript-eslint/parser" "^5.42.0" + eslint-import-resolver-node "^0.3.6" + eslint-import-resolver-typescript "^3.5.2" + eslint-plugin-import "^2.26.0" + eslint-plugin-jsx-a11y "^6.5.1" + eslint-plugin-react "^7.31.7" + eslint-plugin-react-hooks "^4.5.0" + +eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.7: + version "0.3.7" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7" + integrity sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA== + dependencies: + debug "^3.2.7" + is-core-module "^2.11.0" + resolve "^1.22.1" + +eslint-import-resolver-typescript@^3.5.2: + version "3.5.5" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.5.tgz#0a9034ae7ed94b254a360fbea89187b60ea7456d" + integrity sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw== + dependencies: + debug "^4.3.4" + enhanced-resolve "^5.12.0" + eslint-module-utils "^2.7.4" + get-tsconfig "^4.5.0" + globby "^13.1.3" + is-core-module "^2.11.0" + is-glob "^4.0.3" + synckit "^0.8.5" + +eslint-module-utils@^2.7.4: + version "2.8.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz#e439fee65fc33f6bba630ff621efc38ec0375c49" + integrity sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw== + dependencies: + debug "^3.2.7" + +eslint-plugin-import@^2.26.0: + version "2.27.5" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz#876a6d03f52608a3e5bb439c2550588e51dd6c65" + integrity sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== + dependencies: + array-includes "^3.1.6" + array.prototype.flat "^1.3.1" + array.prototype.flatmap "^1.3.1" + debug "^3.2.7" + doctrine "^2.1.0" + eslint-import-resolver-node "^0.3.7" + eslint-module-utils "^2.7.4" + has "^1.0.3" + is-core-module "^2.11.0" + is-glob "^4.0.3" + minimatch "^3.1.2" + object.values "^1.1.6" + resolve "^1.22.1" + semver "^6.3.0" + tsconfig-paths "^3.14.1" + +eslint-plugin-jsx-a11y@^6.5.1: + version "6.7.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.7.1.tgz#fca5e02d115f48c9a597a6894d5bcec2f7a76976" + integrity sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA== + dependencies: + "@babel/runtime" "^7.20.7" + aria-query "^5.1.3" + array-includes "^3.1.6" + array.prototype.flatmap "^1.3.1" + ast-types-flow "^0.0.7" + axe-core "^4.6.2" + axobject-query "^3.1.1" + damerau-levenshtein "^1.0.8" + emoji-regex "^9.2.2" + has "^1.0.3" + jsx-ast-utils "^3.3.3" + language-tags "=1.0.5" + minimatch "^3.1.2" + object.entries "^1.1.6" + object.fromentries "^2.0.6" + semver "^6.3.0" + +eslint-plugin-react-hooks@^4.5.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" + integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== + +eslint-plugin-react@^7.31.7: + version "7.32.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz#e71f21c7c265ebce01bcbc9d0955170c55571f10" + integrity sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg== + dependencies: + array-includes "^3.1.6" + array.prototype.flatmap "^1.3.1" + array.prototype.tosorted "^1.1.1" + doctrine "^2.1.0" + estraverse "^5.3.0" + jsx-ast-utils "^2.4.1 || ^3.0.0" + minimatch "^3.1.2" + object.entries "^1.1.6" + object.fromentries "^2.0.6" + object.hasown "^1.1.2" + object.values "^1.1.6" + prop-types "^15.8.1" + resolve "^2.0.0-next.4" + semver "^6.3.0" + string.prototype.matchall "^4.0.8" + +eslint-scope@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.0.tgz#f21ebdafda02352f103634b96dd47d9f81ca117b" + integrity sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" + integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== + +eslint@8.44.0: + version "8.44.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.44.0.tgz#51246e3889b259bbcd1d7d736a0c10add4f0e500" + integrity sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.4.0" + "@eslint/eslintrc" "^2.1.0" + "@eslint/js" "8.44.0" + "@humanwhocodes/config-array" "^0.11.10" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + doctrine "^3.0.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.2.0" + eslint-visitor-keys "^3.4.1" + espree "^9.6.0" + esquery "^1.4.2" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + graphemer "^1.4.0" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + is-path-inside "^3.0.3" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.3" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" + text-table "^0.2.0" + +espree@^9.6.0: + version "9.6.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.0.tgz#80869754b1c6560f32e3b6929194a3fe07c5b82f" + integrity sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A== + dependencies: + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + +esquery@^1.4.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +eth-block-tracker@6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-6.1.0.tgz#0481f97bbb88a100b9d45806fe7e37af741cbefc" + integrity sha512-K9SY8+/xMBi4M5HHTDdxnpEqEEGjbNpzHFqvxyjMZej8InV/B+CkFRKM6W+uvrFJ7m8Zd1E0qUkseU3vdIDFYQ== + dependencies: + "@metamask/safe-event-emitter" "^2.0.0" + "@metamask/utils" "^3.0.1" + json-rpc-random-id "^1.0.1" + pify "^3.0.0" + +eth-json-rpc-filters@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/eth-json-rpc-filters/-/eth-json-rpc-filters-5.1.0.tgz#f0c2aeaec2a45e2dc6ca1b9843d8e85447821427" + integrity sha512-fos+9xmoa1A2Ytsc9eYof17r81BjdJOUcGcgZn4K/tKdCCTb+a8ytEtwlu1op5qsXFDlgGmstTELFrDEc89qEQ== + dependencies: + "@metamask/safe-event-emitter" "^2.0.0" + async-mutex "^0.2.6" + eth-query "^2.1.2" + json-rpc-engine "^6.1.0" + pify "^5.0.0" + +eth-query@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/eth-query/-/eth-query-2.1.2.tgz#d6741d9000106b51510c72db92d6365456a6da5e" + integrity sha512-srES0ZcvwkR/wd5OQBRA1bIJMww1skfGS0s8wlwK3/oNP4+wnds60krvu5R1QbpRQjMmpG5OMIWro5s7gvDPsA== + dependencies: + json-rpc-random-id "^1.0.0" + xtend "^4.0.1" + +eth-rpc-errors@4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.2.tgz#11bc164e25237a679061ac05b7da7537b673d3b7" + integrity sha512-n+Re6Gu8XGyfFy1it0AwbD1x0MUzspQs0D5UiPs1fFPCr6WAwZM+vbIhXheBFrpgosqN9bs5PqlB4Q61U/QytQ== + dependencies: + fast-safe-stringify "^2.0.6" + +eth-rpc-errors@^4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz#6ddb6190a4bf360afda82790bb7d9d5e724f423a" + integrity sha512-Z3ymjopaoft7JDoxZcEb3pwdGh7yiYMhOwm2doUt6ASXlMavpNlK6Cre0+IMl2VSGyEU9rkiperQhp5iRxn5Pg== + dependencies: + fast-safe-stringify "^2.0.6" + +ethereum-bloom-filters@^1.0.6: + version "1.0.10" + resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" + integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== + dependencies: + js-sha3 "^0.8.0" + +ethereum-cryptography@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz#8d6143cfc3d74bf79bbd8edecdf29e4ae20dd191" + integrity sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ== + dependencies: + "@types/pbkdf2" "^3.0.0" + "@types/secp256k1" "^4.0.1" + blakejs "^1.1.0" + browserify-aes "^1.2.0" + bs58check "^2.1.2" + create-hash "^1.2.0" + create-hmac "^1.1.7" + hash.js "^1.1.7" + keccak "^3.0.0" + pbkdf2 "^3.0.17" + randombytes "^2.1.0" + safe-buffer "^5.1.2" + scrypt-js "^3.0.0" + secp256k1 "^4.0.1" + setimmediate "^1.0.5" + +ethereumjs-util@^7.1.0: + version "7.1.5" + resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" + integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== + dependencies: + "@types/bn.js" "^5.1.0" + bn.js "^5.1.2" + create-hash "^1.1.2" + ethereum-cryptography "^0.1.3" + rlp "^2.2.4" + +ethers@^5.5.1, ethers@^5.6.9, ethers@^5.7.2: + version "5.7.2" + resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" + integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== + dependencies: + "@ethersproject/abi" "5.7.0" + "@ethersproject/abstract-provider" "5.7.0" + "@ethersproject/abstract-signer" "5.7.0" + "@ethersproject/address" "5.7.0" + "@ethersproject/base64" "5.7.0" + "@ethersproject/basex" "5.7.0" + "@ethersproject/bignumber" "5.7.0" + "@ethersproject/bytes" "5.7.0" + "@ethersproject/constants" "5.7.0" + "@ethersproject/contracts" "5.7.0" + "@ethersproject/hash" "5.7.0" + "@ethersproject/hdnode" "5.7.0" + "@ethersproject/json-wallets" "5.7.0" + "@ethersproject/keccak256" "5.7.0" + "@ethersproject/logger" "5.7.0" + "@ethersproject/networks" "5.7.1" + "@ethersproject/pbkdf2" "5.7.0" + "@ethersproject/properties" "5.7.0" + "@ethersproject/providers" "5.7.2" + "@ethersproject/random" "5.7.0" + "@ethersproject/rlp" "5.7.0" + "@ethersproject/sha2" "5.7.0" + "@ethersproject/signing-key" "5.7.0" + "@ethersproject/solidity" "5.7.0" + "@ethersproject/strings" "5.7.0" + "@ethersproject/transactions" "5.7.0" + "@ethersproject/units" "5.7.0" + "@ethersproject/wallet" "5.7.0" + "@ethersproject/web" "5.7.1" + "@ethersproject/wordlists" "5.7.0" + +ethjs-unit@0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" + integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== + dependencies: + bn.js "4.11.6" + number-to-bn "1.7.0" + +eventemitter3@4.0.7, eventemitter3@^4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +events@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" + integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== + dependencies: + md5.js "^1.3.4" + safe-buffer "^5.1.1" + +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +execa@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-7.1.1.tgz#3eb3c83d239488e7b409d48e8813b76bb55c9c43" + integrity sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.1" + human-signals "^4.3.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^3.0.7" + strip-final-newline "^3.0.0" + +extract-files@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/extract-files/-/extract-files-9.0.0.tgz#8a7744f2437f81f5ed3250ed9f1550de902fe54a" + integrity sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ== + +eyes@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" + integrity sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ== + +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.9: + version "3.3.0" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.0.tgz#7c40cb491e1e2ed5664749e87bfb516dbe8727c0" + integrity sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== + +fast-redact@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.2.0.tgz#b1e2d39bc731376d28bde844454fa23e26919987" + integrity sha512-zaTadChr+NekyzallAMXATXLOR8MNx3zqpZ0MUF2aGf4EathnG0f32VLODNlY8IuGY3HoRO2L6/6fSzNsLaHIw== + +fast-safe-stringify@^2.0.6: + version "2.1.1" + resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" + integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== + +fast-stable-stringify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz#5c5543462b22aeeefd36d05b34e51c78cb86d313" + integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== + +fastfile@0.0.20: + version "0.0.20" + resolved "https://registry.yarnpkg.com/fastfile/-/fastfile-0.0.20.tgz#794a143d58cfda2e24c298e5ef619c748c8a1879" + integrity sha512-r5ZDbgImvVWCP0lA/cGNgQcZqR+aYdFx3u+CtJqUE510pBUVGMn4ulL/iRTI4tACTYsNJ736uzFxEBXesPAktA== + +fastq@^1.6.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" + integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== + dependencies: + reusify "^1.0.4" + +ffjavascript@0.2.55: + version "0.2.55" + resolved "https://registry.yarnpkg.com/ffjavascript/-/ffjavascript-0.2.55.tgz#fb4bc53265501526a2916d6a20bbbc06d113d7be" + integrity sha512-8X0FCIPOWiK6DTWh3pnE3O6D6nIQsirStAXpWMzRDnoDX7SEnDX4I28aVhwjL7L35XS1vy2AU7zc0UCGYxdLjw== + dependencies: + big-integer "^1.6.48" + wasmbuilder "^0.0.12" + wasmcurves "0.1.0" + web-worker "^1.2.0" + +ffjavascript@^0.2.45, ffjavascript@^0.2.48, ffjavascript@^0.2.55: + version "0.2.59" + resolved "https://registry.yarnpkg.com/ffjavascript/-/ffjavascript-0.2.59.tgz#b2f836082587fab333dfb181b909a188f80036f3" + integrity sha512-QssOEUv+wilz9Sg7Zaj6KWAm7QceOAEsFuEBTltUsDo1cjn11rA/LGYvzFBPbzNfxRlZxwgJ7uxpCQcdDlrNfw== + dependencies: + wasmbuilder "0.0.16" + wasmcurves "0.2.1" + web-worker "^1.2.0" + +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== + dependencies: + flat-cache "^3.0.4" + +file-saver@^2.0.0-rc.4: + version "2.0.5" + resolved "https://registry.yarnpkg.com/file-saver/-/file-saver-2.0.5.tgz#d61cfe2ce059f414d899e9dd6d4107ee25670c38" + integrity sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +filelist@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== + dependencies: + minimatch "^5.0.1" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +filter-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" + integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ== + +find-up@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" + integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== + dependencies: + locate-path "^3.0.0" + +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + +flatted@^3.1.0: + version "3.2.7" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== + +flatten-vertex-data@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/flatten-vertex-data/-/flatten-vertex-data-1.0.2.tgz#889fd60bea506006ca33955ee1105175fb620219" + integrity sha512-BvCBFK2NZqerFTdMDgqfHBwxYWnxeCkwONsw6PvBMcUXqo8U/KDWwmXhqx1x2kLIg7DqIsJfOaJFOmlua3Lxuw== + dependencies: + dtype "^2.0.0" + +follow-redirects@^1.14.0, follow-redirects@^1.14.4, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + +form-data@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" + integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +fraction.js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" + integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== + +framer-motion@^6.3.11: + version "6.5.1" + resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-6.5.1.tgz#802448a16a6eb764124bf36d8cbdfa6dd6b931a7" + integrity sha512-o1BGqqposwi7cgDrtg0dNONhkmPsUFDaLcKXigzuTFC5x58mE8iyTazxSudFzmT6MEyJKfjjU8ItoMe3W+3fiw== + dependencies: + "@motionone/dom" "10.12.0" + framesync "6.0.1" + hey-listen "^1.0.8" + popmotion "11.0.3" + style-value-types "5.0.0" + tslib "^2.1.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.0.1.tgz#5e32fc01f1c42b39c654c35b16440e07a25d6f20" + integrity sha512-fUY88kXvGiIItgNC7wcTOl0SNRCVXMKSWW2Yzfmn7EKNc+MpCzcz9DhdHcdjbrtN3c6R4H5dTY2jiCpPdysEjA== + dependencies: + tslib "^2.1.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +function.prototype.name@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" + integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.0" + functions-have-names "^1.2.2" + +functions-have-names@^1.2.2, functions-have-names@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== + +futoin-hkdf@^1.5.1: + version "1.5.2" + resolved "https://registry.yarnpkg.com/futoin-hkdf/-/futoin-hkdf-1.5.2.tgz#d316623d29f45fe5e6f136f435eccd74096bf676" + integrity sha512-Bnytx8kQJQoEAPGgTZw3kVPy8e/n9CDftPzc0okgaujmbdF1x7w8wg+u2xS0CML233HgruNk6VQW28CzuUFMKw== + +get-caller-file@^2.0.1: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" + integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-proto "^1.0.1" + has-symbols "^1.0.3" + +get-stream@^6.0.0, get-stream@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + +get-tsconfig@^4.5.0: + version "4.6.2" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.6.2.tgz#831879a5e6c2aa24fe79b60340e2233a1e0f472e" + integrity sha512-E5XrT4CbbXcXWy+1jChlZmrmCwd5KGx502kDCXJJ7y898TtWW9FwoG5HfOLVRKmlmDGkWN2HM9Ho+/Y8F0sJDg== + dependencies: + resolve-pkg-maps "^1.0.0" + +glob-parent@^5.1.2, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob-to-regexp@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" + integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== + +glob@7.1.6: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@7.1.7: + version "7.1.7" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" + integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@^7.1.3, glob@^7.2.0: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globals@^13.19.0: + version "13.20.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" + integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== + dependencies: + type-fest "^0.20.2" + +globalthis@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +globby@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + +globby@^13.1.3: + version "13.2.1" + resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.1.tgz#986d44187ba6a9fc4aa9b16caf0ab9a04db94ae9" + integrity sha512-DPCBxctI7dN4EeIqjW2KGqgdcUMbrhJ9AzON+PlxCtvppWhubTLD4+a0GFxiym14ZvacUydTPjLPc2DlKz7EIg== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.2.11" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^4.0.0" + +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +graceful-fs@^4.1.2, graceful-fs@^4.2.4: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== + +graphql-request@^3.5.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-3.7.0.tgz#c7406e537084f8b9788541e3e6704340ca13055b" + integrity sha512-dw5PxHCgBneN2DDNqpWu8QkbbJ07oOziy8z+bK/TAXufsOLaETuVO4GkXrbs0WjhdKhBMN3BkpN/RIvUHkmNUQ== + dependencies: + cross-fetch "^3.0.6" + extract-files "^9.0.0" + form-data "^3.0.0" + +graphql@^15.5.1: + version "15.8.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38" + integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw== + +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + +has-symbols@^1.0.2, has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.0.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +hoopy@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d" + integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ== + +https-browserify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" + integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +human-signals@^4.3.0: + version "4.3.1" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2" + integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ== + +humanize-ms@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== + dependencies: + ms "^2.0.0" + +ieee754@^1.1.13, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore@^5.2.0: + version "5.2.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== + +import-fresh@^3.0.0, import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +internal-slot@^1.0.3, internal-slot@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" + integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== + dependencies: + get-intrinsic "^1.2.0" + has "^1.0.3" + side-channel "^1.0.4" + +is-arguments@^1.0.4: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" + integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" + integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.0" + is-typed-array "^1.1.10" + +is-base64@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-base64/-/is-base64-0.1.0.tgz#a6f20610c6ef4863a51cba32bc0222544b932622" + integrity sha512-WRRyllsGXJM7ZN7gPTCCQ/6wNPTRDwiWdPK66l5sJzcU/oOzcIcRRf0Rux8bkpox/1yjt0F6VJRsQOIG2qz5sg== + +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-blob@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-blob/-/is-blob-1.0.0.tgz#a3d7d96fe1c3ff065ec7ce27c2c21e6ba92c1832" + integrity sha512-QIZDHQZpRfMEZwSTD7egdNZS7H/awVW9FZ3yJv+gg1z8d8GPXEs76QWL67fZs2BoBqp2dGtamTJpEYFJHmD73g== + +is-blob@^2.0.1: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-blob/-/is-blob-2.1.0.tgz#e36cd82c90653f1e1b930f11baf9c64216a05385" + integrity sha512-SZ/fTft5eUhQM6oF/ZaASFDEdbFVe89Imltn9uZr03wdKMcWNVYSMjQPFtg05QuNkt5l5c135ElvXEQG0rk4tw== + +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-buffer@^2.0.0: + version "2.0.5" + resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" + integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== + +is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + +is-core-module@^2.11.0, is-core-module@^2.9.0: + version "2.12.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd" + integrity sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg== + dependencies: + has "^1.0.3" + +is-date-object@^1.0.1: + version "1.0.5" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + +is-docker@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-function@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" + integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== + dependencies: + has-tostringtag "^1.0.0" + +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-hex-prefixed@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" + integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== + +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + +is-nan@^1.2.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/is-nan/-/is-nan-1.3.2.tgz#043a54adea31748b55b6cd4e09aadafa69bd9e1d" + integrity sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w== + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + +is-negative-zero@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" + integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== + +is-number-object@^1.0.4: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" + integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== + dependencies: + has-tostringtag "^1.0.0" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + +is-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-retry-allowed@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz#88f34cbd236e043e71b6932d09b0c65fb7b4d71d" + integrity sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg== + +is-shared-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" + integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== + dependencies: + call-bind "^1.0.2" + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + +is-symbol@^1.0.2, is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + +is-typed-array@^1.1.10, is-typed-array@^1.1.3, is-typed-array@^1.1.9: + version "1.1.10" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" + integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +is-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + +isarray@^2.0.1: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isomorphic-ws@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf" + integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +jake@^10.8.5: + version "10.8.7" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" + integrity sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.4" + minimatch "^3.1.2" + +jayson@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/jayson/-/jayson-4.1.0.tgz#60dc946a85197317f2b1439d672a8b0a99cea2f9" + integrity sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A== + dependencies: + "@types/connect" "^3.4.33" + "@types/node" "^12.12.54" + "@types/ws" "^7.4.4" + JSONStream "^1.3.5" + commander "^2.20.3" + delay "^5.0.0" + es6-promisify "^5.0.0" + eyes "^0.1.8" + isomorphic-ws "^4.0.1" + json-stringify-safe "^5.0.1" + uuid "^8.3.2" + ws "^7.4.5" + +jiti@^1.18.2: + version "1.19.1" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.19.1.tgz#fa99e4b76a23053e0e7cde098efe1704a14c16f1" + integrity sha512-oVhqoRDaBXf7sjkll95LHVS6Myyyb1zaunVwk4Z0+WPSW4gjS0pl01zYKHScTuyEhQsFxV5L4DR5r+YqSyqyyg== + +jose@^4.5.1: + version "4.14.4" + resolved "https://registry.yarnpkg.com/jose/-/jose-4.14.4.tgz#59e09204e2670c3164ee24cbfe7115c6f8bff9ca" + integrity sha512-j8GhLiKmUAh+dsFXlX1aJCbt5KMibuKb+d7j1JaOJG6s2UjX1PQlW+OKB/sD4a/5ZYF4RcmYmLSndOoU3Lt/3g== + +js-file-download@^0.4.12: + version "0.4.12" + resolved "https://registry.yarnpkg.com/js-file-download/-/js-file-download-0.4.12.tgz#10c70ef362559a5b23cdbdc3bd6f399c3d91d821" + integrity sha512-rML+NkoD08p5Dllpjo0ffy4jRHeY6Zsapvr/W86N7E0yuzAO6qa5X9+xog6zQNlH102J7IXljNY2FtS6Lj3ucg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +json-rpc-engine@6.1.0, json-rpc-engine@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/json-rpc-engine/-/json-rpc-engine-6.1.0.tgz#bf5ff7d029e1c1bf20cb6c0e9f348dcd8be5a393" + integrity sha512-NEdLrtrq1jUZyfjkr9OCz9EzCNhnRyWtt1PAnvnhwy6e8XETS0Dtc+ZNCO2gvuAoKsIn2+vCSowXTYE4CkgnAQ== + dependencies: + "@metamask/safe-event-emitter" "^2.0.0" + eth-rpc-errors "^4.0.2" + +json-rpc-random-id@^1.0.0, json-rpc-random-id@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz#ba49d96aded1444dbb8da3d203748acbbcdec8c8" + integrity sha512-RJ9YYNCkhVDBuP4zN5BBtYAzEl03yq/jIIsyif0JY9qyJuQQZNeDK7anAPKKlyEtLSj2s8h6hNh2F8zO5q7ScA== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== + +json-stringify-safe@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" + integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== + +json5@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== + dependencies: + minimist "^1.2.0" + +jsonparse@^1.2.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" + integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== + +jsonwebtoken@^8.5.1: + version "8.5.1" + resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#00e71e0b8df54c2121a1f26137df2280673bcc0d" + integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w== + dependencies: + jws "^3.2.2" + lodash.includes "^4.3.0" + lodash.isboolean "^3.0.3" + lodash.isinteger "^4.0.4" + lodash.isnumber "^3.0.3" + lodash.isplainobject "^4.0.6" + lodash.isstring "^4.0.1" + lodash.once "^4.0.0" + ms "^2.1.1" + semver "^5.6.0" + +"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.3: + version "3.3.4" + resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz#b896535fed5b867650acce5a9bd4135ffc7b3bf9" + integrity sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw== + dependencies: + array-includes "^3.1.6" + array.prototype.flat "^1.3.1" + object.assign "^4.1.4" + object.values "^1.1.6" + +jwa@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/jwa/-/jwa-1.4.1.tgz#743c32985cb9e98655530d53641b66c8645b039a" + integrity sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA== + dependencies: + buffer-equal-constant-time "1.0.1" + ecdsa-sig-formatter "1.0.11" + safe-buffer "^5.0.1" + +jws@^3.2.2: + version "3.2.2" + resolved "https://registry.yarnpkg.com/jws/-/jws-3.2.2.tgz#001099f3639468c9414000e99995fa52fb478304" + integrity sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA== + dependencies: + jwa "^1.4.1" + safe-buffer "^5.0.1" + +keccak@^3.0.0, keccak@^3.0.1: + version "3.0.3" + resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.3.tgz#4bc35ad917be1ef54ff246f904c2bbbf9ac61276" + integrity sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ== + dependencies: + node-addon-api "^2.0.0" + node-gyp-build "^4.2.0" + readable-stream "^3.6.0" + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +language-subtag-registry@~0.3.2: + version "0.3.22" + resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d" + integrity sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w== + +language-tags@=1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a" + integrity sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ== + dependencies: + language-subtag-registry "~0.3.2" + +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +lilconfig@^2.0.5, lilconfig@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" + integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lit-element@^3.3.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.3.2.tgz#9913bf220b85065f0e5f1bb8878cc44f36b50cfa" + integrity sha512-xXAeVWKGr4/njq0rGC9dethMnYCq5hpKYrgQZYTzawt9YQhMiXfD+T1RgrdY3NamOxwq2aXlb0vOI6e29CKgVQ== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.1.0" + "@lit/reactive-element" "^1.3.0" + lit-html "^2.7.0" + +lit-html@^2.7.0: + version "2.7.4" + resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.7.4.tgz#6d75001977c206683685b9d76594a516afda2954" + integrity sha512-/Jw+FBpeEN+z8X6PJva5n7+0MzCVAH2yypN99qHYYkq8bI+j7I39GH+68Z/MZD6rGKDK9RpzBw7CocfmHfq6+g== + dependencies: + "@types/trusted-types" "^2.0.2" + +lit@2.7.5: + version "2.7.5" + resolved "https://registry.yarnpkg.com/lit/-/lit-2.7.5.tgz#60bc82990cfad169d42cd786999356dcf79b035f" + integrity sha512-i/cH7Ye6nBDUASMnfwcictBnsTN91+aBjXoTHF2xARghXScKxpD4F4WYI+VLXg9lqbMinDfvoI7VnZXjyHgdfQ== + dependencies: + "@lit/reactive-element" "^1.6.0" + lit-element "^3.3.0" + lit-html "^2.7.0" + +locate-path@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" + integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== + dependencies: + p-locate "^3.0.0" + path-exists "^3.0.0" + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash.includes@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f" + integrity sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w== + +lodash.isboolean@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" + integrity sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg== + +lodash.isequal@4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" + integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== + +lodash.isinteger@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" + integrity sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA== + +lodash.isnumber@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc" + integrity sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw== + +lodash.isplainobject@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" + integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== + +lodash.isstring@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" + integrity sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw== + +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +lodash.once@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" + integrity sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg== + +lodash.sortby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" + integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA== + +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +logplease@^1.2.15: + version "1.2.15" + resolved "https://registry.yarnpkg.com/logplease/-/logplease-1.2.15.tgz#3da442e93751a5992cc19010a826b08d0293c48a" + integrity sha512-jLlHnlsPSJjpwUfcNyUxXCl33AYg2cHhIf9QhGL2T4iPT0XPB+xP1LRKFPgIg1M/sg9kAJvy94w9CzBNrfnstA== + +loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +micromatch@^4.0.4, micromatch@^4.0.5: + version "4.0.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +miller-rabin@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" + integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== + dependencies: + bn.js "^4.0.0" + brorand "^1.0.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^5.0.1: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + +minimist@^1.2.0, minimist@^1.2.6: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + +mkdirp@^0.5.1: + version "0.5.6" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" + integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== + dependencies: + minimist "^1.2.6" + +motion@10.16.2: + version "10.16.2" + resolved "https://registry.yarnpkg.com/motion/-/motion-10.16.2.tgz#7dc173c6ad62210a7e9916caeeaf22c51e598d21" + integrity sha512-p+PurYqfUdcJZvtnmAqu5fJgV2kR0uLFQuBKtLeFVTrYEVllI99tiOTSefVNYuip9ELTEkepIIDftNdze76NAQ== + dependencies: + "@motionone/animation" "^10.15.1" + "@motionone/dom" "^10.16.2" + "@motionone/svelte" "^10.16.2" + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" + "@motionone/vue" "^10.16.2" + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +ms@^2.0.0, ms@^2.1.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +multiformats@^9.4.2: + version "9.9.0" + resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" + integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== + +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + +nanoassert@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-2.0.0.tgz#a05f86de6c7a51618038a620f88878ed1e490c09" + integrity sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA== + +nanoid@^3.3.4, nanoid@^3.3.6: + version "3.3.6" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" + integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +next@13.4.8: + version "13.4.8" + resolved "https://registry.yarnpkg.com/next/-/next-13.4.8.tgz#72245bf4fdf328970147ee30de97142c39b1cb3f" + integrity sha512-lxUjndYKjZHGK3CWeN2RI+/6ni6EUvjiqGWXAYPxUfGIdFGQ5XoisrqAJ/dF74aP27buAfs8MKIbIMMdxjqSBg== + dependencies: + "@next/env" "13.4.8" + "@swc/helpers" "0.5.1" + busboy "1.6.0" + caniuse-lite "^1.0.30001406" + postcss "8.4.14" + styled-jsx "5.1.1" + watchpack "2.4.0" + zod "3.21.4" + optionalDependencies: + "@next/swc-darwin-arm64" "13.4.8" + "@next/swc-darwin-x64" "13.4.8" + "@next/swc-linux-arm64-gnu" "13.4.8" + "@next/swc-linux-arm64-musl" "13.4.8" + "@next/swc-linux-x64-gnu" "13.4.8" + "@next/swc-linux-x64-musl" "13.4.8" + "@next/swc-win32-arm64-msvc" "13.4.8" + "@next/swc-win32-ia32-msvc" "13.4.8" + "@next/swc-win32-x64-msvc" "13.4.8" + +node-addon-api@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" + integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== + +node-addon-api@^3.0.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" + integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== + +node-addon-api@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762" + integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA== + +node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.7: + version "2.6.12" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba" + integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g== + dependencies: + whatwg-url "^5.0.0" + +node-gyp-build@^4.2.0, node-gyp-build@^4.2.2, node-gyp-build@^4.3.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" + integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== + +node-releases@^2.0.12: + version "2.0.12" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039" + integrity sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ== + +node-rsa@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/node-rsa/-/node-rsa-1.1.1.tgz#efd9ad382097782f506153398496f79e4464434d" + integrity sha512-Jd4cvbJMryN21r5HgxQOpMEqv+ooke/korixNNK3mGqfGJmy0M77WDDzo/05969+OkMy3XW1UuZsSmW9KQm7Fw== + dependencies: + asn1 "^0.2.4" + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-range@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" + integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +npm-run-path@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.1.0.tgz#bc62f7f3f6952d9894bd08944ba011a6ee7b7e00" + integrity sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q== + dependencies: + path-key "^4.0.0" + +number-to-bn@1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" + integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== + dependencies: + bn.js "4.11.6" + strip-hex-prefix "1.0.0" + +object-assign@^4.0.1, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-hash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" + integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== + +object-inspect@^1.12.3, object-inspect@^1.9.0: + version "1.12.3" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" + integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== + +object-is@^1.0.1: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" + integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +object.entries@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.6.tgz#9737d0e5b8291edd340a3e3264bb8a3b00d5fa23" + integrity sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +object.fromentries@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.6.tgz#cdb04da08c539cffa912dcd368b886e0904bfa73" + integrity sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +object.hasown@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.2.tgz#f919e21fad4eb38a57bc6345b3afd496515c3f92" + integrity sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw== + dependencies: + define-properties "^1.1.4" + es-abstract "^1.20.4" + +object.values@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" + integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +on-exit-leak-free@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz#b39c9e3bf7690d890f4861558b0d7b90a442d209" + integrity sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg== + +once@^1.3.0, once@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + +open@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/open/-/open-9.1.0.tgz#684934359c90ad25742f5a26151970ff8c6c80b6" + integrity sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg== + dependencies: + default-browser "^4.0.0" + define-lazy-prop "^3.0.0" + is-inside-container "^1.0.0" + is-wsl "^2.2.0" + +optionator@^0.9.3: + version "0.9.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" + integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== + dependencies: + "@aashutoshrathi/word-wrap" "^1.2.3" + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + +os-browserify@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" + integrity sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A== + +p-limit@^2.0.0, p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-locate@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" + integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== + dependencies: + p-limit "^2.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-asn1@^5.0.0, parse-asn1@^5.1.5: + version "5.1.6" + resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" + integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== + dependencies: + asn1.js "^5.2.0" + browserify-aes "^1.0.0" + evp_bytestokey "^1.0.0" + pbkdf2 "^3.0.3" + safe-buffer "^5.1.1" + +path-browserify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" + integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.17, pbkdf2@^3.0.3: + version "3.1.2" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + +pify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" + integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== + +pify@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" + integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== + +pino-abstract-transport@v0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz#4b54348d8f73713bfd14e3dc44228739aa13d9c0" + integrity sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ== + dependencies: + duplexify "^4.1.2" + split2 "^4.0.0" + +pino-std-serializers@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz#1791ccd2539c091ae49ce9993205e2cd5dbba1e2" + integrity sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q== + +pino@7.11.0: + version "7.11.0" + resolved "https://registry.yarnpkg.com/pino/-/pino-7.11.0.tgz#0f0ea5c4683dc91388081d44bff10c83125066f6" + integrity sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg== + dependencies: + atomic-sleep "^1.0.0" + fast-redact "^3.0.0" + on-exit-leak-free "^0.2.0" + pino-abstract-transport v0.5.0 + pino-std-serializers "^4.0.0" + process-warning "^1.0.0" + quick-format-unescaped "^4.0.3" + real-require "^0.1.0" + safe-stable-stringify "^2.1.0" + sonic-boom "^2.2.1" + thread-stream "^0.15.1" + +pirates@^4.0.1: + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + +pngjs@^3.3.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.4.0.tgz#99ca7d725965fb655814eaf65f38f12bbdbf555f" + integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w== + +pngjs@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" + integrity sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw== + +popmotion@11.0.3: + version "11.0.3" + resolved "https://registry.yarnpkg.com/popmotion/-/popmotion-11.0.3.tgz#565c5f6590bbcddab7a33a074bb2ba97e24b0cc9" + integrity sha512-Y55FLdj3UxkR7Vl3s7Qr4e9m0onSnP8W7d/xQLsoJM40vs6UKHFdygs6SWryasTZYqugMjm3BepCF4CWXDiHgA== + dependencies: + framesync "6.0.1" + hey-listen "^1.0.8" + style-value-types "5.0.0" + tslib "^2.1.0" + +postcss-import@^15.1.0: + version "15.1.0" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-15.1.0.tgz#41c64ed8cc0e23735a9698b3249ffdbf704adc70" + integrity sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + +postcss-js@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-4.0.1.tgz#61598186f3703bab052f1c4f7d805f3991bee9d2" + integrity sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw== + dependencies: + camelcase-css "^2.0.1" + +postcss-load-config@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.1.tgz#152383f481c2758274404e4962743191d73875bd" + integrity sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA== + dependencies: + lilconfig "^2.0.5" + yaml "^2.1.1" + +postcss-nested@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-6.0.1.tgz#f83dc9846ca16d2f4fa864f16e9d9f7d0961662c" + integrity sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ== + dependencies: + postcss-selector-parser "^6.0.11" + +postcss-selector-parser@^6.0.11: + version "6.0.13" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b" + integrity sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2, postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +postcss@8.4.24, postcss@^8.4.23: + version "8.4.24" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.24.tgz#f714dba9b2284be3cc07dbd2fc57ee4dc972d2df" + integrity sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg== + dependencies: + nanoid "^3.3.6" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +preact@10.4.1: + version "10.4.1" + resolved "https://registry.yarnpkg.com/preact/-/preact-10.4.1.tgz#9b3ba020547673a231c6cf16f0fbaef0e8863431" + integrity sha512-WKrRpCSwL2t3tpOOGhf2WfTpcmbpxaWtDbdJdKdjd0aEiTkvOmS4NBkG6kzlaAHI9AkQ3iVqbFWM3Ei7mZ4o1Q== + +preact@^10.12.0, preact@^10.5.9: + version "10.15.1" + resolved "https://registry.yarnpkg.com/preact/-/preact-10.15.1.tgz#a1de60c9fc0c79a522d969c65dcaddc5d994eede" + integrity sha512-qs2ansoQEwzNiV5eAcRT1p1EC/dmEzaATVDJNiB3g2sRDWdA7b7MurXdJjB2+/WQktGWZwxvDrnuRFbWuIr64g== + +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + +process-warning@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-1.0.0.tgz#980a0b25dc38cd6034181be4b7726d89066b4616" + integrity sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q== + +prop-types@^15.8.1: + version "15.8.1" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +proxy-compare@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.1.tgz#17818e33d1653fbac8c2ec31406bce8a2966f600" + integrity sha512-oyfc0Tx87Cpwva5ZXezSp5V9vht1c7dZBhvuV/y3ctkgMVUmiAGDVeeB0dKhGSyT0v1ZTEQYpe/RXlBVBNuCLA== + +public-encrypt@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" + integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== + dependencies: + bn.js "^4.1.0" + browserify-rsa "^4.0.0" + create-hash "^1.1.0" + parse-asn1 "^5.0.0" + randombytes "^2.0.1" + safe-buffer "^5.1.2" + +punycode@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== + +punycode@^2.1.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" + integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + +qrcode@1.4.4: + version "1.4.4" + resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.4.4.tgz#f0c43568a7e7510a55efc3b88d9602f71963ea83" + integrity sha512-oLzEC5+NKFou9P0bMj5+v6Z40evexeE29Z9cummZXZ9QXyMr3lphkURzxjXgPJC5azpxcshoDWV1xE46z+/c3Q== + dependencies: + buffer "^5.4.3" + buffer-alloc "^1.2.0" + buffer-from "^1.1.1" + dijkstrajs "^1.0.1" + isarray "^2.0.1" + pngjs "^3.3.0" + yargs "^13.2.4" + +qrcode@1.5.3, qrcode@^1.5.0, qrcode@^1.5.1: + version "1.5.3" + resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.3.tgz#03afa80912c0dccf12bc93f615a535aad1066170" + integrity sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg== + dependencies: + dijkstrajs "^1.0.1" + encode-utf8 "^1.0.3" + pngjs "^5.0.0" + yargs "^15.3.1" + +qs@^6.10.3, qs@^6.11.0: + version "6.11.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" + integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== + dependencies: + side-channel "^1.0.4" + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +query-string@7.1.3: + version "7.1.3" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.3.tgz#a1cf90e994abb113a325804a972d98276fe02328" + integrity sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg== + dependencies: + decode-uri-component "^0.2.2" + filter-obj "^1.1.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +query-string@^6.13.5: + version "6.14.1" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.1.tgz#7ac2dca46da7f309449ba0f86b1fd28255b0c86a" + integrity sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw== + dependencies: + decode-uri-component "^0.2.0" + filter-obj "^1.1.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +quick-format-unescaped@^4.0.3: + version "4.0.4" + resolved "https://registry.yarnpkg.com/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz#93ef6dd8d3453cbc7970dd614fad4c5954d6b5a7" + integrity sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg== + +r1csfile@0.0.40: + version "0.0.40" + resolved "https://registry.yarnpkg.com/r1csfile/-/r1csfile-0.0.40.tgz#410e10e3cec8daf62ff87b022460cf180fd51d58" + integrity sha512-3tKaFLncf42ZTRpPMlgyiFBdk6kir4S4O3X+u4UQjgLYoDPHfizazNbK0Jzj++PVIXVUFAqugSbIo4W3UDuHcQ== + dependencies: + "@iden3/bigarray" "0.0.2" + "@iden3/binfileutils" "0.0.11" + fastfile "0.0.20" + ffjavascript "0.2.55" + +randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +randomfill@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" + integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== + dependencies: + randombytes "^2.0.5" + safe-buffer "^5.1.0" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-transition-state@^1.1.4: + version "1.1.5" + resolved "https://registry.yarnpkg.com/react-transition-state/-/react-transition-state-1.1.5.tgz#22accee21d0011b1d0245be24b6262ae67f494c3" + integrity sha512-ITY2mZqc2dWG2eitJkYNdcSFW8aKeOlkL2A/vowRrLL8GH3J6Re/SpD/BLvQzrVOTqjsP0b5S9N10vgNNzwMUQ== + +react-use-measure@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/react-use-measure/-/react-use-measure-2.1.1.tgz#5824537f4ee01c9469c45d5f7a8446177c6cc4ba" + integrity sha512-nocZhN26cproIiIduswYpV5y5lQpSQS1y/4KuvUCjSKmw7ZWIS/+g3aFnX3WdBkyuGUtTLif3UTqnLLhbDoQig== + dependencies: + debounce "^1.2.1" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +read-cache@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== + dependencies: + pify "^2.3.0" + +readable-stream@^3.1.1, readable-stream@^3.5.0, readable-stream@^3.6.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +real-require@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/real-require/-/real-require-0.1.0.tgz#736ac214caa20632847b7ca8c1056a0767df9381" + integrity sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg== + +regenerator-runtime@^0.13.11: + version "0.13.11" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" + integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== + +regexp.prototype.flags@^1.4.3: + version "1.5.0" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz#fe7ce25e7e4cca8db37b6634c8a2c7009199b9cb" + integrity sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + functions-have-names "^1.2.3" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + +require-main-filename@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" + integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + +resize-observer-polyfill@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" + integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + +resolve@^1.1.7, resolve@^1.22.1, resolve@^1.22.2: + version "1.22.2" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" + integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g== + dependencies: + is-core-module "^2.11.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +resolve@^2.0.0-next.4: + version "2.0.0-next.4" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" + integrity sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +ripemd160@^2.0.0, ripemd160@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +rlp@^2.2.4: + version "2.2.7" + resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.2.7.tgz#33f31c4afac81124ac4b283e2bd4d9720b30beaf" + integrity sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ== + dependencies: + bn.js "^5.2.0" + +rpc-websockets@^7.5.1: + version "7.5.1" + resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.5.1.tgz#e0a05d525a97e7efc31a0617f093a13a2e10c401" + integrity sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w== + dependencies: + "@babel/runtime" "^7.17.2" + eventemitter3 "^4.0.7" + uuid "^8.3.2" + ws "^8.5.0" + optionalDependencies: + bufferutil "^4.0.1" + utf-8-validate "^5.0.2" + +run-applescript@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-5.0.0.tgz#e11e1c932e055d5c6b40d98374e0268d9b11899c" + integrity sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg== + dependencies: + execa "^5.0.0" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +rxjs@^6.6.3: + version "6.6.7" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== + dependencies: + tslib "^1.9.0" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-json-utils@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/safe-json-utils/-/safe-json-utils-1.1.1.tgz#0e883874467d95ab914c3f511096b89bfb3e63b1" + integrity sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ== + +safe-regex-test@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" + integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-regex "^1.1.4" + +safe-stable-stringify@^2.1.0: + version "2.4.3" + resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" + integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g== + +safer-buffer@^2.1.0, safer-buffer@~2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +save-file@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/save-file/-/save-file-2.3.1.tgz#7c92d9fa385f5d052faf5b62ebf4d4cc3f84edc6" + integrity sha512-VOD2Ojb1/kuj0XbvSXzZ5xr4rRSZD8f+HzKWGztXNp93gBQDj3njFt9HMhmLtnwd7q0BjJkzLXqd8M2+PFS1qg== + dependencies: + file-saver "^2.0.0-rc.4" + is-blob "^1.0.0" + is-buffer "^2.0.0" + simple-mime "^0.1.0" + to-array-buffer "^3.2.0" + write "^1.0.0" + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +scrypt-js@3.0.1, scrypt-js@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" + integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== + +secp256k1@^4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" + integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== + dependencies: + elliptic "^6.5.4" + node-addon-api "^2.0.0" + node-gyp-build "^4.2.0" + +secp256k1@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.0.tgz#be6f0c8c7722e2481e9773336d351de8cddd12f7" + integrity sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA== + dependencies: + elliptic "^6.5.4" + node-addon-api "^5.0.0" + node-gyp-build "^4.2.0" + +semver@^5.6.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + +semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.7, semver@^7.3.8: + version "7.5.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" + integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ== + dependencies: + lru-cache "^6.0.0" + +set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + +setimmediate@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" + integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +shallowequal@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" + integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +signal-exit@^3.0.3, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +simple-mime@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/simple-mime/-/simple-mime-0.1.0.tgz#95f517c4f466d7cff561a71fc9dab2596ea9ef2e" + integrity sha512-2EoTElzj77w0hV4lW6nWdA+MR+81hviMBhEc/ppUi0+Q311EFCvwKrGS7dcxqvGRKnUdbAyqPJtBQbRYgmtmvQ== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + +snarkjs@^0.4.26: + version "0.4.27" + resolved "https://registry.yarnpkg.com/snarkjs/-/snarkjs-0.4.27.tgz#6f00e17e2b0b197dd69029a65ee570085b49a5f0" + integrity sha512-2CH4JpOIkaoEiPvc/d9eiA7Vs0mC2ZnQAhFIFF+qp8eVxhHpDXFZn50hEZhcb8lypGry8ZiiEQ73a3hOFOUbYQ== + dependencies: + "@iden3/binfileutils" "0.0.11" + bfj "^7.0.2" + blake2b-wasm "^2.4.0" + circom_runtime "0.1.20" + ejs "^3.1.6" + fastfile "0.0.20" + ffjavascript "0.2.55" + js-sha3 "^0.8.0" + logplease "^1.2.15" + r1csfile "0.0.40" + +sonic-boom@^2.2.1: + version "2.8.0" + resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-2.8.0.tgz#c1def62a77425090e6ad7516aad8eb402e047611" + integrity sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg== + dependencies: + atomic-sleep "^1.0.0" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +split2@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/split2/-/split2-4.2.0.tgz#c9c5920904d148bab0b9f67145f245a86aadbfa4" + integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg== + +stream-browserify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" + integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== + dependencies: + inherits "~2.0.4" + readable-stream "^3.5.0" + +stream-http@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-3.2.0.tgz#1872dfcf24cb15752677e40e5c3f9cc1926028b5" + integrity sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A== + dependencies: + builtin-status-codes "^3.0.0" + inherits "^2.0.4" + readable-stream "^3.6.0" + xtend "^4.0.2" + +stream-shift@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" + integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== + +streamsearch@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764" + integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string-to-arraybuffer@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-to-arraybuffer/-/string-to-arraybuffer-1.0.2.tgz#161147fbadea02e28b0935002cec4c40f1ca7f0a" + integrity sha512-DaGZidzi93dwjQen5I2osxR9ERS/R7B1PFyufNMnzhj+fmlDQAc1DSDIJVJhgI8Oq221efIMbABUBdPHDRt43Q== + dependencies: + atob-lite "^2.0.0" + is-base64 "^0.1.0" + +string-width@^3.0.0, string-width@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== + dependencies: + emoji-regex "^7.0.1" + is-fullwidth-code-point "^2.0.0" + strip-ansi "^5.1.0" + +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string.prototype.matchall@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3" + integrity sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + get-intrinsic "^1.1.3" + has-symbols "^1.0.3" + internal-slot "^1.0.3" + regexp.prototype.flags "^1.4.3" + side-channel "^1.0.4" + +string.prototype.trim@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz#a68352740859f6893f14ce3ef1bb3037f7a90533" + integrity sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +string.prototype.trimend@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" + integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +string.prototype.trimstart@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" + integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + +strip-hex-prefix@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" + integrity sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A== + dependencies: + is-hex-prefixed "1.0.0" + +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +style-value-types@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/style-value-types/-/style-value-types-5.0.0.tgz#76c35f0e579843d523187989da866729411fc8ad" + integrity sha512-08yq36Ikn4kx4YU6RD7jWEv27v4V+PUsOGa4n/as8Et3CuODMJQ00ENeAVXAeydX4Z2j1XHZF1K2sX4mGl18fA== + dependencies: + hey-listen "^1.0.8" + tslib "^2.1.0" + +styled-components@^5.3.5: + version "5.3.11" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.11.tgz#9fda7bf1108e39bf3f3e612fcc18170dedcd57a8" + integrity sha512-uuzIIfnVkagcVHv9nE0VPlHPSCmXIUGKfJ42LNjxCCTDTL5sgnJ8Z7GZBq0EnLYGln77tPpEpExt2+qa+cZqSw== + dependencies: + "@babel/helper-module-imports" "^7.0.0" + "@babel/traverse" "^7.4.5" + "@emotion/is-prop-valid" "^1.1.0" + "@emotion/stylis" "^0.8.4" + "@emotion/unitless" "^0.7.4" + babel-plugin-styled-components ">= 1.12.0" + css-to-react-native "^3.0.0" + hoist-non-react-statics "^3.0.0" + shallowequal "^1.1.0" + supports-color "^5.5.0" + +styled-jsx@5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.1.tgz#839a1c3aaacc4e735fed0781b8619ea5d0009d1f" + integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw== + dependencies: + client-only "0.0.1" + +sucrase@^3.32.0: + version "3.32.0" + resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.32.0.tgz#c4a95e0f1e18b6847127258a75cf360bc568d4a7" + integrity sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ== + dependencies: + "@jridgewell/gen-mapping" "^0.3.2" + commander "^4.0.0" + glob "7.1.6" + lines-and-columns "^1.1.6" + mz "^2.7.0" + pirates "^4.0.1" + ts-interface-checker "^0.1.9" + +superstruct@^0.14.2: + version "0.14.2" + resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-0.14.2.tgz#0dbcdf3d83676588828f1cf5ed35cda02f59025b" + integrity sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ== + +superstruct@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-1.0.3.tgz#de626a5b49c6641ff4d37da3c7598e7a87697046" + integrity sha512-8iTn3oSS8nRGn+C2pgXSKPI3jmpm6FExNazNpjvqS6ZUJQCej3PUXEKM8NjHBOs54ExM+LPW/FBRhymrdcCiSg== + +supports-color@^5.3.0, supports-color@^5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +synckit@^0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.5.tgz#b7f4358f9bb559437f9f167eb6bc46b3c9818fa3" + integrity sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q== + dependencies: + "@pkgr/utils" "^2.3.1" + tslib "^2.5.0" + +tailwindcss@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.2.tgz#2f9e35d715fdf0bbf674d90147a0684d7054a2d3" + integrity sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w== + dependencies: + "@alloc/quick-lru" "^5.2.0" + arg "^5.0.2" + chokidar "^3.5.3" + didyoumean "^1.2.2" + dlv "^1.1.3" + fast-glob "^3.2.12" + glob-parent "^6.0.2" + is-glob "^4.0.3" + jiti "^1.18.2" + lilconfig "^2.1.0" + micromatch "^4.0.5" + normalize-path "^3.0.0" + object-hash "^3.0.0" + picocolors "^1.0.0" + postcss "^8.4.23" + postcss-import "^15.1.0" + postcss-js "^4.0.1" + postcss-load-config "^4.0.1" + postcss-nested "^6.0.1" + postcss-selector-parser "^6.0.11" + postcss-value-parser "^4.2.0" + resolve "^1.22.2" + sucrase "^3.32.0" + +tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + +text-encoding-utf-8@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz#585b62197b0ae437e3c7b5d0af27ac1021e10d13" + integrity sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg== + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== + +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + +thread-stream@^0.15.1: + version "0.15.2" + resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-0.15.2.tgz#fb95ad87d2f1e28f07116eb23d85aba3bc0425f4" + integrity sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA== + dependencies: + real-require "^0.1.0" + +"through@>=2.2.7 <3": + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + +titleize@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/titleize/-/titleize-3.0.0.tgz#71c12eb7fdd2558aa8a44b0be83b8a76694acd53" + integrity sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ== + +to-array-buffer@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/to-array-buffer/-/to-array-buffer-3.2.0.tgz#cb684dd691a7368c3b249c2348d75227f7d4dbb4" + integrity sha512-zN33mwi0gpL+7xW1ITLfJ48CEj6ZQW0ZAP0MU+2W3kEY0PAIncyuxmD4OqkUVhPAbTP7amq9j/iwvZKYS+lzSQ== + dependencies: + flatten-vertex-data "^1.0.2" + is-blob "^2.0.1" + string-to-arraybuffer "^1.0.0" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tr46@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" + integrity sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA== + dependencies: + punycode "^2.1.0" + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + +tryer@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" + integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA== + +ts-interface-checker@^0.1.9: + version "0.1.13" + resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" + integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== + +tsconfig-paths@^3.14.1: + version "3.14.2" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" + integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tslib@1.14.1, tslib@^1.8.1, tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3" + integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA== + +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + +typed-array-length@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" + integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + is-typed-array "^1.1.9" + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typescript@5.1.6: + version "5.1.6" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" + integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== + +uint8arrays@^3.0.0, uint8arrays@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0" + integrity sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg== + dependencies: + multiformats "^9.4.2" + +unbox-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== + dependencies: + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" + which-boxed-primitive "^1.0.2" + +untildify@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" + integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== + +update-browserslist-db@^1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" + integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +url@^0.11.0: + version "0.11.1" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.1.tgz#26f90f615427eca1b9f4d6a28288c147e2302a32" + integrity sha512-rWS3H04/+mzzJkv0eZ7vEDGiQbgquI1fGfOad6zKvgYQi1SzMmhl7c/DdRGxhaWrVH6z0qWITo8rpnxK/RfEhA== + dependencies: + punycode "^1.4.1" + qs "^6.11.0" + +use-sync-external-store@1.2.0, use-sync-external-store@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +utf-8-validate@^5.0.2: + version "5.0.10" + resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" + integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== + dependencies: + node-gyp-build "^4.3.0" + +utf8@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" + integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== + +util-deprecate@^1.0.1, util-deprecate@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +util@^0.12.0, util@^0.12.4: + version "0.12.5" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" + integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== + dependencies: + inherits "^2.0.3" + is-arguments "^1.0.4" + is-generator-function "^1.0.7" + is-typed-array "^1.1.3" + which-typed-array "^1.1.2" + +uuid@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" + integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== + +uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== + +valtio@1.10.5: + version "1.10.5" + resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.5.tgz#7852125e3b774b522827d96bd9c76d285c518678" + integrity sha512-jTp0k63VXf4r5hPoaC6a6LCG4POkVSh629WLi1+d5PlajLsbynTMd7qAgEiOSPxzoX5iNvbN7iZ/k/g29wrNiQ== + dependencies: + proxy-compare "2.5.1" + use-sync-external-store "1.2.0" + +valtio@1.10.6: + version "1.10.6" + resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.6.tgz#80ed00198b949939863a0fa56ae687abb417fc4f" + integrity sha512-SxN1bHUmdhW6V8qsQTpCgJEwp7uHbntuH0S9cdLQtiohuevwBksbpXjwj5uDMA7bLwg1WKyq9sEpZrx3TIMrkA== + dependencies: + proxy-compare "2.5.1" + use-sync-external-store "1.2.0" + +viem@~1.2.9: + version "1.2.9" + resolved "https://registry.yarnpkg.com/viem/-/viem-1.2.9.tgz#8ccf786cd00d28b14b644f2b9fe35fc6bf2bdc41" + integrity sha512-EnEbTuAAHv43unUgMISdQXbD9mrhZLvOdmf6eRGbDFl+XwP/PEzZAT79RaWAuDPnLXGMP1gBCJF++NFjSMukUw== + dependencies: + "@adraffy/ens-normalize" "1.9.0" + "@noble/curves" "1.0.0" + "@noble/hashes" "1.3.0" + "@scure/bip32" "1.3.0" + "@scure/bip39" "1.2.0" + "@wagmi/chains" "1.2.0" + abitype "0.8.11" + isomorphic-ws "5.0.0" + ws "8.12.0" + +wagmi@^0.12.10: + version "0.12.18" + resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-0.12.18.tgz#36053a2f104d8223112d6b2f2d0936da4104add9" + integrity sha512-Ci0cy1R6NXmwVjRF4ukjBdOor7ZH3SDBSXPZetlkm6mey9RJq5yEHEZYdcPgtLWANqRRzFD5TxXtrmZJkhhs3w== + dependencies: + "@tanstack/query-sync-storage-persister" "^4.27.1" + "@tanstack/react-query" "^4.28.0" + "@tanstack/react-query-persist-client" "^4.28.0" + "@wagmi/core" "0.10.16" + abitype "^0.3.0" + use-sync-external-store "^1.2.0" + +wasmbuilder@0.0.16: + version "0.0.16" + resolved "https://registry.yarnpkg.com/wasmbuilder/-/wasmbuilder-0.0.16.tgz#f34c1f2c047d2f6e1065cbfec5603988f16d8549" + integrity sha512-Qx3lEFqaVvp1cEYW7Bfi+ebRJrOiwz2Ieu7ZG2l7YyeSJIok/reEQCQCuicj/Y32ITIJuGIM9xZQppGx5LrQdA== + +wasmbuilder@^0.0.12: + version "0.0.12" + resolved "https://registry.yarnpkg.com/wasmbuilder/-/wasmbuilder-0.0.12.tgz#a60cb25d6d11f314fe5ab3f4ee041ccb493cb78a" + integrity sha512-dTMpBgrnLOXrN58i2zakn2ScynsBhq9LfyQIsPz4CyxRF9k1GAORniuqn3xmE9NnI1l7g3iiVCkoB2Cl0/oG8w== + dependencies: + big-integer "^1.6.48" + +wasmcurves@0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/wasmcurves/-/wasmcurves-0.1.0.tgz#0bc3f9d465367fcd8243395cb0094a05577e5609" + integrity sha512-kIlcgbVUAv2uQ6lGsepGz/m5V40+Z6rvTBkqCYn3Y2+OcXst+UaP4filJYLh/xDxjJl62FFjZZeAnpeli1Y5/Q== + dependencies: + big-integer "^1.6.42" + blakejs "^1.1.0" + +wasmcurves@0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/wasmcurves/-/wasmcurves-0.2.1.tgz#416d15432a9c6a7b79ef6000eab1e8e7302624ad" + integrity sha512-9ciO7bUE5bgpbOcdK7IO3enrSVIKHwrQmPibok4GLJWaCA7Wyqc9PRYnu5HbiFv9NDFNqVKPtU5R6Is5KujBLg== + dependencies: + wasmbuilder "0.0.16" + +watchpack@2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + +web-worker@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/web-worker/-/web-worker-1.2.0.tgz#5d85a04a7fbc1e7db58f66595d7a3ac7c9c180da" + integrity sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA== + +web3-utils@^1.7.4: + version "1.10.0" + resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.0.tgz#ca4c1b431a765c14ac7f773e92e0fd9377ccf578" + integrity sha512-kSaCM0uMcZTNUSmn5vMEhlo02RObGNRRCkdX0V9UTAU0+lrvn0HSaudyCo6CQzuXUsnuY2ERJGCGPfeWmv19Rg== + dependencies: + bn.js "^5.2.1" + ethereum-bloom-filters "^1.0.6" + ethereumjs-util "^7.1.0" + ethjs-unit "0.1.6" + number-to-bn "1.7.0" + randombytes "^2.1.0" + utf8 "3.0.0" + +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + +webidl-conversions@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" + integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + +whatwg-url@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" + integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== + dependencies: + lodash.sortby "^4.7.0" + tr46 "^1.0.1" + webidl-conversions "^4.0.2" + +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which-module@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" + integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== + +which-typed-array@^1.1.2, which-typed-array@^1.1.9: + version "1.1.9" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" + integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + is-typed-array "^1.1.10" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wrap-ansi@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" + integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== + dependencies: + ansi-styles "^3.2.0" + string-width "^3.0.0" + strip-ansi "^5.0.0" + +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" + integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== + dependencies: + mkdirp "^0.5.1" + +ws@7.4.6: + version "7.4.6" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" + integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@8.12.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.0.tgz#485074cc392689da78e1828a9ff23585e06cddd8" + integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== + +ws@^7.4.0, ws@^7.4.5, ws@^7.5.1: + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +ws@^8.5.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== + +xtend@^4.0.1, xtend@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== + +y18n@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" + integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^2.1.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" + integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== + +yargs-parser@^13.1.2: + version "13.1.2" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" + integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + +yargs-parser@^18.1.2: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + +yargs@^13.2.4: + version "13.3.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" + integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== + dependencies: + cliui "^5.0.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^13.1.2" + +yargs@^15.3.1: + version "15.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== + dependencies: + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^4.2.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^18.1.2" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +zod@3.21.4: + version "3.21.4" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.21.4.tgz#10882231d992519f0a10b5dd58a38c9dabbb64db" + integrity sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw== + +zustand@^4.3.1: + version "4.3.9" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.9.tgz#a7d4332bbd75dfd25c6848180b3df1407217f2ad" + integrity sha512-Tat5r8jOMG1Vcsj8uldMyqYKC5IZvQif8zetmLHs9WoZlntTHmIoNM8TpLRY31ExncuUvUOXehd0kvahkuHjDw== + dependencies: + use-sync-external-store "1.2.0"